1998Q4/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: MUD Design doc (long) -->
<!--X-From-R13: Fuvahf Pneaneq <guvahf_oneaneqNovtsbbg.pbz> -->
<!--X-Date: Sun, 13 Dec 1998 23:51:45 &#45;0800 -->
<!--X-Message-Id: 3674C665.832CE7E2#bigfoot,com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 002101be2535$c7941e20$65cc17d0@enterprise -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: MUD Design doc (long)</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:thinus_barnard#bigfoot,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="msg00963.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00965.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00952.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00975.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00964">Author</A>
&nbsp;|&nbsp;<A HREF="#00964">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00964">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: MUD Design doc (long)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: MUD Design doc (long)</LI>
<LI><em>From</em>: Thinus Barnard &lt;<A HREF="mailto:thinus_barnard#bigfoot,com">thinus_barnard#bigfoot,com</A>&gt;</LI>
<LI><em>Date</em>: Mon, 14 Dec 1998 10:03:50 +0200</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>
Benjamin D. Wiechel wrote:

&gt; -----Original Message-----
&gt; From: Thinus Barnard &lt;thinus_barnard#bigfoot,com&gt;
&gt; To: MUD-Dev &lt;mud-dev#kanga,nu&gt;
&gt; Date: Friday, December 11, 1998 4:56 AM
&gt; Subject: [MUD-Dev] MUD Design doc (long)
&gt;
&gt; &gt;Hi,
&gt; &gt;
&gt; &gt;Here is a design doc I am writing for my MUD. If anyone has such
&gt; &gt;documents I would love to see it. Maybe some of these docs can be
&gt; &gt;published on the MUD-Dev web site..? I find design documents very
&gt; &gt;instructive and much more understandable than source code. I hope this
&gt; &gt;doc helps someone.
&gt; &gt;
&gt; &gt;Cheers
&gt; &gt;Thinus
&gt; &gt;
&gt;
&gt; I am curious, what sort of MUD system is this designed around?  As
&gt; I come from an LP background, specifically, hanging out on CDLIB
&gt; these days, I found that, while top level descriptive, some of what you
&gt; described definitely is abnormal to LP mud.

I am not really designing around a specific system. I use to play some LPs
so my design might be influenced by that.

&gt; The other part that I'm curious about is, is this a help file for coding
&gt; wizards, or is this a descriptive plan of what you are trying to
&gt; accomplish?  When you ask for design docs, are you talking about
&gt; general "How to build a mud" docs, or help docs pertaining to
&gt; various muds/codebases?

More a descriptive plan for what I am trying to accomplish.I am talking
about general "How to build a mud" docs. I believe most of the design should
be as generic as possible. If someone can take your design doc and implement
the system in a language of choice then you have written a good design doc.
Unfortunately you have to make some world specific decisions in your design,
for instance the skill system, combat system, etc. What I plan to do with
implementation is to first build a world where there is no combat and no
rooms except the starting room. Building can then start from there. I will
implement the skill system and combat system at that time. Most of the
commands will also be added then as they become necessary.

&gt; It think one thing that could be an interesting project would be to
&gt; build a HOWTO at a general level for MUDs, although I'm sure that
&gt; this would tend to be codebase specific.  Assuming that, a HOWTO
&gt; that would help beginning mud admins select a codebase would
&gt; probably be appropriate, and also interesting to design.  Is there
&gt; significant value to doing this?

I am sure that it does not need to be codebase specific. You can do
different HOWTOs for the core parts of a MUD. Say HOWTOs on the following:

Networking and sockets
Just a basic explanation of what routines you need. Say you need a NewCnct
routine that informs the library that a new connection has been established
and a new player object should be created and a login handled. Then you need
a routine for when an error occurs, a routine for when a connection is
dropped and a routine to send a message to the socket. This document can
then also take a look at what pitfalls to avoid, general problems with
sockets, binary approach, etc.

Command handling
How to implement commands in your mud. When and where should a command be
handled? Should NPCs and players have different command sets? What about
free text commands? Some questions to address in a command handling doc. Can
also be more specific with a design of a command handling system with the
focus on how easy is it to use and add new commands, how easy is it to
customize commands and how much can code duplication be reduced.

