[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]  Bug reports
. . -> [Subject]  Display of text is a bit dodgy

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Display of text is a bit dodgy
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
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 Larkin   (278 posts)  [Biography] bio
Date Mon 27 Jun 2005 11:38 AM (UTC)  quote  ]
Message
Yes, the problem with the logoff text does go away when I disable compression. I thought, for some reason, that the setting would be in the world file as something like 'Enable MCCP' and instead found 'Disable compression.' I hadn't realized it would be on by default and so I wasn't thinking this could have been the cause.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Mon 27 Jun 2005 07:51 AM (UTC)  quote  ]
Message
I am guessing from this that the final messages are being "batched up" in a MCCP packet. Effectively there may not be enough data for the decompressor to process.

I suggest that the server, just before disconnecting, should be sending a "MCCP shutdown" sequence which effectively terminates the MCCP session, and would cause the decompressor to wrap up also. The absence of this, when using MCCP, would probably account for the behaviour you are seeing.

Try turning off the MCCP decompression (in MUSHclient) and see if the problem goes away.

- Nick Gammon

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

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Sun 26 Jun 2005 05:55 PM (UTC)  quote  ]

Amended on Sun 26 Jun 2005 06:07 PM (UTC) by Flannel

Message
Which is why we need a copy of the log. On both ends (login and logout) if possible (although the MCCP thing could prove to be a problem).

What plugins DO you have that deal with packets? PartialLine only CHECKs the line, you can't insert/edit anything, so it has to be packets, or something omitting them entirely (onPluginLineRecieved not returning true), either way, we need details (I feel like a broken record) to track this puppy down. Or we could speculate until we're blue in the face, and still never come up with anything concrete.

And for another RFC about echoing, this could be it (although apparently Ked says nothing is sent, at least, purposefully, but that doesn't mean they can't be tweaked to reflect this):
http://www.faqs.org/rfcs/rfc857.html

All the client needs to receive is a IAC DONT ECHO. But actually it appears that the default for both ends is not to echo.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Larkin   (278 posts)  [Biography] bio
Date Sun 26 Jun 2005 03:08 PM (UTC)  quote  ]
Message
Very good call on the MCCP thing, Ked! I thought I was using MCCP in zMUD, but when I checked, it turns out I was wrong. Enabling it and disconnecting caused the logoff text to be skipped. Now, to figure out of it's IRE or MCCP that's at fault here (though I might lean to the former more than the latter).

If I alter my settings a bit, I'm able to work around the login text problem, so it may just have been that I was doing something I shouldn't have been, though I still am not sure what that is, since it even seems to be somewhat random (meaning that I hadn't changed settings and signed on/off and the text was shown one time and no another).

For now, I'll consider this fixed, but I'm still curious to know exactly what causes the problem in both instances.
[Go to top] top

Posted by Ked   Russia  (524 posts)  [Biography] bio
Date Sun 26 Jun 2005 02:51 PM (UTC)  quote  ]

Amended on Sun 26 Jun 2005 03:12 PM (UTC) by Ked

Message
Also the first problem... Larkin's output looks pretty much the same as mine, but I've never had this issue before, and wasn't able to reproduce it no matter how hard I tried.

Unless I am missing something however, why would the echo codes cause something like that? The server sends IAC WILL ECHO (FF FB 01) and IAC WON'T ECHO (FF FC 01) at the password prompt. Those codes shouldn't effect whether the client echoes the input locally or not - they control whether the server will echo input back to the client. At least that is my understanding. In any case, having Mushclient's echo option turned on is in no way effected by those codes - the password is still echoed in output. So I presume that you are talking about some other kind of NOECHO, which is actually never sent by the server in this case.

EDIT: Okay, googling for "Telnet NOECHO" gives RFC318 which defines the ECHO (132), NOECHO (131) and Hide Your Input (133) codes. Achaea never sends any of those codes during the login sequence, and even if it did, from their descriptions it looks like HYI with no NOECHO following it should only result in local input echo remaining suppressed after the password is entered, not in MUD output not getting displayed until some more input is received.

EDIT2: I never read carefully enough it seems... From one of Larkin's earlier posts I gather that the problem is definitely with one of the scripts. It's not a client or server problem, since if it was, I'd be getting it also. And the fact that a "clean" world doesn't have this problem leaves no other choice but to presume that the problem is caused by some script. What it is, is hard to say. Seems like about the only sources of trouble could be OnPluginPartialLine or OnPluginPacketReceived. But to figure out what exactly it is, I'd uninstall each and every plugin one by one, reconnecting each time to see whether the problem went away. Once the troublemaker is found, the normal debugging process is in order. I'd love to see what caused this myself. And this is definitely not the "Ignore Echo" option that is solving the problem.
[Go to top] top

Posted by Ked   Russia  (524 posts)  [Biography] bio
Date Sun 26 Jun 2005 02:02 PM (UTC)  quote  ]
Message
I can't help with the "no text at logon" problem, but after careful examination have found the source of the second problem - the "no disconnect message" one. It appears that MCCP is responsible for that, and the packets containing the message are either never sent to Mushclient, or Mushclient's MCCP decoder gobbles them up. Seeing as Mushclient is not the only client with this issue (MudMagic at least, and I believe I heard the same complaints from Zmud users), I am inclined to believe that the server simply forgets to send the message when MCCP is active.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sun 26 Jun 2005 07:12 AM (UTC)  quote  ]
Message
My MUD sends echo off and echo on at login and MUSHclient has no problem dealing with that. I suspect that as is often the case, Nick has correctly implemented the standard where others have not and so MUSHclient appears to be 'buggy', when in fact, it is doing exactly what it should be doing.

