Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Line break error

Line break error

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by BlackGuard   USA  (12 posts)  Bio
Date Thu 10 Apr 2014 12:32 AM (UTC)
Message
Anyone know why this occurs?

You may smo

Angel Battle self-pity Ishin
shield strike Ishin
chasten Ishin stupidity
queue bal contemplate Ishin

ke another herb.
Target is afflicted with: weariness, impatience, haemophilia, shadow, vomiting, hellsight, sensitivity, lethargy, fitness, deafness, clarity, hypochondria, asthma,
[100] [99] E99 W98 B100 S100 Dev51 Spark59 <<XP 84%>> [cspdb eb] 3:5.846 -
Top

Posted by BlackGuard   USA  (12 posts)  Bio
Date Reply #1 on Fri 11 Apr 2014 09:34 AM (UTC)
Message
To be a bit clearer about a my problem, what I'm finding is that sometimes the commands I send to the mud are cutting into the lines that the mud sends me which in turn screw up triggers I may or may not have for the line.

Like in this particular instance the line was:

You may now smoke another herb.

When I sent the following chain of commands:

Angel Battle self-pity Ishin
shield strike Ishin
chasten Ishin stupidity
queue bal contemplate Ishin

It cut the line into:

You may smo
[commands here]
ke another herb.
[prompt stuff]

I'm wondering how to prevent this because it made my system believe that I never regained smoke balance ever again.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 11 Apr 2014 10:24 PM (UTC)
Message
It sounds like the MUD is sending partial lines. It is possible for a command to go in the middle of a line, but I haven't heard this particular problem reported before.

The client has to allow for a line without a "newline" character because "prompting" input (eg. character name, password) are done just that way.

You could turn echoing of input off in the output window, however then you don't get to see what you typed (maybe this doesn't bother you).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


12,556 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.