Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Locku
Newbie


Joined: 28 May 2008
Posts: 7
Location: Poland

PostPosted: Sat Dec 06, 2008 7:37 pm   

Connection problems?
 
I have a problem during loging... it has appear after i upgrade to 2.37v

"Connected to host arkadia.rpg.pl
Witaj w swiecie Arkadii-// some stupid game text

Zapraszamy na strone Arkadii: http://www.arkadia.rpg.pl/-// some stupid game text

Aby stworzyc nowa postac, podaj jako imie adres swojego konta e-mail. -// some stupid game text
Log is on: D:\cmud\arkadia\06.12.08.txt
Wersja gamedrivera: CDpl-5.0.4 Wersja mudliba: CDpl-4.1.1 -//<- game versions

Podaj swoje imie: -//<-enter yout name
Od tej pory dane miedzy mudem a twoim klientem sa kompresowane (MCCP)-//<- information that mccp will be use



Đť„;üQĎÁlô
$íP±”†ŕéŐőĺy‡ťĐůD±:A13T˜ž ˝‰
}˜(Ň%śű-"™–ĘÍĆż—-„cőλ˙»"

It has worked before i upgraded it... any reinstalation doesn't work...
Why is it like this? MCCP Compression is on...
And it hangs always after i send command which start basics triggers...

Hmm...
Anyone has some idea?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Dec 07, 2008 5:13 am   
 
Try it without the mccp emulation? I dunno if that shows in the debugger, but you might try logging in with the debugger open to see what gets sent. If it doesn't show in the debugger, you might need to log the raw input (I totally forget how to do it in CMud, since I think the command changed).

If Polish is a multi-byte language, though, that will definitely cause issues since CMud doesn't support them yet (that's at least a year or two off, based on the feature/bug list Zugg is working with).
_________________
EDIT: I didn't like my old signature
Reply with quote
MaineCoon
Newbie


Joined: 21 Jan 2006
Posts: 1

PostPosted: Fri Dec 12, 2008 7:05 am   
 
I can confirm - one of my users discovered this as well, and I verified with 2.37 (I still use zmud, even on Vista).

On first connection everything is fine, and the user sees everything correctly (the New Connection log will seem out of order in these logs, as it starts negotiation before logging the connection)

Thu Dec 11 23:01:13 :: NET: DBG: Sent WONT ECHO
Thu Dec 11 23:01:13 :: NET: DBG: Sent DO TERMINAL TYPE
Thu Dec 11 23:01:13 :: NET: DBG: Sent DO NEW-ENVIRON
Thu Dec 11 23:01:13 :: NET: DBG: Sent DO NAWS
Thu Dec 11 23:01:13 :: NET: DBG: Sent WILL 86
Thu Dec 11 23:01:13 :: New connection from [Qattoo]
Thu Dec 11 23:01:13 :: NET: DBG: Received Telnet WILL TERMINAL TYPE
Thu Dec 11 23:01:13 :: NET: DBG: Sent SUB TERMINAL TYPE
Thu Dec 11 23:01:13 :: NET: DBG: Received Telnet WONT NEW-ENVIRON
Thu Dec 11 23:01:13 :: NET: DBG: Received Telnet WILL NAWS
Thu Dec 11 23:01:13 :: NET: DBG: Received Telnet DO 86
Thu Dec 11 23:01:13 :: NET: DBG: Sent SUB 86
Thu Dec 11 23:01:13 :: NET: DBG: CompressionClient::StartCompression(): starting compression
(sends login screen, user sends back username, prompts for password)
Thu Dec 11 23:01:16 :: NET: DBG: Sent WILL ECHO
Thu Dec 11 23:01:16 :: NET: DBG: Received Telnet DO ECHO
Thu Dec 11 23:01:17 :: NET: DBG: Sent WONT ECHO
Thu Dec 11 23:01:17 :: FearItself [Qattoo] has reconnected.
Thu Dec 11 23:01:18 :: NET: DBG: Received Telnet DONT ECHO

If reconnecting with the same session/window, CMUD doesn't proper start decompressing, and the first thing the user sees is garbage - but after the first blast of the login screen, everything will be fine, and compression is operational as well.

Thu Dec 11 23:01:35 :: NET: DBG: Sent WONT ECHO
Thu Dec 11 23:01:35 :: NET: DBG: Sent DO TERMINAL TYPE
Thu Dec 11 23:01:35 :: NET: DBG: Sent DO NEW-ENVIRON
Thu Dec 11 23:01:35 :: NET: DBG: Sent DO NAWS
Thu Dec 11 23:01:35 :: NET: DBG: Sent WILL 86
Thu Dec 11 23:01:35 :: New connection from [Qattoo]
Thu Dec 11 23:01:35 :: NET: DescriptorData::ProcessInput(): EOF on socket read (connection broken by peer)
Thu Dec 11 23:01:35 :: Closing link to: FearItself.
Thu Dec 11 23:01:36 :: NET: DBG: Received Telnet DO 86
Thu Dec 11 23:01:36 :: NET: DBG: Sent SUB 86
Thu Dec 11 23:01:36 :: NET: DBG: CompressionClient::StartCompression(): starting compression
Thu Dec 11 23:01:36 :: NET: DBG: Received Telnet WILL TERMINAL TYPE
Thu Dec 11 23:01:36 :: NET: DBG: Sent SUB TERMINAL TYPE
Thu Dec 11 23:01:36 :: NET: DBG: Received Telnet WONT NEW-ENVIRON
Thu Dec 11 23:01:36 :: NET: DBG: Received Telnet WILL NAWS
(sends login screen, user receives garbage, types username, gets a non-garbage prompt for password)

Disabling MCCP fixes the problem, but this is the first I've heard of it. It works fine with ZMud 7.21 and Mushclient, though a user still using a v6 of zmud says it also happens for him sometimes.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Dec 12, 2008 6:28 pm   
 
Please post the MUD hostname and port so I can test this myself.

However, when you reconnect to a MUD, the server is supposed to reset the MCCP Compression state. A reconnect should look just like a normal connection. The server should not "remember" the compression state, because it's a different connection. The client and server are supposed to re-negotiate the options.

Someone can correct me if I'm wrong. Also, I haven't changed any of this since zMUD as far as I know so I don't know why it would work in zMUD and not CMUD. Perhaps you can post a dump showing what a zMUD connection looks like so that I can compare the two.
Reply with quote
Locku
Newbie


Joined: 28 May 2008
Posts: 7
Location: Poland

PostPosted: Tue Dec 23, 2008 11:45 pm   
 
Hey,

host:
arkadia.rpg.pl:23
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net