|
acaykath Wanderer
Joined: 03 Aug 2005 Posts: 84
|
Posted: 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? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
|
acaykath Wanderer
Joined: 03 Aug 2005 Posts: 84
|
Posted: Sun Sep 03, 2006 3:28 am |
Trigger on prompt fixed it. Thanks, I was getting tired of retyping my name and password.
|
|
|
|
|
|