1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: MUD Development Digest -->
<!--X-From-R13: "Xhfgva [pYvaarearl" <klzbkNgbba.bet> -->
<!--X-Date: Fri, 27 Apr 1998 00:59:19 &#45;0700 -->
<!--X-Message-Id: 000101bd71b2$0b049910$243939cc#foghorn,toon.org -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199804242230.RAA24298#zoom,bga.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: MUD Development Digest</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:xymox#toon,org">
</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="msg00765.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00767.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00631.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00788.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00766">Author</A>
&nbsp;|&nbsp;<A HREF="#00766">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00766">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: MUD Development Digest</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: MUD Development Digest</LI>
<LI><em>From</em>: "Justin McKinnerney" &lt;<A HREF="mailto:xymox#toon,org">xymox#toon,org</A>&gt;</LI>
<LI><em>Date</em>: Mon, 27 Apr 1998 03:56:53 -0400</LI>
<LI><em>Delivery-date</em>: Fri Apr 27 00:59:19 1998</LI>
<LI><em>Delivery-date</em>: Fri, 27 Apr 1998 00:59:19 -0700</LI>
<LI><em>Envelope-to</em>: claw#kanga,nu</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: "Petidomo List Agent,,,," &lt;<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>&gt;</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
&gt; -----Original Message-----
&gt; From: Petidomo List Agent,,,, [<A  HREF="mailto:petidomo#kanga,nu]On">mailto:petidomo#kanga,nu]On</A> Behalf Of Dr.
&gt; Cat
&gt; Sent: Friday, April 24, 1998 6:31 PM
&gt; To: mud-dev#kanga,nu
&gt; Subject: [MUD-Dev] Re: MUD Development Digest
&gt;
&gt; [stuff deleted]
&gt;
&gt;&gt; As a rule of thumb, on pretty much ANY O/S, you really don't want to have
&gt;&gt; more than 1/3 your memory be in swap.
&gt;
&gt; We are in agreement here, but I'd go farther and say zero percent is what
&gt; I really want.  As J. C. pointed out, I may have to look around for a
&gt; Unix that doesn't assume things should be swapped out even when there's a
&gt; surplus of RAM - or at least one that can be tweaked to act that way.

You could always run without swap under Linux and (I believe) Solaris.

While this raises a lot of red flags - if you are the only person running on
the system, and you are pretty sure that the only real process on the system
is your game server (no sendmail, no ftp, etc), then go for it.

Swap was always meant to prevent the system from going down due to physical
memory running out and meant as a convineance to agument the price of memory
(which isn't so much an issue as it used to be). It was obviously never
intended as a source pool for physical memory as this is not what the
hardware was intended for. :)

&gt; If I had any interest in setting up a game with thousands of simultaneous
&gt; users that generated no revenue, I'm sure I'd rush right out and study up
&gt; on all the latest data structures and memory management techniques.  For
&gt; now I'll stay mostly with my old friend the array.  Kinda like I used in
&gt; BASIC in 1978, only with more datatypes available.  :X)  They're not
&gt; elegant and beautiful and graceful like triple-sideways-linked-lists of
&gt; handles to structures...  But like an old reliable car, or an old
&gt; reliable horse, they get the job done.  We've got about 400,000 player
&gt; hours logged on our server now so far, and it's rolling along pretty
&gt; smoothly most of the time.

Everything is relative to scope.

It is very easy to start a project with your mentality, and then deal with
issues as you run into them. This approach is not uncommon when it comes to
multi-user games in general.

However, to start a project and say "I want &gt;this&lt; to be possible" is to set
your limits. If you plan on supporting up to 100,000 players, do the math,
figure out what your game would be like if that happened, figure out every
worst case scenario. Then ask yourself if your code is truly up to it.

Yes, you can rely on technology advancing to a certain extent - but the game
that handles 100,000 players on current technology elegantly will most
certainly do so in the future. No one ever got bitten for having a game that
ran smoothly on a LOWER platform than one would expect.

----

As I progress my own (extremely slow-going) game, I find myself following a
similar development path as Java. Though my goals are disctinctively
diffrent (My bytecode is not intended to be portable), several concepts
inherit to modular coding seem to be popping up as cominalities between Java
and my own bytecode.

Bytecode could easily be dubbed a "fancy" proceedure. Why do it? Simply
put - Extendability. I want to be able to change fundamental game concepts
in areas as I wish, on the fly, and without rebooting the game.

