Bug with '<' character on Evennia

Posted by Apos on Thu 17 Mar 2016 07:11 AM — 3 posts, 15,496 views.

#0
I've only noticed this behavior with Mushclient compared to other clients and I'm at a loss for why this is: on a new evennia coded game, one user using mushclient noticed all text following the '<' character would be eaten until a new line or until a '>' character.

I at first thought they had some kind of gag/block type functionality they forgot about, then I did a fresh install of mushclient myself to check and had the exact same behavior. Can't reproduce this in any other clients, and I'm not sure what about an evennia game would be causing mushclient to interact that way compared to other MUs. Any ideas for where we should start to look on our end?

Thanks a bunch if you have any ideas at all.
Australia Forum Administrator #1
I am presuming your game enables MXP. When MXP is enabled, you have "markup" available like <b> for bold text.

Servers that do not implement MXP correctly don't "escape" the < character correctly in normal text (like a prompt line), as they should, as &lt;

MUSHclient looks for a closing tag after "<" and then attempts to interpret everything between the "<" and then ">" as markup. If it fails to do so, it discards the entire string as possible future markup that it doesn't understand (like HTML does).

Some clients which you may have used in the past, don't do this, but simply reproduce the text. This is not forwards compatible.

The bug is not in MUSHclient, but your MUD server. Please write to the admins and suggest they implement MXP properly. It isn't hard.

See: http://www.gammon.com.au/mushclient/addingservermxp.htm
Amended on Thu 17 Mar 2016 09:52 AM by Nick Gammon
#2
Thanks a bunch, I really appreciate it!