cyphesis-cpp
============

This is the Cyphesis C++ game server from the WorldForge project.
Please see http://worldforge.org for additional information.


Database
--------

To create a database for local usage with cyphesis-cpp do the following steps:

1) As root execute: "su - postgres"

2) As postgres execute: "createuser cyphesis"

   Answer 'n' (no) to both questions.

3) As postgres execute: "createdb -O cyphesis cyphesis"

4) As root execute: "/etc/init.d/cyphesis-cpp stop"

5) As root execute: "su cyphesis"

6) As cyphesis execute the following:

   $ cyloadrules basic /etc/cyphesis/basic.xml
   $ cyloadrules basic /etc/cyphesis/acorn.xml
   $ cyloadrules mason /etc/cyphesis/mason.xml

   $ cyclient

7) As root execute: "/etc/init.d/cyphesis-cpp start"


That's all for initializing the server for the first time.
Now the appropriate client can connect to it and play Mason.


Daemon
------

The cyphesis-cpp daemon is configured by default to not
start automatically. This can be changed as follows:

1)  As root execute: "dpkg-reconfigure cyphesis-cpp"

2)  When asked if the server should start automatically, select "yes."

The server will now start automatically when the machine boots. 
