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


Joined: 07 Apr 2001
Posts: 51
Location: Denmark

PostPosted: Thu Dec 27, 2001 9:41 pm   

Loading trigger class on connection
 
Hmmm this is wierd...In some of the older triggersets i have the autologin triggers work nicely...but when ever i try to make new ones...Zmud wont seem to activate the triggerclass autolog when i connect to a mud. The activate upon connection thing is checked, but it still doesent work...

Does anyone know whats wrong here???
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Fri Dec 28, 2001 2:46 pm   
 
Are you sure it's the class that's not active? The usual problem with autologin triggers is not setting them to Trigger on: Prompt.

LightBulb
Reply with quote
Tolkienfan
Wanderer


Joined: 07 Apr 2001
Posts: 51
Location: Denmark

PostPosted: Fri Dec 28, 2001 4:57 pm   
 
Hmmm Yup...its the class that wont activate...
When i set class settings to: Enable class when connecting to a mud...It still doesen't enable it when i connect...
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Dec 30, 2001 2:56 am   
 
Strange, I've made quite a few and never had a problem. Of course, I've generally just made new triggers in the existing folder, I don't think I ever made a new Autolog folder or changed the existing options for the folder. I have modified the trigger options as needed. The class usually shows inactive unless I open the character offline, but that's because my password trigger deactivates it. Anyway, here's what I have for one character when it's open Offline:

Class Autolog:
  • Enable class when connecting to a mud -- checked

  • Enabled -- checked

  • Green dot -- green


  • Within the class,
    #TR {How will you be known, my friend? } {#CH}
  • Case Sensitive

  • Verbatim

  • Trigger on Trigger

  • Prompt

  • Green dot


  • #TR {Password: } {#PW;#T- Autolog}
  • Case Sensitive

  • Verbatim

  • Trigger on Trigger

  • Prompt

  • Green dot


  • After connecting (or connecting, then quitting to offline) the trigger options remain the same, but the class options change to:
  • Enable class when connecting to a mud -- checked

  • Enabled -- not checked

  • Green dot -- gray


  • My best guess is that you deactivate the class shortly after connection, just as I do.



    LightBulb
    Reply with quote
    Tolkienfan
    Wanderer


    Joined: 07 Apr 2001
    Posts: 51
    Location: Denmark

    PostPosted: Sun Dec 30, 2001 7:52 pm   
     
    Ok i have got the same stuff as you now....
    And when i view it offline it is active to...but the second i connect...it disables...Even thought i have the enable on connection checked...I just dont get it
    Reply with quote
    LightBulb
    MASTER


    Joined: 28 Nov 2000
    Posts: 4817
    Location: USA

    PostPosted: Mon Dec 31, 2001 2:20 pm   
     
    #TR {Password: } {#PW;#T- Autolog}

    disables the class immediately after supplying the password. You probably have this command somewhere in your script, in a trigger that's firing almost immediately upon connection. Of course, it might be in the atconnect alias.

    LightBulb
    Reply with quote
    Tolkienfan
    Wanderer


    Joined: 07 Apr 2001
    Posts: 51
    Location: Denmark

    PostPosted: Wed Jan 02, 2002 2:30 pm   
     
    Ok i have used the Zmud search function to search for the #t- autolog statement...its only in the trigger for password...And still the triggerclass autolog disables the second it connects to a mud...before the Please enter your name: thing comes up...and of course before the password prompt...

    I just dont get it!

    Tolkienfan
    Reply with quote
    MattLofton
    GURU


    Joined: 23 Dec 2000
    Posts: 4834
    Location: USA

    PostPosted: Thu Jan 03, 2002 12:35 am   
     
    quote:

    Ok i have used the Zmud search function to search for the #t- autolog statement...its only in the trigger for password...And still the triggerclass autolog disables the second it connects to a mud...before the Please enter your name: thing comes up...and of course before the password prompt...

    I just dont get it!

    Tolkienfan



    You don't happen to (also) have the DISable at startup option selected do you? Dunno if there's any priority there, though.

    li'l shmoe of Dragon's Gate MUD
    Reply with quote
    Tolkienfan
    Wanderer


    Joined: 07 Apr 2001
    Posts: 51
    Location: Denmark

    PostPosted: Thu Jan 03, 2002 3:23 am   
     
    Nope...the disable thing aint checked...

    Tolkienfan
    Reply with quote
    LightBulb
    MASTER


    Joined: 28 Nov 2000
    Posts: 4817
    Location: USA

    PostPosted: Thu Jan 03, 2002 4:35 pm   
     
    Go into the settings editor by clicking the Settings button. Click the View menu and make sure you have "Show Hidden" and "Show Inherited" checked. See if anything shows up that you missed before. If it's not that, I'm stumped.

    Bear in mind that Classes don't go from Enabled to Disabled without a specific command (including connecting to a MUD) to do so, and that command has to be somewhere in your script. However, I have no idea where. You'll probably need to use the debug tools, such as the variables %action, %lastcom, %lastcom2, %trigger and the Debugger window (from the Windows menu) to find the problem.




    LightBulb
    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