1997Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Population container -->
<!--X-From-R13: pynjerapNphc.uc.pbz -->
<!--X-Date: from fabius.globecomm.net [207.51.48.6] by in2.ibm.net id 867806664.35234&#45;1 Wed Jul  2 01:24:24 1997 CUT -->
<!--X-Message-Id: 199707020121.SAA22118#xsvr3,cup.hp.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.SOL.3.94.970627153251.16316E&#45;100000#eduserv1,rug.ac.be -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Population container</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:clawrenc#cup,hp.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="msg00024.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00026.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00089.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00066.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00025">Author</A>
&nbsp;|&nbsp;<A HREF="#00025">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00025">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Population container</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]  Population container</LI>
<LI><em>From</em>: <A HREF="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</A></LI>
<LI><em>Date</em>: Tue, 01 Jul 97 18:16:56 -0700</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
In &lt;Pine.SOL.3.94.970627153251.16316E-100000#eduserv1,rug.ac.be&gt;, on
06/27/97 
   at 07:57 PM, Wout Mertens &lt;Wout.Mertens#rug,ac.be&gt; said:

&gt;On Tue, 24 Jun 1997 clawrenc#cup,hp.com wrote:

&gt;&gt; In &lt;Pine.SOL.3.94.970619203725.20110E-100000#eduserv1,rug.ac.be&gt;, on
&gt;&gt; 06/19/97 
&gt;&gt;    at 08:39 PM, Wout Mertens &lt;Wout.Mertens#rug,ac.be&gt; said:
&gt;&gt; 
&gt;&gt; &gt;What is it? Well, you take a kind of monster that you want to
&gt;&gt; &gt;populate a zone with. Now make a population model, something like
&gt;&gt; &gt;Fibonacci's row or so (rabbits!), and update the model every once in
&gt;&gt; &gt;a while. Now, if a player is about, and he 'spots' one (or more) of
&gt;&gt; &gt;the population, decrease you population by one (or more) and make the
&gt;&gt; &gt;appropriate monster appear.
&gt;&gt; 
&gt;&gt; &gt;This way, you can have zillions of flies, musquito's, dwarfs, etc
&gt;&gt; &gt;etc, you could even describe the critters from the container (some
&gt;&gt; &gt;dwarfs are lurking about) (tho I think that's a bit farfetched), and
&gt;&gt; &gt;all with virtually no memory or cpu overhead.
&gt;&gt; 
&gt;&gt; A good idea.  Problem:
&gt;&gt; 
&gt;&gt;   Bubba does a speed run thru the zone and manages to "see" every
&gt;&gt; single mosquito (he's exceptionally shard sighted).  You container is
&gt;&gt; empty and you have lots of live, animated mosquito objects.
&gt;
&gt;I think Firebrand kinda gave a solution to that one: His grouping
&gt;container doesn't instantiate objects until very close inspection.
&gt;Otherwise, it just gives a group desc with special descs for people
&gt;you know.

Okay, Bubba does his seep run while wearing his Goggles Of Incredibly
Detailed Eyesight...  (ie I'm taking a deliberate extreme here)

&gt;Now, if Bubba happens to be affected by 
&gt;Flaming_Torch_Of_Musquito_Killing_Area_Spell, then the zillion of
&gt;critters will have to be decimated in hitpoints and a large number
&gt;killed. But that was very predictable and the same problem would have
&gt;arisen were you to have the actual 1 zillion objects.

Precisely.  Instantiating and then killing 1 kazott of insects is not
going to be fun on your server.  Short circuiting is needed.

&gt;This can, of course, be rectified by letting the population model
&gt;handle the killings, and the spell would have to be redesigned a bit
&gt;to do that. Which is not too great, but then again letting loose 1
&gt;zillion musquito's and allowing people to hurt them all isn't
&gt;either...

Bingo...the mosquito union lawyers are already on the phone with an
discrimination suit.

&gt;&gt; You also need a way of folding the "dead" (ie unseen) objects back
&gt;&gt; into the container at some point.  The problem is guaranteeing that
&gt;&gt; that folding is not detectable by players:
&gt;&gt; 
&gt;&gt;   &gt; l
&gt;&gt;   You are in a corridor that runs east west.
&gt;&gt;   There is a T-Rexx here.
&gt;&gt;   &gt; w
&gt;&gt;   You are at the end of a corridor that runs east west.  
&gt;&gt;   The only exit is to the east.
&gt;&gt;   &gt; e
&gt;&gt;   You are in a corridor that runs east west.
&gt;&gt;   There is a T-Rexx here.
&gt;&gt;   The T-Rexx leaves west.
&gt;&gt;   &gt; wait a really long time.
&gt;&gt;   &gt; w
&gt;&gt;   ...no T-Rexx...

&gt;Well, the only feasible solution to both problems seems to me: Allow
&gt;only a certain number of instances max. to run loose in the area
&gt;controlled by the population container.  It would involve a slight
&gt;redefinition: The population container is a virtual container, that
&gt;contains both the real and virtual ('real' meaning virtual to us, of
&gt;course. This is getting philosophical :)) instances of the
&gt;population, and the model is calculating the numbers. 

I prefer something like:

  If a mobile has travelled a minimum of X unique rooms, during which
time he has had available a minumim of Y alternate routes (ie
different exits from a given room), and if during that time he has not
passed or encountered any objects which either queried any of his
methods, or redirected his IO (ie outgoing descriptions, entrance/exit
strings etc), then that object can be de-instantiated.

&gt;Which leaves me to think that maybe it should be called Population
&gt;Model and not Container... Or how a clever idea turns into a standard
&gt;solution :)
&gt;Ah well, it's not as if I'm not used it on this list :)

