Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Tue Oct 30, 2007 2:39 am   

Resetting Variables
 
Sorry if this has been addressed, but the search function is broken it seems. I have a variable that is continually resetting, There is only one trigger that is using #additem on it.

#tr {Your mind has become receptive.} {#additem receptivetime %time}
#tr {You mind has become saturated.} {#additem sattime %time}

The variables are set as stringlists, with the use default value unchecked. However, each time upon logging on the variables are clear, or when the trigger fires the variable loses the past strings held in it. Using the search feature of the editor, this is the only place the variables are referenced.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Oct 30, 2007 5:58 am   
 
Which version of CMUD are you using?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
chris-74269
Magician


Joined: 23 Nov 2004
Posts: 364

PostPosted: Tue Oct 30, 2007 10:38 pm   
 
I am using cmud 1.34.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Oct 31, 2007 12:22 am   
 
There've been significant changes to the way string lists and datarecord variables work in 2.x. It's likely that this bug's been fixed since 1.34 - you could try using the beta now if you're willing to risk other potentially serious bugs, or you could wait for the 2.x public version. You can install the beta in its own directory and choose the "Same Directory As Program Files" option - this'll prevent it from overwriting any of your working 1.34 installation.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net