WHDLoad MantisBT - WHDLoad
View Issue Details
0006838WHDLoad[All Projects] Generalpublic2026-02-04 17:032026-02-04 17:03
ReporterWepl 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
MachineA1200
CPU68020
CPUSpeed50
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem0 MB
WorkbenchOS 3.0
KickROM40 - Kick 3.1
KickSoftNone
WHDLoad19.2
Summary0006838: global highscores
Descriptionadd global highscores facility

int score = maybe multiple values should be possible?
            datetime encoded as int
int table = each game may have multiple score tables
char* lid = local id to be entered in highscore list
gid = global id

Slave:
on every highscore entry calls
resload_ScoreAdd(const char *a0 lid, int d0 table, int d1 score, ...)

WHDLoad:
remembers all calls to resload_ScoreAdd upon exit
sort/uniq them
match lid against local table to get gid
REST call with gid-token slave-sha256 table score (timestamp)
must use TLS via AmiSSL to protect gid-token

Server:
validate gid-token
validate slave-sha256
update database

manage user via OAuth
should be possible to create multiple tokens for multiple end systems
tokens should expire
cheating cannot be avoided due freezer modification of game memory
TagsNo tags attached.
Attached Files

There are no notes attached to this issue.

Issue History
2026-02-04 17:03WeplNew Issue