Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpack and validate leaderboard scores #225

Open
turecross321 opened this issue Mar 15, 2024 · 0 comments
Open

Unpack and validate leaderboard scores #225

turecross321 opened this issue Mar 15, 2024 · 0 comments

Comments

@turecross321
Copy link
Owner

turecross321 commented Mar 15, 2024

Unpack code courtesy of NoxyMe

def unpack( score ):
    milliseconds = (score >> 32)^0x7fff
    notes = score&0xffffffff
    return milliseconds, notes

milliseconds should NOT exceed 4294967295

@turecross321 turecross321 changed the title Unpack leaderboard scores Unpack and validate leaderboard scores Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant