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.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Plugins
➜ Help setting up the Generic Graphical Mapper
Help setting up the Generic Graphical Mapper
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Galius
(1 post) Bio
|
Date
| Sun 28 Apr 2013 10:55 AM (UTC) Amended on Mon 29 Apr 2013 07:26 AM (UTC) by Galius
|
Message
| 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
| Top |
|
Posted by
| ForgottenMUD
Belgium (22 posts) Bio
|
Date
| Reply #1 on Thu 02 May 2013 03:32 PM (UTC) Amended on Thu 02 May 2013 03:41 PM (UTC) by ForgottenMUD
|
Message
| 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. |
ForgottenMUD - original Java MUD
http://sites.google.com/site/forgottenmud | 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.
10,980 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top