gckmsd/README.md

13 lines
648 B
Markdown

# gckmsd: Giants Citizen Kabuto Master Server
## Installation
1. Clone repo or download [latest release](https://hipstercat.fr/gogs/hipstercat/gckmsd/releases).
2. Install Python 3.6 or later.
3. Run `python masterserver.py`
## How it works
Listens on 2 ports:
* UDP 27900: on which dedicated servers register and send keepalive packets containing a lead byte (unknown) and the game port in ASCII. gckmsd checks the game server before adding it to its list of servers.
* TCP 28900: on which clients send queries. Replies must follow this format:
`{server index on 2 digits}0xac{server ip in ASCII}0xac{server port in ASCII}0x00[next server]`