Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-26-2013, 10:09 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by Cubical View Post
Edit: Just found this recent post by Dusty. Sounds like a similar issue except reconnecting does not resolve it
According to Stefan, this had to do with subarrays:

Wrong:
PHP Code:
clientr.test = {{"bleh",1},{"foo",1"}};
clientr.test[0][1]++; 
Fine:
PHP Code:
clientr.test = {{"bleh",1},{"foo",1"}};
temp.arr = clientr.test[0];
temp.arr[1]++;
clientr.test[0] = temp.arr; 
Apparently altering subarray values in clientr.strings does not trigger the server to update the information on its side. Gscript treats it like a regular object so the script is keeping track of the changes, but it never saves to the server.

This doesn't sound like what's happening to you, but I figured I'd update on that little issue.

Something similar may be happening with getstringkeys. Maybe Jerret will see this though since I know he's used clientr and getstringkeys for the Easter event on iClassic.
Reply With Quote
Reply


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 10:13 PM.


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