Website CGI (or page generator) to display Race CTS leaderboards of a Xonotic server.
Go to file
2017-09-14 13:43:40 -07:00
doc Limited line width to 80 characters 2017-09-14 13:43:40 -07:00
include Revised repository organization 2017-09-12 02:48:29 -07:00
queries Removed queries that aren't used in the program. 2017-03-21 15:27:32 -07:00
src Revised repository organization 2017-09-12 02:48:29 -07:00
.gitignore Added ignore file. 2017-03-13 22:37:08 -07:00
LICENSE Added license file 2017-09-14 13:27:29 -07:00
Makefile Revised repository organization 2017-09-12 02:48:29 -07:00
README.md Fixed formatting error (missing line break) 2017-09-12 02:17:47 -07:00

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

This program uses an sqlite3 database file created from ~/.xonotic/data/data/server.db.

The database may be built using xonotic-py-sqlite3-defrag2db.