Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Zugg
MASTER


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

PostPosted: Wed Oct 31, 2007 9:58 pm   

Change to how unknown XML tags are echoed
 
Someone reported a problem with a MUD that displays a line of text like this when you first connect:
Code:
<Enter name or press Return>

and then just waits. There is no newline sent...this is like a MUD prompt.

In CMUD, this is treated as an undefined tag when MXP is enabled. And since there isn't any newline, CMUD still waits for the closing tag (or a newline) before deciding whether to display the text. So, the result is that this text prompt is not displayed.

This problem could also be triggered by a MUD prompt that starts with < and ends with > in some cases.

To fix this problem, I needed to modify CMUD so that any unknown tag that occurs in a packet without a newline is echoed to the screen.

If you are playing on a MUD that uses XML for something and they send the XML tags in their own network packet (without the closing tag), then you might start seeing these tags echoed to the screen if if the "Echo unknown tags" option is disabled. Sorry for this side-effect, but I don't see any other way to fix this issue.
Reply with quote
ccogdill
Beginner


Joined: 16 Jul 2002
Posts: 27

PostPosted: Thu Nov 01, 2007 3:25 am   Thats why my equipment list was missing the names of the slots
 
eq
You are using:
<used as light> (Glowing) (Humming) Aladdin’s Magic Lamp
<worn on finger> (Glowing) (Humming) Lapis Lazuli Ring
<worn on finger> (Glowing) (Humming) Lapis Lazuli Ring
<worn around neck> (Glowing) (Humming) Gold and Amethyst Necklace
<worn around neck> (Glowing) (Humming) Gold and Amethyst Necklace
Scale of the enforcer
<worn on head> Dark grey helm
<worn on legs> (Glowing) leggings of travel
<worn on feet> (Glowing) (Humming) Camelhide Boots
<worn on hands> (Glowing) (Humming) Goatskin gloves
<worn on arms> (Glowing) (Humming) Pauldrons
<worn about body> (Glowing) (Humming) Djellaba
<worn about waist> (Glowing) (Humming) Belt of Nine Lives
<worn around wrist> (Glowing) (Humming) Demon bracer
<worn around wrist> (Glowing) (Humming) Demon bracer
(Glowing) (Humming) Scimitar
<floating nearby> (Glowing) (Humming) Magic Carpet
<secondary weapon> (Glowing) (Humming) Scimitar



when it should be :::


eq
You are using:
<used as light> (Glowing) (Humming) Aladdin’s Magic Lamp
<worn on finger> (Glowing) (Humming) Lapis Lazuli Ring
<worn on finger> (Glowing) (Humming) Lapis Lazuli Ring
<worn around neck> (Glowing) (Humming) Gold and Amethyst Necklace
<worn around neck> (Glowing) (Humming) Gold and Amethyst Necklace
<worn on torso> Scale of the enforcer
<worn on head> Dark grey helm
<worn on legs> (Glowing) leggings of travel
<worn on feet> (Glowing) (Humming) Camelhide Boots
<worn on hands> (Glowing) (Humming) Goatskin gloves
<worn on arms> (Glowing) (Humming) Pauldrons
<worn about body> (Glowing) (Humming) Djellaba
<worn about waist> (Glowing) (Humming) Belt of Nine Lives
<worn around wrist> (Glowing) (Humming) Demon bracer
<worn around wrist> (Glowing) (Humming) Demon bracer
<wielded> (Glowing) (Humming) Scimitar
<floating nearby> (Glowing) (Humming) Magic Carpet
<secondary weapon> (Glowing) (Humming) Scimitar
Reply with quote
Zugg
MASTER


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

PostPosted: Thu Nov 01, 2007 5:16 am   
 
No, it wouldn't effect that because each of those lines properly ends in a newline. It would only happen if it was in your prompt.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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