View Single Post
Author Message
nullb
Junior Member
Join Date: Jun 2016
Old 06-10-2016 , 13:03   [CS:GO] Bot Quota Fix (Updated 2016-06-11)
Reply With Quote #1

I've updated the bot quota fix plugin originally created by altex then further modified by DoPe^.

Re-factored the code, I was having issues with bots not getting removed after all human players left so I added that function and cleaned up the code's logic so it makes more sense. Probably a little faster.

cvars:
sm_csgobotquotafix_enable - Enable bot quota fix
sm_csgobotquotafix_quota - Bot quota
sm_csgobotquotafix_delay_enable - Enable/Disable the Bot Join Delay
sm_csgobotquotafix_delay - Delay in seconds for when the bots should join

Recommend usage, e.g. a DM server:
bot_quota 0
bot_quota_mode normal
bot_join_after_player 0
sm_csgobotquotafix_enable 1
sm_csgobotquotafix_quota 10

Hopefully this update is of use to some people, probably those who don't want to hibernate their servers, or have weird issues were the bots aren't getting kicked for what ever reason. It's a good safeguard if nothing else.
Attached Files
File Type: sp Get Plugin or Get Source (sm_csgobotquotafix.sp - 2849 views - 4.5 KB)
nullb is offline