Finding a reason of server crash on the online change#424
Finding a reason of server crash on the online change#424d47081 wants to merge 4 commits intoFWGS:bot10from
Conversation
|
Try to run engine with sanitizers enabled (It's |
|
It might as well be the bug in the engine. =/ |
|
By the way, maybe I forgot to add This reason is deeper anyway, some issues with memory going as bots started to respawn with random params and ignore configuration. It works for some time but later something happened, it looks like memory control issues. Probably in the engine - will try to recompile, thanks for advice |
|
I've also added missed timing delay 09c481f Suppose that will fix the problem as is, let me test for some time |
|
I have returned integer value for timeout offset, another values could be optimized by another PR. Server get crashed few hours before, no relation with players / max online / min bots quantity Running server with |
|
Closing this PR as important changes included in #426 This branch could require lot of manual resolving on finally merge. |

After enabling dynamical add/remove bots on online change (by min/max settings), found an issue - server crashes sometimes. It mostly happened when more than one players online
With permanent quantity of bots is no problems
As commented in code, there is could be timeout reason.
Please do not merge this PR until testing on YGGverse server will be completed.
But this one commit would be included here.