This is my implementation of the new Warzone Masterserver. Read more about its protocol at http://developer.wz2100.net/wiki/NewLobbyProtocol
-
Application organisation
- setuptools installer
- config file per commandline
- init.d script
- pid file and log file location
-
wzlobby.protocol.ProtocolSwitcher
- It should rebase the protocol not proxy it
-
Protocol v4
- Needs more tests
- Twisted >=10.1
- socketrpc >=0.0.2
- pymongo (for bson)
- txpostgres - https://github.com/wulczer/txpostgres
- phpass - https://github.com/exavolt/python-phpass
- clone this repository
- Import the lobby db: $sudo postgres psql warzone_lobby < ./data/lobby.sql
- copy wzlobby/settings.py.dist to wzlobby/settings.py
- edit wzlobby/settings.py for your needs
cd <your clone>
./bin/wzlobbyserver.py
or in console:
./bin/wzlobbyserver.py -n
cd <your clone>
kill $(cat twistd.pid)
cd <your clone>
kill -HUP $(cat twistd.pid)
cd <your clone>
tail -f twistd.log