1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-18 13:33:22 +08:00
osu-lazer/osu.Game.Rulesets.Osu/Objects/Drawables
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
..
Connections Partial everything 2022-11-27 00:00:27 +09:00
DrawableHitCircle.cs Partial everything 2022-11-27 00:00:27 +09:00
DrawableOsuHitObject.cs Partial everything 2022-11-27 00:00:27 +09:00
DrawableOsuJudgement.cs Fix SkinnableLighting showing up as a user placeable component 2023-02-17 18:24:05 +09:00
DrawableSlider.cs Fix not being able to receive full score for extremely short sliders with repeats 2023-06-10 12:14:08 +02:00
DrawableSliderBall.cs Partial everything 2022-11-27 00:00:27 +09:00
DrawableSliderHead.cs Partial everything 2022-11-27 00:00:27 +09:00
DrawableSliderRepeat.cs Fix nullability and remove extra preempt from SliderEndCircle calculation 2023-05-02 16:36:43 +09:00
DrawableSliderTail.cs Fix nullability and remove extra preempt from SliderEndCircle calculation 2023-05-02 16:36:43 +09:00
DrawableSliderTick.cs Partial everything 2022-11-27 00:00:27 +09:00
DrawableSpinner.cs remove all non-test usage of SampleControlPoint 2023-04-26 13:55:39 +02:00
DrawableSpinnerBonusTick.cs Partial everything 2022-11-27 00:00:27 +09:00
DrawableSpinnerTick.cs Move MaximumJudgementOffset to HitObject 2023-01-19 21:23:55 +09:00
IRequireTracking.cs Remove redundant nullable suppression directives 2023-06-07 08:20:41 +03:00
ITrackSnaking.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
SkinnableLighting.cs Fix SkinnableLighting showing up as a user placeable component 2023-02-17 18:24:05 +09:00