1998Q1/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Net protocols for MUDing -->
<!--X-From-R13: Egrcura Lrcc <mbenaNravq.pbz> -->
<!--X-Date: Sun, 01 Mar 1998 23:02:18 +0000 -->
<!--X-Message-Id: 34F9E997.A75CBE8C#enid,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199803012210.PAA28094#user1,inficad.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Net protocols for MUDing</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:zoran#enid,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="msg00662.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00664.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00662.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00673.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00663">Author</A>
&nbsp;|&nbsp;<A HREF="#00663">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00663">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Net protocols for MUDing</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] Net protocols for MUDing</LI>
<LI><em>From</em>: Stephen Zepp &lt;<A HREF="mailto:zoran#enid,com">zoran#enid,com</A>&gt;</LI>
<LI><em>Date</em>: Sun, 01 Mar 1998 17:04:55 -0600</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Adam Wiggins wrote:
&gt; 
&gt; [Chris Gray:]
&gt; &gt; [Vadim Tkachenko:]
[snipped comments on complications]
&gt; 
&gt; No, the server doesn't process anything it hasn't received.  We're assuming
&gt; here that the server is considered, for all purposes, 100% correct all the
&gt; time.  (At least, if we lay aside my crazy ideas about packet insertation
&gt; into the time line.)
&gt; 
&gt; The clients do all the same processing as the server, the difference is that
&gt; they only have a small subset of the total objects from the server game world
&gt; in memory to process through - those directly nearby the player.  They may
&gt; determine that a collision has occurred between two ships and cause sparking,
&gt; "collision imminent" warnings to the pilots, etc - but will not destroy any
&gt; ships or display any actual collisions until the server sends the event.
&gt; How you want to implement this sort of actuality masquerading depends on your
&gt; theme.  For instance, naval battles circa 1800 would work well, because the
&gt; ships move slowly and are difficult to turn, thus lagging connections and even
&gt; dropped packets would have little effect on how the game looks to the player.
&gt; The only difference might be that two colliding ships seem to merge together
&gt; for a moment until the actual collision message is received, at which point
&gt; the cracking timbers sound begins and whatever animations are going to take
&gt; place actually occur.
&gt; 
&gt; So here's a question to you, Chris, and all those that have remained silent
&gt; on this thus far: which do you prefer - a client whose speed is directly
&gt; proportional to the speed of your internet connection so that you can rely
&gt; on every client always being 100% "correct", or one which runs at its own
&gt; framerate (hopefully 30fps or better) attempting to display what data it has
&gt; about the world as best it can, resulting in some inconsistencies (or perhaps
&gt; many if your connection is very unstable)?  I know which one I'd choose, but
&gt; I wonder how many people feel the same?  Or perhaps there should be some sort
&gt; of consistency sliders in the options screen which change how much prediction
&gt; it does on its own, and how much it relies on the server for?
&gt; 
&gt; Adam

I don't know a lot about how the graphical muds work, but here's some initial
thoughts I've been sort of synergisting from a couple of threads:

Basically, considering long ago threads talking about virtual room generation,
combined with the thread talking about creating object instantiations at
interaction time, plus most everyone's "large world" concept, and finally
assuming a perfect world fully encrypted ( and unhackable, yeah, right ) I was
thinking this:

Client: Handles _all_ interaction with the world, based on it's most current
sync with the primary db at the server, and updates the server with information
changes.

Server: maintains the primary db, posting changes sent from the clients, and
routing update messages to those clients that are currently "live" with any data
that has been changed by another client.

