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
Alocer
Newbie


Joined: 01 Dec 2010
Posts: 7

PostPosted: Wed Dec 01, 2010 7:45 pm   

Terminal output overlap?
 
I recently started playing Carrion Fields and noticed an issue where sometimes the received text is overlapping. When a wall of text is being sent such as help files or a long 'who' listing, after so many lines the output stops and it prompts you to continue with "[Hit Return to continue]". However, instead of "[Hit Return to continue]" being at the end of the line or on a new line, it is displayed at the beginning of the last line received.

For example, in Mudlet:
Code:
< [35.04%] HP:100%  MP:100%  MV:22% >
help whois
WHO WHOIS
Syntax: who
        who pk
        who immortal
        who <cabal/tattoo/race/sphere>
        who wanted
        who newbie
        whois <name>

In the case of all 'who' commands, you will only be shown the people that you
can detect. Thus, if someone is invisible and you can't see invisible, they
will not show up. Ditto for camoflague, hiding in shadows, or any other way of
rendering oneself unseen.

WHO          :Typed without arguments, shows all the (visible) people
               currently playing.
WHO PK       :Shows all the (visible) players you may kill.
WHO IMMORTAL :Shows all the (visible) immortals. Note that a visible immortal
               will react in-character when approached, so don't go mouthing
               off to someone who can wipe you from existence with a thought.
               Remember to RP, and that these are *gods*.
WHO <race>   :Given a race, shows all (visible) players of that race. Choices
               are listed in HELP RACES, and can be abbreviated somewhat.
WHO <cabal>  :Shows all the (visible) members in your cabal who are currently
               logged on. Only works if you are in a cabal, and then only
               for that cabal. See HELP CABAL for a list of cabals.
WHO TATTOO   :Shows all (visible) characters who are wearing the same tattoo
               as you. Only works if you have a tattoo.
WHO WANTED   :Shows all (visible) characters who are currently marked as
               criminals (according to the Tribunal cabal).
WHO SPHERE   :Shows all (visible) characters with the same sphere as you. Does
               not work if you are under level 10.
WHO NEWBIE   :Shows all (visible) characters are who are between the levels of
               1 and 10 inclusive. Only works if you are also in that range.
WHOIS <xxxx> :Shows all (visible) characters currently logged in whose name
               starts with the characters <xxxx>. For example, 'whois bob'[Hit Return to continue]

The mayor leaves east.
[Hit Return to continue]

The mayor has arrived.
[Hit Return to continue]

The mayor leaves west.
[Hit Return to continue]

You are hungry.
You are starving!
You are thirsty.
You are dying of thirst!
[Hit Return to continue]        ;Where I finally pressed enter

               lists all names starting with the letters 'bob'.

< [35.04%] HP:100%  MP:100%  MV:22% >


CMUD:
Code:
CMUD
< [35.04%] HP:100%  MP:100%  MV:22% > help whois
WHO WHOIS
Syntax: who
        who pk
        who immortal
        who <cabal/tattoo/race/sphere>
        who wanted
        who newbie
        whois <name>

In the case of all 'who' commands, you will only be shown the people that you
can detect. Thus, if someone is invisible and you can't see invisible, they
will not show up. Ditto for camoflague, hiding in shadows, or any other way of
rendering oneself unseen.

WHO          :Typed without arguments, shows all the (visible) people
               currently playing.
WHO PK       :Shows all the (visible) players you may kill.
WHO IMMORTAL :Shows all the (visible) immortals. Note that a visible immortal
               will react in-character when approached, so don't go mouthing
               off to someone who can wipe you from existence with a thought.
               Remember to RP, and that these are *gods*.
WHO <race>   :Given a race, shows all (visible) players of that race. Choices
               are listed in HELP RACES, and can be abbreviated somewhat.
WHO <cabal>  :Shows all the (visible) members in your cabal who are currently
               logged on. Only works if you are in a cabal, and then only
               for that cabal. See HELP CABAL for a list of cabals.
WHO TATTOO   :Shows all (visible) characters who are wearing the same tattoo
               as you. Only works if you have a tattoo.
WHO WANTED   :Shows all (visible) characters who are currently marked as
               criminals (according to the Tribunal cabal).
WHO SPHERE   :Shows all (visible) characters with the same sphere as you. Does
               not work if you are under level 10.
WHO NEWBIE   :Shows all (visible) characters are who are between the levels of
               1 and 10 inclusive. Only works if you are also in that range.
WHOIS <xxxx> :Shows all (visible) characters currently logged in whose name
[Hit Return to continue]th the characters <xxxx>. For example, 'whois bob'

You are hungry.
You are starving!
You are thirsty.
You are dying of thirst!
[Hit Return to continue]


               lists all names starting with the letters 'bob'.

< [35.04%] HP:100%  MP:100%  MV:22% >


I tried changing various settings in CMUD to see if that might help, but I couldn't find the solution. Is there a way to fix this?

Thank you
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Dec 01, 2010 9:19 pm   
 
