Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-07-2006, 04:25 AM
SilentOne1988 SilentOne1988 is offline
Banned
Join Date: Feb 2006
Posts: 67
SilentOne1988 is on a distinguished road
wierd multidimensional array bug with clientr strings.

NPC Code:

function onActionserverside(){
clientr.itm = {{5,2},{"test"}};
clientr.itm[0][1] = 9;
echo(clientr.itm[0][1] @"|||"@ clientr.itm);
}

//#CLIENTSIDE

function onCreated(){
triggeraction(0,0,"serverside","WtfTest");
}



I get these results:
9|||"5,2","test,"

The string is never modified, but if I access clientr.itm[0][1], it claims its whatever I changed it to.... Very annoying, I can't really finish my item system without this working...
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.