
02-25-2009, 06:21 AM
|
|
Psionic Youth
|
 |
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
|
|
Passing a list of NPCs from clientside to serverside
|
Maybe I was being too specific last time;
all I really need is to send a list of NPCs to the server. I got the triggeraction all worked out no problems, but how do I send a list of NPCs that the server can do something with?
I can make a comma-delimited string of npc.ids, but the server can't do anything with just npc.ids apparently.
I can make a comma-delimited string of npc.names, but the client can't get npc.name.
I can make a comma-delimited string of npc objects, but as npcs are not themselves strings they collapse when added to a string list.
Is there a way to concatenate an NPC-object onto a list of NPC-objects, and wind up with the equivalent of the NPC-list you get with findareanpcs? That might work. That or a way to get an npc's name clientside or findnpcbyid serverside. |
__________________
"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
|
|
|
|