1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 22:07:25 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Objects
Bartłomiej Dach 7e5533e205
Fix not being able to receive full score for extremely short sliders with repeats
Closes #23862.

Score V2 is a scoring algorithm, which aside from the raw numerical
values of each judgement, incorporates a combo component, wherein each
judgement's "combo score" is derived from both the raw numerical value
of the object and the current combo after the given judgement. In
particular, this means that Score V2 is sensitive to the _order_ of
judging objects, as if two objects with the same start time are judged
using different ordering, they can end up having a different "combo
score".

The issue that this change is fixing is an instance of one such
reordering. Upon inspection, it turned out that the simulated autoplay
run, which is used to determine max possible score so that it can be
standardised to 1 million again, was processing a slider repeat before a
slider tail circle, while actual gameplay was processing the same slider
repeat _after_ the slider tail circle.

The cause of that behaviour is unfortunately due to `LegacyLastTick`.
The sliders which cause the issue are extremely short. Stable had a
behaviour, in which to provide leniency, slider tails were artificially
offset back by 36ms. However, if the slider is not long enough to make
this possible, the last tick is placed in the middle of the slider. If
that slider also happens to have exactly 1 repeat, then this means that
the last tick and the repeat have the same time instant.

Because of the time equality, what begins to matter now is the _order_
of processing the elements of the drawable slider in the hierarchy. For
the purposes of legacy skins, tail circles were moved below ticks in
fce3eacd7d - but in this particular case,
it means that the order of processing the slider elements is now
inadvertently inverted, causing the entire debacle.

While the fact that scoring depends on order of processing of visuals is
suboptimal, there isn't a great way to address this without significant
restructuring. Due to the structure of processing judgements currently
in place, in which each judgement is processed independently from others
by its corresponding drawable hit object, this is probably the best that
can be done for the time being at least.
2023-06-10 12:14:08 +02:00
..
Drawables Fix not being able to receive full score for extremely short sliders with repeats 2023-06-10 12:14:08 +02:00
HitCircle.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
ISliderProgress.cs Remove redundant nullable suppression directives 2023-06-07 08:20:41 +03:00
OsuHitObject.cs Fix OsuHitObject not using property wrapper properly 2022-07-19 07:52:12 +03:00
Slider.cs add min and max value to SliderVelocity 2023-04-30 19:32:24 +02:00
SliderEndCircle.cs Fix nullability and remove extra preempt from SliderEndCircle calculation 2023-05-02 16:36:43 +09:00
SliderHeadCircle.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SliderRepeat.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SliderTailCircle.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SliderTick.cs Fix osu! slider ticks appearing too late 2022-09-26 14:11:59 +09:00
Spinner.cs Rename GetSampleInfo to better describe what method does 2023-05-17 14:07:48 +09:00
SpinnerBonusTick.cs add sample info to Banana and SpinnerBonusTick 2023-05-01 14:54:06 +02:00
SpinnerTick.cs Move MaximumJudgementOffset to HitObject 2023-01-19 21:23:55 +09:00