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 choice of where to start playback of multiplayer spectator #24448

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

peppy
Copy link
Member

@peppy peppy commented Aug 2, 2023

See implementation.

This was originally intended to try and fix the startup delay, but the majority of the delay comes from elsewhere.

Regardless, this algorithm should be much better than what we had (and avoid situations where one client being super far behind delays start of the session by forcing you to watch them catch up).

@bdach
Copy link
Collaborator

bdach commented Aug 2, 2023

Is there a good way to test this other than "manually spin a bunch of instances" or whatever like that?

@peppy
Copy link
Member Author

peppy commented Aug 2, 2023

Is there a good way to test this other than "manually spin a bunch of instances" or whatever like that?

i've been using public rooms with UseDevServer off, join them spectate, hit back, spectate again to resume into same map (tested about 50 times)

Would be amazing to have a server component that constantly played accurate replay,room flow but the bar is high.

peppy and others added 3 commits August 3, 2023 08:57
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
@bdach bdach enabled auto-merge August 3, 2023 20:17
@bdach bdach merged commit 270c032 into ppy:master Aug 3, 2023
9 of 10 checks passed
@peppy peppy deleted the multi-spectator-better-start-time branch August 15, 2023 08:52
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