Xonotic Forums
Server CTS Leaderboards: Now on the Web - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: Server CTS Leaderboards: Now on the Web (/showthread.php?tid=7028)



Server CTS Leaderboards: Now on the Web - Antares* - 01-21-2017

CTS leaderboards per map for my server are now viewable. Big Grin
Additionally if you put in your client id fingerprint, it'll let you know your ranks and on what maps.

http://98.176.140.2:15000/cgi/cts.py

Here's an example:
http://98.176.140.2:15000/cgi/cts.py?map=lovedae

It has a long way to go, but I think it's nice.

Add:
ip address changed

http://98.176.138.242:15000/cgi/cts.py
.py will be taken off.

https://archive.fo/http://98.176.138.242:15000/cgi/cts


RE: Server CTS Leaderboards: Now on the Web - It'sMe - 01-22-2017

This looks very nice. Smile


RE: Server CTS Leaderboards: Now on the Web - -z- - 03-09-2017

Hi, is this open source?
I wrote a crappy one in PHP a while ago http://servers.nexuizninjaz.com/records/race.php


RE: Server CTS Leaderboards: Now on the Web - Antibody - 03-09-2017

This is also something that could arguably go into stats on server pages. The main problem is votable servers with a mixed bag of CTS records to show. As an example, I wouldn't want to show CTS records if 99% of the games on the server are plain DM. Maybe we could define some sort of heuristic for that sort of thing, then assign a "role" to servers based on the output of it. Some (rough) ideas:
  • If a server has more than N games of mode X within time period Y, show mode-X specific features on the server's stats page.
  • If a server has more than N percentage of its games on mode X, show mode-X specific features on the server's stats page.
As it stands the default server view is designed to show mode-agnostic things (score, playing time, and # of times maps are played) to ensure that it actually has something to show for each server out there (provided the server is active).


RE: Server CTS Leaderboards: Now on the Web - -z- - 03-09-2017

(03-09-2017, 08:59 AM)Antibody Wrote: This is also something that could arguably go into stats on server pages. The main problem is votable servers with a mixed bag of CTS records to show. As an example, I wouldn't want to show CTS records if 99% of the games on the server are plain DM. Maybe we could define some sort of heuristic for that sort of thing, then assign a "role" to servers based on the output of it.

This sounds like a great idea. While I agree with rule based thresholds, the lower barrier to entry might be whitelisted or "approved" cts servers. Even with the "approved' servers however, admins have slightly different cvar settings. So I'm not sure what we try and do to level the playing field, so to speak.


RE: Server CTS Leaderboards: Now on the Web - Antibody - 03-09-2017

What I was proposing was for server pages, thus it would only apply to records on that server. I don't think we'd need to consider any config drift for that. If admins change up their own settings frequently, they'd then only be un-leveling their own playing field!

I tried years ago to get consensus on CTS settings but then found it was a fool's errand. If I implemented global CTS rankings and records, whitelisting would be the way to go though. In fact that's what will likely happen with Elo in the future (see the elo-categories branch of XonStat).


RE: Server CTS Leaderboards: Now on the Web - -z- - 03-09-2017

Ahhh okay, that makes sense. I can understand the futility in trying to normalize configs across servers.
That said, there is still value to aggregating the records, for example, comparing ones times across NA vs EU servers. I'm not sure stats.xonotic is the place to do that though.


RE: Server CTS Leaderboards: Now on the Web - Antares* - 03-09-2017

(03-09-2017, 07:52 AM)-z- Wrote: Hi, is this open source?
I wrote a crappy one in PHP a while ago http://servers.nexuizninjaz.com/records/race.php

I haven't uploaded the source code for it, but I have no intention of keeping it away from anyone.

Also this whole XonStats thing- XonStats reports matches. Unless the requirement for 2 players to be present is lifted, we won't be able to catch Komier's WRs when he's solo strafing at 4 am.


RE: Server CTS Leaderboards: Now on the Web - Antibody - 03-10-2017

(03-09-2017, 03:58 PM)Antares* Wrote: Also this whole XonStats thing- XonStats reports matches. Unless the requirement for 2 players to be present is lifted, we won't be able to catch Komier's WRs when he's solo strafing at 4 am.
Something is better than nothing, but that feature is doable. I can add a check in the submission code for letting it through when CTS is the game mode, one player is present, and a "fastest cap" entry is present in the match.

I created this gitlab issue for the feature. If you have any other ideas, please feel free to add them to the tracker. I can't keep track of all of them in my head, and I certainly can't keep track of any that exist solely in your head.


RE: Server CTS Leaderboards: Now on the Web - Antares* - 03-21-2017

(03-09-2017, 07:52 AM)-z- Wrote: Hi, is this open source?
I wrote a crappy one in PHP a while ago http://servers.nexuizninjaz.com/records/race.php

here you go
https://u.teknik.io/lrkHj.zip