summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-12-29 16:02:02 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-12-29 16:02:02 +0000
commit1945e356d63057dee8563c4ad64a877132e5c480 (patch)
tree9948ffec4b3d494adf9579bd66df931ab99e0c67
parent8de6956eed6c4bcf4383a07c0bdcd57845a3a163 (diff)
downloadmanaserv-1945e356d63057dee8563c4ad64a877132e5c480.tar.gz
manaserv-1945e356d63057dee8563c4ad64a877132e5c480.tar.bz2
manaserv-1945e356d63057dee8563c4ad64a877132e5c480.tar.xz
manaserv-1945e356d63057dee8563c4ad64a877132e5c480.zip
Added a few words on how to run the split servers.
-rw-r--r--ChangeLog1
-rw-r--r--README20
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 769ddbba..2ac87b7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -59,6 +59,7 @@
* src/itemhandler.h, src/itemhandler.cpp: Removed: useless and unused.
* src/Makefile.am, src/account-server/dalstorage.cpp: Removed useless
dependency on Cipher + OpenSSL.
+ * README: Added a few words on how to run the split servers.
2006-12-29 Philipp Sehmisch <tmw@crushnet.org>
diff --git a/README b/README
index e69de29b..0536db5f 100644
--- a/README
+++ b/README
@@ -0,0 +1,20 @@
+Setting up a TMW server
+=======================
+
+The compilation should produce two binaries: tmwserv-account and
+tmwserv-game.
+
+Run tmwserv-account on one single computer. It will open three
+consecutive UDP ports, starting from the one given by the configuration
+option "accountServerPort" (default value: 9601). This first port is the
+one you should give to your users.
+
+Run tmwserv-game on multiple computers. Each game server will open one
+UDP port given by the configuration option "gameServerPort" (default
+value: 9604). It will also connect to the account server given by the
+configuration options "accountServerAddress" (default value: localhost)
+and "accountServerPort". The configuration option "gameServerAddress"
+should contain the public address of the computer the server runs on, as
+it will be sent to the users. The file data/maps.xml contains the maps
+the server will load and register on the account server; split it
+across your multiple game servers, in order to balance the load.