Bot's Ratation
I'm trying to run a server with multiple configs , some maps have bots others don't , i added all the coding to rotation.txt , this is what i got
skeet {
g_gametype: 4
timelimit: 4
fraglimit: 0
/wait
/addbot gauntlet
/forceteam *gaunt* blue
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot gauntlet
/forceteam *gaunt* red
/wait
/addbot lucy
/forceteam *lucy* b
/wait
/load conf/xsfgrail2.cfg
}
bal3void2 {
/kick allbots
g_gametype: 0
timelimit: 4
fraglimit: 0
/load conf/xsfgrocket.cfg
}
octagon {
g_gametype: 0
timelimit: 4
fraglimit: 0
/load conf/xsfgbfg.cfg
}
So far the /wait is letting the bots be added fine , but the problem is when it rotates , i need a way to make the bots be kicked before the server rotates to the new map , otherwise the server keeps crashing the user with connection interrupted at every rotation . Also from any other rotation without bot's it reloads the bots and kicks them , like from bal3void2 to octagon for example, and crashes the user again , when user /reconnects the server rotated fine of course. Only thing i could think of was adding */4 * * * * witch i think is 4 minutes , so i added */4 * * * * /kick allbots right under the /load conf/xsfgrail2.cfg , like i have timelimit: 4 i figure kicking the bots at 4 minutes exacly would be perfect as the server doesn't rotate exacly at 4 minutes because it needs the user status time , but unfortunately the */4 * * * * is not kicking the bots at 4 minutes , time seems to be random . Please Let me know of a better way of doing these , or any ideas that may work, Thanks.
try forcing bots to spectators first instead of kicking them.
/forceteam #id s
then on maps that you do need them, force them back into the game.
make sure you have minbotclients set to a value that will kick them if players start joining the server (they will autojoin when players disconnect)
ill try that 2morrow , 6am here need some sleep , Thanks.