Help setting up the Generic Graphical Mapper

Posted by Galius on Sun 28 Apr 2013 10:55 AM — 2 posts, 14,373 views.

#0
hey guys, I'm new to mushclient and I'm trying to get this mapper setup for a rom mud and I'm using the plugin Simple_Mapper that Nick made. I just don't know what to modify in that xml to get it to pick up the rooms. Here is an example of what what I see on look

The Temple Of Odin [Room 3001]
You are in the southern end of the temple hall in the Temple of Odin. The
temple has been constructed from giant marble blocks, eternal in appearance,
and most of the walls are covered by ancient wall paintings picturing gods,
giants and peasants. Large steps lead down through the grand temple gate,
descending the huge mound upon which the temple is built and ends on the
temple square below. Equally large steps lead UP through a small door into
the ENTRANCE to MUD SCHOOL. (type 'up' to go to MUD SCHOOL.) A small plaque
is on this wall.

[Exits: north south up]
Hassan is here, waiting to dispense some justice.

So if anyone wouldn't mind lending me a hand on what to put in the simple_mapper xml file to get it working I'd appreciate it.

This is the plugin: gammon.com.au/forum/bbshowpost.php?id=10138&page=7

Amended on Mon 29 Apr 2013 07:26 AM by Galius
Belgium #1
It's easier to work from the Two Towers mapper because it gives an example: http://www.gammon.com.au/forum/?id=10536

You need to change the "match" line of the trigger at the beginning of the file.

LUA strings: http://www.lua.org/pil/2.4.html

LUA pattern matching: http://www.lua.org/pil/20.2.html

The main thing to catch are the brackets, which you can find in the LUA strings page, "\[" and "\]".

If you have difficulties with the trigger, I suggest changing your MUD output temporarily to copy the Two Towers output, then change back the elements one by one so that you can modify the trigger one element at a time.

If you still have issues, then post what you tried.

Note: "<" and ">" is not LUA but XML.