1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Room&#45;based vs. coordinate&#45;based -->
<!--X-From-R13: nyrkbNovtsbbg.pbz (Oyrk Aera) -->
<!--X-Date: from stimpy.globecomm.net [207.51.48.4] by in3.ibm.net id 865868735.124756&#45;2 Mon Jun  9 15:05:35 1997 CUT -->
<!--X-Message-Id: 33bc137b.1325694578@neptune -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199704250127.SAA25913#xsvr3,cup.hp.com -->
<!--X-Reference: 3399f534.728119540@neptune -->
<!--X-Reference: 33943B87.41C67EA6#iname,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Room-based vs. coordinate-based</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:alexo#bigfoot,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="msg01260.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01264.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg01618.html">Previous</a>
&nbsp;|&nbsp;<a href="msg01263.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#01262">Author</A>
&nbsp;|&nbsp;<A HREF="#01262">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#01262">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Room-based vs. coordinate-based</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Room-based vs. coordinate-based</LI>
<LI><em>From</em>: <A HREF="mailto:alexo#bigfoot,com">alexo#bigfoot,com</A> (Alex Oren)</LI>
<LI><em>Date</em>: Mon, 09 Jun 1997 14:36:43 GMT</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Shawn wrote:

} &gt; How will I handle "Boffo arrives from the north" type of messages?
} &gt; 
} &gt; Room-based (or, rather, "container-based") has an advantage here.  A
} &gt; container may send messages to the objects it contains.  In a
} &gt; coordinate-based system I will need to consult a "map" of object
} &gt; locations to determine message recipients.  Or am I wrong?
} 
} Well, I have a mapping of locations to objects as well as each objects
} existing in a container (i.e.  the room it's in).  To make Boffo
} arrive from the north, I (roughly):
}     - set Boffo's coordinates to the new location
}     - check the location-&gt;object mapping to see if there is a real room at
}       that location
}         - if so, add Boffo to that container and generate a message for its
}           contents
}         - if not (the room is deterministically generated, so there is no
}           room container), from the mapping grab all objects at Boffo's
}           new location and tell them of Boffo's arrival.  

The desert of desolation stretches from (500,200) to (900,500).
Bubba is in the desert (620,342).
Boffo is in the desert (621,343).
Wesley is in the desert (888,472).
Humperdink arrives (from the north, obviously), his position is now (621,342).

If the (huge) desert is defined as one room, who gets the message? Why?
If there was no explicitly defined room, who gets the message? Why?

[The expected answer is: Bubba and Boffo]


Have fun,
Alex.


</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="01263" HREF="msg01263.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>
<ul compact><li><em>From:</em> Shawn Halpenny &lt;malachai#iname,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00214" HREF="msg00214.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></STRONG>
<UL><LI><EM>From:</EM> clawrenc#cup,hp.com</LI></UL></LI>
<LI><STRONG><A NAME="01059" HREF="msg01059.html">Room-based vs. coordinate-based</A></STRONG>
<UL><LI><EM>From:</EM> alexo#bigfoot,com (Alex Oren)</LI></UL></LI>
<LI><STRONG><A NAME="01099" HREF="msg01099.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></STRONG>
<UL><LI><EM>From:</EM> Shawn Halpenny &lt;malachai#iname,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01260.html">Re: [MUD-Dev] "short" Introductory Message (fwd)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01264.html">Re: [MUD-Dev]  Lorry's document on wizard-hood</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg01618.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01263.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01262"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01262"><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]  Room-based vs. coordinate-based</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="01465" HREF="msg01465.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 24 Jun 1997, 01:33 GMT
<LI><strong><A NAME="01474" HREF="msg01474.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>, 
Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Tue 24 Jun 1997, 14:09 GMT
<LI><strong><A NAME="01487" HREF="msg01487.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Wed 25 Jun 1997, 11:07 GMT
</LI>
</LI>
</LI>
<LI><strong><A NAME="01618" HREF="msg01618.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 01 Jul 1997, 06:06 GMT
</LI>
</ul>
<LI><strong><A NAME="01262" HREF="msg01262.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>, 
Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Mon 09 Jun 1997, 22:05 GMT
<UL>
<LI><strong><A NAME="01263" HREF="msg01263.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Sun 11 Jan 1970, 02:46 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00176" HREF="msg00176.html">Re: Issues from the digests and Wout's list</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 22 Apr 1997, 06:53 GMT
</LI>
<LI><strong><A NAME="00177" HREF="msg00177.html">Re: Issues from the digests and Wout's list</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 22 Apr 1997, 07:52 GMT
</LI>
<LI><strong><A NAME="00178" HREF="msg00178.html">Re: Issues from the digests and Wout's list</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 22 Apr 1997, 08:16 GMT
</LI>
</ul>
</LI>
</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>