Skip to content

Add support for calculating scores from client.realm#300

Open
TextAdventurer12 wants to merge 4 commits intoppy:masterfrom
TextAdventurer12:realm-proper
Open

Add support for calculating scores from client.realm#300
TextAdventurer12 wants to merge 4 commits intoppy:masterfrom
TextAdventurer12:realm-proper

Conversation

@TextAdventurer12
Copy link

Depends on #299
Supercedes #213

#299 is needed since realm returns ScoreInfo, and not SoloScoreInfo. That, as well as some other extra things added to tools since #213 went inactive (such as the toggles) mean this is a lot simpler than #213 .

Everything is implemented into the RealmScreen, which is basically just a copy of ProfileScreen. client.realm should be inside the folder that RealmPath is set to (using lazer path should let live tracking work, but it's safer to manually copy over client.realm to the realm folder in tools (I put a dummy file in there so git would let me commit the folder - did not dox my install lol).
Only supports one user being calculated, since I wouldn't expect anyone to have a significant enough number of local scores from other users for it to ever be useful to calculate more than one profile.

Runs pretty quickly on my machine, <1 minute for ~1k local scores. Not sure if there's much reason to optimise further, although it might be an issue for users with a lot of maps and local scores, so probably best to see how slowly it runs for other people.

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

Successfully merging this pull request may close these issues.

1 participant