So I suspect something is up server-side, or client-config side. Of course, without knowing what happens on connection to other MUDs, it's much harder to narrow down the problem. If the echo on/off sequence works on another MUD correctly, then we can be fairly certain that the IRE MUDs are not behaving quite right. I admit that I'd find that surprising given the scope of their operation. But, I know for a fact that MUSHclient works with a correct sequence of echo on/off requests.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Sun 26 Jun 2005 04:48 AM (UTC)  quote  ]

Amended on Sun 26 Jun 2005 04:50 AM (UTC) by Flannel

Message
We're simply trying to figure out everything regarding your particular problem, and since we can't sit behind you while it happens, and then try our own things on our own, we require you to supply us with the exact conditions, so we can replicate them on our own clients.

For instance, would it be possible to get the stuff sent at 'logout' (the packets, not just the text). Which I suppose would require another client to send them to you (I have no idea what other clients allow you to look at the packets).

Mushclient SHOULD honor the echo off message (and not display your text when prompted for a password), at least, I believe it does, at the moment I have no way of verifying, but I agree, it is not a valid solution. You could however, write a small plugin to insert the NO ECHO message (which ends the HIDE YOUR INPUT message, of course, the server might be sending another message, only that login packet debug would let us know for sure) into the text before the "Password Correct", which would be where it should be.

And yes, the logout problem may infact be another case of mushclient following the spec, and other clients not, or it may be indeed a bug, only knowing what is actually being sent will allow us to determine that.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Larkin   (278 posts)  [Biography] bio
Date Sun 26 Jun 2005 02:21 AM (UTC)  quote  ]
Message
The logoff thing cannot be narrowed down, in my opinion. Disconnecting with any number of other clients works as expected and shows all of the text. With MUSHclient, I don't even see the text in debug packets, so obviously something has gone missing. It has nothing to do with my settings. I've asked others who use MUSHclient on these same MUDs and they say they just accepted the behavior and don't know how to fix it. So, not just me here.

Taking out the name and password from the Connecting commands makes the text appear, but entering my name and password by hand isn't as secure as I'd like. I use autologin because I want it to keep my password undisplayed without making a trigger (with my password in it) to omit the password.

Connecting to another MUD requires me to create another character, choose a password, go through the steps to ensure my character is saved long enough for me to make a few attempts at this. I tried Medievia and it not only requires me to get to level two to save my character, it confuses me as to how to even do so. I don't have time to mess with other MUDs, and if that's what it takes to get this problem solved, I'll live with it.

I apologize if I've offended your sensibilities, but I'm simply trying to report a problem and ask for a little help. I'm tired and I'm not going to mess with it any more for now. Thanks anyway.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sun 26 Jun 2005 01:40 AM (UTC)  quote  ]
Message
Quote:
but the logoff thing definitely seems to be something particular to this client.
No, it definitely does not seem to be particular to MUSHclient, else other people would be having it. Connecting to other MUDs is relevant to your situation for the reason I explained: it narrows down the problem. If of course you'd rather fix your problem some other way, feel free to do so.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Larkin   (278 posts)  [Biography] bio
Date Sun 26 Jun 2005 12:51 AM (UTC)  quote  ]
Message
I will work on getting a better set of debug packets for you to look at. It's quite possible that the autologin sequence is what causes my problem, too. We'll see if it looks any different at all.

The lack of plugins didn't change the text problem at logoff.

I understand that you want me to connect to another MUD to see differences, but I don't see how that is directly relevant to my particular situation. I'm not blaming MUSHclient for the problem on login, necessarily, but the logoff thing definitely seems to be something particular to this client.

Thanks again for your assistance, and I'll get back to you soon with more information.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Sat 25 Jun 2005 11:34 PM (UTC)  quote  ]
Message
I don't think you understand why I'm asking you to connect to another MUD. I hadn't forgotten that you said you didn't play anywhere else. That's not the point. I'm trying to narrow down the problem. As I said, empirical evidence goes to show that it's not a problem with MUSHclient. If you manage to connect to another server and everything works, then we know that something is wrong with the MUD you play on or your settings with it. If the problem occurs with another MUD, then it is likely that you have a bad configuration e.g. with plugins, but we have ruled out the server-side error.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Sat 25 Jun 2005 08:34 PM (UTC)  quote  ]
Message
Other clients probably ignore the spec that says that the client won't decide when to turn text back on. That's usually the case in this sort of thing, of course, I could be wrong, only way to know would be to see the whole initial login packets. Would you mind turning off your autologin, logging in by hand (with debug packets), and then going until the text shows, and posting that here? You'll obviously want to change your password to something else during this proccess (so we get the dummy password).

Does the lack of plugins fix the logoff problem?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Larkin   (278 posts)  [Biography] bio
Date Sat 25 Jun 2005 07:38 PM (UTC)  quote  ]
Message
I removed all plugins, unchecked the Ignore Echo Off option, and when I connected the text was still hidden. Checking the Ignore Echo Off option seemed to take care of the first part of the problem, but I agree with you that I shouldn't have to use the option. I would find it difficult to believe that it could be the server, however, as other clients don't exhibit this same behavior.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Sat 25 Jun 2005 07:09 PM (UTC)  quote  ]
Message
You shouldn't have to ignore echo off messages, the server should send a NOECHO after you send your password (which turns off HIDE YOUR INPUT). So the first bit is a server issue, or at least seems to be.

The last bit, I have a feeling that debug packets only happens after plugins are done dealing with them. Try disabiling your plugins and see if the problem still persists.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[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,524 views.

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

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[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]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]