This document details in step-by-step instructions the installation process for the Nightmare V Object Library. In addition to the information provided here and in other Nightmare documentation, please also look to the MudOS Home Page for compiling information on UNIX installs.
MudOS runs on most UNIX platforms and the Windows NT/95 environments. Your first task is to download the proper Nightmare release for your platform:
UNIX
Windows NT/Windows 95
Nightmare is not available separately from the driver.
Before you run Configure, you need to know which version is installed on your machine. Do this by issuing the command
perl -vIf your perl version is less than 5, then you need to upgrade it to perl 5. You can obtain the perl 5 source from ftp://prep.ai.mit.edu/pub/gnu.
Once you know you have perl 5, you need to check to see that Configure is pointing to its location. In the package you received, line 1 of Configure looks like:
#!/usr/local/bin/perlYou should type:
whereis perlto see where perl is actually located on your system (note that "where" also shows you where the perl man pages are). If it is not in "/usr/local/bin", edit Configure so that line 1 points to the location of perl on your system. If you fail to do this, you will see the error message:
Command not found.or some variation thereof when you run Configure.
You now need to find out whether your system uses GNU make or regular UNIX make. GNU make on most systems will be called "gmake". Type:
gmake -vto see if you have GNU make. If you get an error saying the command was not found, try:
make -vIf you have a "gmake" command, then you are all set. If you have no "gmake" command, then you need to make one more edit to the Configure script. Find the line that says:
$MAKE="gmake";and change it to read:
$MAKE="make";
Finally, when you run Configure, it will ask you a few questions. You should know the answers to these questions ahead of time:
What is the name of your MUD?
In which directory should your LPC library be placed?
In which directory should the MudOS executables be placed?
Now, issue the command "./Configure".
The Configure script will first ask you if you want to look at the licensing agreements for MudOS and Nightmare. After that, it will ask you the questions given above. Once you have answered those questions, Configure will go off and compile MudOS. This will take a very, very long time. There may be times when it appears to be frozen (like, while compiling interpret.c). It is not frozen. Just let it be.
If, for some reason the driver fails to compile, mail mudos-bugs@imaginary.com the full text of your compile. Also, state what operating system you are using. Please do not mail me. Compile problems have nothing to do with the Nightmare Object Library but are instead compatibility issues between MudOS and your flavour of UNIX.
After the driver is compiled, Configure installs your library and exits. Its final message tells you how to start the driver and login.
To run the mud, cd to the directory in which you told Configure to place the MudOS binaries. To run the driver, issue the command
./startmudos &
You may end up seeing some stuff that may strike you as bad, but ignore it. All that matters is that after a moment or two you see text saying the driver is now accepting connections at port 4000.
The first person to login to your mud is automatically its admin. It is therefore in your best interest to login right away. Telnet to port 4000 of your machine and create a character. After creating the character, you will be disconnected. You then login again, this time seeing the normal login process. Your mud is installed! All systems are running and your mud is connected to the Intermud 3 network.
You need a 32-bit unzip package that uses the PKZIP file format. The most popular program is WinZip. Check out Windows95.com if you do not have this utility. You will find it vry useful beyond installing Nightmare. Once you do this, use WinZip to unzip Nightmare into a temporary directory.
Click on the setup icon located in the directory into which you unzipped the Nightmare package.
The Nightmare installation process will ask you the following questions:
What is the name of your MUD?
In which directory should the package be placed?
What should the telnet port be?
From the Start menu, you will find the Nightmare for MudOS icon on the Programs menu. Click it to start MudOS.
Special note to user of Windows NT 3.51 and earlier: The Nightmare for MudOS icon appears inside a Nightmare for MudOS program group.
The first person to login to your mud is automatically its admin. It is therefore in your best interest to login right away. Telnet to port 4000 of your machine and create a character. After creating the character, you will be disconnected. You then login again, this time seeing the normal login process. Your mud is installed! All systems are running and your mud is connected to the Intermud 3 network.