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

Balance waiting players between rooms #7

Open
karashiiro opened this issue Sep 18, 2021 · 4 comments
Open

Balance waiting players between rooms #7

karashiiro opened this issue Sep 18, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@karashiiro
Copy link
Owner

Since we don't get waiting player counts from the server info packets, we need to balance players added to full rooms when our instances are maxed out, so we don't just reject waiting players. Ideally we'd have a hook or a Lua script installed to give us this information, but failing that, we can just spread waiters evenly across our open containers.

@karashiiro karashiiro added the enhancement New feature or request label Sep 18, 2021
@karashiiro karashiiro changed the title Balance waiting players Balance waiting players between rooms Sep 18, 2021
@karashiiro
Copy link
Owner Author

See #11, a hook should not be used for this.

@karashiiro
Copy link
Owner Author

karashiiro commented Sep 20, 2021

Actually, this might not matter. If an instance is full, the lobby server won't connect players to it until it is. All that needs to be done here is making a proper queue out of that functionality.

@karashiiro
Copy link
Owner Author

There should also be a thing to send whichever packet lets the client know that they're in the queue.

@karashiiro
Copy link
Owner Author

This also needs to be cached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant