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


Joined: 03 Aug 2005
Posts: 84

PostPosted: Sat Sep 02, 2006 11:17 am   

Autolog Triggers Don't Work
 
They are not created automaticallyy as they are in zMud, and I don't particularly care, what I do care about i s that when I create my own, they don't fire.

Code:

Pkg:Redemption->Class:Autolog

Pattern: By what name do you wish to be known?
Code: #character

Pattern: Password:
Code: #pw


All other settings are the trigger defaults.

#char and #pw do return the correct values if i type them in the command line.

All my other triggers work fine...

Am I doing something wrong? Or is it a bug?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Sep 02, 2006 4:59 pm   
 
Quote:

Am I doing something wrong?


Autolog triggers were usually prompt triggers. Are yours set that way? If not, they probably wouldn't seem to fire since zmud is waiting for a carriage return and the mud has paused while waiting for you to enter the information.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


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

PostPosted: Sat Sep 02, 2006 5:23 pm   
 
Also, make sure these triggers are within the main WINDOW object. Your terminology was a bit off. You said:
Quote:
Pkg: Redemption->Class:Autolog

It needs to be:
Quote:
Window: Redemption->Class:Autolog

Remember that a Pkg is a collection of Windows and Modules. You can't put a Class directly into the top level of a package. A Class can only be within a Window or Module object. If your Autolog Class is within a Module, be sure the Module is set to be Published or else the triggers will be hidden from other windows.

Also check to make sure your Autolog class isn't getting disabled somehow.

And as Matt mentioned, be sure they are Prompt triggers.

The problem with the Autolog triggers not getting created automatically is related to the session bugs that I'm currently working on.
Reply with quote
acaykath
Wanderer


Joined: 03 Aug 2005
Posts: 84

PostPosted: Sun Sep 03, 2006 3:28 am   
 
Trigger on prompt fixed it. Thanks, I was getting tired of retyping my name and password.
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