|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Fri Jul 15, 2011 3:23 pm
New Session Automatic Login Problem |
Hmm. This one has me stumped. I started a new session. Connected to the MUD and input my username & password. Saved them for the autologin, and now when I connect I see my username, but the MUD never "receives" it.
From Debugger:
Code: |
a UCode ]By what name do you wish to be known?
f UCode | Pattern: By what name do you wish to be known?
c UCode | exec : Pattern "By what name do you wish to be known? " : #CH
a UCode |By what name do you wish to be known? Ulath
i UCode >Ulath<CR><LF>
---
c UCode | [1] UCode Comline : start :
a UCode |Ulath
i UCode >Ulath<CR><LF>
d UCode | [1] UCode Comline : stopped
i UCode <Password: <IAC><WILL><1>
i UCode ><IAC><DO><1>
a UCode #Telnet 1:
a UCode ]Password:
f UCode | Pattern: Password:
c UCode | exec : Pattern "Password: " : #PW;#T- autolog
i UCode >password blanked out<CR><LF>
i UCode <<IAC><WONT><1><CR><LF>
Reconnecting.<CR><LF>
|
As you can see in the debugging it is sent by the trigger and it doesn't work, then I send it via command line and it works. Then the password trigger fires and that works. Any ideas? |
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Sun Jul 17, 2011 1:24 am |
No help here?
|
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 18, 2011 5:51 pm |
I can't tell...the log looks fine. The line:
i UCode >password blanked out
shows that CMUD is sending the password to the MUD so I don't know why it doesn't recognize it. It's possible that their Telnet Option negotiation code is screwed up and they are getting the IAC DO 1 data as part of the password instead of processing the IAC data "out of band". You can try turning off the Telnet Option option in your Preferences to see if that helps, but that would make it a MUD server problem. |
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Mon Jul 18, 2011 8:41 pm |
It isn't the password thats the issue. The issue is the character's name. The password works fine. I have the character name being sent "Ulath", but the MUD doesn't seem to recognize it. Then I do #CH on the command line to send the name again, and the MUD recognizes it.
However, I also wondered about the IAC stuff embedded in there. Can you explain to me what exactly is going on there? I don't see it in the other circlemud I connect to. |
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Tue Jul 19, 2011 3:30 am |
Well, the problem was tracked down to MCCP. On this MUD MCCP is being negotiated prior to accepting character login. I'm not sure if thats standard or not, however it caused an issue with CMUD's autologin.
|
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jul 20, 2011 2:20 am |
You might want to contact the MUD admin or coder to see what they say. MCCP only effects the data *sent* by the MUD and not data received, so MCCP shouldn't effect the login.
But I also don't see any MCCP stuff in your log above. If the "Password:" prompt was being sent using MCCP then the line should have an * instead of the < character. The * shows in the debugger for compressed data received from the MUD, whereas uncompressed text is shown with the < character.
The IAC stuff are telnet option codes. These are supposed to be processed out of the normal text stream by the server. If the server is not processing these correctly and removing them from the data stream, then it might be getting those control characters as part of the character name.
In any case, I can't see enough of the beginning of the log. If the problem is with the user name and not the password, then I need to see the stuff sent before the "By what name are you known" line. |
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Wed Jul 20, 2011 8:49 pm |
The telnet option number for it was set wrong, you can see it in the logs as IAC 75, which should have been 86 for MCCP2 as you know ;) Apparently his hands were 1 key the left of where they should have been.
I also didn't grab that part of the log apparently. Anyways, it was a messed up negotiation for MCCP2 and its fixed on the MUD side, which means my automatic login works correctly now. But thanks for the help! |
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jul 20, 2011 10:36 pm |
Cool, glad you were able to track it down.
|
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Thu Jul 21, 2011 4:08 pm |
Have I mentioned I love the Script Debugger? ;)
|
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
|
|