Colonial Space Score Viewer

Started by kwinse, July 05, 2014, 12:17:08 PM

Previous topic - Next topic

kwinse

cs.html

As requested by Flabort, a simple html/javascript page to view CS map scores by map numbers, edited from a DMD score viewer for tournaments.

Simply put in one or more map numbers, click "Fetch scores" (or press enter while on a map number input) and it will try to make tables to display the scores, like you can see ingame.

The player highlight field highlights scores matching each (newline separated) player. The "Show only top 10 scores" checkbox, as its label implies, only shows the top 10 scores (or all, if less), plus any highlighted players' scores regardless of rank.

The page also supports url parameters: "maps" is a comma-delimited list of map numbers to autofill on page load, "hl" is a list of players to highlight, and "top10", when set with anything (even, say, "0" or "false"), will check the show top 10 box.

E.g: cs.html?maps=62,65,124,781&hl=Flabort&top10=0

I don't know how to get map names, or to get maps filtered like you can ingame.