<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: mobile movement --> <!--X-From-R13: "Rnivq Praargg" <qqgNqvfpjbeyq.vzntvanel.pbz> --> <!--X-Date: Wed, 6 Jan 1999 16:08:13 -0800 --> <!--X-Message-Id: 199901061606090225.29EAF582#discworld,imaginary.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 00c901be39cd$38201c60$55e5edd0@dev-18.chilisoft.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: mobile movement</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:ddt#discworld,imaginary.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> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00073.html">Previous</a> | <a href="msg00075.html">Next</a> ] Thread: [ <a href="msg00071.html">Previous</a> | <a href="msg00072.html">Next</a> ] Index: [ <A HREF="author.html#00074">Author</A> | <A HREF="#00074">Date</A> | <A HREF="thread.html#00074">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: mobile movement</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>: [MUD-Dev] Re: mobile movement</LI> <LI><em>From</em>: "David Bennett" <<A HREF="mailto:ddt#discworld,imaginary.com">ddt#discworld,imaginary.com</A>></LI> <LI><em>Date</em>: Wed, 06 Jan 1999 16:06:09 -0800</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#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 1/6/99, at 3:34 PM, Caliban Tiresias Darklock wrote: >>1) Doing some sort of real-time search (BFS or DFS maybe?) everytime >>movement was to take place, to find the best room to move to from the >>current one. Advantages of this, to my mind, are that it allows for the >>most intelligent movement. The disadvantage of course is that this is darn >>slow (how slow, I don't know. I code on Achaea, but I would not really >>consider myself much of a coder. Maybe one of you could enlighten me as to >>just how slow such a routine is likely to be, given that we could limit >>how many rooms away to search, etc). > > >Ultimate Universe can perform a 30-deep search of a weightless directed >graph (it costs the same to move from any room to any connected room, and >moving from room A to room B does not necessarily mean you can move from >room B to room A: just like most MUDs which use rooms) with no more than >32,000 exits across the entire graph --- in less than ten seconds. A nice method of speeding up this sort of thing (that was suggested to me by Mike McGaugerty of Shattered World) was to make up clusters of rooms. Then do a path find through the clusters and then a path find through each cluster. This significantly reduces the number of searches you need to do at a fairly minimal memory cost. This is especially good if you do route finding quite often. A cluster of rooms would be a connected set of rooms, up to some random cut off number, say 12 or so. You then keep track of the connections between clusters and any pre-determined routes through a cluster. Makes everything a lot faster and is quite a neat solution. Wombling down the fluffy path, David. </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00071" HREF="msg00071.html">[MUD-Dev] Re: mobile movement</A></STRONG> <UL><LI><EM>From:</EM> "Caliban Tiresias Darklock" <caliban#darklock,com></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00073.html">[MUD-Dev] Re: mobile movement</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00075.html">[MUD-Dev] Re: mobile movement</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00071.html">[MUD-Dev] Re: mobile movement</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00072.html">[MUD-Dev] Re: mobile movement</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00074"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00074"><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><A NAME="00082" HREF="msg00082.html">[MUD-Dev] Keegan's MUD Tree</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Thu 07 Jan 1999, 05:24 GMT <LI><strong><A NAME="00081" HREF="msg00081.html">[MUD-Dev] OT: Mike Sellers needs some help load testing</A></strong>, J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Thu 07 Jan 1999, 03:11 GMT <LI><strong><A NAME="00076" HREF="msg00076.html">[MUD-Dev] [RRE]MediaMOO annual birthday symposia: 1/20</A></strong>, Bruce Mitchener, Jr. <a href="mailto:bruce#puremagic,com">bruce#puremagic,com</a>, Thu 07 Jan 1999, 02:02 GMT <LI><strong><A NAME="00071" HREF="msg00071.html">[MUD-Dev] Re: mobile movement</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Wed 06 Jan 1999, 23:25 GMT <UL> <LI><strong><A NAME="00074" HREF="msg00074.html">[MUD-Dev] Re: mobile movement</A></strong>, David Bennett <a href="mailto:ddt#discworld,imaginary.com">ddt#discworld,imaginary.com</a>, Thu 07 Jan 1999, 00:08 GMT </LI> </UL> <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00072" HREF="msg00072.html">[MUD-Dev] Re: mobile movement</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Wed 06 Jan 1999, 23:38 GMT </LI> <LI><strong><A NAME="00073" HREF="msg00073.html">[MUD-Dev] Re: mobile movement</A></strong>, Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Wed 06 Jan 1999, 23:49 GMT </LI> <LI><strong><A NAME="00105" HREF="msg00105.html">[MUD-Dev] Re: mobile movement</A></strong>, Kylotan <a href="mailto:kylotan#globalnet,co.uk">kylotan#globalnet,co.uk</a>, Mon 11 Jan 1999, 07:25 GMT <UL> <LI><strong><A NAME="00109" HREF="msg00109.html">[MUD-Dev] Re: mobile movement</A></strong>, J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 12 Jan 1999, 06:49 GMT </LI> </UL> </LI> </UL> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>