-
Notifications
You must be signed in to change notification settings - Fork 6
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
Issues with connection counting #82
Comments
Case 2 could be labeled as intentional behavior because we say that bots and scripts must close between matches. |
Not quite. It needs to be counted as we should not start the match without it. Only on subsequent matches we don't need to count it (assuming it is a player in the match, but it might not be). To me, it seems easiest to simply count up whenever a connection we need is ready, and count down if it disconnects. The id reservation system is pretty close to what we need. Maybe we can integrate it here. Connections with |
I just don't like the idea of a bot that stays up between matches. Booting/shutting down is super fast in v5 anyways |
I agree. Maybe we should rename the setting to something like |
The current system already prevents unintended connections from participating in the match (at least by sending player inputs) And some "observers" at least would want to close between matches |
Yes. So the question is whether we want a connection with E.g. we could disallow having a non-empty agent id and |
I like this |
1) It is possible to make the match start even though not all connections are ready. Steps:
2) It is also possible that the match does not start even though all connections are ready. Steps:
close_between_matches=False
.close_between_matches=False
are not counted (assumed to be a match runner client).The text was updated successfully, but these errors were encountered: