[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  Chat plugin in Medievia
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Chat plugin in Medievia
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Aduial   (19 posts)  [Biography] bio
Date Fri 09 Apr 2010 04:37 AM (UTC)  quote  ]
Message
Works like a charm!
Thank you for your time and help! I have yet to receive better tech support for any product I've used than what you gave me here :) Yet another reason to continue using MUSH for all my mudding needs!

Have a great weekend!
[Go to top] top

Posted by Nick Gammon   Australia  (19,492 posts)  [Biography] bio   Forum Administrator
Date Fri 09 Apr 2010 04:29 AM (UTC)  quote  ]
Message
Yes, that helped. Well it seems there were *no* colour codes. lol

This alias should solve your problems:


<aliases>
  <alias
   match="chatpass"
   enabled="y"
   send_to="12"
   sequence="100"
  >
  <send>
ChatMessage(ChatGetID ("wrath"),   -- who to
       5,   -- personal message
        "septienna chats to you, 'mypass'" ..   -- the message
       string.char (10)   -- newline
       )
Note "password sent"
</send>
  </alias>
</aliases>


Template:pasting For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.


It sends the password (obviously you change it between the quotes (note a single quote followed by a double-quote there)), without colour codes.

So connect to the chat server, and instead of chatting your password type "chatpass" which will invoke this alias, and it will send the password without the colour codes. I tested it with Wireshark, and the codes look exactly the same as what you posted, so the server *should* accept it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Aduial   (19 posts)  [Biography] bio
Date Fri 09 Apr 2010 04:10 AM (UTC)  quote  ]
Message
Thanks, I changed it.
Did that help at all?
[Go to top] top

Posted by Nick Gammon   Australia  (19,492 posts)  [Biography] bio   Forum Administrator
Date Fri 09 Apr 2010 04:04 AM (UTC)  quote  ]

Amended on Fri 09 Apr 2010 04:05 AM (UTC) by Nick Gammon

Message
Blank out the hex codes on the left (on Imageshack), you can work out your password from that. I've done it to your posting. It might be wise to change your password now.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Aduial   (19 posts)  [Biography] bio
Date Fri 09 Apr 2010 03:14 AM (UTC)  quote  ]

Amended on Fri 09 Apr 2010 04:06 AM (UTC) by Nick Gammon

Message
Okay, so here is what I got copy pasted, as well as a screenshot (it doesn't quite look like you predicted):


0000  00 24 17 7a 4d 70 00 22  fa 18 76 3c 08 00 45 00   .$.zMp." ..v<..E.
0010  00 49 06 40 40 00 80 06  ec 7d c0 a8 01 43 44 28   .I.@@... .}...CD(
0020  01 de ea a2 04 bc 24 7a  c3 5c 3b 02 4d 40 50 18   ......$z .\;.M@P.
0030  43 d2 be ed 00 00 05 73  65 70 74 69 65 6e 6e 61   C......s eptienna
0040  20 63 68 61 74 73 20 74  6f 20 79 6f 75 2c 20 27    chats t o you, '
0050  xx xx xx xx xx 27 0a ff                               mypass'.. 



There was nothing special about the pass I blacked out, it was plain text just like above.
[Go to top] top

Posted by Nick Gammon   Australia  (19,492 posts)  [Biography] bio   Forum Administrator
Date Thu 08 Apr 2010 07:29 AM (UTC)  quote  ]

Amended on Thu 08 Apr 2010 07:30 AM (UTC) by Nick Gammon

Message

See previous post.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (19,492 posts)  [Biography] bio   Forum Administrator
Date Thu 08 Apr 2010 07:29 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Aduial   (19 posts)  [Biography] bio
Date Thu 08 Apr 2010 05:09 AM (UTC)  quote  ]
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?
[Go to top] top

Posted by Nick Gammon   Australia  (19,492 posts)  [Biography] bio   Forum Administrator
Date Thu 08 Apr 2010 05:03 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Aduial   (19 posts)  [Biography] bio
Date Thu 08 Apr 2010 04:47 AM (UTC)  quote  ]
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.
[Go to top] top

Posted by Aduial   (19 posts)  [Biography] bio
Date Wed 07 Apr 2010 03:41 AM (UTC)  quote  ]
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.
[Go to top] top

Posted by Nick Gammon   Australia  (19,492 posts)  [Biography] bio   Forum Administrator
Date Wed 07 Apr 2010 12:58 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Aduial   (19 posts)  [Biography] bio
Date Wed 07 Apr 2010 12:17 AM (UTC)  quote  ]
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?
[Go to top] top

Posted by Nick Gammon   Australia  (19,492 posts)  [Biography] bio   Forum Administrator
Date Tue 06 Apr 2010 08:16 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Aduial   (19 posts)  [Biography] bio
Date Tue 06 Apr 2010 07:50 AM (UTC)  quote  ]
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 :/
[Go to top] 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.


5,952 views.

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

[New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]