This page describes how to compile and test PennMUSH 1.7.2 patchlevel 2 (the current one as at the time of writing this). It assumes you are using the Microsoft Visual C++ version 5.0 compiler.
Page updated on 20th February 1998.
Download the source from: ftp://ftp.pennmush.org/pub/PennMUSH/Source/
It will be called something like: pennmush.1.7.2p2.tar.gz (however later versions will have a diffent patch number, eg. p3, p4 and so on).
Use Winzip to unzip it (make sure you preserve folder names). You can get Winzip from: http://www.winzip.com
#define MALLOC_PACKAGE 6
#include <time.h>
to CONFIG.H, after the line:
#define _config_h_
sh mkcmds.sh
OR - get a copy of these files from ftp://ftp.ozemail.com.au/pub/gammon/pennmush/headers.zip .
#define HAS_BZERO /**/
to:
// #define HAS_BZERO /**/
void fork()
{
panic ("Unable to fork under Win32");
};
void local_commands ()
{
// no local commands
};
void local_functions ()
{
// no local functions
};
void reserve_aliases ()
{
// no aliases reserved
};
to LOCAL.C
When testing, note that the output from the MUSH is not written to the screen. It is written to the LOG subdirectory, in a file called GAME.LOG. Look in that file to see how well the program is going.
compress_program compress
uncompress_program uncompress
compress_suffix .Z
to be:
compress_program
uncompress_program
compress_suffix
forking_dump yes
to be:
forking_dump no
#events_file txt/events.txt
#events_index txt/events.idx
#index_file txt/index.txt
#index_index txt/index.idx
#rules_file txt/rules.txt
#rules_index txt/rules.idx
to be:
events_file txt/events.txt
events_index txt/events.idx
index_file txt/index.txt
index_index txt/index.idx
rules_file txt/rules.txt
rules_index txt/rules.idx
MINIMAL.DB
to be
INDB
Type:
pennmush /run
If the program does not immediately exit, try editing the file LOG\GAME.LOG
and check that the last few lines look like this:
Input database verified. Proceeding to analysis.
ANALYZING: data/indb
ANALYZING: data/indb (done)
LOADING: data/indb
READING: done
LOADING: data/indb (done)
LOADING: data/maildb
LOADING: data/maildb (done)
02/20 12:17:43 RPT: No access.cnf file found.
Listening on port 4201
RESTART FINISHED.
If so, use your client program and try connecting to the MUSH. If you have used the minimal database, connect as character "one" - no password.
Comments to Gammon Software support
Page updated on Wednesday, 15 December 2004