If it looks like that in both Mudlet and Cmud, my guess is that this is the way the mud itself is sending the data out. The way to tell for sure is to open the debugger window, activate all of the debugger display options, and see what is coming from the mud. You can post the relevant portion of the debugger output here for others to examine.
Reply with quote
Alocer
Newbie


Joined: 01 Dec 2010
Posts: 7

PostPosted: Wed Dec 01, 2010 9:58 pm   
 
Here is the debugger output from me typing 'help whois' and then pressing enter

Code:
0.0015 | c  CarrionF |  [1] CarrionFields Comline : start :
0.0060 | a  CarrionF |< [35.04%] HP:100%  MP:60%  MV:22% > help whois
0.0014 | h  CarrionF |< [35.04%] HP:100%  MP:60%  MV:22% > <ESC>[2Shelp whois<ESC>[0m
0.0028 | i  CarrionF >help whois<CR><LF>
0.0014 | d  CarrionF |  [1] CarrionFields Comline : stopped
0.3131 | i  CarrionF <WHO WHOIS<LF><CR>
0.0000 | Syntax: who<CR><LF>
0.0000 |         who pk<CR><LF>
0.0000 |         who immortal <CR><LF>
0.0000 |         who <cabal/tattoo/race/sphere><CR><LF>
0.0000 |         who wanted<CR><LF>
0.0000 |         who newbie<CR><LF>
0.0000 |         whois <name><CR><LF><CR><LF>
0.0000 | In the case of all 'who' commands, you will only be shown the people that you<CR><LF>
0.0000 | can detect. Thus, if someone is invisible and you can't see invisible, they<CR><LF>
0.0000 | will not show up. Ditto for camoflague, hiding in shadows, or any other way of<CR><LF>
0.0000 | rendering oneself unseen.<CR><LF><CR><LF>
0.0000 | WHO          :Typed without arguments, shows all the (visible) people<CR><LF>
0.0000 |                currently playing.<CR><LF>
0.0000 | WHO PK       :Shows all the (visible) players you may kill.<CR><LF>
0.0000 | WHO IMMORTAL :Shows all the (visible) immortals. Note that a visible immortal<CR><LF>
0.0000 |                will react in-character when approached, so don't go mouthing<CR><LF>
0.0000 |                off to someone who can wipe you from existence with a thought.<CR><LF>
0.0000 |                Remember to RP, and that these are *gods*.<CR><LF>
0.0000 | WHO <race>   :Given a race, shows all (visible) players of that race. Choices<CR><LF>
0.0000 |                are listed in HELP RACES, and can be abbreviated somewhat.<CR><LF>
0.0000 | WHO <cabal>  :Shows all the (visible) members in your cabal who are currently<CR><LF>
0.0000 |                logged on. Only works if you are in a cabal, and then only<CR><LF>
0.0000 |                for that cabal. See HELP CABAL for a list of cabals.<CR><LF>
0.0000 | WHO TATTOO   :Shows all (visible) characters who are wearing the same tattoo<CR><LF>
0.0000 |                as you. Only works if you have a tattoo.<CR><LF>
0.0000 | WHO WANTED   :Shows all (visible) characters who are currently marked as<CR><LF>
0.0000 |                criminals (according to the Tribunal cabal).<CR><LF>
0.0000 | WHO SPHERE   :Shows all (visible) characters with the same sphere as you. Does<CR><LF>
0.0000 |                not work if you are under level 10.<CR><LF>
0.0000 | WHO NEWBIE   :Shows all (visible) characters are who are between the levels of<CR><LF>
0.0000 |                1 and 10 inclusive. Only works if you are also in that range.<CR><LF>
0.0000 | WHOIS <xxxx> :Shows all (visible) characters currently logged in whose name<CR><LF>
0.0000 |                starts with the characters <xxxx>. For example, 'whois bob'<CR>
0.0000 | [Hit Return to continue]<LF><CR>
0.0044 | a  CarrionF |WHO WHOIS
0.0029 | a  CarrionF |Syntax: who
0.0029 | a  CarrionF |        who pk
0.0029 | a  CarrionF |        who immortal
0.0039 | a  CarrionF |        who <cabal/tattoo/race/sphere>
0.0012 | h  CarrionF |        who <cabal/tattoo/race/sphere>
0.0029 | a  CarrionF |        who wanted
0.0028 | a  CarrionF |        who newbie
0.0027 | a  CarrionF |        whois <name>
0.0011 | h  CarrionF |        whois <name>
0.0029 | a  CarrionF |
0.0029 | a  CarrionF |In the case of all 'who' commands, you will only be shown the people that you
0.0033 | a  CarrionF |can detect. Thus, if someone is invisible and you can't see invisible, they
0.0035 | a  CarrionF |will not show up. Ditto for camoflague, hiding in shadows, or any other way of
0.0033 | a  CarrionF |rendering oneself unseen.
0.0029 | a  CarrionF |
0.0034 | a  CarrionF |WHO          :Typed without arguments, shows all the (visible) people
0.0032 | a  CarrionF |               currently playing.
0.0031 | a  CarrionF |WHO PK       :Shows all the (visible) players you may kill.
0.0031 | a  CarrionF |WHO IMMORTAL :Shows all the (visible) immortals. Note that a visible immortal
0.0031 | a  CarrionF |               will react in-character when approached, so don't go mouthing
0.0039 | a  CarrionF |               off to someone who can wipe you from existence with a thought.
0.0034 | a  CarrionF |               Remember to RP, and that these are *gods*.
0.0030 | a  CarrionF |WHO <race>   :Given a race, shows all (visible) players of that race. Choices
0.0012 | h  CarrionF |WHO <race>   :Given a race, shows all (visible) players of that race. Choices
0.0031 | a  CarrionF |               are listed in HELP RACES, and can be abbreviated somewhat.
0.0032 | a  CarrionF |WHO <cabal>  :Shows all the (visible) members in your cabal who are currently
0.0021 | h  CarrionF |WHO <cabal>  :Shows all the (visible) members in your cabal who are currently
0.0032 | a  CarrionF |               logged on. Only works if you are in a cabal, and then only
0.0032 | a  CarrionF |               for that cabal. See HELP CABAL for a list of cabals.
0.0030 | a  CarrionF |WHO TATTOO   :Shows all (visible) characters who are wearing the same tattoo
0.0031 | a  CarrionF |               as you. Only works if you have a tattoo.
0.0039 | a  CarrionF |WHO WANTED   :Shows all (visible) characters who are currently marked as
0.0034 | a  CarrionF |               criminals (according to the Tribunal cabal).
0.0034 | a  CarrionF |WHO SPHERE   :Shows all (visible) characters with the same sphere as you. Does
0.0040 | a  CarrionF |               not work if you are under level 10.
0.0033 | a  CarrionF |WHO NEWBIE   :Shows all (visible) characters are who are between the levels of
0.0043 | a  CarrionF |               1 and 10 inclusive. Only works if you are also in that range.
0.0034 | a  CarrionF |WHOIS <xxxx> :Shows all (visible) characters currently logged in whose name
0.0012 | h  CarrionF |WHOIS <xxxx> :Shows all (visible) characters currently logged in whose name
0.0035 | a  CarrionF |[Hit Return to continue]th the characters <xxxx>. For example, 'whois bob'
0.0013 | h  CarrionF |[Hit Return to continue]th the characters <xxxx>. For example, 'whois bob'
4.9194 | a  CarrionF |
0.0026 | i  CarrionF ><CR><LF>
0.1976 | i  CarrionF <<LF>
0.0000 |                lists all names starting with the letters 'bob'.<CR><LF><LF><CR>
0.0000 | {8 AM} (waxing) PROTECTED outdoor standing<LF><CR>
0.0000 | < [35.04%] HP:100%  MP:60%  MV:22% >
0.0025 | a  CarrionF |
0.0034 | a  CarrionF |               lists all names starting with the letters 'bob'.
0.0030 | a  CarrionF |
0.0029 | a  CarrionF |{8 AM} (waxing) PROTECTED outdoor standing
0.0029 | a  CarrionF ]< [35.04%] HP:100%  MP:60%  MV:22% >
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Dec 02, 2010 2:52 am   
 
As you can see from your debug, your MUD doesn't send the CR/LF at the end of "[Hit Return..." line. So if the MUD sends additional data, like a prompt message the lines will be appended.
_________________
Asati di tempari!
Reply with quote
Alocer
Newbie


Joined: 01 Dec 2010
Posts: 7

PostPosted: Thu Dec 02, 2010 3:10 am   
 
Just so I understand then, it's a problem with the MUD instead of CMUD even though this problem doesn't happen in Mudlet? And that's because the line:

" starts with the characters <xxxx>. For example, 'whois bob'<CR> "

Doesn't also have the line feed <LF>?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Dec 02, 2010 4:16 am   
 
<CR> - Carriage Return... in type writer and PC parlance it means move the cursor to the start of the line.
<LF> - Line Feed... means moves the active line (i.e. the cursor) forward one line.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Dec 02, 2010 6:37 pm   
 
This is actually a bug on the MUD. CMUD is rendering it correctly.

If you look at the log file above, you'll see that *most* lines end properly with , which is correct. However, notice that some lines end with instead. This is incorrect and violates the Telnet protocol standard. While CMUD can handle most MUDs that incorrectly send LF/CR it cannot handle MUDs that mix the incorrect LF/CR along with the correct CR/LF.

Carrion Fields should be notified about this problem so they can fix it in their code. I have no plans to try and kludge CMUD to handle this kind of problem.
Reply with quote
Alocer
Newbie


Joined: 01 Dec 2010
Posts: 7

PostPosted: Thu Dec 02, 2010 8:38 pm   
 
Thank you, I just wanted to make sure it was a bug with the MUD and not my settings before I notified them
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