Giants: Citizen Kabuto master server implementation
Go to file
2019-06-18 15:31:58 +02:00
masterserver.py Rework with asyncio. Requires Python 3.7. 2019-06-18 15:31:58 +02:00
querytest.py Rework with asyncio. Requires Python 3.7. 2019-06-18 15:31:58 +02:00
README.md Added README 2019-02-12 17:41:25 +01:00
registertest.py Rework with asyncio. Requires Python 3.7. 2019-06-18 15:31:58 +02:00

gckmsd: Giants Citizen Kabuto Master Server

Installation

  1. Clone repo or download latest release.
  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]