Mudlet Mapper works in tandem with a script, and this generic mapper script needs You should see this, with checkmarks, instead of X's, next to the room name and exits Once these three are setup, you can verify whether everything is working by typing 'map basics' Once added, you should be able to type find prompt and it should be successful. The space and $ at the end of the regular expression is due to the mud adding a space to all prompts at the end of the line.Īdding my prompt to the mapper was done with the following command: The second %d+ after "EP:" tells it to look for a second digit value. The first %d+ tells it to look for either a single or multiple digit HP value %( escapes the ( in my prompt so that it is read as an actual text character ^ here denotes that it is starting the line. The regular expression for this would be ^%(HP:%d+ EP:%d+%): $ You escape special characters with the % placed right before it. %w+ is a multiple letter (non space) wildcardĬharacters such as (, [ and < must be escaped in a regular expression, or else they will be read as expression code. Use ^ to denote the beginning of the line. Prompt Regular Expression syntax and examples: You can add your prompt manually to the script by typing 'add prompt prompthere' If it doesn't, you'll have to add your prompt manually.Ģ) Manually adding prompt - prompt recognition uses regular expression, with the exception being the escape character is % instead of \. It usually will for standard common prompts. IE: had you chosen ANSI color 80 from the table on the website, the hex value would be #5fd7d7.ġ) Type 'find prompt'. When prompted, enter the hex value for the color you chose. The mud already uses 0-16, so you want to choose one between 17 and 255 to avoid false positives.Īn example is a shade of blue listed in the table - 80 #5fd7d7 \e[38 5 80mī) Use the color command on the mud. Mudlet requires recognition and capture of three things for the map to work correctly: the room name, the exits, and your prompt Starting with room names:ġ) A non standard MXP color must be set for room names so that Mudlet doesn't interpret nonrooms as room/exit combinations.Ī) Go to and choose a color you want to use for room names from the Table of Color Codes. Now come the hoops to jump through to make things work based on your personal preferences.
![mudlet vs zmud mudlet vs zmud](https://images.sftcdn.net/images/t_app-cover-l,f_auto/p/e3469342-a6d5-11e6-ba0a-00163ec9f5fa/2173679026/zmud-screenshot.jpg)
Every other MXP option should be disabled. If show map doesn't work, it means I haven't uploaded the latest version of the script yet and you can do it manually by typing lua mapCon:show()ĩ) Type 'settings' on the mud. If this does not appear, type show map, then restart mudlet again. (mapper): Config stretch_map set to: false (mapper): Config use_translation set to: false (mapper): Config search_on_look set to: false (mapper): Config speedwalk_delay set to: 0
![mudlet vs zmud mudlet vs zmud](https://www.reinosdeleyenda.es/wp-content/uploads/2015/03/12.png)
(mapper): Config speedwalk_wait set to: true If you do not see this, the mapper has not been initialized and will prevent future steps from working. This will set a few environment variables and options within mudlet to speed up installation. This should be unnecessary, I just do it to be safe.Ĩ) With Mudlet now reopened and your connection to the mud established, run the command 'ttt setup'. In the new window, click Save Profile on the new window's Tool Bar. Go into that directory and select map.dat to open.ī) Back in the Settings window, hit save at the bottom, assuming it didn't close automatically when you loaded the map.Ħ) Click Triggers on the Tool Bar. When you installed the T2T package, it created a subdirectory called "TheTwoTowers". A file browser window should open and allow you to navigate to where you downloaded TheTwoTowers.mpackage.Ī) On the Mapper tab, click "Press to choose file and load" and navigate to your mudlet directory. 2) Once Mudlet has been installed and you’ve created a profile to connect to The Two Towers Mud, do the following:ī) In the General Tab - In the drop down box for "Server data encoding," select UTF-8 (Recommended)Ĭ) In the Input line tab - In the box for Command separator, it currently has - delete one of these so it's just (I chose this to match cmud/zmud)Ĥ) In mudlet, click Packages (exp.) on the Tool Bar, then "Install new package" at the bottom of the window that pops up.