1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: WIRED: Kilers have more fun -->
<!--X-From-R13: "dhmnu" <dhmnuNtrbpvgvrf.pbz> -->
<!--X-Date: Fri, 24 Jul 1998 18:51:51 &#45;0700 -->
<!--X-Message-Id: 01bdb76f$05807740$2487ebcd@k6 -->
<!--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] Re: WIRED: Kilers have more fun</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:quzah#geocities,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="msg00345.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00347.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00335.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00349.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00346">Author</A>
&nbsp;|&nbsp;<A HREF="#00346">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00346">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: WIRED: Kilers have more fun</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: &lt;<A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A>&gt;</LI>
<LI><em>Subject</em>: [MUD-Dev] Re: WIRED: Kilers have more fun </LI>
<LI><em>From</em>: "quzah" &lt;<A HREF="mailto:quzah#geocities,com">quzah#geocities,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 24 Jul 1998 18:53:29 -0700</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>

-----Original Message-----
From: Caliban Tiresias Darklock &lt;caliban#darklock,com&gt;
To: mud-dev#kanga,nu &lt;mud-dev#kanga,nu&gt;
Date: Friday, July 24, 1998 3:59 PM
Subject: [MUD-Dev] Re: WIRED: Kilers have more fun

[cut a bit]

&gt;Every player has a single rank point. Each player can at his option swear
&gt;allegiance to another player. When he swears allegiance to another player,
&gt;that player acts as though his current total is the sum of his own points
&gt;plus the other players, so you have something like this: Bob, Jim, and Joe
&gt;swear allegiance to Pete. Sam, Ed, and Warren swear allegiance to Bob. Pete
&gt;swears allegiance to Max. So Pete has a total of four RPs (Bob + Jim + Joe
&gt;+ Pete), and then when Sam, Ed, and Warren swear to Bob he also has four
&gt;RPs. As a result, Pete's total goes up to seven, since Bob's has gone up by
&gt;three. Max therefore has a total of eight RPs.
&gt;
&gt;Now what I haven't figured out yet is how to deal with it if Max swears
&gt;allegiance to Joe. Joe's total goes to nine; Pete's goes to fifteen; Max's
&gt;goes to sixteen. Max's total has gone up by eight, so Joe's total goes to
&gt;seventeen, and Pete's goes to 23, and Max's to 24, and then Joe's to 25...
&gt;I don't know right offhand how to stop this.
&gt;
&gt;I'll be thinking about this for quite some time. ;)

If I'm reading this correctly, you are trying to avoid this:
A swears_to-&gt; B, B swears_to-&gt; C, C swears_to-&gt; D, D swears_to-&gt; A.

Something like:

void do_swear( characterStuff *c, stringOfWords *argument ) {
   characterStuff toSwearTo;
   ...
   [determined that the argument is a person that's around,
    and that we want to swear to them.]
   if( toSwearTo == find_subordinates( toSwearTo )) {
      output_to_character( "You cannot swear to a subordinate." c );
   }
   ...
}

Now then, I'm not sure how you were  planning on storing your
information of who's sworn to who, but in this sample, my idea
is a linked list of your subordinates, and the function
"find_subordinates( characterStuff *subordinate )" would just
run the list and to see if the subordinate is in the list.

I'm sure there is an easier way to do it, but this is what came
to my feeble mind :)

-Q-




</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="msg00345.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00347.html">[MUD-Dev] Re: Affordances and social method (Was: Re: Wired Magazine...)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00335.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00349.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00346"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00346"><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: WIRED: Kilers have more fun</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00331" HREF="msg00331.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Scatter <a href="mailto:scatter#thevortex,com">scatter#thevortex,com</a>, Fri 24 Jul 1998, 19:51 GMT
</LI>
<LI><strong><A NAME="00334" HREF="msg00334.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Michael.Willey <a href="mailto:Michael.Willey#abnamro,com">Michael.Willey#abnamro,com</a>, Fri 24 Jul 1998, 21:02 GMT
<UL>
<LI><strong><A NAME="00901" HREF="msg00901.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 01 Sep 1998, 20:02 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00335" HREF="msg00335.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Fri 24 Jul 1998, 21:18 GMT
</LI>
<LI><strong><A NAME="00346" HREF="msg00346.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
quzah <a href="mailto:quzah#geocities,com">quzah#geocities,com</a>, Sat 25 Jul 1998, 01:51 GMT
</LI>
<LI><strong><A NAME="00349" HREF="msg00349.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
S. Patrick Gallaty <a href="mailto:choke#sirius,com">choke#sirius,com</a>, Sat 25 Jul 1998, 05:25 GMT
<UL>
<LI><strong><A NAME="00351" HREF="msg00351.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sat 25 Jul 1998, 06:01 GMT
<UL>
<LI><strong><A NAME="00354" HREF="msg00354.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Nathan F Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sat 25 Jul 1998, 09:22 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00360" HREF="msg00360.html">[MUD-Dev] Re: WIRED: Kilers have more fun</A></strong>, 
Damion Schubert <a href="mailto:zjiria#texas,net">zjiria#texas,net</a>, Mon 27 Jul 1998, 02:12 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>