			trouble_shooting
-------------------------------------------------------
This is a list of common things that happen to the servers and
what can be done to avoid/fix them.
Hopefully some more input from others will increase the size
of this list.
-------------------------------------------------------

-- Attemping to compile...and you get a message.
"GNUmake.. can't make depend"

You need a program called 'mkmf'.  You might need this if your
using a 'linux' type machine.  It seems to be standard on most
Sun type machines.  Anyways you can get a copy of 'mkmf'
at the empire archive host.  Its found in a package called
empire.tools  or Deity.tools, and can be found in /deities directory.
You might need to hunt for it but its their somewhere.


-- Attemping to compile... and you get something like.
"can't find /.../.../.../EMP2/h"
or some kind of error stating it can't find the empire files.

Your EMPPATH variable in gamesdef.h has an error in it.


-- Starting your game up
You type in either 
"emp_tm"  "emp_login"
try and login and get a socket error.
You do a 'ps -x' command and only see one of the processes running.
You type  in the name of the missing emp_?? process but it won't start!!

Whats wrong is kinda technical.  Basicly theres a socket problem.
Try using the 'isempireup' script to start the game up.
This will usually fix the problem.
Or you can go into the /data directory and remove the socket yourself.
Then try and restart the game.

---------------------------------------------------------
New empire server
(the code is still in the testing stages)
(please send me any updates you might have for this section)

At the moment I can only offer this piece of advice.

ALWAY make sure the emp_server has been killed off before you run,
files - to cleanup an old game, or start a new one.
or use any of the programs in the /utilities directory
that will effect any of the data sectors in the game.
Like the 'perfect' program... or maybe one of the 'ore' resource type
programs.  

WHY?
When the game is killed of it attemps to write all the current information
from the running game back to the data files... but wait... you just
tried to change them.. see the problem.
Whatever you just did will get wipped out when the game comes down.
The old sector, nation, tel, ann... ect.. will all be written back
to the file system.

Now the problem gets even worse if you recompiled the code and
made some changes to the data structures.. by adding or removing options.
When you startup the new server.. it will be reading from old data files.
Chances are you will have big problems.
So follow one simple step.

So KILL the new server off... before you make any changes to files in 
the /data directory!!

If not.. you will pay the price.  I did a couple of times. :)

---------------------------------------------------------

