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
Zafrusteria
Wanderer


Joined: 11 Oct 2000
Posts: 94
Location: United Kingdom

PostPosted: Sat Dec 28, 2002 8:24 pm   

Import/export bug with buttons
 
Create a toggle button although any sort seems to work for this example.

save settings

Export the settings.

Now import them.

You now have two sets of buttons. Alias', triggers etc. are not duplicated.





Zaf
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Dec 28, 2002 9:11 pm   
 
Sorry, Zaf, this is normal. Aliases are normally identified by their names and triggers by their patterns, so if your import matches an existing setting it will either overwrite it or be ignored. Either way, you'll only end up with one. Buttons, however, are normally identified by number and the export/import routine will assign them button number zero. Button number zero is assigned to the next UNUSED number and always creates a new button. Hence the duplication.

LightBulb
Senior Member
Reply with quote
Zafrusteria
Wanderer


Joined: 11 Oct 2000
Posts: 94
Location: United Kingdom

PostPosted: Sat Dec 28, 2002 9:30 pm   
 
It still seems like a bug


Zaf
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Dec 28, 2002 11:19 pm   
 
You might suggest to Zugg about not assigning this buttons the number 0. However, I do see a case for doing this being the way it is as it alows for easier script sharing among friends.

Kjata
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Dec 29, 2002 1:22 am   
 
Whether or not it's a bug, most of us don't make a practice of exporting and then importing the same settings, so we'll never encounter it. It's the kind of problem that only affects someone who deliberately goes looking for it.

LightBulb
Senior Member
Reply with quote
Zafrusteria
Wanderer


Joined: 11 Oct 2000
Posts: 94
Location: United Kingdom

PostPosted: Thu Jan 02, 2003 9:32 pm   
 
I export my setting simply because of the fact that zmud corrupts its own data files on a regular basis!

It is the safest way to keep an uncorrupted setting file.


Zaf
Reply with quote
Humpton
Apprentice


Joined: 10 Oct 2000
Posts: 158
Location: Chicago, IL

PostPosted: Thu Jan 02, 2003 11:18 pm   
 
I too have been fearful of the corrupted settings files, but that seems to be far less common than it used to be.

My solution. Every single Trigger, Alias, Button, Status Bar Thingy, that would be everything is entered into zMud through Script Files. I think I have 15 different files that make up everything.

Periodically I start a new character and reload everything.

"But what about Variables I need to keep across sessions?", I hear you cry.

Easy, save them to a file - I keep like things together, so I probably have 10 or 12 save files. I do it when I change them and put them back before I use them.

Works for me, for you? Perhaps?

Stay JOLLY!
H

___
Humpton lives like he types.... fast, and full of mistakes!

RockyMud: Sometimes, life needs to be a little Rocky.
Reply with quote
Zafrusteria
Wanderer


Joined: 11 Oct 2000
Posts: 94
Location: United Kingdom

PostPosted: Sat Jan 04, 2003 9:43 am   
 
That is a lot of effort just to get round the bugs in the zMud import/export functions and to keep backups of the data files the application itself corrupts.

If the app didn't corrupt its own data files the need to keep backups would not be such a high priority in the first place, but since it does corrupt its own data files and there is an import/export function, the import/export should work. This is not the only bug in the import export function and after all it is not difficult to test the differences between text files and therefore test the function works.


Zaf
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Jan 04, 2003 3:46 pm   
 
Just add a step to your routine.
Save settings (?)
Export settings
Clear settings
Import settings

LightBulb
Senior Member
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