1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Event handling -->
<!--X-From-R13: Hnqvz Fxnpuraxb <inqvzgN4pf.pbz> -->
<!--X-Date: Fri, 09 Jan 1998 19:02:59 +0000 -->
<!--X-Message-Id: 34B673EE.C5CBD34E#4cs,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.SUN.3.96.980109125351.320B&#45;100000@sun38 -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Event handling</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:vadimt#4cs,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="msg00146.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00148.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00144.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00143.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00147">Author</A>
&nbsp;|&nbsp;<A HREF="#00147">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00147">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Event handling</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]  Event handling</LI>
<LI><em>From</em>: Vadim Tkachenko &lt;<A HREF="mailto:vadimt#4cs,com">vadimt#4cs,com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 09 Jan 1998 13:01:02 -0600</LI>
<LI><em>Sender</em>: <A HREF="mailto:vt#vadimt,4cs.com">vt#vadimt,4cs.com</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Shawn Halpenny wrote:
&gt; 
&gt; On Fri, 9 Jan 1998 s001gmu#nova,wright.edu wrote:
&gt; 
&gt; &gt;
&gt; &gt; On Thu, 8 Jan 1998, Vadim Tkachenko wrote:
&gt; &gt;
&gt; &gt; &gt; s001gmu#nova,wright.edu wrote:
&gt; 
&gt; [ snipped since others are capably currently carrying the ball but the
&gt;   following was something I'd specially wrestled with in my initial
&gt;   design stage ]

[snipped since topic has changed :-)]

&gt; Does game time pass for your players while they are logged out?
&gt; How are your events time-stamped?
&gt; Are players outside of long-term storage (the ones just sitting there)
&gt;   affected by game events?  Are those within the storage affected?

I guess, this question is bothering everyone around :-) See below

&gt; I ask because I was initially thinking something akin to what you are
&gt; describing when I started down the event-driven road.  The reasons I ask
&gt; are outlined somewhat:
&gt; 
&gt; - Bubba drinks a vial of poison whilst relaxing in a local inn and he
&gt;   has his poison bit set for the next 20 minutes--the arbitrary
&gt;   duration of the poison (implying that an event is immediately
&gt;   scheduled to ripen in 20 minutes that will unpoison Bubba).

See my previous message

&gt; - game is shutdown/crashes/etc. 3 minutes later.  No events are saved.

Well, the only solution is not to defer ANY state changes and keep the
transactions clear. This is yet another reason for me to think about
dividing the executables, preferrably putting them on different
computers, for the business logic (aka world handling) and data storage.

&gt; The above were my prime motivations for keeping all game objects in
&gt; the game until they are removed from the DB (i.e.  no longer exist).
&gt; I suppose it is possible to log the player out, but continue to let
&gt; any pending events have their way with Bubba's player object, but
&gt; what if the poison kills Bubba while he's logged out?  What happens
&gt; to the body?  His inventory?  What if the vial Bubba drank wasn't
&gt; poison but was a slow-acting agent that gradually caused the imbiber
&gt; to come under the complete control of the person originating the
&gt; potion?
&gt; 
&gt; (I don't require an answer to those questions, but Greg might :-) ).
&gt; 
&gt; I know that as a player, I would find that anything that happened to
&gt; my character while I was logged out (and I'm assuming the general
&gt; case with current MUDs that when logged out, the body is no longer
&gt; there) would be tremendously unfair.  After all, how can something
&gt; affect me if my body isn't in the game?  OTOH, if I was aware that
&gt; when I logged out I was only severing my control with that body and
&gt; any game element could still affect it, then what happens, happens
&gt; unless I took previous steps to prevent it.

My solution to that may seem a bit artificial, but just falls in line
with other features - once again, starting point for my project was
'Castle Amber', thus, reflections (in God's sake, can somebody tell me -
is 'reflection' a correct double translation English/Russian/English of
what is a name of all worlds except Amber? Or is it 'shadow'?)

Now,

- Every user has its own piece of reality, where he resides while logged
out. Time is frozen *for the user* while logged out, unless somebody
else managed to intrude into this piece of reality in a close vicinity.

- Also, every user has a potential to create that alternate reality
(reflection, or shadow)

- Every other user has a potential to discover that alternate reality
and break in, unsuspending the time flow in it.

In other words, all realities exist only for your senses and cease to
exist when you leave (but they're still there when you get back).

Don't have time to expand this now, but the keywords here are alternate
reality and terraforming.

&gt; Shawn Halpenny

-- 
Still alive and smile stays on,
Vadim Tkachenko &lt;VadimT#4CS,Com&gt;
--
UNIX _is_ user friendly, he's just very picky about who his friends are

</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="00144" HREF="msg00144.html">Re: [MUD-Dev]  Event handling</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="msg00146.html">Re: [MUD-Dev]  MUD Economy</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00148.html">Re: [MUD-Dev]  MUD Economy</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00144.html">Re: [MUD-Dev]  Event handling</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00143.html">Re: [MUD-Dev]  Event handling (was: request for comments)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00147"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00147"><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>request for comments (was: Mud-Dev FAQ)</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00117" HREF="msg00117.html">request for comments (was: Mud-Dev FAQ)</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Thu 08 Jan 1998, 16:43 GMT
<UL>
<LI><strong><A NAME="00122" HREF="msg00122.html">Re: [MUD-Dev]  Event handling (was: request for comments)</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Thu 08 Jan 1998, 20:13 GMT
<UL>
<LI><strong><A NAME="00141" HREF="msg00141.html">Event handling (was: request for comments)</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Fri 09 Jan 1998, 16:11 GMT
<UL>
<LI><strong><A NAME="00144" HREF="msg00144.html">Re: [MUD-Dev]  Event handling</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Fri 09 Jan 1998, 17:50 GMT
<UL>
<LI><strong><A NAME="00147" HREF="msg00147.html">Re: [MUD-Dev]  Event handling</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Fri 09 Jan 1998, 19:02 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00143" HREF="msg00143.html">Re: [MUD-Dev]  Event handling (was: request for comments)</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Fri 09 Jan 1998, 17:50 GMT
<UL>
<LI><strong><A NAME="00153" HREF="msg00153.html">Event handling (was: request for comments)</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Fri 09 Jan 1998, 21:51 GMT
<UL>
<LI><strong><A NAME="00155" HREF="msg00155.html">Re: [MUD-Dev]  Event handling (was: request for comments)</A></strong>, 
Vadim Tkachenko <a href="mailto:vadimt#4cs,com">vadimt#4cs,com</a>, Fri 09 Jan 1998, 23:03 GMT
<UL>
<LI><strong><A NAME="00198" HREF="msg00198.html">Re: [MUD-Dev] Event handling (was: request for comments)</A></strong>, 
JC Lawrence <a href="mailto:claw#under,Eng.Sun.COM">claw#under,Eng.Sun.COM</a>, Sun 11 Jan 1998, 21:09 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</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>