Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-09-2006, 05:34 AM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
destroyonhide=true in gui causes client.var saving error

when, in a gui window, that window has destroyonhide=true,
and other functions controled through the window alter a client.variable,
when the window is closed - the client.variable cannot be read again by any other npc
unless the player reconnects to the server.

if you don't follow this error, i can explain it again ...
Reply With Quote
  #2  
Old 05-09-2006, 02:16 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
What are you talking about? How are you modifying the client.var? How are you destroying the window? Some code would be nice.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #3  
Old 05-10-2006, 12:39 AM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
the actual npc was 400 lines of code ... but anyways
the window was activated and closed by a keypressed (detect keycode) query.
even by closing the window with the red X in the upper right corner it still caused the client.variable to not be readable until you reconnected to the server with the gui window having the destroyonhide=true in there.
all i did was make it destroyonhide=false and that fixed it.
it's just odd that a window property would cause a client.variable read error and not report it as an error. it just quietly ignores you.
Reply With Quote
  #4  
Old 05-10-2006, 01:46 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
It has to do with how you are setting the client.variable, I really doubt a GUI property would have any influence on it. But I can't help you unless you post some code.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
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 06:09 PM.


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