Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ Materia Magica - problem with the compass
Materia Magica - problem with the compass
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Fri 15 Apr 2011 07:10 PM (UTC) |
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. | Top |
|
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Reply #1 on Fri 15 Apr 2011 07:17 PM (UTC) |
Message
| Sorry, my text capture didn't show very well :/
Here's a html capture:
http://d00m3d2di3.40gigs.com/captures/mm-compass.html
| Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #2 on Fri 15 Apr 2011 07:51 PM (UTC) 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 | Top |
|
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Reply #3 on Fri 15 Apr 2011 08:06 PM (UTC) |
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 | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #4 on Fri 15 Apr 2011 08:20 PM (UTC) |
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 < and &.
No problem! |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Shadowfyr
USA (1,788 posts) Bio
|
Date
| Reply #5 on Fri 15 Apr 2011 10:35 PM (UTC) |
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 '<'." | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #6 on Fri 15 Apr 2011 11:02 PM (UTC) |
Message
| Ah, Materia Magica again. :)
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:
In that is a plugin that tries to detect "valid" MXP and if it doesn't look like an MXP tag convert < to < etc.
That might help you. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #7 on Fri 15 Apr 2011 11:04 PM (UTC) 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 | Top |
|
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Reply #8 on Sat 16 Apr 2011 01:47 AM (UTC) |
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 ^^
| Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #9 on Sat 16 Apr 2011 02:38 AM (UTC) |
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 | Top |
|
Posted by
| Ruthgul
(18 posts) Bio
|
Date
| Reply #10 on Sat 16 Apr 2011 08:13 AM (UTC) |
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
| Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #11 on Sat 16 Apr 2011 10:42 PM (UTC) |
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 | 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.
37,750 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top