]> de.git.xonotic.org Git - xonotic/xonstat.git/commit
Parse and store the game's duration.
authorAnt Zucaro <azucaro@gmail.com>
Fri, 9 Nov 2012 04:18:55 +0000 (23:18 -0500)
committerJan Behrens <zykure@web.de>
Sun, 23 Dec 2012 14:18:33 +0000 (15:18 +0100)
commitf09e6d3517d3765bb12fbf650bef6524361e6fad
treef99c5bc4921bdf72920d82b58598c289a357a16d
parentb97adb4e1042d00c1e965953d8955f9669063180
Parse and store the game's duration.

The duration has been sent for a while as the 'D' line, but
it hasn't really been needed until now; it was just a nice thing
to have. Now Elo calculations are messing up because the warmup
time is being summed into player alivetimes. This duration field
can assist in creating a workaround. Having it, Elo calculations
can know the true maximum game time, so anything higher can be
brought down to the "floor" of the real duration of the match.
xonstat/views/submission.py