Page 1 of 1

Entity Command System in 351

Posted: Tue Dec 01, 2009 9:52 am
by bolly
Hey,

Something appears to have changed in 351 that is affecting the entity command system. My spawns are still primary command 4 and i can see the command number 4 as gather in my entity_command list, yet in 351 I get 'Is not a friend' when i attempt to gather.

We haven't adjusted any spawns, just updated revisions - something moved somewhere?

Re: Entity Command System in 351

Posted: Tue Dec 01, 2009 11:11 am
by bolly
My guess is it's this?

Code: Select all

if (target->appearance.attackable == 0) {
			if (target_type == SPELL_TARGET_ENEMY)
				zone->SendSpellFailedPacket(client, SPELL_ERROR_NOT_AN_ENEMY);
			else
				zone->SendSpellFailedPacket(client, SPELL_ERROR_NOT_A_FRIEND);
			return;
		}

Re: Entity Command System in 351

Posted: Tue Dec 01, 2009 1:38 pm
by Scatman
Oops, I changed that. Failed to test groundspawns :P I'll fix it once I'm home, thanks.

Re: Entity Command System in 351

Posted: Tue Dec 01, 2009 1:55 pm
by Scatman
It's fixed now.

Re: Entity Command System in 351

Posted: Tue Dec 01, 2009 1:57 pm
by bolly
Sweet! Did you test it with sprint and self buffs? It seems to be doing it on them too but won't be able to check your changes till the svn pushes through

Thanks for the fast update!