Raised This Month: $51 Target: $400
 12% 

Bots not spawning


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 11-13-2016 , 14:22   Bots not spawning
Reply With Quote #1

The bots on my server have stopped spawning automatically and I can't find out why. I've updated Sourcemod, Metamod and Steamtools to the latest versions. There are no errors in the error log relating to any plugins that might interfere with bots (the only error it has is regarding the parsing of my admin_overrides.cfg)

Speaking of plugins that might interfere with bots, I have disabled my SourceTV and plugins related to that, a plugin that makes bots use the mvm robot skins, and checked that my afk_manager isn't kicking them.

This is what I currently have in my server.cfg:
Code:
//Spawn Bots
sv_cheats "1"
bot -team Blue -class scout -name Bot1
bot -team Blue -class scout -name Bot2
bot -team Blue -class scout -name Bot3
bot -team Blue -class scout -name Bot4
bot -team Blue -class scout -name Bot5
bot -team Blue -class scout -name Bot6
bot -team Blue -class scout -name Bot7
bot -team Blue -class scout -name Bot8
sv_cheats "0"
What's particularly puzzling is that if I run my server.cfg after the server has booted up, it will spawn the bots. The problem now is getting them to spawn automatically after the server has restarted which it used to do, but now won't.

Just for the record, these are meant to be the static bots spawned with the "bot" command, NOT the moving/attacking bots spawned with the "tf_bot_add" command.

Anyone got any ideas / insight into what might be happening?
__________________
Werewolf_UK is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 11-14-2016 , 00:24   Re: Bots not spawning
Reply With Quote #2

To anyone else who may have this problem, the issue was caused by the recent hibernate cvars introduced for TF2. The server goes straight into hibernation due to no human players and kicks the bots, but doesn't add them again afterwards when a player joins.

Solution is to change tf_allow_server_hibernation to 0

Last edited by Snaggle; 11-14-2016 at 00:24.
Snaggle is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 11-14-2016 , 08:00   Re: Bots not spawning
Reply With Quote #3

Maybe when the server enters hibernation tf_bot_quota is set back to 0, if you want I can write a quick plugin to add them back once a player joins.
__________________
Benoist3012 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode