22 Commits

Author SHA1 Message Date
Auke Kok
4bc12d30bd Do not list tutorial boxes in the ranking.
We still rank these (raw ranking data) but they're no longer part
of the top rankings.
2020-03-02 14:54:49 -08:00
Auke Kok
ae988d5fe9 Update readme.md a bit. 2019-11-03 20:12:03 -08:00
Auke Kok
3362a14b97 v4 2019-10-13 20:45:27 -07:00
Auke Kok
791094ecf2 Allow admin boxes to be ranked, and thus, appear in builder ranks. 2019-10-13 20:44:50 -07:00
Auke Kok
b96284e668 v3 2019-01-31 20:04:27 -08:00
Auke Kok
c5bafb0a70 Output raw full ranking info for analysis.
These are handy to see why certain changes occur in the
ratings and may serve to easy my mind as to why they
appear fluctuating.
2019-01-31 20:02:47 -08:00
Auke Kok
bab8a611a1 Off-by-one. 2019-01-18 17:03:26 -08:00
Auke Kok
c5bb25d2aa Fix loading of category series. 2019-01-18 16:41:04 -08:00
Auke Kok
4c179074ba Catch open errors. 2019-01-18 15:30:47 -08:00
Auke Kok
683fd2272d Add parsing code to read category file. 2019-01-17 22:35:24 -08:00
Auke Kok
83bace9b68 Category series.
We use an sqlite GROUP SELECT to automatically rank and return
lists of boxes that have been assigned categories by players. The
whole list of category rankings sits in a single json file.
2019-01-17 22:29:28 -08:00
Auke Kok
7001d81b50 Fix crash on box with 0 completions.
If we don't break out, we'll ask sqlite for an AVG() value which
will return NULL and crash the Scan() call later on.
2018-03-03 23:06:44 -08:00
Auke Kok
5ad687b377 Create series.json data for the website. 2017-11-14 23:17:48 -08:00
Auke Kok
bab1a538eb Builder ranking.
Combines count + box ranking (1:1).

This balances quantity and quality, somewhat.
2017-11-05 22:55:17 -08:00
Auke Kok
708ff344a5 Wrap up box rankings. 2017-11-05 00:58:12 -07:00
Auke Kok
86ff1b7543 Box rankings.
Ranking is weighed:
+1 for rating
+1 for time
+.5 for deaths and damage
+.5 for completed players and completed times total
2017-11-05 00:16:52 -07:00
Auke Kok
560ff7a28c Add gitignore. 2017-11-04 22:26:14 -07:00
Auke Kok
7775ee620e Mark code sections since this is going to be very long... 2017-11-04 22:26:14 -07:00
Auke Kok
97731e4544 Put 30 entries in the json.
The site/game only reads the first 10, but we can log more
data without much problems, and can do stuff with it later on.
2017-11-04 22:26:14 -07:00
Auke Kok
af784c0187 Add required lua code for on the server.
the `signs` mod uses this interface.
2017-11-04 00:13:04 -07:00
Auke Kok
1fea77b03a Complete player rankings.
output to json, #1-10, player name only.
2017-11-03 22:53:45 -07:00
Auke Kok
8b8ea33025 Initial checkin. 2017-10-26 12:11:45 -07:00