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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
adamwalker
Apprentice


Joined: 12 Mar 2005
Posts: 195

PostPosted: Sat Jan 20, 2007 12:00 pm   

[1.24] #alarm and disabling of triggers
 
When an alarm fires, and for whatever reason i disable triggers (usin the little gun in the bottom right)

The alarm doesnt actually fire. so my variables dont get set correctly

eg (might not be correct syntax, just done from memory)

#alias bleh {#var myvariable 1;#alarm +10 {#var myvariable 0}}

so if triggers are disabled after "bleh" fires but before the alarm hits the variable isnt set back to zero.

If I have 10 alarms fire, thats a LOT to reset if i disable triggers

might not be bug, might be. i just dont remember zmud acting in this way
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Jan 20, 2007 2:34 pm   
 
That's intended, since alarms are a kind of trigger and the whole point of the disable triggers option is to stop CMUD doing things independently of input from the user.

I suppose the command could be queued and executed when triggers are enabled again. Or maybe a dialog could come up saying "The following alarms executed while triggers were disabled. Check which ones you wish to execute."
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4671
Location: Pensacola, FL, USA

PostPosted: Sat Jan 20, 2007 2:55 pm   
 
I would think that the countdown would pause at wherever its at myself.
If the ALARM is no longer active, what is depreciating the placeholder variable that keeps track of how long is left till it fires?
_________________
Discord: Shalimarwildcat
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Jan 20, 2007 7:20 pm   
 
Quote:

That's intended, since alarms are a kind of trigger and the whole point of the disable triggers option is to stop CMUD doing things independently of input from the user.


Wait-states must be bugged, then. All mine still fire even though I've disabled the classes they were kept in. It'd definitely be a blessing if active waits were also disabled if the wait condition was disabled prior to the execution of said trigger's script code.
_________________
EDIT: I didn't like my old signature
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Jan 20, 2007 7:32 pm   
 
Confirmed that alarms still fire in disabled classes. That sounds more like the bug than alarms not firing when all triggers are disabled.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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