Re: Remove all bots when there is no human player on the server -
25-04-2007
Maybe it was just sufficient to setup podbots so:
pb_minbots 0
pb_maxbots 10
pb_bot_quota_match 1
No humans on the server - no bots is there. One human enters - one bot joins. Next human enters - one bot more joins and it works so until reaching Your pb_maxbots value. If one human disconnects - one bot gets kicked (unless there is more than pb_maxbots humans).
Maybe Your patch wasn't needed at all (but this above might not work with Your code now - try it with original V3B18c).
|