<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mudlet.org/index.php?action=history&amp;feed=atom&amp;title=Generic_mapper_tutorial</id>
	<title>Generic mapper tutorial - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mudlet.org/index.php?action=history&amp;feed=atom&amp;title=Generic_mapper_tutorial"/>
	<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;action=history"/>
	<updated>2026-06-11T07:18:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22294&amp;oldid=prev</id>
		<title>Zooka: /* Fixing Prompt Not Found Errors */</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22294&amp;oldid=prev"/>
		<updated>2025-05-04T07:57:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Fixing Prompt Not Found Errors&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:57, 4 May 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l72&quot; &gt;Line 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Generic mapper tutorial map prompt.png|600px|frameless|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Generic mapper tutorial map prompt.png|600px|frameless|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{note}} A &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; character gets prepended to your pattern automatically.  This character means match the start of a line.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you are still unsure how to match your prompt, get help on our [https://mudlet.com/chat Discord or forums] channels.  Even an AI assistant might be able to create one for you.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you are still unsure how to match your prompt, get help on our [https://mudlet.com/chat Discord or forums] channels.  Even an AI assistant might be able to create one for you.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-22289:rev-22294 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zooka</name></author>
	</entry>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22289&amp;oldid=prev</id>
		<title>Zooka: /* Exits not found */</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22289&amp;oldid=prev"/>
		<updated>2025-04-24T19:16:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Exits not found&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:16, 24 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l106&quot; &gt;Line 106:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 106:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Generic mapper tutorial single line trigger exits.png|600px|frameless|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Generic mapper tutorial single line trigger exits.png|600px|frameless|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To &lt;/del&gt;is best practice to copy this trigger and paste it into another one outside of the generic_package script area.  Otherwise when generic_mapper performs an update, it will override any custom changes you have made.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{note}} &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;It &lt;/ins&gt;is best practice to copy this trigger and paste it into another one outside of the generic_package script area.  Otherwise when generic_mapper performs an update, it will override any custom changes you have made.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Write your new regex pattern into the trigger lines so that it matches the format in which your game displays the room exits.  There are some [[Generic Mapper Additions|game examples found here]] with both single and multi-line exits for further guidance.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Write your new regex pattern into the trigger lines so that it matches the format in which your game displays the room exits.  There are some [[Generic Mapper Additions|game examples found here]] with both single and multi-line exits for further guidance.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Zooka</name></author>
	</entry>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22288&amp;oldid=prev</id>
		<title>Zooka: /* Fixing Prompt Not Found Errors */</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22288&amp;oldid=prev"/>
		<updated>2025-04-24T19:14:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Fixing Prompt Not Found Errors&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:14, 24 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    20hp 100mn 100mv&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    20hp 100mn 100mv&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;so the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Lua pattern &lt;/del&gt;to match is&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;so the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;command &lt;/ins&gt;to match is&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    map prompt %d+hp %d+mn %d+mv&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    map prompt %d+hp %d+mn %d+mv&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-22287:rev-22288 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zooka</name></author>
	</entry>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22287&amp;oldid=prev</id>
		<title>Zooka: /* map basics */</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22287&amp;oldid=prev"/>
		<updated>2025-04-24T19:12:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;map basics&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:12, 24 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l36&quot; &gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Generic mapper tutorial map basics.png|600px|frameless|center|example map basics output]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Generic mapper tutorial map basics.png|600px|frameless|center|example map basics output]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this case above, generic_mapper could not find the room name nor the room exits.  It probably didn&amp;#039;t find the prompt either.  Knowing this, let&amp;#039;s continue on and get these parts working.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this case above, generic_mapper could not find the room name nor the room exits.  It probably didn&amp;#039;t find the prompt either&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.  generic_mapper uses your prompt to know when to segment room information into separate blocks, thus allowing it to search for the key information within that block of room data&lt;/ins&gt;.  Knowing this, let&amp;#039;s continue on and get these parts working.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Find Prompt ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Find Prompt ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-22286:rev-22287 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zooka</name></author>
	</entry>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22286&amp;oldid=prev</id>
		<title>Zooka: /* What is generic_mapper? */</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22286&amp;oldid=prev"/>
		<updated>2025-04-24T19:04:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;What is generic_mapper?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:04, 24 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= What is generic_mapper? =&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= What is generic_mapper? =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;generic_mapper is a package that comes preinstalled on all Mudlet profiles.  It tries to draw a map by guessing most of the information from your game. Even if generic_mapper does not 100% grasp your specific game details, you can likely tweak a few triggers and have a fully &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;function &lt;/del&gt;mapper.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;generic_mapper is a package that comes preinstalled on all Mudlet profiles.  It tries to draw a map by guessing most of the information from your game. Even if generic_mapper does not 100% grasp your specific game details, you can likely tweak a few triggers and have a fully &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;functioning &lt;/ins&gt;mapper.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;generic_mapper does not keep information about objects in room, monsters or room descriptions.  Although this information can be stored later once you become more familiar with the basics.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;generic_mapper does not keep information about objects in room, monsters or room descriptions.  Although this information can be stored later once you become more familiar with the basics.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-22282:rev-22286 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zooka</name></author>
	</entry>
	<entry>
		<id>https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22282&amp;oldid=prev</id>
		<title>Zooka: initial creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.mudlet.org/index.php?title=Generic_mapper_tutorial&amp;diff=22282&amp;oldid=prev"/>
		<updated>2025-04-24T11:16:56Z</updated>

		<summary type="html">&lt;p&gt;initial creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= What is generic_mapper? =&lt;br /&gt;
