View Single Post
  #14  
Old 12-21-2011, 03:49 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Ok, so I need to break up the return data to check and print it out, and I've tried all I could think of, but its not go. Is it passible to client at all?

Ive tried doing
PHP Code:
temp.poo sendListerRequest("checkinguild", {temp.pl.accounttemp.pl.guild})[0]; 
and so on but it wont send in triggerClient.

Iv also done

PHP Code:
if (waitfor(this"ReceiveText"15)) {
    if (
params[0] == "lister") {
      
temp.returndata params;
      
temp.returndata.delete(0);
      
temp.guildcheck returndata[0];
      
temp.guildacct returndata[1][0];
      
temp.guildname returndata[1][1];
      
temp.guildnick returndata[1][2];
      
temp.guildrank returndata[1][3];
      echo(
guildcheck,guildacct,guildname,guildnick,guildrank);
      
//return {guildcheck,guildacct,guildname,guildnick,guildrank};
      
triggerClient("gui",name,"gotGuildInfo",guildcheck,guildacct,
      
guildname,guildnick,guildrank);
    } 
which has been the closest, but doing that trigger is useless too. Ive also tried to send the sendListerRequest function in the triggerClient itself as param2, then breaking it up clientside, but that didnt work either. I'm out of ideas. :/
When i echo the last one i posted, its all fine, just need to send it off to client.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote