Xonotic Forums
How do you add a CTF capture speed leaderboard? - 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: How do you add a CTF capture speed leaderboard? (/showthread.php?tid=9938)



How do you add a CTF capture speed leaderboard? - dagelf - 11-11-2024

I've looked through hundreds of tabs, and I think all the normal server and game variables, and I can't figure it out.

I'm actually now going through the source code... and trying to decompile a bunch of csprogs from other servers.....
would be great if anybody could give me some pointers!

   

Thanks


RE: How do you add a CTF capture speed leaderboard? - MusicGoat - 11-11-2024

make sure your stats are being tracked


RE: How do you add a CTF capture speed leaderboard? - lister - 11-12-2024

g_ctf_leaderboard 1
g_cts_send_rankings_cnt 15


RE: How do you add a CTF capture speed leaderboard? - dagelf - 11-12-2024

Thanks - I'm sure I would've figured it out already if it was that simple... I tried it, doesn't do anything - and those doesn't seem to be set on the servers that have those leaderboards.

```
38 if (!checkextension("DP_CRYPTO"))
39 LOG_WARN("Engine lacks DP_CRYPTO, Player IDs (required for XonStat and CTS/CTF records) are unavailable.");
```

I get the above warning, but I am not sure how to enable it, yet...


RE: How do you add a CTF capture speed leaderboard? - dagelf - 11-12-2024

Thanks - I'm sure I would've figured it out already if it was that simple... I tried it, doesn't do anything - and those doesn't seem to be set on the servers that have those leaderboards.

Code:
  38    if (!checkextension("DP_CRYPTO"))
  39        LOG_WARN("Engine lacks DP_CRYPTO, Player IDs (required for XonStat and CTS/CTF records) are unavailable.");

I get the above warning, but I am not sure how to enable it, yet...


RE: How do you add a CTF capture speed leaderboard? - lister - 11-13-2024

How did you build / obtain your xon server binary? Do you have public key *cryption support there? Also, before you even answer that, are you getting lack of record keeping with just YOUR client, or is it the case that no matter who connects to your server, they can't set any records? If (1), then try setting a record with your client on some other server, where they do have a working leaderboard.