View Single Post
  #4  
Old 01-28-2002, 06:25 AM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default How to install

I probably should have included a README or INSTALL file in the tarball, but since I didn't I'll put some general instructions here:

1) Download the tarball:
$ wget http://mland.dhs.org/~scott/software/EQEmu-0.2.0.tar.gz

2) extract it:
$ tar -xzvf EQEmu-0.2.0.tar.gz

3) I included compiled binaries (somewhat by accident), so compiling is optional. You may want to do it anyway, just in case there are binary incompatabilities with different library versions:
$ cd EQEmu-0.2.0/world
$ make clean && make
... output here ...
$ cd ./zone
$ make clean && make

4) Go to the bin directory. Edit the db.ini file to match how you want to access the database. Run the script ./makedb. It looks at the db.ini file to create the correct database name and user and also imports the db.sql file. It may prompt you for the mysql root password (probably not your system root password).

5) Edit the eqemud script to contain the IP address you want to listen on (chage the value for PUB_IP). There may be other errors in this script... I'm not sure if I'm starting the zone server correctly (like I said, I can't run EQ right now and unfortunately, I don't really have time to fix that :( ). Note that this script is based on the RedHat style of daemon starting, so it may not work on distros like Debian and Slackware (I know it works on Mandrake and I think it should work on Suse). However, those running Debian or Slackware probably know how to do it themselves

6) Once the eqemud script is to your satisfaction, you can start the emu with
./eqemud start
You can stop it with
./eqemud stop

If there's anything not working, let me know!

Also, I have no idea how the loginserver stuff works, so none of that is in there. But I would like to learn how that's supposed to work...
Reply With Quote