Website CGI (or page generator) to display Race CTS leaderboards of a Xonotic server.
Go to file
2017-04-23 09:55:07 -07:00
doc Replaced hardcoded numbers with their defined aliases 2017-04-23 09:55:07 -07:00
includes Changed unsigned int to unsigned long to truly handle an unreasonably long run. 2017-03-21 15:40:52 -07:00
queries Removed queries that aren't used in the program. 2017-03-21 15:27:32 -07:00
.gitignore Added ignore file. 2017-03-13 22:37:08 -07:00
main.c Strings edited to refer to program instead of its python counterpart. 2017-03-19 00:22:53 -07:00
makefile Added make file. 2017-03-21 15:23:29 -07:00
readme.txt Added read me file 2017-04-23 09:49:37 -07:00

C CGI Xonotic DeFrag
A CGI script to display data related to Race CTS leaderboards of Xonotic servers.

This program uses an sqlite3 database file created from ~/.xonotic/data/data/server.db.
It is not responsible for the creation of the database itself.

Environments and Contexts:
    MinGW/GCC 4.7.1          - compiled
    SQLite3                  - database functionality
    Xonotic 0.8.1autobuild   - game and build

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.