Giants: Citizen Kabuto master server implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Amazed 036cda4446 Rework with asyncio. Requires Python 3.7. 3 years ago
README.md Added README 4 years ago
masterserver.py Rework with asyncio. Requires Python 3.7. 3 years ago
querytest.py Rework with asyncio. Requires Python 3.7. 3 years ago
registertest.py Rework with asyncio. Requires Python 3.7. 3 years ago

README.md

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]