bot_enable 0 causes hostages not to spawn


(falcN) #1

I recently noticed that the hostages on aquarium and sectow were not correctly spawning on my server. I did a little bit of research into this and found out that setting the bot_enable cvar to 0 not only would prevent normal bots but also hostages from loading. Robots are not affected by this (eg. on ccity).

I’m not sure if this really is a bug, but it prevents the maps aquarium and sectow from being correctly finished by escorting the hostage, if you’ve activated old skool, competition or custom settings which set bot_enable 0.

:slight_smile:


(Crispy) #2

It is a bug, good find.

Workaround:
bot_enable 1 = AI enabled
bot_minclients -1 = bots disabled
bot_minclients 0 = bots never spawn automatically (must be manually added); this setting also kicks all bots
bot_minclients 16 = bots spawn up to a maximum of 16


(EnderWiggin.DA.) #3

nice find!


(Deadwalking) #4

Nice! Thank You Crispy.

That clears up a lot.


(Mavick) #5

How do you manually add bots?


(Mustang) #6

admin addbot


(Mavick) #7

So, if you want no bots to ever spawn automatically, but the ability to spawn bots manually, which of those commands should I enter in?

I tried bot_minclients 0 but it’s still spawning bots on it’s own.

Is there a conflict with running the objective rule set? I’m not execing any of the preset game modes either.


(Mavick) #8

When i do that, i see in console that bots are joining spectators, which I have disabled, but they don’t actually join a team. There something else I have to do?

I’ve turned forceautobalance off.

I’ve also tried rcon admin addbot <team> <class>

They still just join spectators and sit there


(falcN) #9

Have you tried enabling spectators to let them join? I ask, because you also have to enable spectators to allow teamswapping (eg in Stopwatch-Mode after the round has ended), and eventually you also have to allow spectators to allow bots joining a team.


(Mavick) #10

Ah, ok that must be the problem then. I disabled it thinking it would not allow people to just sit in spectators. I guess that doesn’t really work that way in this game, now that I think about it.


(Mavick) #11

Well I enabled spectators and it’s still not working


(xTriXxy) #12

yeah i had this on my server too. there was intro hostage video, but later… no hostage at all:)

maybe kidnapped? :slight_smile:

shout i allow bots then? or wait for next patch? because i cannot be all the time on the server to manually add a hostage bot


(Crispy) #13

People are using a server config that turns off all AI (NPCs as well as bots).

bot_enable should always be set to 1.

Mavick: is the match in Warmup? Try admin startMatch

Also ensure you aren’t running a mode/config that requires a certain amount of Human players to be present or for a certain amount of players to ready up.