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
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4715
Location: Pensacola, FL, USA

PostPosted: Sun Aug 26, 2007 3:28 am   

[2.01] Simultronics
 
In the new stormfront mode on GS4 i am not getting any of the XML tags at all now.
_________________
Discord: Shalimarwildcat
Reply with quote
Zugg
MASTER


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

PostPosted: Sun Aug 26, 2007 3:30 am   
 
v2.01 still sends the PLAY command and not the STORM command at login time. Sorry I forgot to fix that, but I'll put it in the next update early next week, unless there is another quick fix this weekend.

However, if it worked in 1.34 then it should still work in 2.01. I haven't changed the login sequence for Simutronics at all. All I did was add the StormFront option to the GSL dropdown selection.
Reply with quote
Zugg
MASTER


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

PostPosted: Sun Aug 26, 2007 3:31 am   
 
Oh, I should mention that it's also possible CMUD is seeing the StormFront tags, but you are not.

v2.01 supports the <tag/> format used in StormFront, and CMUD normally ignores unknown tags. You might try turning on the MXP debug mode to see the tags. In v2.01 you should be able to write MXP Triggers to fire on all of the tags now.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Sun Aug 26, 2007 1:23 pm   
 
Quote:
v2.01 supports the <tag/> format used in StormFront, and CMUD normally ignores unknown tags. You might try turning on the MXP debug mode to see the tags. In v2.01 you should be able to write MXP Triggers to fire on all of the tags now.

By "ignore" do you mean "ignores and gags" or "ignores and displays"? If it is "ignores and gags", then maybe there should be a preference to switch off the gagging of unknown tags... I think I'd rather create my own MXP elements (using the #MXP command) then for anything that looks like it might possibly be a tag to be gagged.
Reply with quote
Zugg
MASTER


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

PostPosted: Sun Aug 26, 2007 5:30 pm   
 
What I mean is that it treats the tags just like any other HTML/XHTML tag that isn't supported in CMUD. For example, imagine handling the text

<NewTag>Text</NewTag>

The way this should be handled by any web browser is that it should display the "Text" but not the actual tags. CMUD works just like a web browser for this...it shows Text but not the tags.

OK, now consider the text:

<NewTag>Text

What should it do now? Should CMUD display the <NewTag>? Even though there isn't yet a </NewTag> closing tag, how do we know whether or not this is a multiline tag, like <P>paragraph</P> in HTML? Unlike a web browser, CMUD doesn't have the entire "page" to parse...it just has a partial page as the text is received from the MUD. This is the issue with "scrolling HTML" support.

The way CMUD (and zMUD) have always handled this is to look at whether the MUD has put us into MXP Secure mode or not. In MXP Secure mode, CMUD assumes the MUD knows what it is doing and properly supports MXP. When a MUD properly supports MXP, then it should be sending

&lt;not-a-tag&gt;text

if it wants CMUD to explicitly display the < and > characters. In Secure mode, CMUD assumes that the MUD will eventually send the </newtag> closing tag, so the tag is stripped.

So, in MXP secure mode, any unknown tags are stripped (and cause MXP triggers to fire), but the text should be displayed normally. So CMUD should be gagging anything that looks like an open or closing tag, but not the text between them.
Reply with quote
Seb
Wizard


Joined: 14 Aug 2004
Posts: 1269

PostPosted: Mon Aug 27, 2007 12:45 am   
 
We're getting a bit off-topic, so moving this conversation to a more appropriate thread...
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