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
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Sat Aug 16, 2003 11:43 pm   

Database
 
Ok, I have not worked much with zmud's database so I have a quest.

I am currently updating a variable with my skill points each time I improve. The problem is If I create some bad triggers or do something that results in zmud freezing and me having to Control-Alt-Del and end task. I end up losing the updated information on this variable. If I used a database and entered a new record with the updated number each time I improve, will I still have the same problem of losing this number if zmud freezes up?

The other alternative that I can see is to write to a external file. Does anybody have any good suggestions for this?

I don't save automatically because I don't want to save any new triggers I create until after I test them out.

One other possibilities, is it possible through a trigger to force zmud to save the settings file? Although this would be a last resort option because it could result in untested triggers getting saved also.

//edited
//I found the answer in the help files for this last piece. #save
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Aug 17, 2003 12:03 am   
 
I believe the database will save whenever it closes. You can force it to save using #DBSAVE.

You can save the settings file with #SAVE.
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