Basically, I'm going under the assumption ( in flying, we call it the Big Sky
Theory ) that a large portion of your world isn't in use at any one time, and
those portions that are in use aren't being used by very many people. At any one
time, realistically, someone at the client level isn't using much of the total
world db, and could d/l updates as things change.  You could even release your
primary world information ( that's static ) on CD, and hold update files on the
player's hard drive as things change.

When I interact with the world, I change things that eventually need to be
posted to the db.  The client handles all of this, then sends an update packet
to the server.  The server tracks who needs immediate notice of any db sections,
and sends those update packets immediately to those clients that are holding any
recently updated db "sections" live on the client side.  You would definately
need to keep the client/server synced tightly, but not too tightly, I think,
just enough so that several updates aren't missed, causing the client's world to
deviate too far from the primary db. Since the client handles most of the work,
instead of having to send _everything_ to the server for processing, we get the
effect of distributed processing, with some additional overhead from db updates,
but not nearly as much net traffic as a "normal", dumb terminal client would
have.

Depending on the granularity of your world, I wouldn't need to update the
primary db with "small" changes very regularly.  If someone inscribes a hidden
message on a room wall, that wouldn't be a high priority update...you would just
assume ( as the player/client side ) that you had missed the ( new ) message on
previous inspections.  The primary db wouldn't need to know that player X had
pushed a particular table an inch and a half to the left right away,
unless/until the movement of the table implied some more intricate world
behavior ( like blocking a door ).

Instinctively, this seems as if it would be more efficient in the long term,
with some short periods of "lag" when large db updates ( moving into a different
db "section" would need a large update ), but mostly a smoother interface from
the client side, especially with a poorer net interface speed. From what little
information I gleaned from my pueblo interface work, VRML seems to work somewhat
similar to this, but I didn't research it much at the time.

With highly populated sections, the update overhead could cause more lag then a
direct feed from the server, but I think that in the big picture, this would be
overcome by the advantages in your more normal sparsely populated areas.  In
addition, you could almost use a live stream concept ( I'm not too informed on
socket level protocols ) to keep a constant information update connection going,
just not necessarily use it continuously ( everything goes through the server,
like most muds do now).

So, you graphics guys and gals...this sound familiar? :)  

Z

</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="00793" HREF="msg00793.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>
<ul compact><li><em>From:</em> J C Lawrence &lt;claw#under,engr.sgi.com&gt;</li></ul>
<li><strong><A NAME="00673" HREF="msg00673.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>
<ul compact><li><em>From:</em> Adam Wiggins &lt;nightfall#user1,inficad.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00662" HREF="msg00662.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></STRONG>
<UL><LI><EM>From:</EM> Adam Wiggins &lt;nightfall#user1,inficad.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00662.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00664.html">Re: [MUD-Dev]  Java and Javascript</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00662.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00673.html">Re: [MUD-Dev] Net protocols for MUDing</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00663"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00663"><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] Net protocols for MUDing (was: Moore's Law sucks)</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00657" HREF="msg00657.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></strong>, 
Jon A. Lambert <a href="mailto:Jon.A.Lambert#ix,netcom.com">Jon.A.Lambert#ix,netcom.com</a>, Sun 01 Mar 1998, 05:35 GMT
</LI>
</ul>
<LI><strong><A NAME="00658" HREF="msg00658.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#user2,inficad.com">nightfall#user2,inficad.com</a>, Sun 01 Mar 1998, 10:30 GMT
</LI>
<LI><strong><A NAME="00660" HREF="msg00660.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 01 Mar 1998, 18:16 GMT
<UL>
<LI><strong><A NAME="00662" HREF="msg00662.html">Re: [MUD-Dev] Net protocols for MUDing (was: Moore's Law sucks)</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</a>, Sun 01 Mar 1998, 22:17 GMT
<UL>
<LI><strong><A NAME="00663" HREF="msg00663.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>, 
Stephen Zepp <a href="mailto:zoran#enid,com">zoran#enid,com</a>, Sun 01 Mar 1998, 23:02 GMT
<UL>
<LI><strong><A NAME="00673" HREF="msg00673.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</a>, Tue 03 Mar 1998, 06:09 GMT
</LI>
<LI><strong><A NAME="00793" HREF="msg00793.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Fri 20 Mar 1998, 17:58 GMT
<UL>
<LI><strong><A NAME="00795" HREF="msg00795.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Fri 20 Mar 1998, 18:57 GMT
<UL>
<LI><strong><A NAME="00862" HREF="msg00862.html">Re: [MUD-Dev] Net protocols for MUDing</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 23 Mar 1998, 20:53 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</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>