-
Notifications
You must be signed in to change notification settings - Fork 127
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
[bot-10] respawn configured bots / part 2 #426
base: bot10
Are you sure you want to change the base?
Conversation
Well, in last commit have fixed players online counter and make code optimizations:
After this commit I need additional time for tests, it looks better just doubts that everything stable. |
Last 2 commits includes:
testing.. |
Everything works, but I found bots and players sometimes freeze / stuck - maybe after disconnection. I think this problem related with |
Update for PR #422
Removes bot state reset on bot thinking, also the
kicked
state was changed fromBOT_IDLE
toBOT_NEED_TO_RESPAWN
I think this model more useful in bot container and looks not conflicting with it logic.
That allows to respawn configured bots only (from queue not from default
BOT_IDLE
slots registry)Solution looks stable, but please let me test it for few days before merge.