delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/05/19:51:07

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Mud server
Date: Sun, 05 Jan 1997 15:25:25 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 37
Message-ID: <32D03864.4743@cs.com>
References: <32CFDFF4 DOT 8C2 AT geocities DOT com>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp110.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Martin Winning wrote:
> 
> Before I even try it, has anyone had a go at building the Circle mud
> server, or possibly even Mordor mud server? What sort of problems am I
> looking at? Is it possible?

I don't know about those mud servers, but I successfully built the ROM
2.3 source "out of the box" with DJGPP.  There was only one error, and
that was because the server used an errno code that was non-POSIX.  A
simple #define cleared that up.

You should be careful though, because very often MUD servers, although
claiming to be ported to DOS, were not carefully checked for bugs.  I
guess this is because DOS is really a terrible platform to run a MUD
server on; here are some pitfalls you may run into:

  - Make sure the server code is not long filename dependent.  ROM 2.3
isn't; I don't know about Circle or Mordor.
  - The crypt() function, available on most Unix systems, was never
ported to DJGPP.  This can invalidate the password matching of many MUD
servers.  (At least, it did with ROM 2.3.)
  - ROM 2.3 uses separate main game loops and i/o routines for DOS and
Unix systems.  I discovered through trial and error that some important
code in the Unix game loop was omitted from the DOS one, probably by
accident.

That's about it as far as I can remember.  I am hardly an expert, but if
you have any trouble feel free to email me and I'll do my best to help.

Good luck!

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
| Plan:  To find ANYONE willing to |   http://www.cs.com/fighteer   |
| play Descent 2 on DWANGO!        | Tagline: <this space for rent> |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019