[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]  General
. . -> [Subject]  "Keep Commands on Prompt line" not working v.4.14

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: "Keep Commands on Prompt line" not working v.4.14
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 Meh2u   (9 posts)  [Biography] bio
Date Mon 02 Nov 2009 09:24 PM (UTC)  quote  ]
Message
Thank you Nick Gammon.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Mon 02 Nov 2009 08:04 PM (UTC)  quote  ]
Message
I made a new character Filildan on that MUD - if anyone is wondering why he didn't play for long, I stopped once I saw what was happening.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Mon 02 Nov 2009 08:03 PM (UTC)  quote  ]
Message
You are not echoing your commands at all, which is why they are not appearing on the same line as the prompts.

In the Commands configuration, check the box next to "Echo My Input In".

When I did that, what I typed appeared in the brown colour selected, on the same line as the most recent prompt.

- Nick Gammon

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

Posted by Meh2u   (9 posts)  [Biography] bio
Date Mon 02 Nov 2009 04:08 AM (UTC)  quote  ]

Amended on Mon 02 Nov 2009 04:09 AM (UTC) by Meh2u

Message
Here is the string of values you asked for, minus my name and password.

<world
muclient_version="4.43"
world_file_version="15"
date_saved="2009-11-01 17:35:41"

auto_say_override_prefix="-"
auto_say_string="say "
chat_name="Name-not-set"
command_stack_character=";"
id="3f8595c95233ed7d2b85b47c"
input_font_name="Fixedsys"
mapping_failure="Alas, you cannot go that way."
name="AOD Temp"
new_activity_sound="(No sound)"
output_font_name="FixedSys"
password_base64="y"


script_editor="notepad"
script_language="Lua"
site="129.241.168.214"
spam_message="look"
speed_walk_prefix="#"
terminal_identification="mushclient"

arrows_change_history="y"
auto_pause="y"
auto_resize_minimum_lines="1"
auto_resize_maximum_lines="20"
chat_foreground_colour="red"
chat_background_colour="black"
chat_port="4050"
confirm_before_replacing_typing="y"
confirm_on_paste="y"
confirm_on_send="y"
connect_method="2"
detect_pueblo="y"
echo_colour="11"
echo_hyperlink_in_output_window="y"
edit_script_with_notepad="y"
enable_aliases="y"
enable_beeps="y"
enable_scripts="y"
enable_timers="y"
enable_triggers="y"
enable_trigger_sounds="y"
history_lines="1000"
hyperlink_adds_to_command_history="y"
hyperlink_colour="#0080FF"
indent_paras="y"
input_background_colour="white"
input_font_height="9"
input_font_weight="400"
input_text_colour="black"
keep_commands_on_same_line="y"
keypad_enable="y"
line_information="y"
log_output="y"
max_output_lines="5000"
mud_can_change_link_colour="y"
mud_can_change_options="y"
note_text_colour="#040000"
output_font_height="9"
output_font_weight="400"
paste_delay_per_lines="1"
pixel_offset="1"
port="5000"
proxy_port="1080"
save_world_automatically="y"
send_file_delay_per_lines="1"
send_mxp_afk_response="y"
show_connect_disconnect="y"
show_italic="y"
show_underline="y"
spam_line_count="20"
tab_completion_lines="200"
underline_hyperlinks="y"
unpause_on_send="y"
use_custom_link_colour="y"
use_default_input_font="y"
use_default_output_font="y"
warn_if_scripting_inactive="y"
wrap_column="80"
write_world_name_to_log="y"
> <!-- end of general world attributes -->

</world>
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sun 01 Nov 2009 11:03 PM (UTC)  quote  ]
Message
Hmmm, well it seems to work here. Can you please open your world file in a text editor (eg. Notepad) and copy the lines between <world> and </world>, and paste them here?

Delete the lines with your player name password in them, i.e.


password="<something>"
player="<something>"


It should look something like this:


