Skip to content

Fix skip overlay issue on multiplayer freestyle#38300

Open
XDRANDYYYYYY wants to merge 4 commits into
ppy:masterfrom
XDRANDYYYYYY:multiplayer-different-difficulties-skipoverlays-fix
Open

Fix skip overlay issue on multiplayer freestyle#38300
XDRANDYYYYYY wants to merge 4 commits into
ppy:masterfrom
XDRANDYYYYYY:multiplayer-different-difficulties-skipoverlays-fix

Conversation

@XDRANDYYYYYY

@XDRANDYYYYYY XDRANDYYYYYY commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

In a multiplayer room, sometimes different players in the same room will choose different difficulties. During the play, a vote will be offered for everyone to decide whether the game should skip the intro.

As described in #38291, the bug is that the number of people required to vote for skipping is based on the total number of people in the room instead of the number of players of the same difficulty. This bug happens in both skip overlays and osu-server-spectator.

This PR fixes this bug with in-game overlays and adds a test for this scenario. Now the in-game multiplayer skip overlay will show the correct number of people required to skip the intro. However, the bug in osu-server-spectator still remains.

osu-sever-spectator issue:ppy/osu-server-spectator#526

… free style.

When there are different difficulties been selected by multiple users, the total required skip count will only be based on the number of players choosing the same diffculties

However, this only change the overlays in game but did not change how game server behave. Same issue also founded in osu-web-spectator, which needed to adjusted later.
… free style.

When there are different difficulties been selected by multiple users, the total required skip count will only be based on the number of players choosing the same diffculties

However, this only change the overlays in game but did not change how game server behave. Same issue also founded in osu-web-spectator, which needed to adjusted later.
@peppy

peppy commented Jul 15, 2026

Copy link
Copy Markdown
Member

I've read the OP like 10 times and I don't get it. I think it might read back to front or something.

@XDRANDYYYYYY

Copy link
Copy Markdown
Contributor Author

I've read the OP like 10 times and I don't get it. I think it might read back to front or something.

Sorry. I have updated the OP

@peppy

peppy commented Jul 15, 2026

Copy link
Copy Markdown
Member

So the problematic case is where some difficulties don't have a skip option?

I'm not sure this is the correct fix if so.

@XDRANDYYYYYY

XDRANDYYYYYY commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

So the problematic case is where some difficulties don't have a skip option?

I'm not sure this is the correct fix if so.

For example, there is a set of beatmaps with different difficulties, like the following beatmaps
https://osu.ppy.sh/beatmapsets/767294#mania/2793581 (has different play speed for same songs)
Assume there are 10 people in the multiplayer room; 5 of them choose difficulty [4K] 42 [0.9] another 5 of them choose difficulty [4K] 42 [1.2]
Assume there is a long intro with both beatmaps. For people who chosse [4K] 42 [1.2], they will be starting their player earlier. At the time they start, people who choose [4K] 42 [0.9] is still on intro. Now, when the remaining 5 people want to skip the intro, it will display that people are required to skip the intro by 6 people(which is wrong).

This is where the bug is.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants