[SOLVED] Auto-login problems - GMCP issue?

Panorama
Posts: 3
Joined: Sun Jan 27, 2013 6:38 am

[SOLVED] Auto-login problems - GMCP issue?

Post 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.

User avatar
Vadi
Posts: 4901
Joined: Sat Mar 14, 2009 3:13 pm

Re: Auto-login problems - GMCP issue?

Post 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.

User avatar
Vadi
Posts: 4901
Joined: Sat Mar 14, 2009 3:13 pm

Re: Auto-login problems - GMCP issue?

Post by Vadi »

This has been fixed with https://github.com/Beliaar/mudlet-lua/c ... 46bd7564ef and should be in the next Mudlet update.

imany
Posts: 12
Joined: Mon May 16, 2011 7:32 pm

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

Post 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.

Golem
Posts: 30
Joined: Thu Feb 07, 2013 6:46 pm

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

Post 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).

bluebaleen
Posts: 48
Joined: Sun Feb 06, 2011 2:00 pm

Re: Auto-login problems - GMCP issue?

Post 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!
Last edited by bluebaleen on Wed Feb 13, 2013 8:09 pm, edited 2 times in total.

User avatar
Vadi
Posts: 4901
Joined: Sat Mar 14, 2009 3:13 pm

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

Post by Vadi »

No clue, I don't use mudbot.

bluebaleen
Posts: 48
Joined: Sun Feb 06, 2011 2:00 pm

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

Post 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.

Golem
Posts: 30
Joined: Thu Feb 07, 2013 6:46 pm

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

Post by Golem »

It should be there. I suggest deleting the entire mudlet folder and installing it once more.

bluebaleen
Posts: 48
Joined: Sun Feb 06, 2011 2:00 pm

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

Post 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 ...

Post Reply