1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Autogenerating maps from muds using cardinal directions for exits? -->
<!--X-From-R13: X Q Znjerapr <pynjNinerfrnepu.pbz> -->
<!--X-Date: Tue, 11 May 1999 13:13:57 &#45;0700 -->
<!--X-Message-Id: E10hLqF&#45;0004L0&#45;00#under,varesearch.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 37360A3B.916C0D11#cyberhighway,net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Autogenerating maps from muds using cardinal dir</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:claw#varesearch,com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00201.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00195.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00188.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00217.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00194">Author</A>
&nbsp;|&nbsp;<A HREF="#00194">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00194">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits? </LI>
<LI><em>From</em>: J C Lawrence &lt;<A HREF="mailto:claw#varesearch,com">claw#varesearch,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 11 May 1999 16:21:39 -0700</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Sun, 09 May 1999 15:20:43 -0700 
Ben Greear &lt;greear#cyberhighway,net&gt; wrote:

&gt; Mik Clarke wrote:

&gt;&gt; Really, a Mud with non-directed exits? In mine (and all others
&gt;&gt; I've seen)exits go from one room to another. Normally there will
&gt;&gt; be another exit coming back in the same direction to give the
&gt;&gt; illusion of a bi-directional exit, but in practice it's two
&gt;&gt; directional ones working together.

&gt; I was talking more about the nature of the graph that might be
&gt; produced.  Now that I think about it, I might have completely
&gt; mis-used the phrase anyway :)

In a long prior life I hacked a tool to build maps from telnet game
logs.  The algorithm was simple:

  1) Pull out all command lines which contain a directional command
(U/D/N/NE/E/SE/S/SW/W/NW) and the next line of output (the room
desciption of the room moved to).

  2) Trim out all error/"You can't do that" entries.

  3) Assume that all motions are symmetric (ie motion X followed by
motion -X returns to the starting location).  ie Assume that all
rooms with the same names reached by reciprocal motions are in fact
the same rooms.

  4) Build a graph of nodes representing thr trimmed log (just walk
down the log, adding nodes as new locations are found).

  5) In the case that a reverse direction not being symmetric,
branch (I then fixed such by hand later).

  5) Print.

Somewhere I have maps I did of Shades this way.  An hour or so spent
with any decent scripting language should do it, more if you decide
to get clever about branch recognition and folding (ie traceback on
the current line of motion and attempt to fold the current branch
back into the trunk).

-- 
J C Lawrence                                   Home: claw#kanga,nu
---------(*)                Linux/IA64 - Work: claw#varesearch,com
 ... Beware of cromagnons wearing chewing gum and palm pilots ...


_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00217" HREF="msg00217.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></strong>
<ul compact><li><em>From:</em> Ben Greear &lt;greear#cyberhighway,net&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00188" HREF="msg00188.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></STRONG>
<UL><LI><EM>From:</EM> Ben Greear &lt;greear#cyberhighway,net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00201.html">Re: [MUD-Dev] Blending graphics with text</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00195.html">Re: [MUD-Dev] Custom Server Roll Call?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00188.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00217.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00194"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00194"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>Re: [MUD-Dev] Macro languages</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00303" HREF="msg00303.html">Re: [MUD-Dev] Macro languages</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Tue 18 May 1999, 14:44 GMT
</LI>
</ul>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00172" HREF="msg00172.html">[MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 08 May 1999, 05:07 GMT
<UL>
<LI><strong><A NAME="00186" HREF="msg00186.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Sun 09 May 1999, 11:26 GMT
<UL>
<LI><strong><A NAME="00188" HREF="msg00188.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Mon 10 May 1999, 07:05 GMT
<UL>
<LI><strong><A NAME="00194" HREF="msg00194.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></strong>, 
J C Lawrence <a href="mailto:claw#varesearch,com">claw#varesearch,com</a>, Tue 11 May 1999, 20:13 GMT
<UL>
<LI><strong><A NAME="00217" HREF="msg00217.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Wed 12 May 1999, 22:13 GMT
<UL>
<LI><strong><A NAME="00236" HREF="msg00236.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions  for exits?</A></strong>, 
Sunny Gulati <a href="mailto:sunnywiz#radiks,net">sunnywiz#radiks,net</a>, Fri 14 May 1999, 08:07 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00203" HREF="msg00203.html">Re: [MUD-Dev] Autogenerating maps from muds using cardinal directions for exits?</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Tue 11 May 1999, 20:11 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00167" HREF="msg00167.html">[MUD-Dev] Discussion of large server IO handling desing</A></strong>, 
J C Lawrence <a href="mailto:claw#varesearch,com">claw#varesearch,com</a>, Sat 08 May 1999, 04:25 GMT
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>