Timing
The first time you need a timing system will probably be for combat. Also
for weather, seasons, scheduling of mud events, etc. How to implement a
system that can handle all these timing issues and still be flexible enough
to add custom timing routines?

Combat system
This will be more specific. The combat system will integrate with the timing
system. The combat system must determine what amount of damage is done, what
messages to display to the different characters involved in the combat, what
attibutes is necessary for weapons and for armour, etc. This will differ a
lot from mud to mud. Maybe a few different systems can be discussed in this
doc.

Skill system
Also very specific. There will be several designs dealing with classes,
races, skills, spells, levels, experience, etc. The core of a few systems
can be listed to give an insight to the different types of approaches.

Player object
What should all go into the player object? Should it be very different than
your NPC object? Should you have a different login object and a different
player object? What physical statistics do you need for a player object?

NPC object
How to do guards. How to do mobiles. How to do AI.

Most of these docs will overlap and influence eact other's design. It will
also not be very general. It will however give someone who wants to develop
his own MUD a great place to start from. It will tell you about all the
different parts of the MUD and how they fit together.
My doc is an attempt to do this but only for my MUD. It is an abstract
discussion of all the different aspects of the mud. The one part I don't
handle in my doc is networking. The reason for this is that I have a module
that handles all the networking and I don't need to design or code anything.

Cheers
Thinus
<A  HREF="mailto:thinus_barnard#bigfoot,com">mailto:thinus_barnard#bigfoot,com</A>

PS: Another example of a design doc can be found at
URL:<A  HREF="http://www.cd.chalmers.se/project/so2403/so2403_toc.html">http://www.cd.chalmers.se/project/so2403/so2403_toc.html</A>



</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="00975" HREF="msg00975.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>
<ul compact><li><em>From:</em> J C Lawrence &lt;claw#under,engr.sgi.com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00952" HREF="msg00952.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
<UL><LI><EM>From:</EM> "Benjamin D. Wiechel" &lt;strycher#toast,net&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00963.html">[MUD-Dev] AFAP: As fast as possible, non linear...</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00965.html">[MUD-Dev] Monthly FAQ Posting</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00952.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00975.html">[MUD-Dev] Re: MUD Design doc (long)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00964"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00964"><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><A NAME="00960" HREF="msg00960.html">[MUD-Dev] small dev-mud invite</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 13 Dec 1998, 23:28 GMT
<UL>
<LI><strong><A NAME="00961" HREF="msg00961.html">[MUD-Dev] Re: small dev-mud invite</A></strong>, 
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Mon 14 Dec 1998, 03:42 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00955" HREF="msg00955.html">[MUD-Dev] Re: Hex grids.</A></strong>, 
quzah [softhome] <a href="mailto:quzah#softhome,net">quzah#softhome,net</a>, Sat 12 Dec 1998, 18:58 GMT
<LI><strong><A NAME="00952" HREF="msg00952.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Benjamin D. Wiechel <a href="mailto:strycher#toast,net">strycher#toast,net</a>, Fri 11 Dec 1998, 18:36 GMT
<UL>
<LI><strong><A NAME="00964" HREF="msg00964.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Thinus Barnard <a href="mailto:thinus_barnard#bigfoot,com">thinus_barnard#bigfoot,com</a>, Mon 14 Dec 1998, 07:51 GMT
<UL>
<LI><strong><A NAME="00975" HREF="msg00975.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 17 Dec 1998, 03:31 GMT
<UL>
<LI><strong><A NAME="00979" HREF="msg00979.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Emil Eifrem <a href="mailto:emil#prophecy,lu">emil#prophecy,lu</a>, Thu 17 Dec 1998, 11:00 GMT
<UL>
<LI><strong><A NAME="00984" HREF="msg00984.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Thu 17 Dec 1998, 20:14 GMT
</LI>
<LI><strong><A NAME="00985" HREF="msg00985.html">[MUD-Dev] Re: MUD Design doc (long)</A></strong>, 
Mik Clarke <a href="mailto:mikclrk#ibm,net">mikclrk#ibm,net</a>, Thu 17 Dec 1998, 20:27 GMT
</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>