<world
   muclient_version="4.43"
   world_file_version="15"
   date_saved="2009-10-27 11:00:49"

   auto_say_override_prefix="-"
   auto_say_string="say "
   chat_name="Name-not-set"
   command_stack_character=";"
   id="8340a3287a2b0aa6f764bcf1"
   input_font_name="FixedSys"
   mapping_failure="Alas, you cannot go that way."
   name="mud.name.here"
   new_activity_sound="(No sound)"
   output_font_name="FixedSys"
   password_base64="y"
   script_editor="notepad"
   script_language="Lua"
   site="mud.site.address.here"
   spam_message="look"
   speed_walk_prefix="#"
   terminal_identification="mushclient"

   arrows_change_history="y"
   auto_pause="y"
   auto_resize_minimum_lines="1"
   auto_resize_maximum_lines="20"
   chat_foreground_colour="red"
   chat_background_colour="black"
   chat_port="4050"
   confirm_before_replacing_typing="y"
   confirm_on_paste="y"
   confirm_on_send="y"
   connect_method="2"
   detect_pueblo="y"
   display_my_input="y"
   echo_hyperlink_in_output_window="y"
   edit_script_with_notepad="y"
   enable_aliases="y"
   enable_beeps="y"
   enable_scripts="y"
   enable_timers="y"
   enable_triggers="y"
   enable_trigger_sounds="y"
   history_lines="1000"
   hyperlink_adds_to_command_history="y"
   hyperlink_colour="#0080FF"
   indent_paras="y"
   input_background_colour="white"
   input_font_height="9"
   input_font_weight="400"
   input_text_colour="black"
   keypad_enable="y"
   line_information="y"
   log_output="y"
   max_output_lines="5000"
   mud_can_change_link_colour="y"
   mud_can_change_options="y"
   note_text_colour="#040000"
   output_font_height="9"
   output_font_weight="400"
   paste_delay_per_lines="1"
   pixel_offset="1"
   port="4000"
   proxy_port="1080"
   send_file_delay_per_lines="1"
   send_mxp_afk_response="y"
   show_connect_disconnect="y"
   show_italic="y"
   show_underline="y"
   spam_line_count="20"
   tab_completion_lines="200"
   underline_hyperlinks="y"
   unpause_on_send="y"
   use_custom_link_colour="y"
   use_default_input_font="y"
   use_default_output_font="y"
   warn_if_scripting_inactive="y"
   wrap="y"
   wrap_column="80"
   write_world_name_to_log="y"
   > <!-- end of general world attributes -->

</world>



- Nick Gammon

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

Posted by Meh2u   (9 posts)  [Biography] bio
Date Sun 01 Nov 2009 08:44 PM (UTC)  quote  ]
Message
Yes 1661 is my hp, because all I did was press enter. I didnt put any thing in the line, as far as i know i dont have any plugins either.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sat 31 Oct 2009 08:08 PM (UTC)  quote  ]
Message
Are we really looking at your prompt packet? Was your prompt "1661" in this example? What is that? Your HP or something?

Do you have any plugins installed? Plugins may modify the behaviour of the client, so we may be fighting a plugin here.

- Nick Gammon

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

Posted by Meh2u   (9 posts)  [Biography] bio
Date Sat 31 Oct 2009 08:18 AM (UTC)  quote  ]

Amended on Sat 31 Oct 2009 08:20 AM (UTC) by Meh2u

Message
Is there a way I can edit the ica/ga to be off, cause its off in the menu, and the same problem occurs.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sat 31 Oct 2009 06:20 AM (UTC)  quote  ]

Amended on Sat 31 Oct 2009 06:21 AM (UTC) by Nick Gammon

Message
Right, well apart from some formatting codes, I see your prompt as being simply "1661". Is that your prompt?

I also don't see a newline at the end of the line, but I do see hex "ff f9" which is the IAC/GA.

So when I had "convert IAC/GA to newlines" off, and "keep prompt on the same line" on, on that packet data, it put the prompt on the same line as the "1661" line.

- Nick Gammon

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

Posted by Meh2u   (9 posts)  [Biography] bio
Date Sat 31 Oct 2009 05:59 AM (UTC)  quote  ]

Amended on Sat 31 Oct 2009 06:13 AM (UTC) by Nick Gammon

Message
Sorry not as versed in the actual function of the program. I just pushed enter with nothing in the prompt, I think that gives the desired results.


Sent  packet: 462 (2 bytes) at Friday, October 30, 2009, 11:56:47 PM

..                 0d 0a

Incoming packet: 1293 (42 bytes) at Friday, October 30, 2009, 11:56:48 PM

