Map_restart after omnibot_enable 0 crashes the server
As the title says ... listen and dedicated servers are affected. This might be fixed by changing the CVAR_NORESTART flag of omnibot_enable to CVAR_LATCH but we need to know why NORESTART flag is set. Finally OB lib has to be loaded/unloaded which requires a restart.
- Description updated (diff)
- Related to Feature #183: New referee menu for Omni-bot control added
In my case on my pc
Tested on listen server and nothing happened everything works perfectly exept difficulty option
Dedicated server - nothing work but no crash
"unkown command bot"
Line ent→think(ent); in g_main.c/G_RunThink causes the crash on my system. I can imagine a different behaviour on different OS when a library (omnibot) is unloaded.
Can anyone lese can reproduce this with current code?
- Status changed from New to Fixed
- % Done changed from 0 to 100
When omnibot_enable 0 is set and map_restart is called bots don’t leave the game self-controlled. This avoids bot zombies:
bot minbots -1; bot maxbots -1;bot kickall;set omnibot_enable 0; map_restart
Also available in: Atom