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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Miniwindows
. . -> [Subject]  Map miniwindow in MKO?

Map miniwindow in MKO?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1  2 

Posted by Kaimarae   (34 posts)  [Biography] bio
Date Reply #15 on Sun 15 May 2011 03:05 AM (UTC)

Amended on Sun 15 May 2011 03:08 AM (UTC) by Kaimarae

Message
Added "sequence = 99," to the help alias... now PARSE shows up. Did parse... But uh, no display is happening. Just doing MAP doesn't show it in the miniwindow now either (still displays map in main window)

EDIT: More fun things. Disabled the Debug. Map now updates when I walk... Still isn't gagging, and the map appears twic- nevermind. It stopped doing that. Now to gag the old one...

Confused panda.

Also, is it possible to retain the original formatting of the map? Or is that a huge screw around?
[Go to top] top

Posted by Kaimarae   (34 posts)  [Biography] bio
Date Reply #16 on Sun 15 May 2011 03:15 AM (UTC)
Message
Wow. I turned CONFIG MAPVIEW OFF for shiggles. Turns out, your map still works. So I guess that counts as it being gagged, heh...

Sorry for taking up so much of your time, and thank you!
(If you're STILL in the mood for helping newbies could you take a look at this?
http://www.gammon.com.au/forum/?id=11110
Another thing I can't figure out.)
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #17 on Sun 15 May 2011 03:29 AM (UTC)

Amended on Sun 15 May 2011 03:30 AM (UTC) by Twisol

Message
Kaimarae said:
My god... Your plugin is the most insane thing I have EVER seen.

Does it track things entering and leaving the room too? Christ.

Ahahahahaha. :D No, that's all data that MKO itself is sending! The GMCP plugin enables it and makes it available to other plugins.

(And yes, it should track things entering and leaving! Just not players, I think. Check out ironrealms.com/gmcp-doc for almost-full documentation.)

Kaimarae said:
EDIT: More fun things. Disabled the Debug. Map now updates when I walk... Still isn't gagging, and the map appears twic- nevermind. It stopped doing that. Now to gag the old one...

Yeah, I figured the debug output would muck up the triggers. Disable the debug (like you did) and behavior should return to normal.

Kaimarae said:
Also, is it possible to retain the original formatting of the map? Or is that a huge screw around?

Possible.... yes. Really, MapWindow does a couple things. First it cuts out a -lot- of extra space by removing every other character in a line. This compacts [] to +, removes the spaces between a room and its exits, and in general makes the map more compact. I don't really recommend changing this, personally.

The second thing it does is replace certain MAP characters with others. This is totally optional, and you can add/remove entries by changing the relevant fields in the plugin:
-- translate MAP markers
roomcode = {["S"] = "$", -- shop
            ["+"] = "@", -- current location
            ["$"] = "B", -- bank
            ["N"] = "N", -- newsroom
            ["P"] = "P", -- post office
            ["@"] = "W", -- wilderness exit
           }
 
-- color-code "special" rooms
roomcolor = {["@"] = 0xFFFFFF, -- white
             ["B"] = 0xFF8800, -- deep blue
             ["N"] = 0xFF8800, -- deep blue
             ["P"] = 0xFF8800, -- deep blue
             ["W"] = 0x0000FF, -- red
            }

You can disable the translation by changing this to:
roomcode = {}
roomcolor = {}


Kaimarae said:
Wow. I turned CONFIG MAPVIEW OFF for shiggles. Turns out, your map still works. So I guess that counts as it being gagged, heh...

Ahh, yes. I forgot that MKO has this (and Achaea only got it recently). Basically you have the main MAP command, which shows you the MAP alone, and the config option that shows the MAP as you move. My plugin, since it was written before CONFIG MAPVIEW became available, issues a MAP command and gags the response. You can turn the config option off without affecting the plugin.

Kaimarae said:
Sorry for taking up so much of your time, and thank you!

No problem! It's good to know the MapWindow isn't completely locked to Achaea. :)

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[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.


47,952 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]