.[34m.[1;37m1661   1b 5b 33 34 6d 1b 5b 31 3b 33 37 6d 31 36 36 31
.[2;37;0m.[34m .   1b 5b 32 3b 33 37 3b 30 6d 1b 5b 33 34 6d 20 1b
[2;37;0mÿù         5b 32 3b 33 37 3b 30 6d ff f9

Sent  packet: 463 (2 bytes) at Friday, October 30, 2009, 11:56:49 PM

..                 0d 0a


Here is one of me doing something, not sure it it makes a difference.



Sent  packet: 468 (6 bytes) at Saturday, October 31, 2009, 12:03:28 AM

jump..             6a 75 6d 70 0d 0a

Incoming packet: 1308 (69 bytes) at Saturday, October 31, 2009, 12:03:28 AM

.[1;37mYou jump.   1b 5b 31 3b 33 37 6d 59 6f 75 20 6a 75 6d 70 2e
.[2;37;0m...[34m   1b 5b 32 3b 33 37 3b 30 6d 0d 0a 1b 5b 33 34 6d
.[1;37m1661.[2;3   1b 5b 31 3b 33 37 6d 31 36 36 31 1b 5b 32 3b 33
7;0m.[34m .[2;37   37 3b 30 6d 1b 5b 33 34 6d 20 1b 5b 32 3b 33 37
;0mÿù              3b 30 6d ff f9
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sat 31 Oct 2009 01:08 AM (UTC)  quote  ]
Message
That is the packet with "l" in it.

I want to see the packet with the prompt in it.

- Nick Gammon

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

Posted by Meh2u   (9 posts)  [Biography] bio
Date Fri 30 Oct 2009 06:06 AM (UTC)  quote  ]
Message
Ok, I used the 'debug packets' and found this when I would look or type anything into the command prompt.


Sent packet: 208 (3 bytes) at Thursday, October 29, 2009, 11:52:57 PM

l.. 6c 0d 0a

Which means that every time I type I am getting a new line?
So, what can I do to correct this? Also I checked and I do have the latest version 4.43. My bad.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 30 Oct 2009 01:04 AM (UTC)  quote  ]
Message
Also, the latest version (at present) is 4.43, not 4.14. You may get better results by downloading the latest version:

http://www.gammon.com.au/forum/?id=9659

- Nick Gammon

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

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 30 Oct 2009 12:56 AM (UTC)  quote  ]
Message
Let's leave it here for now, since we got this far. ;)

I checked again, and with "keep commands on prompt line" checked, and "convert IAC EOR/GA to new line" unchecked, it works as advertised:


<24hp 145m 110mv> <#21036> sigh
You sigh.

<24hp 145m 110mv> <#21036> dance
Feels silly, doesn't it?


However maybe you have your prompt configured (or it does it anyway) to add a newline after the prompt.

You could try turning on Edit menu -> "debug packets". In my case I saw something like this:


Incoming packet: 13 (90 bytes) at Friday, October 30, 2009, 11:52:53 AM

.[0;36mYou sigh.   1b 5b 30 3b 33 36 6d 59 6f 75 20 73 69 67 68 2e
.....[0m.[0;37m<   0d 0a 0d 0a 1b 5b 30 6d 1b 5b 30 3b 33 37 6d 3c
.[1;33m24hp .[1;   1b 5b 31 3b 33 33 6d 32 34 68 70 20 1b 5b 31 3b
36m145m .[1;32m1   33 36 6d 31 34 35 6d 20 1b 5b 31 3b 33 32 6d 31
10mv.[0;37m> <#2   31 30 6d 76 1b 5b 30 3b 33 37 6d 3e 20 3c 23 32
1036> .[0m         31 30 33 36 3e 20 1b 5b 30 6d

Sent  packet: 11 (7 bytes) at Friday, October 30, 2009, 11:52:54 AM

dance..            64 61 6e 63 65 0d 0a


Note now at the end of packet 13 there was no newline (that is hex 0A). This lets it append "dance" to the end of the prompt. If there was a newline (eg. 0a or 0d 0a) then a new line has already started.

- Nick Gammon

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

Posted by Meh2u   (9 posts)  [Biography] bio
Date Thu 29 Oct 2009 11:10 PM (UTC)  quote  ]

Amended on Fri 30 Oct 2009 05:51 AM (UTC) by Meh2u

Message
I have confirmed that the convert IAC EOR/GA to new line, is not on. I still have the initial problem, so should I post this same question in the bug section?
[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.


4,900 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]