From 365b7a910ad4d5374c7bed1b1ed3cce2b80391b6 Mon Sep 17 00:00:00 2001 From: <> Date: Tue, 12 Sep 2017 02:15:57 -0700 Subject: [PATCH] New Readme --- README.md | 30 ++++++++++++++++++++++++++++++ readme.txt | 27 --------------------------- 2 files changed, 30 insertions(+), 27 deletions(-) create mode 100644 README.md delete mode 100644 readme.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..feed68f --- /dev/null +++ b/README.md @@ -0,0 +1,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 +__________________ +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). diff --git a/readme.txt b/readme.txt deleted file mode 100644 index 479a325..0000000 --- a/readme.txt +++ /dev/null @@ -1,27 +0,0 @@ - -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= - Query file: - queries/mleaderboard-ojoin.sql - Requests the leaderboard of the map. - - player= - Query file: - queries/rplayers.sql - Requests a player's ranks for all maps leaderboards s/he is present on.