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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
atreus
Beginner


Joined: 22 Mar 2005
Posts: 21

PostPosted: 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.
Reply with quote
Vitae
Enchanter


Joined: 17 Jun 2005
Posts: 673
Location: New York

PostPosted: 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
_________________
http://www.Aardwolf.com
Reply with quote
atreus
Beginner


Joined: 22 Mar 2005
Posts: 21

PostPosted: Fri Jul 29, 2005 5:10 pm   
 
Oh, I didn't realize the export saves the settings in a .txt file. Great, thanks!

.atr.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: 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}
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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