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
Incorrect PP display ingame #28006
Comments
All my scores are set on lazer, if i turn off the mode my profile is empty. |
… full difficulty attributes Found when investigating ppy/osu#28006. If the `performance score` command is given the `-a` flag, it is supposed to use the current online beatmap difficulty attributes. It does so by querying API, which queries `osu-beatmap-difficulty-cache`. Problem is, that some of the difficulty attributes, namely the ones that are already present on `APIBeatmap`, are not serialised out by `osu-beatmap-difficulty-cache`: https://github.com/ppy/osu-beatmap-difficulty-lookup-cache/blob/db2203368221109803f2031788da31deb94e0f11/BeatmapDifficultyLookupCache/DifficultyCache.cs#L125-L128 `osu-tools` is blissfully unaware of this, and as such attempts to deserialise the difficulty attributes returned from cache-then-web raw, which leads to it just using the default values (e.g. zeroes) for attributes that the difficulty lookup cache does not serialise out. This leads to obviously bogus results. To fix, retrieve the `APIBeatmap` manually and do some (admittedly gnarly) grafting in order to produce a fully populated object. It's a bit ugly but it works locally without further changes so maybe fine?
As far as I can tell neither side is "displaying wrong". It's just that local lazer PP doesn't match current live. See excerpts from Using local beatmap attributes
Using online beatmap attributes
tl;dr: One of the yet-to-be-deployed star difficulty/pp changes nerfed this beatmap slightly, which led your score to be nerfed from 15.503 pp to 15.494 pp - but this nerf only takes place locally for now, while live values are inflated until the pending changes are deployed. I'm not sure we can or should be doing anything about this other than aiming to deploy the changes at some point. cc @ppy/team-client |
There's nothing more to do than deploy changes. |
Type
Game behaviour
Bug description
My play shows 15pp ingame, while on the website its 16pp. The pp on website is technically 15.503 so I think there's a difference in rounding somewhere. Which one is the correct one?
Screenshots or videos
Version
2024.412.1-lazer
Logs
compressed-logs.zip
The text was updated successfully, but these errors were encountered: