diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-29 16:02:02 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-29 16:02:02 +0000 |
commit | 1945e356d63057dee8563c4ad64a877132e5c480 (patch) | |
tree | 9948ffec4b3d494adf9579bd66df931ab99e0c67 | |
parent | 8de6956eed6c4bcf4383a07c0bdcd57845a3a163 (diff) | |
download | manaserv-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-- | ChangeLog | 1 | ||||
-rw-r--r-- | README | 20 |
2 files changed, 21 insertions, 0 deletions
@@ -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> @@ -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. |