summaryrefslogtreecommitdiffstats
path: root/docs/manaserv.xml.example
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-09-07 23:14:34 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-09-07 23:14:34 +0200
commitde803e103f5317856d4eadf15661ef7516cfc72a (patch)
treebd9aeacc7699ae6cf861aeeef8fb37a2a45dd92d /docs/manaserv.xml.example
parent3d7347011cc6b33ad2c2ceb939f27200a2cae4a6 (diff)
downloadmanaserv-de803e103f5317856d4eadf15661ef7516cfc72a.tar.gz
manaserv-de803e103f5317856d4eadf15661ef7516cfc72a.tar.xz
manaserv-de803e103f5317856d4eadf15661ef7516cfc72a.zip
Added config options to set stats and log files and paths.
Also turned the absence of an inter-server password into a fatal error while documenting it in the manaserv.xml example file. Reviewed-by: Jaxad0127.
Diffstat (limited to 'docs/manaserv.xml.example')
-rw-r--r--docs/manaserv.xml.example23
1 files changed, 18 insertions, 5 deletions
diff --git a/docs/manaserv.xml.example b/docs/manaserv.xml.example
index a04b57e..8d9a3b5 100644
--- a/docs/manaserv.xml.example
+++ b/docs/manaserv.xml.example
@@ -54,6 +54,16 @@
<!-- end of database configuration *************************************** -->
+ <!-- Paths to data files -->
+ <option name="serverPath" value="." />
+ <option name="clientDataPath" value="example/clientdata" />
+ <option name="serverDataPath" value="example/serverdata" />
+
+ <!-- Log output configuration -->
+ <option name="log_statisticsFile" value="./manaserv.stats"/>
+ <option name="log_accountServerFile" value="./manaserv-account.log"/>
+ <option name="log_gameServerFile" value="./manaserv-game.log"/>
+
<!--
Log levels configuration.
Available values are:
@@ -74,6 +84,14 @@
<option name="char_startY" value="840"/>
<!--
+ ATTENTION: This is a very important option!
+ the net password is used to let the servers (game and account) speak to each
+ other in a crypted way.
+ This option is REQUIRED FOR THE SERVERS TO START.
+ -->
+ <option name="net_password" value="changeMe"/>
+
+ <!--
The game server uses this address to connect to the account server. Clients
will also need to be able to connect to the account server.
-->
@@ -85,11 +103,6 @@
<option name="net_gameServerAddress" value="localhost"/>
<option name="net_gameServerPort" value="9604"/>
- <!-- Paths to data files -->
- <option name="serverPath" value="." />
- <option name="clientDataPath" value="example/clientdata" />
- <option name="serverDataPath" value="example/serverdata" />
-
<!-- Gameplay-related config option -->
<option name="visualRange" value="448"/>
<option name="respawnMap" value="4"/>