
04-23-2002, 01:08 AM
|
|
Psionic Youth
|
 |
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
|
|
|
Yeah, that's because players[this.i].id<0 no longer applies to NPCs: they have a modulo on playerid of something like 32767, so the only way to detect them really is either players[this.i].id>3000 (which would break at random or whenever the server got 3000 players on at once - unlikely, but that's how we got the Y2K bug), or if(strlen(#n(this.i))<1) if your NPCs do not have names set - since players cannot set their names to null, that should be safe. |
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."
"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
 - My pet, the Levelup Gnome
http://forums.graalonline.com/forums...&postcount=233
|
|
|
|