|
atreus Beginner
Joined: 22 Mar 2005 Posts: 21
|
Posted: Fri Jul 29, 2005 9:45 am
zMud hanging - Variables gone crazy |
Hey there,
I got this rather annoying little problem. I have several spell duration counter triggers and apparently there is something wrong with them since when the triggers activate they create a new variable (all with the same name and value) once per second, for as long as they're active.
The real problem here is, that it took some time before I noticed that and now there are tens of thousands of these variables, the .mud file takes up over 8 megs, it takes more than 15 minutes to start up zMud when using that particular .mud file and it's impossible to remove the extra variables since clicking on the "Variables" button completely freezes zMud (no, it's not just a short duration while the variables are loaded and sorted and stuff, the client stops responding entirely).
Now, my question is: is there any easy way to remove those extra variables?
.atr. |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Fri Jul 29, 2005 1:59 pm |
start up zmud, go to settings and export to a .txt
Open the export in notepad (tho winword might be better as notepad always seems to take forever opening up files larger than 2megs)
And take out the vars.
close zmud, delete the .mud file, reopen zmud and settings, and import the .txt file |
|
|
|
atreus Beginner
Joined: 22 Mar 2005 Posts: 21
|
Posted: Fri Jul 29, 2005 5:10 pm |
Oh, I didn't realize the export saves the settings in a .txt file. Great, thanks!
.atr. |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Fri Jul 29, 2005 9:48 pm |
The easiest way would be to open up the zmud char and do this
#Loop %sess.numvars {#UNVAR varname} |
|
|
|
|
|