Page 1 of 2

[SOLVED] Auto-login problems - GMCP issue?

Posted: Sun Jan 27, 2013 6:46 am
by Panorama
I upgraded from 2.0-rc12-1ubuntu1 to 2.1 and the auto-login feature is no longer working properly on the mud I play, which is strangemud.net 9332. Mudlet is sending something at the logic prompt but the server doesn't like it as a username.

I looked at it with Wireshark and I found a possible explanation: mudlet sends the text "Core.Supports.Set []" on connect, before sending the username. Googling suggests this is part of GMCP, and I'm pretty sure the mud doesn't support any additional protocols above straight telnet, so this is probably to blame. I double-checked my preferences but it still sends this even though the "Enable GMCP" checkbox is unchecked.

Re: Auto-login problems - GMCP issue?

Posted: Mon Jan 28, 2013 8:45 am
by Vadi
I think gmod might be sending this at login. I made it so it will send the supported set at (re)-connect, but it fails to check if gmcp is enabled - I will fix this, thank you.

Re: Auto-login problems - GMCP issue?

Posted: Mon Feb 04, 2013 9:58 pm
by Vadi
This has been fixed with https://github.com/Beliaar/mudlet-lua/c ... 46bd7564ef and should be in the next Mudlet update.

Re: [SOLVED] Auto-login problems - GMCP issue?

Posted: Wed Feb 13, 2013 5:20 pm
by imany
Is there a band-aid fix for this? I've tried downgrading to 2.0, 2.0 8 and 2.0 7 and it's still doing it.

Re: [SOLVED] Auto-login problems - GMCP issue?

Posted: Wed Feb 13, 2013 7:28 pm
by Golem
That link above is a band-aid fix.
Simply apply the one-line change shown in that link (remove the red, add the green) to the GMCP.lua file in your Mudlet\mudlet-lua\lua folder (the application folder, not the config folder).

Re: Auto-login problems - GMCP issue?

Posted: Wed Feb 13, 2013 7:57 pm
by bluebaleen
Vadi wrote:I think gmod might be sending this at login. I made it so it will send the supported set at (re)-connect, but it fails to check if gmcp is enabled - I will fix this, thank you.
Vadi,

Is there any chance that this issue would also cause the problem that I have posted here to crop up?

http://forums.mudlet.org/viewtopic.php?f=9&t=3288

Thanks!

Re: [SOLVED] Auto-login problems - GMCP issue?

Posted: Wed Feb 13, 2013 8:05 pm
by Vadi
No clue, I don't use mudbot.

Re: [SOLVED] Auto-login problems - GMCP issue?

Posted: Wed Feb 13, 2013 8:11 pm
by bluebaleen
Vadi wrote:No clue, I don't use mudbot.
The problem just seems very similar. If you close Mudlet and reconnect to your profile with the connection kept alive by Mudbot, gmcp seems to stop working.

Also, for some reason I don't seem to have a code block for the function 'gmod.reenableModules()' in my GMCP.lua file. I am running Mudlet v2.1 under Mac OS X. Are we suppose to add the actual function to GMCP.lua for this solution, or should it already exist and we are just editing the one line? If the latter is the case, I'm not sure why my GMCP.lua does not contain the reenableModules() function.

Re: [SOLVED] Auto-login problems - GMCP issue?

Posted: Wed Feb 13, 2013 8:13 pm
by Golem
It should be there. I suggest deleting the entire mudlet folder and installing it once more.

Re: [SOLVED] Auto-login problems - GMCP issue?

Posted: Wed Feb 13, 2013 8:24 pm
by bluebaleen
Hmm ...

I just deleted Mudlet 2.1 and downloaded it again from http://www.mudlet.org/download. Then I navigate to:

/Applications/Mudlet-2.1.app/Contents/Resources/mudlet-lua/lua

And here is the contents of my GMCP.lua:

http://pastebin.com/E5casV8B

No reenableModules() function ...