1999Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] exploration points -->
<!--X-From-R13: <qvnoybNorfg.pbz> -->
<!--X-Date: Tue, 26 Jan 1999 03:42:52 &#45;0800 -->
<!--X-Message-Id: Pine.BSF.4.05.9901260327120.10092&#45;100000#shell9,ba.best.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] exploration points</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:diablo#best,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="msg00281.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00283.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00288.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00281.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00282">Author</A>
&nbsp;|&nbsp;<A HREF="#00282">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00282">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] exploration points</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] exploration points</LI>
<LI><em>From</em>: &lt;<A HREF="mailto:diablo#best,com">diablo#best,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 26 Jan 1999 03:42:41 -0800 (PST)</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>
I remember there being talk a week or so ago about ways to see what rooms
a particular player has been to. It seemed the consensus was that it would
be too big a memory hog, but a thought came to me today on a fairly easy
way to do this with little to no speed loss and very little extra memory.

I don't know if this is possible in your muds or not, but the way we work
players is that each persona (a persona being the name we use to refer to
a player, whether on-line or off-line) has an entry in the persona
database. When the persona gets logged in, that persona is paired with a
node database. Those are then collectively called "players". A player then
is just a node linked to a persona. The advantage to this system is that
all sorts of temporary stuff can be stored on nodes rather than persona,
and then get wiped on logout.

So, with something like this (basically two very specific relational
databases which are highly optimized for speed) why not perform all the
operations on the node (ie when the player is exploring, and hits a new
room, just flip on the appropriate flag on the node) and, when the player
logs out, write those flags directly to a file. 

Using this, even if your mud has 50000 rooms and 1000 players online at
once, you're still only using an extra 50000*1000 bits, or 6 megs, of RAM.  
I know most muds do not approach those stats, so the memory usage will be
even lower. 6 megs of ram for a mud that size is nothing.

I apologize if this post doesn't make sense or if I have missed something.
I'm not really a coder, and this idea just occured to me, so I thought I'd
share it.

--matt



</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00281.html">[MUD-Dev]</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00283.html">[MUD-Dev] Re: META: list "peerage"</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00288.html">[MUD-Dev] Stock Mud Demographics</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00281.html">[MUD-Dev]</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00282"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00282"><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>[MUD-Dev] Re: combat</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00327" HREF="msg00327.html">[MUD-Dev] Re: combat</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Sun 31 Jan 1999, 01:12 GMT
</LI>
<LI><strong><A NAME="00350" HREF="msg00350.html">[MUD-Dev] Re: combat</A></strong>, 
Trillion <a href="mailto:trillion#mudhole,spodnet.uk.com">trillion#mudhole,spodnet.uk.com</a>, Tue 02 Feb 1999, 11:43 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00299" HREF="msg00299.html">[MUD-Dev] ADMIN: Off-topic and the ever present reminders on quoting.</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 27 Jan 1999, 01:28 GMT
<LI><strong><A NAME="00288" HREF="msg00288.html">[MUD-Dev] Stock Mud Demographics</A></strong>, 
##Make Nylander <a href="mailto:thenewt#use,usit.net">thenewt#use,usit.net</a>, Tue 26 Jan 1999, 17:21 GMT
<LI><strong><A NAME="00282" HREF="msg00282.html">[MUD-Dev] exploration points</A></strong>, 
diablo <a href="mailto:diablo#best,com">diablo#best,com</a>, Tue 26 Jan 1999, 11:42 GMT
<LI><strong><A NAME="00281" HREF="msg00281.html">[MUD-Dev]</A></strong>, 
Juha Lindfors <a href="mailto:jplindfo#cc,helsinki.fi">jplindfo#cc,helsinki.fi</a>, Tue 26 Jan 1999, 09:37 GMT
<LI><strong><A NAME="00271" HREF="msg00271.html">[MUD-Dev] Re: Reset Death</A></strong>, 
Quzah [softhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Mon 25 Jan 1999, 23:41 GMT
<UL>
<LI><strong><A NAME="00287" HREF="msg00287.html">[MUD-Dev] Re: Reset Death</A></strong>, 
Wes Connell <a href="mailto:wconnell#eden,com">wconnell#eden,com</a>, Tue 26 Jan 1999, 16:50 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00264" HREF="msg00264.html">[MUD-Dev] Re: PvP and mob capacities (was "List Peerage")</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Mon 25 Jan 1999, 21:36 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>