Add player timing and profile links to server scoreboard

This commit is contained in:
2026-09-20 22:03:58 -04:00
parent 3a63e6d3ce
commit 1e6ff3abbf
7 changed files with 79 additions and 13 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ function mapIdentity(handle: Database.Database, report: GameTelemetry) {
function fingerprint(report: GameTelemetry): string {
// Receipt timestamps and roster ordering do not identify new gameplay.
const { receivedAt: _receivedAt, ...event } = report;
const { receivedAt: _receivedAt, timing: _timing, ...event } = report;
const players = [...event.players].sort((a, b) => a.guid.localeCompare(b.guid));
return createHash('sha256').update(JSON.stringify({ ...event, players })).digest('hex');
}