Register to post in forums, or Log in to your existing account
 

 Related 
Contents
Advanced Mapping
  Improving Room Detection
  Shortcuts and Tricks
Related Links:
  Automapper Module
Improving Room Detection [[CMUD_Improving_Room_Detection]] 
Improving Room Detection

While the automapper works well on many MUDs, it might need some adjustment to properly map your MUD. There are three common adjustments that you will want to make to your mapper.

First, you need to keep the mapper in synch with the directions you are moving on your MUD. If you move in an invalid direction, or bump into a closed door, the mapper needs to be told about this. Otherwise it will still try to create a new room in the direction you originally went. You can see which direction the mapper is currently working on displayed in the lower-right corner of the map window. This is called the Direction Queue and shows you the direction that the next room will be created in.

To tell the mapper when you have moved in a wrong direction, use the #NODIR command in a trigger. For example:

#TRIGGER {You can't go that direction} {#NODIR}
#TRIGGER {The door is closed} {
#DOOR %lastdir;#NODIR}

The #NODIR command will remove the current direction from the Direction Queue. You can also clear the Direction Queue manually by double-clicking on it. Setting your location on the map manually will also clear this queue.

Next, you might need to tell the mapper to ignore certain lines from your MUD. The mapper can get very confused by lines that start with special characters such as brackets or parenthesis, since it will think that looks like your MUD prompt. To prevent a line from being seen by the mapper, use the #NOMAP command. For example, if your MUD displays the current weather in parenthesis, like: "(It is raining)" you can tell the mapper to ignore these weather lines with the trigger

#TRIGGER {^~(*~)} {#NOMAP}

Finally, some MUDs implement day and night or reduced lighting in specific rooms. When it is dark and you enter a room, it might display something like "It is pitch black". You need to tell the mapper that you have successfully entered a room since otherwise the mapper will wait until it sees the room name. To confirm the movement, use the #OK command, just like when slowwalking:

#TRIGGER {It is pitch black} {#OK}
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net