(C, SQL) Website CGI to display Race CTS leaderboards of a Xonotic server.
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.
0a8611065b Limited line width to 80 characters 1 year ago
doc Limited line width to 80 characters 1 year ago
include Revised repository organization 1 year ago
queries Removed queries that aren't used in the program. 1 year ago
src Revised repository organization 1 year ago
.gitignore Added ignore file. 1 year ago
LICENSE Added license file 1 year ago
Makefile Revised repository organization 1 year ago
README.md Fixed formatting error (missing line break) 1 year ago

README.md

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.