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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Anrok
Apprentice


Joined: 19 Nov 2010
Posts: 119

PostPosted: Fri Jan 04, 2013 7:00 pm   

Getting weird line breaks with MXP enabled, please help.
 
I tried changing all the settings in CMUD and Mud settings to no avail, does anyone have any idea what could be causing this ?

Here is a page with mxp off

Settlestone's Well
This is an extremely energetic section of the dwarven city of
Settlestone. Two bustling streets intersect at the site of a ten foot tall
statue of the famed Krodar Thunderhammer. All four sets of city gates can
be seen from this vantage and hundreds of people walk about nearby. There
is also a large black stone well in the center of the square.
Exits: North East South West Up Down
AN OPEN PORTAL IS HERE!
A stalk of celery grows in a patch of well-kept soil.
A bright orange carrot top can just barely be seen growing in some soil.
A magical spring gurgles out fresh water. [2]
Some sweetmeats are sitting on the ground.
A plump date lies here.
A tan spellbook with strange runes lies forgotten on the ground.
Settlestone's newbie sign is here next to the well saying 'Look at me.'
A statue of Krodar Thunderhammer stands tall atop a pedestal.
The large central well of Settlestone is here...It glows violet!
Josiah is standing here.
Josiah glows with a very faint light!
Josiah has a steady blue aura.
A dwarven animal control officer patrols the area.


===============================================

And here is the same one with MXP enabled

Settlestone's Well<BR><BR> This is an extremely energetic section of the dwarven city of
Settlestone. Two bustling streets intersect at the site of a ten foot tall
statue of the famed Krodar Thunderhammer. All four sets of city gates can
be seen from this vantage and hundreds of people walk about nearby. There
is also a large black stone well in the center of the square.Exits: North East South West Up Down
A stalk of celery grows in a patch of well-kept soil.
A bright orange carrot top can just barely be seen growing in som
e soil.A m
agical spring gurgles out fresh water. [2]Som
e sweetmeats are sitting on the ground.A plum
p date lies here.A tan spellbook with strange runes lies forgotten on the ground.
Settlestone's newbie sign is here next to the well saying 'Look at m
e.'A statue of Krodar Thunderham
mer stands tall atop a pedestal.The large central well of Settlestone is here...It glows violet!
A very lazy-looking dwarf slum
ps here in the middle of the road.
Josiah is standing here.
Josiah glows with a very faint light!
Josiah has a steady blue aura.Sam
Happy New Year! is sleeping here.(Faint Red Aura)
Sam glows with a very faint light!
Sam has a steady blue aura.Surfnazi KGC is standing here.(Red Aura)
Surfnazi glows with a very faint light!
Surfnazi has a strong red aura.
A dwarven anim
al control officer patrols the area.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2307

PostPosted: Fri Jan 04, 2013 10:41 pm   
 
The first thing I would suggest is opening the Debugger window to see exactly what is being sent
from the mud. This would also tell you whether any triggers are modifying the text. But I think
something odd must be coming from the mud. There is an entire section of text (between the
end of Josiah and the beginning of the animal control officer) which is only visible with MXP turned
on. And it is curious that <BR> becomes visible with MXP turned on.

My off-the-cuff hypothesis is that the mud is sending something that looks like XML or MXP code,
but either badly coded or not being interpreted as expected by the MXP parser. This code would be
completely ignored and invisible with MXP turned off, but might be causing the MXP parser to reformat
things the way you see.
Reply with quote
Tarn
GURU


Joined: 10 Oct 2000
Posts: 853
Location: USA

PostPosted: Sat Jan 05, 2013 1:03 am   
 
Rahab wrote:

My off-the-cuff hypothesis is that the mud is sending something that looks like XML or MXP code,
but either badly coded or not being interpreted as expected by the MXP parser. This code would be
completely ignored and invisible with MXP turned off, but might be causing the MXP parser to reformat
things the way you see.


BR is a tag that doesn't work in OPEN mode. Maybe there's a problem with mode switching.

Anrok, the #DEBUGFILE command will let you save exactly what the mud is sending to a pair of text files (one very raw and one a bit more parsed).

Can you log those? (and check to to make sure your password or any other private information are not in the log before posting anything- changing to *'s or something won't stop us from troubleshooting)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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