[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Materia Magica - problem with the compass

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Materia Magica - problem with the compass
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Sat 16 Apr 2011 10:42 PM (UTC)  quote  ]
Message
Are you fixing the tags twice? Make sure you don't have two such plugins installed. If MXP is enabled then you shouldn't see the < unless it got processed twice.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ruthgul   (13 posts)  [Biography] bio
Date Sat 16 Apr 2011 08:13 AM (UTC)  quote  ]
Message
Then I'm doing something wrong :/

Here's a sample output, with MXP_Tag_Fixer (2nd version):

 Stairwell                                              -      #      -
(-------------------------------------------------)     - <-U-(M)---> -
                                                        -      S      -
  Visible Exits: (N) S U 


[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Sat 16 Apr 2011 02:38 AM (UTC)  quote  ]
Message
Rebecca Madison said:

Hmm... the plugin is not working in this case, but you gave me an idea.


Crude though it is, that plugin should work. I tested it on your example in your first post and it did indeed make the map appear OK.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ruthgul   (13 posts)  [Biography] bio
Date Sat 16 Apr 2011 01:47 AM (UTC)  quote  ]
Message
Hmm... the plugin is not working in this case, but you gave me an idea.

I made a trigger that "gags" (omit from output) the broken line and replaces it with a fixed one (using TriggerStyleRuns/ColourTell, etc.). Ugly but effective. :3

Thanks again ^^
[Go to top] top

Posted by Twisol   USA  (2,229 posts)  [Biography] bio
Date Fri 15 Apr 2011 11:04 PM (UTC)  quote  ]

Amended on Fri 15 Apr 2011 11:05 PM (UTC) by Twisol

Message
To be fair, I think the best behavior is to treat nonexistent/broken tags as visible text instead of hiding them. Browsers have all sorts of ways to deal with malformed HTML, even.

I don't know how zMUD or MUSHclient handle it (I didn't really explore that part of the code), but it seems like a sensible fallback.

[EDIT]: That's not to say that it's a good idea to exploit behavior that's not specced, and MM is still clearly at fault. :D

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Fri 15 Apr 2011 11:02 PM (UTC)  quote  ]
Message
Ah, Materia Magica again. :)

Template:post=10507 Please see the forum thread: http://gammon.com.au/forum/?id=10507.


In that, I sigh and say:

Quote:

Every. Couple. Of. Months.

This question arises again and again, because Materia Magica (in this case) are not implementing the MXP spec correctly.


Then there is a lengthy discussion about MXP.

You could try this:

Template:post=7217 Please see the forum thread: http://gammon.com.au/forum/?id=7217.


In that is a plugin that tries to detect "valid" MXP and if it doesn't look like an MXP tag convert < to &lt; etc.

That might help you.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Shadowfyr   USA  (1,774 posts)  [Biography] bio
Date Fri 15 Apr 2011 10:35 PM (UTC)  quote  ]
Message
Sounds like the usual, "It worked in zMud, so we didn't bother to realize that zMud ignores its own specification when dealing with some cases of '<'."

main {
__if (Schrodinger_Cat is Alive or version >= "XP"){
____if version = "Vista" then Performance /= Number_of_Cores;
____call Functional_Code();}
__else
____call Crash_Windows();}
[Go to top] top

Posted by Twisol   USA  (2,229 posts)  [Biography] bio
Date Fri 15 Apr 2011 08:20 PM (UTC)  quote  ]
Message
Rebecca Madison said:

Oh, I see. MXP is on. Sadly I use it (scripts, etc.).

Thank you :). Also, for reminding how to paste code. I'd forgotten about it :x

Sounds like a bug in the MUD then, as all < and & that aren't used for MXP should be escaped as &lt; and &amp;.

No problem!

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Ruthgul   (13 posts)  [Biography] bio
Date Fri 15 Apr 2011 08:06 PM (UTC)  quote  ]
Message
Oh, I see. MXP is on. Sadly I use it (scripts, etc.).

Thank you :). Also, for reminding how to paste code. I'd forgotten about it :x
[Go to top] top

Posted by Twisol   USA  (2,229 posts)  [Biography] bio
Date Fri 15 Apr 2011 07:51 PM (UTC)  quote  ]

Amended on Fri 15 Apr 2011 07:53 PM (UTC) by Twisol

Message
You need to disable MUSHclient's MXP support. Go to Game -> Configure -> MXP/Pueblo and make sure that the "Use MXP/Pueblo" dropdown is set to "No - never". (Also let me know what it was set to originally)

[EDIT]: For the record, you can use [code] and [/code] around your preformatted text to preserve the spaces. Like so:

 A Shady Inlet                                          -      -      -
(------------------------------------*Forested*---)     - --(M)---> E
                                                        SW     S     SE
  Visible Exits: E S Sw Se


(You can click the "quote" link to see how I did it.)

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Ruthgul   (13 posts)  [Biography] bio
Date Fri 15 Apr 2011 07:17 PM (UTC)  quote  ]
Message
Sorry, my text capture didn't show very well :/

Here's a html capture:
http://d00m3d2di3.40gigs.com/captures/mm-compass.html
[Go to top] top

Posted by Ruthgul   (13 posts)  [Biography] bio
Date Fri 15 Apr 2011 07:10 PM (UTC)  quote  ]
Message
Hello :)

I have a little 'cosmetic' problem with Materia Magica's compass (where it shows the visible exits in a compass format).

For example, I see this:

A Shady Inlet - - -
(------------------------------------*Forested*---) - --(M)---> E
SW S SE
Visible Exits: E S Sw Se

(...)

instead of this:

A Shady Inlet - - -
(------------------------------------*Forested*---) - <---(M)---> E
SW S SE
Visible Exits: E S Sw Se

(...)

This seems to happen when I enter a room via recall, flee, blink, warp, or any other non-walk method.

Not sure if it's a client setting. But I tried with a clean world file (standard, without importing settings from my current world file), and it's doing the same.

Thanks in advance,

R.
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


2,238 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]