&lt;br /&gt;
generic_mapper is a package that comes preinstalled on all Mudlet profiles.  It tries to draw a map by guessing most of the information from your game. Even if generic_mapper does not 100% grasp your specific game details, you can likely tweak a few triggers and have a fully function mapper.&lt;br /&gt;
&lt;br /&gt;
generic_mapper does not keep information about objects in room, monsters or room descriptions.  Although this information can be stored later once you become more familiar with the basics.&lt;br /&gt;
&lt;br /&gt;
Related topics:&lt;br /&gt;
* general information about the Mudlet mapper, usage and capabilities: [[Manual:Mapper]]&lt;br /&gt;
* list of generic_mapper commands: [[Generic mapper package]]&lt;br /&gt;
* walk throughs of generic_mapper additions for specific MUDs: [[Generic Mapper Additions]]&lt;br /&gt;
&lt;br /&gt;
== Getting Started ==&lt;br /&gt;
&lt;br /&gt;
Ensure you have the latest version of generic_mapper package. generic_mapper will prompt whenever it finds a new version though.&lt;br /&gt;
&lt;br /&gt;
  map update&lt;br /&gt;
&lt;br /&gt;
To see a list of generic_mapper commands:&lt;br /&gt;
&lt;br /&gt;
  map help&lt;br /&gt;
&lt;br /&gt;
There are a lot; the mapper is very customisable but we only need to be concerned with a few commands highlighted later to get started.&lt;br /&gt;
&lt;br /&gt;
Importantly, generic_mapper needs three key pieces of information to map your game correctly.&lt;br /&gt;
&lt;br /&gt;
* room name,&lt;br /&gt;
* room exits,&lt;br /&gt;
* mud prompt.&lt;br /&gt;
&lt;br /&gt;
Find out below how to get generic_mapper looking for those lines.&lt;br /&gt;
&lt;br /&gt;
== map basics ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;map basics&amp;lt;/code&amp;gt; is the first command you should run to get generic_mapper working.  It will show you which pieces of key information the script is missing to work correctly.  These are marked with a red X.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial map basics.png|600px|frameless|center|example map basics output]]&lt;br /&gt;
&lt;br /&gt;
In this case above, generic_mapper could not find the room name nor the room exits.  It probably didn&amp;#039;t find the prompt either.  Knowing this, let&amp;#039;s continue on and get these parts working.&lt;br /&gt;
&lt;br /&gt;
== Find Prompt ==&lt;br /&gt;
&lt;br /&gt;
Check to see if your prompt is being captured.  generic_mapper can find some standard prompts automatically.&lt;br /&gt;
&lt;br /&gt;
  find prompt&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial find prompt.png|600px|frameless|center|prompt not found]]&lt;br /&gt;
