Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create, join, and part multiplayer rooms only via the multiplayer server #31637

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

smoogipoo
Copy link
Contributor

@smoogipoo smoogipoo commented Jan 23, 2025

Old Server New Server
Old Client 🟢 🟢
New Client 🔴 🟢

osu-server-spectator is now the authority in creating multiplayer rooms. Most of the complexity of this PR is a result of RoomManager no longer having the ability to create/join/part rooms, which is now handled either by the multiplayer server or by API requests (for playlists + daily challenge).

MultiplayerRoomManager no longer exists, and I expect RoomManager to go away in the near future too. I'd actually already started down that path but wanted to keep this PR somewhat lean, and so I've only added an XMLDoc on RoomManager mentioning this.

Relevant functionality has been removed from `RoomManager` in the
process.
In particular, when the exception is:
`AggregateException { AggregateException { HubException } }`,
then the existing code will only unwrap the first aggregate exception.

The overlay's code was copied from the extension so both have been
adjusted here.
@peppy peppy self-requested a review February 11, 2025 14:30
@peppy
Copy link
Member

peppy commented Feb 11, 2025

As a heads up, I'll review this but won't merge until after the imminent release.

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

Successfully merging this pull request may close these issues.

2 participants