You put up the targets and we'll do our best to shoot them down or
paint them a different colour.  Heck you guys have sandblasted enough
of my own already.

-- 
J C Lawrence                           Internet: claw#null,net
(Contractor)                           Internet: coder#ibm,net
---------------(*)               Internet: clawrenc#cup,hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...


</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="00066" HREF="msg00066.html">Re: [MUD-Dev]  Population container</A></strong>
<ul compact><li><em>From:</em> Wout Mertens &lt;Wout.Mertens#rug,ac.be&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00024.html">Re: [MUD-Dev]  Population container</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00026.html">Re: [MUD-Dev] Git out the boar spear, Martha!</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00089.html">Re: [MUD-Dev]  Population container</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00066.html">Re: [MUD-Dev]  Population container</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00025"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00025"><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] A simple political/social system?</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00088" HREF="msg00088.html">Re: [MUD-Dev] A simple political/social system?</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 08 Jul 1997, 04:32 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00024" HREF="msg00024.html">Re: [MUD-Dev]  Population container</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 08:17 GMT
<UL>
<LI><strong><A NAME="00084" HREF="msg00084.html">Re: [MUD-Dev]  Population container</A></strong>, 
Raz <a href="mailto:muddyraz#mushroom,demon.co.uk">muddyraz#mushroom,demon.co.uk</a>, Mon 07 Jul 1997, 05:21 GMT
<UL>
<LI><strong><A NAME="00089" HREF="msg00089.html">Re: [MUD-Dev]  Population container</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 08 Jul 1997, 04:38 GMT
</LI>
</UL>
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00025" HREF="msg00025.html">Re: [MUD-Dev]  Population container</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 08:24 GMT
<UL>
<LI><strong><A NAME="00066" HREF="msg00066.html">Re: [MUD-Dev]  Population container</A></strong>, 
Wout Mertens <a href="mailto:Wout.Mertens#rug,ac.be">Wout.Mertens#rug,ac.be</a>, Thu 03 Jul 1997, 22:31 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00023" HREF="msg00023.html">Re: [MUD-Dev] "short" Introductory Message (fwd)</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 08:16 GMT
<UL>
<LI><strong><A NAME="00158" HREF="msg00158.html">Re: [MUD-Dev] "short" Introductory Message (fwd)</A></strong>, 
Martin Keegan <a href="mailto:martin#cam,sri.com">martin#cam,sri.com</a>, Thu 17 Jul 1997, 07:05 GMT
<UL>
<LI><strong><A NAME="00174" HREF="msg00174.html">Re: [MUD-Dev] "short" Introductory Message (fwd)</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 18 Jul 1997, 07:56 GMT
</LI>
</UL>
</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>