Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ Chat plugin in Medievia

Chat plugin in Medievia

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1 2  

Posted by Aduial   (19 posts)  Bio
Date Sun 04 Apr 2010 11:28 PM (UTC)
Message
Hi there.

I'm a long time MUSHclient user but have generally stuck to one mud. Recently I've been trying to use the chat plugin in Medievia (which works just fine in the other mud I play). However, somehow MUSH won't recognize the chat commands. They go straight to Medievia and the mud attempts to execute them as in-game commands.
I'm not sure if I'm just missing some setting. I have the chat plugin enabled in the Medievia world. I'm using MUSH 4.40. Any suggestions or questions are welcome!

Cheers!
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 05 Apr 2010 02:55 AM (UTC)
Message
You might need to turn off the speedwalking prefix in the commands configuration. That defaults to "#" which will interfere with chatting.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aduial   (19 posts)  Bio
Date Reply #2 on Mon 05 Apr 2010 03:42 AM (UTC)
Message
It was off already. I deleted the character anyway for good measure, but it still doesn't work. I also checked for aliases or etc, but no luck.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 05 Apr 2010 06:50 AM (UTC)
Message
Try turning on Game menu -> Trace.

See if that clears anything up.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aduial   (19 posts)  Bio
Date Reply #4 on Tue 06 Apr 2010 05:39 AM (UTC)
Message
Nope :/ It doesn't tell me anything.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Tue 06 Apr 2010 07:29 AM (UTC)
Message
Which chat plugin did you install? There is an older one and a new one called Lua_Chat.xml (should be in your plugins folder).

If you have that installed, and enabled, then something should happen. What chat command specifically did you try?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aduial   (19 posts)  Bio
Date Reply #6 on Tue 06 Apr 2010 07:50 AM (UTC)
Message
I had:
<plugin
name="Chat"
author="Nick Gammon"
id="753ba7e011f3c8943a885f18"
language="VBscript"
purpose="Support for chat feature"
date_written="2003-04-13 14:32:22"
date_modified="2003-05-01 09:55"
requires="3.37"
version="1.3"
>

I imported lua_chat and enabled it (in Plugins, it says Enabled - Yes). I now have this one:
<plugin
name="Chat"
author="Nick Gammon"
id="03ca99c4e98d2a3e6d655c7d"
language="Lua"
purpose="Support for chat feature"
date_written="2005-12-18 07:32:00"
date_modified="2005-12-21 13:26:00"
requires="3.72"
version="1.0"
>

Still no results, here's a log:

[sfilmpqvw] <714/714hp 849/849m 610/610mv 100br 0xp -r>
chat:help
Thou must be confused.

[sfilmpqvw] <714/714hp 849/849m 610/610mv 100br 0xp -r>
#chat call
Thou must be confused.

[sfilmpqvw] <714/714hp 849/849m 610/610mv 100br 0xp -r>
#chats
Thou must be confused.

Sorry to be a pain, I just really want this to work :/
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #7 on Tue 06 Apr 2010 08:16 AM (UTC)
Message
Can you check in the aliases configuration, that aliases (in general) are enabled? It is a checkbox in the list of aliases.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aduial   (19 posts)  Bio
Date Reply #8 on Wed 07 Apr 2010 12:17 AM (UTC)
Message
Ack! I had aliases disabled thinking something from there might be interfering! It works now, thank you :)
Now I'm having trouble chatting the password to the server. I know it's right since it works from another client.

Calling chat server at etc port etc
Session established to etc.
Chat session accepted, remote server: "wrath"
You have 15 seconds to chat your password to me.
#chat wrath mypass
You chat to wrath, 'mypass'
Incorrect...
Chat session to wrath closed.

My chat name is correct.

Any tips?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #9 on Wed 07 Apr 2010 12:58 AM (UTC)
Message
Can you compare, if possible, exactly what the other client sends? Does it use double-quotes for example?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aduial   (19 posts)  Bio
Date Reply #10 on Wed 07 Apr 2010 03:41 AM (UTC)
Message
I connected through MudMaster and chatted the password, I could notice it had single quote marks as well before it crashed (seems to happen just about every time I try to run it). Now I need to wait until tomorrow to be forced to authenticate again. I'll make another post copy/pasting then.
Top

Posted by Aduial   (19 posts)  Bio
Date Reply #11 on Thu 08 Apr 2010 04:47 AM (UTC)
Message
Here's a log from Mudmaster:


<CHAT> Connection to wrath at rixak.com:1212 accepted.
You have 15 seconds to chat your password to me.
/chat wrath mypass
You chat to wrath, 'mypass'
Welcome to MMChat by Dirocus
Chat to the server 'help' for usage information

MMChat by Dirocus. Version:4.3.2

[wrath] septienna Has Joined channel Main (Connect:Password Auth)


Same chat name, same pass.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #12 on Thu 08 Apr 2010 05:03 AM (UTC)
Message
I would have to guess that the MMChat thing is also checking colours. MUSHclient also sends codes for bold, cyan, the message, and then red.

Now if MMChat is very specific about the order (eg. cyan before bold) then that would throw it out.

If we know the exact codes that Mudmaster is sending, or the exact way that MMChat is checking, we can send the same things.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aduial   (19 posts)  Bio
Date Reply #13 on Thu 08 Apr 2010 05:09 AM (UTC)
Message
Ah, so because the server is being hosted on a MudMaster and its chat I can connect through that but having trouble with MUSH. Blech. Is there any way I can check what you mentioned?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #14 on Thu 08 Apr 2010 07:29 AM (UTC)
Message
Yes, but be prepared for a bit of work. :)


  • Download WireShark:

    http://www.wireshark.org/

  • Install it

  • Assuming you are using the default chat port of 4050, enter this into the Filter line:

    
    tcp.dstport == 4050
    


  • Click the Apply button next to it (see screenshot in next post). That should limit what would otherwise be a lot of data to things you send to port 4050 somewhere.

  • On the Capture menu, click Interfaces, choose the one that looks like it is connected to the Internet (if there are more than one) and click the Start button.

  • Fire up MudMaster and connect to the chat session. You should start to see stuff scroll by in the WireShark window.

  • Once you get asked for your password, enter it as normal.

  • Before doing anything else, check the Wireshark window. The last (or maybe second or third last line) should be the packet with your password in it.

  • Find the one where it says "Aduial chats to you, 'mypass'" (there will be extra stuff there which is the colour codes).

  • In the middle part of the screen (see screenshot) click on the Data line, which will highlight the data part at the bottom as in the screenshot.

  • Type into a forum message exactly what you see on the RH side (the text side), changing your password only. eg. For me it would be:

    
    .. Azeral chats to you, '.[1m.36mmypass.[31m'..
    


    Where "mypass" replaces the actual password.

    The parts about [1m.36m tells me the colour codes it is sending.

  • Close down Wireshark.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


51,952 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.