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
Zillat
Newbie


Joined: 31 May 2008
Posts: 8

PostPosted: Sat May 31, 2008 3:52 pm   

Problem with Trigger loop detected.
 
The problem is, even though i don't understand what it exactly means, i'm pretty sure my loops arn't fatal.
I'v set up three triggers that will perform tasks "move" "do something" "do another thing", and at the end of each trigger
is an echo that will fire the next trigger. Obviously i understand this is a loop, and i intend it to go on indefinitaly but ZMUD
is making that kind of hard by disabbling my triggers every 15 minutes or so.
Reply with quote
Qaiia
Wanderer


Joined: 06 Apr 2007
Posts: 59

PostPosted: Sun Jun 01, 2008 7:19 pm   
 
Post the code? :)
_________________
Citrus: The Juicy Alternative
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Sun Jun 01, 2008 10:04 pm   
 
That would probably be the best way to do it. But in short, the trigger loop comes from doing something like:

#TRIGGER {This is a test.} {#SAY This is a test.}

As you can see, it will endless fire the phrase "This is a test."

That's probably what's happening in your case. If you don't have a separate #SAY pattern, there will be no way to stop the trigger without turning off the trigger or all triggers.

Charneus
Reply with quote
Qaiia
Wanderer


Joined: 06 Apr 2007
Posts: 59

PostPosted: Mon Jun 02, 2008 1:35 pm   
 
What I was going to suggest, provided it would work with the code, is setting an #ALARM to run the script at particular intervals, provided the amount of time required to run the script is the same each time. This would be easier to recommend if I could see the original code and the game output.
_________________
Citrus: The Juicy Alternative
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