|
PsychicSmurf Beginner
Joined: 12 Apr 2010 Posts: 11
|
Posted: Mon Apr 12, 2010 3:53 pm
Password Characters |
For some reason I cannot get the autolog to work correctly. I have a feeling it is because the entrance text of the mud I play is large... However...
This isn't an issue if I can get a couple of login triggers working correctly.
I can easily setup the triggers for username & password, but I would like a way to output a password so that is doesn't appear on screen as text. I want to special characters to hide it?
Can these be used in a normal trigger, or are they reserved for AutoLog?
Failing that, is there a way to trigger the connection wizard again? I've tried the autolog checkboxes, and emptying the char/password fields, but nothing. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Apr 12, 2010 4:34 pm |
Select your session icon and click the Edit Session action. Go to the Auto Login tab. Make sure your correct character name and password are entered. These values are encypted in your sessionkeys.db file and you can even set a master password key to make this completely secure.
Then, in your triggers, use the #CH command to send your username and the #PW command to send your password. The #PW command sends the password without echoing it to the screen. Also, when your password is stored like this, CMUD will automatically gag any line from the MUD that contains your password text.
To trigger the connection wizard again, empty the char and password fields. But you can always just edit your auto login triggers manually in the Package Editor in the "autolog" class folder. They are normal triggers. |
|
|
|
PsychicSmurf Beginner
Joined: 12 Apr 2010 Posts: 11
|
Posted: Mon Apr 12, 2010 4:48 pm |
I have both the username & passwords filled in as you describe.
However, using #CH and/or #PW doesn't produce any output.
My triggers work if I just put standard text in the script, but the #CH & #PW commands appear to be outputting empty variables.
I saw something somewhere about using %ch & %pw but that doesn't work either.
I've also tried blanking these fields, quitting out, then going back and setting them again, but it makes no difference. |
|
|
|
PsychicSmurf Beginner
Joined: 12 Apr 2010 Posts: 11
|
Posted: Mon Apr 12, 2010 4:49 pm |
<trigger priority="1480" case="true" verbatim="true" newline="false" prompt="true">
<pattern>Type your name to enter:</pattern>
<value>#CH</value>
</trigger>
<trigger priority="1490" case="true" verbatim="true" newline="false" prompt="true">
<pattern>Password:</pattern>
<value>#PW</value>
</trigger>
That's what I have set |
|
|
|
PsychicSmurf Beginner
Joined: 12 Apr 2010 Posts: 11
|
Posted: Tue Apr 13, 2010 5:56 am |
Is there a way to manually set these two variables?
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 13, 2010 3:56 pm |
I'm afraid I am stumped. I've never seen any problem like this. The #CH and #PW commands might not echo anything to the screen (#PW certainly does not). The %char and %pass variables also contain this information and you can do:
#SHOW %char
#SHOW %pass
to display them to the screen. However remember that CMUD has a feature that gags any line that contains your password, so you'll need to turn that off to see your password echo. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 13, 2010 3:57 pm |
Quote: |
I have a feeling it is because the entrance text of the mud I play is large... However... |
Ahh, I missed that when I first read this. Yes, that is definitely the issue. The CMUD autolog class is disabled after a lot of text is received from the MUD (to prevent players from trying to trigger your autolog script when you are playing).
Just drag the triggers out of the "autolog" folder and into your own folder and then it should work. |
|
|
|
PsychicSmurf Beginner
Joined: 12 Apr 2010 Posts: 11
|
Posted: Tue Apr 13, 2010 6:46 pm |
Should the #CH & #PW commands still work at this point though?
The AutoLog class is being disabled correctly, but I'm wondering whether #CH & #PW are also being blanked, as the triggers (outside of AutoLog) fire correctly, but don't actually output anything.
If I put just text in the trigger, it outputs fine, but I don't want it to show the output from the raw text of a password.
If #PW is being blanked (which I think it is for security), is there a way to add a parameter (or somthing) to a text output to mask the characters sent? |
|
|
|
Martaigne Wanderer
Joined: 05 Jan 2002 Posts: 88 Location: Atlanta, GA
|
Posted: Tue Apr 13, 2010 7:38 pm |
Why not just use #SENDRAW?
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 13, 2010 9:17 pm |
Yep, Martaigne beat me to this. Use #SENDRAW to send data to the MUD that you don't want echoed.
Still don't know why #CH, #PW or $char and %pass are not working. I couldn't reproduce any problem here, so maybe your session file is corrupted somehow. |
|
|
|
PsychicSmurf Beginner
Joined: 12 Apr 2010 Posts: 11
|
Posted: Thu Apr 15, 2010 11:05 am |
Many thanks, that has cleared up my issue!
|
|
|
|
|
|