&lt;br /&gt;
Unfortunately the first prompt wasn&amp;#039;t found automatically, but the one below was.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial find prompt successful.png|600px|frameless|center|prompt found successfully!]]&lt;br /&gt;
&lt;br /&gt;
=== Fixing Prompt Not Found Errors ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;map prompt&amp;lt;/code&amp;gt; can be used to supply a [https://www.lua.org/pil/20.2.html Lua pattern] to generic_mapper that it uses to see if an incoming line from the game is actually your prompt.  Lua patterns are similar to Regex patterns (used extensively elsewhere in Mudlet) but with a few minor differences.&lt;br /&gt;
&lt;br /&gt;
To match the failing prompt above, you would issue the following command.&lt;br /&gt;
&lt;br /&gt;
The prompt is&lt;br /&gt;
&lt;br /&gt;
   20hp 100mn 100mv&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the Lua pattern to match is&lt;br /&gt;
&lt;br /&gt;
   map prompt %d+hp %d+mn %d+mv&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Further examples;&lt;br /&gt;
&lt;br /&gt;
  20/20hp 100/100mn night&amp;gt;&lt;br /&gt;
  %d+/%d+hp %w+&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the prompt will be set.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial map prompt.png|600px|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
If you are still unsure how to match your prompt, get help on our [https://mudlet.com/chat Discord or forums] channels.  Even an AI assistant might be able to create one for you.&lt;br /&gt;
&lt;br /&gt;
== Map Debug ==&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;code&amp;gt;find prompt&amp;lt;/code&amp;gt; only does exactly that; it just tries to match the prompt.  To see if your new &amp;lt;code&amp;gt;map prompt&amp;lt;/code&amp;gt; setting is working turn on &amp;lt;code&amp;gt;map debug&amp;lt;/code&amp;gt;.  This will show you some useful informational messages on what generic_mapper is doing.  Here we can see after entering the correct &amp;lt;code&amp;gt;map prompt&amp;lt;/code&amp;gt; command, generic_mapper notifies us that the game prompt was found.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial map debug.png|600px|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
Now after issuing another &amp;lt;code&amp;gt;look&amp;lt;/code&amp;gt; command to the game, we can see from map debug information that generic_mapper found the room name and the exits as well.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial map debug more information.png|600px|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
== Exits not found ==&lt;br /&gt;
&lt;br /&gt;
generic_mapper searches for exits just like it searches for game prompts.  It uses a list of commonly used formats that exits are displayed in games and tries to come up with a match.  In the above example the game matched with what generic_mapper was looking for, but had it not found them we would need to supply generic_mapper with the format in which our exits are displayed.  This list is held in the trigger section of Mudlet.  There are two types of exit triggers; one where all exits are on the same line, and another where a single exit is on another (consecutive) line.&lt;br /&gt;
&lt;br /&gt;
Single line exits might look like this;&lt;br /&gt;
&lt;br /&gt;
   [Exits: north east south west]&lt;br /&gt;
&lt;br /&gt;
Multi-line exits might look like this;&lt;br /&gt;
&lt;br /&gt;
   Obvious exits;&lt;br /&gt;
   North - The Baker&lt;br /&gt;
   South - The Butcher&lt;br /&gt;
   East - Main Street&lt;br /&gt;
&lt;br /&gt;
You need to edit the correct trigger section for the exit detection to work properly.  &lt;br /&gt;
&lt;br /&gt;
Here you can see the single line exits displayed in the trigger editor.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial single line trigger exits.png|600px|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
{{note}} To is best practice to copy this trigger and paste it into another one outside of the generic_package script area.  Otherwise when generic_mapper performs an update, it will override any custom changes you have made.&lt;br /&gt;
&lt;br /&gt;
Write your new regex pattern into the trigger lines so that it matches the format in which your game displays the room exits.  There are some [[Generic Mapper Additions|game examples found here]] with both single and multi-line exits for further guidance.&lt;br /&gt;
&lt;br /&gt;
Turn on map debug and perform a movement command or look, the game should find your exits.  Perform a &amp;lt;code&amp;gt;map basics&amp;lt;/code&amp;gt; once again to check.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial map basics working.png|600px|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
== Start Mapping ==&lt;br /&gt;
&lt;br /&gt;
Once the three key pieces of information are found you are ready to start drawing your map.  Display the mapper window from the toolbox (or Alt+M, it will likely be blank to start. Find the name of the area your player is in, or make something up if you&amp;#039;re not sure, you can always rename it later.  Now issue the &amp;lt;code&amp;gt;start mapping&amp;lt;/code&amp;gt; command along with that area name.&lt;br /&gt;
&lt;br /&gt;
  start mapping Mud School&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial start mapping.png|600px|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
Slowly start walking around the area, generic_mapper will attempt to create new rooms and follow you as you move.  &amp;lt;code&amp;gt;stop mapping&amp;lt;/code&amp;gt; to turn off new room creation.&lt;br /&gt;
&lt;br /&gt;
[[File:Generic mapper tutorial mapper working .png|600px|frameless|center]]&lt;br /&gt;
&lt;br /&gt;
At this point you can turn off &amp;lt;code&amp;gt;map debug&amp;lt;/code&amp;gt; and enjoy exploring and mapping your MUD!&lt;br /&gt;
&lt;br /&gt;
== Further Tweaks ==&lt;br /&gt;
&lt;br /&gt;
You may notice generic_mapper gets confused sometimes.  Like when you get hungry right after performing a move command and the new room name becomes &amp;lt;code&amp;gt;You are hungry.&amp;lt;/code&amp;gt;  This is because generic_mapper gets the first incoming line after performing a move command and sets it as the room name.  See &amp;lt;code&amp;gt;map help ignore&amp;lt;/code&amp;gt; for details on how to prevent this and make your mapper more resilient.&lt;/div&gt;</summary>
		<author><name>Zooka</name></author>
	</entry>
</feed>