Paradigm MUD Forums

Bug Reports => Engine Related Bug Reports => Fixed => Topic started by: ghaleon on May 04, 2006, 05:50:33 PM

Title: 1, 2, 3, you freeze [FIXED]
Post by: ghaleon on May 04, 2006, 05:50:33 PM
3rd password attempt and instead of getting booted, with a nice 'oops you messed up' type of message, your terminal just freezes.

=)
Title: Re: 1, 2, 3, you freeze [BUG]
Post by: Vitoc on May 04, 2006, 07:39:21 PM
Interesting...

Apparently the string: "Too many bad attempts.? Goodbye!" is being sent, but then the Disconnect command issues and before the data can actually be transferred to the end user the connection is killed.? I'll add a short delay after sending the goodbye string.?

I believe when the connection is killed, it takes Mega a little while to realize it (IIRC you can hit enter and it will wake up and realize what's going on), so this will not solve the "pause" issue.? AFAIK that's a Mega issue, when I try it with plain ol' telnet it ends the session immediately.
Title: Re: 1, 2, 3, you freeze [BUG]
Post by: ghaleon on May 04, 2006, 08:02:54 PM
even more interesting. I dont use mega :)
Title: Re: 1, 2, 3, you freeze [BUG]
Post by: Vitoc on May 04, 2006, 08:46:15 PM
Quote from: ghaleon on May 04, 2006, 08:02:54 PM
even more interesting. I dont use mega :)
Short delay was added.  You'll probably get the goodbye text, but do you still get the "pause"?
Title: Re: 1, 2, 3, you freeze [BUG]
Post by: Ian on May 05, 2006, 01:36:06 AM
Quote from: Vitoc on May 04, 2006, 07:39:21 PM
Interesting...

Apparently the string: "Too many bad attempts.? Goodbye!" is being sent, but then the Disconnect command issues and before the data can actually be transferred to the end user the connection is killed.? I'll add a short delay after sending the goodbye string.?

I believe when the connection is killed, it takes Mega a little while to realize it (IIRC you can hit enter and it will wake up and realize what's going on), so this will not solve the "pause" issue.? AFAIK that's a Mega issue, when I try it with plain ol' telnet it ends the session immediately.
This may be teaching grandma to suck eggs, but did you "flush the stream" (dunno the equivalent term in your language, that's how it's said in Java) before closing it?  Closing it should automatically flush (send all pending/buffered data), but sometimes it pays to be safe.
I don't know why a terminal wouldn't detect the session ending.  What terminal do you use ghaleon?
Title: Re: 1, 2, 3, you freeze [BUG]
Post by: Vitoc on May 07, 2006, 10:58:17 AM
Ok, I'm going to assume the "freeze" issue is fixed.  I get the exact same behavior from wg when it disconnects me as I do when the gmud server disconnects me.