Bot's Ratation

2 replies [Last post]
(*WASP*SH▲DOWKNIGHT)
Site administrator
haxxus's picture
Offline
Joined: May 2007
Posts:
US United States

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.

x.foksie'loy.drt?
foksie's picture
Offline
Joined: Jun 2005
Posts:
Bot's Ratation

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)

I am proud of spreading a pirated Excessive Plus version and claim to be the original author, yay!

(*WASP*SH▲DOWKNIGHT)
Site administrator
haxxus's picture
Offline
Joined: May 2007
Posts:
US United States
Bot's Ratation

ill try that 2morrow , 6am here need some sleep Evil , Thanks. Idea