|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: 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. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Oct 30, 2007 5:58 am |
Which version of CMUD are you using?
|
|
|
|
chris-74269 Magician
Joined: 23 Nov 2004 Posts: 364
|
Posted: Tue Oct 30, 2007 10:38 pm |
I am using cmud 1.34.
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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.
|
|
|
|
|
|