-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Multiplayer room creation flow succeeds when an online beatmap was locally modified #16176
Comments
Not sure if this is an actual issue or whether the server should allow you to pick modified items via add/change too. So long as the server is authoritative on the hash. |
If we're allowing modified, we need to support it fully (ie. the client should be aware that downloading the beatmap will not work, and not show the download button). Safest path for now is to not allow. |
What do you mean by that? That's currently what happens - if you create a room with a beatmap that's been modified it'll show the download button and allow you to play it after redownloading. |
The issue in this thread is the host creating a room with a modified beatmap. In which case, a user playing in the room would see the download button, download but would still be unable to play. |
This is not the case - it will work after redownloading. When creating a room the hash isn't serialised at all, but the multiplayer server will populate the hash directly from the DB to give back to the clients (via The difference is that when adding/changing an item, the hash is serialised, so the multiplayer server rejects it. I'm saying it could not and instead overwrite the hash sent from the client, and pass back the correct hash. |
right, that's very hidden behaviour... so this is just a UX issue then. probably want to allow the same thing when selecting a beatmap (that has an |
By which I mean the following scenario:
Kind of not sure where this should go really. Room creation is handled by web and the room creation request does not include the hash of the map, just its online ID. And so there's not much that can be done in spectator server because if the online ID is valid, then that looks as if the user just chose the unmodified map.
Plausible solutions:
The text was updated successfully, but these errors were encountered: