Line break error

Posted by BlackGuard on Thu 10 Apr 2014 12:32 AM — 3 posts, 13,198 views.

USA #0
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 -
USA #1
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.
Australia Forum Administrator #2
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).