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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
jat63
Wanderer


Joined: 22 Sep 2003
Posts: 53
Location: United Kingdom

PostPosted: Sat Apr 14, 2007 2:22 pm   

[1.27] Problem with trigger and wait
 
If you create a trigger of type expression for the first state and wait as the second state the second state is never entered. This is not a generic problem as a wait state works if the first state is pattern rather than expression.[/code]
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Apr 17, 2007 6:07 pm   
 
Yes, there are certain combinations of trigger states that don't work perfectly. Trigger states were designed to be used when the first state is a normal pattern match trigger. When the first state is some other type (like expression), then they don't work perfectly. The same issue occurs in zMUD.
Reply with quote
jat63
Wanderer


Joined: 22 Sep 2003
Posts: 53
Location: United Kingdom

PostPosted: Tue Apr 17, 2007 8:06 pm   
 
The wait trigger does work correctly with an expression trigger when used in zMUD, the error is only in cMUD. Is this likely to be something you will be fixing at some point in the future or a permanent feature?
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Apr 17, 2007 10:02 pm   
 
Well, that's very odd because zMUD and CMUD use the same trigger state machine. So I'm not sure why it would work in one and not the other. Expression triggers did change in CMUD so that they only fire when a variable used in the trigger changes, so maybe that has something to do with it. I'll add it to the bug list and investigate it in the future.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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