Many MU*s currently do this. But most of them do it via realtime
interpreters. While this isn't a major CPU load, per-se, it does take up
data space in the processor cache, so you're pretty much guarenteed more
cache misses than if using bytecode for the same proceedure. (And, of
course, the natural cycle savings on not having to parse every time
something is executed).

So, in the end, my point would be that all "fancy" coding is directly
related to your goals. And if you intended to be a comertial server, once
you are out of beta you are not allowed the luxury of making so many major
code changes. So the best solution would be adaptable code.

&gt; P.S.  The real trick is figuring out what parts would contribute the most
&gt; towards "making the game fun", and then *only* implementing those parts.
&gt; If you take any other approach, odds are good you'll never get your game
&gt; done - indeed, most people that try to make a game never do get one done.

I totally agree.

Game design is very, very important. Far more important than implementation.

However, you can take for granted certain hurtles in implmentation.

Case: I want a server that is capable of running under Linux.

Problem: Linux inheritly has a hard limit of 256 file handles per-process,
and I do not want to hack the kernel (even though it's just chaning one
#define it's still bad idea in general) on every machine I have a server
running on.

Granted: I need code to get around the 256 limit.

That case is a physical limit problem. There are other effency problems that
are generally a good idea to work around at first and would not hurt you in
the end to have worked around.

In a few cases, this includes having the ability to adjust a server to
whatever technology it uses (such as the memory/swap issue - having an
adjustable memory cache with a "fancy" caching algorithm).

These problems can be mutually exclusive of the game design itself (256
limit), or while they can be mutually exclusive (dbase solution to
memory/swap), it may actualy be better for such things to revolve around
game specific information which can only be supplied by the design (specific
caching implmentation will always be FAR more efficent than a general DBM or
ODBMS).

If you possess the ability/time/resources to, it never hurts to shoot for a
goal that is beoynd what you think will actually happen. Because if it does
happen, everyone involved will be happy you did, and guarenteed, someone
will be unhappy that you didn't make your goals *higher*! :)

	- Justin -


-- 
MUD-Dev: Advancing an unrealised future.
</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="00788" HREF="msg00788.html">[MUD-Dev] Re: MUD Development Digest</A></strong>
<ul compact><li><em>From:</em> "Dr. Cat" &lt;cat#bga,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00631" HREF="msg00631.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
<UL><LI><EM>From:</EM> "Dr. Cat" &lt;cat#bga,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00765.html">[MUD-Dev] RE: Java for Mud Client (Crossfire MUD topic)</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00767.html">[MUD-Dev] RE:  How to represent a 3d object...</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00631.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00788.html">[MUD-Dev] Re: MUD Development Digest</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00766"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00766"><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: MUD Development Digest</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00515" HREF="msg00515.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Fri 24 Apr 1998, 04:44 GMT
<UL>
<LI><strong><A NAME="00533" HREF="msg00533.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Fri 24 Apr 1998, 05:51 GMT
</LI>
<LI><strong><A NAME="00544" HREF="msg00544.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Justin McKinnerney <a href="mailto:xymox#toon,org">xymox#toon,org</a>, Fri 24 Apr 1998, 05:55 GMT
<UL>
<LI><strong><A NAME="00631" HREF="msg00631.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Fri 24 Apr 1998, 22:31 GMT
<UL>
<LI><strong><A NAME="00766" HREF="msg00766.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Justin McKinnerney <a href="mailto:xymox#toon,org">xymox#toon,org</a>, Mon 27 Apr 1998, 07:59 GMT
<UL>
<LI><strong><A NAME="00788" HREF="msg00788.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Dr. Cat <a href="mailto:cat#bga,com">cat#bga,com</a>, Tue 28 Apr 1998, 03:45 GMT
<UL>
<LI><strong><A NAME="00283" HREF="msg00283.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 30 Apr 1998, 21:26 GMT
<UL>
<LI><strong><A NAME="00286" HREF="msg00286.html">[MUD-Dev] Re: MUD Development Digest</A></strong>, 
Matt Chatterley <a href="mailto:matt#mpc,dyn.ml.org">matt#mpc,dyn.ml.org</a>, Thu 30 Apr 1998, 23:01 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00036" HREF="msg00036.html">[MUD-Dev] GRUPMS?</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Mon 06 Apr 1998, 04:58 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>