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 and other settings
-------------------------

The cyphesis-cpp daemon is configured by default to not
start automatically. This can be changed by setting
daemon="true" in the cyphesis.vconf file in /etc or by
adding that line to a .cyphesis.vconf file in the home
directory of the user who will be running the cyphesis
server.

The server will now start automatically when the machine boots.
Other server setting can be adjusted in the same way.
