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

Improve multiplayer room status handling #30838

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

Conversation

smoogipoo
Copy link
Contributor

@smoogipoo smoogipoo commented Nov 22, 2024

Prereqs:

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

Aside from refactoring the weirdness that is the existing RoomStatus abstract class and deserialisation process, it also makes the Playing state work in the lounge which is a missing feature from osu!stable.

2024-11-22.20-58-07.mp4

@@ -29,18 +29,27 @@ protected override void LoadComplete()
base.LoadComplete();

room.PropertyChanged += onRoomPropertyChanged;

Scheduler.AddDelayed(updateRoomStatus, 5000, true);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just to confirm intent - are these schedules supposed to handle the passage of time in relation to EndDate in order to correctly transition to ended state?

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.

2 participants