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

Fix mania star rating varying by order of notes in a chord #19120

Merged
merged 7 commits into from
Aug 17, 2022

Conversation

molneya
Copy link
Contributor

@molneya molneya commented Jul 14, 2022

Resolves #4010.

This change targets notes in chords by giving them the maximum individualStrains column for notes in that chord. Also comes with some refactoring to clean up the code a little.

Note: As I was fixing this change, an unrelated bug with the first note not counting to individualStrain causes a very similar looking issue on some very short maps (<10 seconds). I was planning to include it in this PR but because the effect is quite minor I thought it would be best to leave that for another day.


SR/PP change spreadsheet: https://docs.google.com/spreadsheets/d/1VQlT253Cf_SCFNrBF1MI9oAlX5MA_i98HEdf4BulsZc/edit

As of b33e0f5

Copy link

@abraker95 abraker95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does star rating stay same when anchor is at different columns?

@molneya
Copy link
Contributor Author

molneya commented Jul 15, 2022

Does star rating stay same when anchor is at different columns?

The test beatmap linked in the original issue and my own testing beatmaps all seem to be fixed with this change, including one where the anchor is the thing that changes between maps.

@Kominaru
Copy link

Kominaru commented Jul 15, 2022

I'm not knowledgeable enough regarding the code side of things so I will not comment on that part, but the bug being fixed is important since this was highly exploitable in terms of SR bloating.

Planning to accept anyway but would love to see a detailed explanation of why the bug was happening and how this solves it in a way we're not encurring in any unwanted SR buffs/nerfs or side-effects in chord-heavy maps

@smoogipoo
Copy link
Contributor

SR/PP change sheet added to OP.

@smoogipoo smoogipoo changed the title Fix mania star rating varying on note column order Fix mania star rating varying by order of notes in a chord Aug 17, 2022
Copy link
Contributor

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Star Rating varies based on same beat note order placed in Mania
4 participants