2017-09-12 14:45:57 +05:30
|
|
|
C CGI Xonotic DeFrag
|
|
|
|
-----------------
|
|
|
|
A CGI program written in C to display data related to Race CTS leaderboards of Xonotic servers.
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
* SQLite3
|
|
|
|
|
|
|
|
## Web Server Queries
|
|
|
|
* `(none)`
|
|
|
|
- Query file: `queries/mranks.sql`
|
|
|
|
- Requests the maplist of the server and related data.
|
|
|
|
|
|
|
|
* `?map=[map name]`
|
|
|
|
- Query file: `queries/mleaderboard-ojoin.sql`
|
|
|
|
- Requests the leaderboard of the map.
|
|
|
|
|
|
|
|
* `?player=[clientid]`
|
|
|
|
- Query file: `queries/rplayers.sql`
|
|
|
|
- Requests a player's ranks for all maps leaderboards s/he is present on.
|
|
|
|
|
|
|
|
## Game Versions Used Under:
|
|
|
|
* Xonotic 0.8.1
|
|
|
|
* Xonotic 0.8.2
|
|
|
|
|
|
|
|
## Compilers
|
|
|
|
* MinGW, GCC 4.7.1
|
2017-09-12 14:47:47 +05:30
|
|
|
|
2017-09-12 14:45:57 +05:30
|
|
|
__________________
|
2017-09-12 14:47:47 +05:30
|
|
|
|
2017-09-12 14:45:57 +05:30
|
|
|
This program uses an sqlite3 database file created from `~/.xonotic/data/data/server.db`.
|
|
|
|
|
|
|
|
The database may be built using [xonotic-py-sqlite3-defrag2db](https://git.teknik.io/antares/xonotic-py-sqlite3-defrag2db).
|