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


Joined: 21 Dec 2001
Posts: 59
Location: USA

PostPosted: Fri Feb 15, 2002 2:04 am   

can't delete a trigger because of the trigger
 
I was making a trigger to allow me to control two chars from one computer (my mud has a rule that two chars cannot be connected from the same computer) and i had a trigger to "tell" the other player whenever something came up on my screen. I forgot that when you send the tell command, it echos to the screen. so i end up with

tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso tell soandso

and so on...This trigger goes off on ANYTHING and so even when i start offline, the mapper(which I don't have time to turn off before zmud crashes from a stack overflow) sends something to the screen for offline going through the map and this trigger goes off and crashes zmud from trying to parse a VERY long line. anyway, all I want to do is delete this trigger but I dont know how.
Reply with quote
EdwinDroom
Wanderer


Joined: 25 Jan 2002
Posts: 77
Location: Ireland

PostPosted: Fri Feb 15, 2002 2:34 am   
 
Try loading the settings file offline on a dummy character, having turned triggers off, delete trigger and resave settings file?

Not sure if it'll work, but probably worth a try

All the best freaks are here, please stop staring at me
Reply with quote
tejing
Wanderer


Joined: 21 Dec 2001
Posts: 59
Location: USA

PostPosted: Fri Feb 15, 2002 2:44 am   
 
It was a good idea, but the new char tried to load the map too hmm.....
Reply with quote
doomfyre
Apprentice


Joined: 03 Jan 2002
Posts: 152
Location: USA

PostPosted: Fri Feb 15, 2002 3:02 am   
 
when you first open zmud, highlight the char in question, then at the top click edit. you will get a screen where you can set the default settings file, and default map file. just take out the map file.
Reply with quote
EdwinDroom
Wanderer


Joined: 25 Jan 2002
Posts: 77
Location: Ireland

PostPosted: Fri Feb 15, 2002 3:02 am   
 
Create 'new' character with same details, then import settings from the original, all except the one that's crashing - laborious. Alternative is, if you're happy you understand how they work, delete the specific trigger from the .mud file and save it (while zmud is not open). You can open them in any text editor. Quicker, simpler and a little riskier

NB Backup the file first...

All the best freaks are here, please stop staring at me
Reply with quote
EdwinDroom
Wanderer


Joined: 25 Jan 2002
Posts: 77
Location: Ireland

PostPosted: Fri Feb 15, 2002 3:07 am   
 
Doomfyre's is best if you have that option - Am using 6.26 beta, there is no separate map directory setting

All the best freaks are here, please stop staring at me
Reply with quote
tejing
Wanderer


Joined: 21 Dec 2001
Posts: 59
Location: USA

PostPosted: Fri Feb 15, 2002 3:09 am   
 
I'm using 6.26 beta also
Reply with quote
tejing
Wanderer


Joined: 21 Dec 2001
Posts: 59
Location: USA

PostPosted: Fri Feb 15, 2002 3:12 am   
 
also, i tried editing it in a text file with notepad, but i kept getting a "corrupt settings file" error, i dont know where exactly to separate it. I even tried just changing it so it wouldn't go off, (I added an impossible #if to the beginning) but it was still "corrupt"
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Fri Feb 15, 2002 3:28 am   
 
You cannot edit your Settings File with a text editor. The Settings File is in a binary format, a text editor edito, well ummm...., text, not binary. You have corrupted the Settings File by doing this such that zMUD can't read the Settings File anymore. If following the steps provided in the Migration Guide does not help, you have corrupted the file beyond repair and it is no longer usable.

Kjata
Reply with quote
tejing
Wanderer


Joined: 21 Dec 2001
Posts: 59
Location: USA

PostPosted: Fri Feb 15, 2002 3:31 am   
 
well I did back it up before I tried it, so thats not neccessary, but i still have the problem of how to get rid of this trigger
Reply with quote
tejing
Wanderer


Joined: 21 Dec 2001
Posts: 59
Location: USA

PostPosted: Fri Feb 15, 2002 3:35 am   
 
I did it, by renaming the file like that file said, and then loading it I was able to make it so that no text appeared while i loaded the old settings file and deleted the trigger in the settings editor. Now It's finally GONE! lol thnx everyone

Tejing
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