- JavaScript 42.6%
- Python 36.7%
- HTML 20.7%
|
|
||
|---|---|---|
| html | update emoticons | |
| cli.py | add cli.py | |
| README.md | add directory html | |
| servers_json.py | servers_json.py: use the extended protocol | |
Unvanquished Server List
This repo contains tools to list the online game servers, and how many users are present on each of them.
The file servers_json.py runs forever, preferrably on an internet server. It queries the master server to obtain a list of game servers, and contacts each game server to obtain the desired information. This information is written to a JSON file. The path to this JSON file must be given as command line argument. Currently, the output of this program is available online at http://maptesting.acidtu.be/servers/servers.json.
The file cli.py is a simple command line server list. It takes no arguments, downloads the JSON file, and prints a human-readable server list.
The directory html contains a web page server list. It is a variant of the command line server list that runs in a browser.