From 1945e356d63057dee8563c4ad64a877132e5c480 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Fri, 29 Dec 2006 16:02:02 +0000 Subject: Added a few words on how to run the split servers. --- ChangeLog | 1 + README | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) 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 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. -- cgit v1.2.3-70-g09d2