|
BlackSmith Apprentice
Joined: 08 Dec 2002 Posts: 152
|
Posted: Mon Sep 17, 2007 1:03 pm
1,34 | Variables reseting on quit. |
I have @character @paralyze @experience and couple other data variables that are always empty when i start cmud.
What gives? |
|
_________________ BatMUD Best MMORPG around since 1990 telnet://bat.org:23
~ Magic & Mind beats Chrome & Meat anytime ~
Pattern(s) in PERL. Using Cmud 1.34/2.09 & BatClient. |
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Mon Sep 17, 2007 1:19 pm |
Do they have a default value set on them?
I cannot remember what became of it but Zugg played with the idea of a no-update option for variables. It is supposed to work like this.
If you have a default value set then Cmud is supposed to be smart enough to know that the value in the variable doesn't need to be remembered. In this case Cmud does not write updates to the variable in the database. Instead it treats the variable as if it were a local variable but keeps it loaded in memory so that it doesn't lose its value while the session is open.
For a time in his testing he had given us the ability to SET the no-update option without checking the default option. It is possible if you don't have a default option that if you put one in, Edit: "SAVE IT", and then remove it that you will be able to make Cmud remember the values when you close the session.
This is just a theory I haven't had opportunity to try it. |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
BlackSmith Apprentice
Joined: 08 Dec 2002 Posts: 152
|
Posted: Mon Sep 17, 2007 4:28 pm |
Testing that checking and unchecking default. I got quite lot data stored in character thus not nice loosing it everytime.
|
|
_________________ BatMUD Best MMORPG around since 1990 telnet://bat.org:23
~ Magic & Mind beats Chrome & Meat anytime ~
Pattern(s) in PERL. Using Cmud 1.34/2.09 & BatClient. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 24, 2007 8:07 pm |
Some bugs related to this were also fixed in the 2.x beta, so you might want to try that.
Also, I'd appreciate it if you would edit your signature to remove the link to another MUD client. |
|
|
|
|
|