Posts: 8
Threads: 1
Joined: Apr 2007
Reputation:
0
I have a CS:S server running, and I'm using "bot_quota 8" to figure out the number to keep on the server. However, no matter whether I use "bot_quota_mode fill" or "bot_quota_mode normal", the bots never leave. I have maxplayers set to 20, and if I have 12 clients connected, the server becomes full, and nobody will be able to connect until a client disconnects.
Any ideas on how to get the bots to leave as clients connect?
Posts: 8
Threads: 1
Joined: Apr 2007
Reputation:
0
Hmm... I added that in a few days ago, and tonight the server was full (20/20), including the 10 bots. I couldn't connect unless I lowered the bot_quota manually.
Any idea what else I could check?
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
Hmm that's rather weird, when you enable that cvar the bots leave when a player joins and always keep 1 slot open.
Make sure it's not being re-set somewhere else in the cfg. It is supposed to work when you set that.
Posts: 8
Threads: 1
Joined: Apr 2007
Reputation:
0
That's the other weird part. The cvar is definitely set. If I type bot_auto_vacate into the server console it spits back "bot_auto_vacate" = "1", along with the other text you normally see explaining what the cvar does.
The only other thing I can think of is that I may not have restarted the server since I set that cvar (I regularly have at least a couple human clients, and I don't feel like booting them if I don't have to). As far as I know though, the only cvars for which that matters are the ones you have to specify on the command line, like maxplayers. If restarting the server does fix this problem, then why? If I can change bot_quota and bot_quota_mode on the fly, why wouldn't I be able to change bot_auto_vacate?
Posts: 8
Threads: 1
Joined: Apr 2007
Reputation:
0
Hmm... this is after a restart, and bots STILL don't leave a full server.
I have bot_quota_mode set to normal, bot_auto_vacate set to 1, and originally I had bot_quota set to 6. The server was full, so I set it to 2, and 4 bots dropped. It filled back up with human clients, and I had to set it to 0.
Obviously as a server owner I'm happy to actually manage to get a full server, but I can't be constantly monitoring the player count. If the server becomes empty I want bots, and if it becomes full I don't.
I'm running GunGame deathmatch, so it could be that bots join/leave at the end of a round (which hardly ever comes), but I thought that the join/leave event happened whenever needed, not on a round transition.
Posts: 8
Threads: 1
Joined: Apr 2007
Reputation:
0
I found a way in which the problem shows itself on the console, but I'm not sure how to interpret it. When a client joins, it puts up the following lines, all within a short amount of time (under 1/4 sec, probably):
** [UNH]chabo has joined the game
** Tom has left the game
** Perry has joined the game.
So the bots are leaving, they're just coming right back. Weird, huh? Any idea why it's doing this?
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
Are you using hidden slots on your server?
Can you post all the bot commands you are currently using
I have no idea what could be causing this really, they shouldnt rejoin