Thanks for the help Craxor. However as I mentioned, blocking client commands only works for human players.
Unzy if it only happens on map change, maybe try adding a delay. In the "foxbot.cfg", make sure that you first set the
pause and
bot_create_interval variables, and have the
addbot commands at the end. So like this:
Code:
# Minimum bots in server (0 - 32 [-1 Turns this off])
# The number of bots on the server should never go below this value.
min_bots -1
# Maximum bots in server (0 - 32 [-1 Turns this off])
# The number of bots on the server should never go above this value.
# You should set this to 1 or 2 less than maxplayers, otherwise new human players
# will not be able to join your server.
max_bots -1
# bot_total_varies (0 - 3)
# When this setting is set to 1, 2, or 3 the number of bots on the server will
# fluctuate from min_bots to max_bots randomly(to simulate online play).
# The higher you set it the more often the numbers of bots playing will change.
bot_total_varies 0
# Bot team balance (0 off, 1 on)
# Turn this on to force the bots to try and keep the teams even.
# Turning this off will let the bots decide for themselves what teams they prefer.
bot_team_balance 0
# Bot to human balance (0 off, 1 on)
# Turn this on to balance the teams in a bot to human ratio (May be buggy)
# Note: This can force human players to change teams.
bot_bot_balance 0
# Bots celebrate xmas (off / on)
bot_xmas off
# bot_allow_moods (0 off, 1 on)
# If this is set to 1 any bots created will be given random personality traits
# and/or moods. Set this to 0 if you want all the bots to have the same personality.
bot_allow_moods 0
# bot_allow_humour (0 off, 1 on)
# When this is set to 1 the bots will be allowed to go crazy occasionally and
# do stuff such as using melee weapons only, or go looking for walls to graffiti.
bot_allow_humour 0
# Seconds before bots join after a map has started (0 - 100)
# This will be overridden if any addbot commands are used in this file.
pause 10
# bot_create_interval (1 - 8)
# Time(measured in seconds) between auto-creating one bot and the next.
# Note: On slower machines and/or early versions of TFC setting this to 1 or 2
# might cause your server to crash(caused by a Half-Life bug).
# If this setting does cause crashing try setting it to 3 or higher.
bot_create_interval 3
# Here you can put addbot commands to create a default set of bots to play with.
# addbot <team> <class> <name> <skill>
# If you do not specify a class the spawned bot will be able to change
# classes when it wants to.
addbot 2 1 Mr.Tom 1
addbot 2 1 Mr.JD 1
addbot 2 2 Mr.Ghey 2
addbot 2 3 Mr.-X- 1
addbot 2 3 Mr.Galt 1
addbot 2 3 Mr.P4r4l4x 1
addbot 2 4 Mr.Dead 1
addbot 2 4 Mr.3vil 1
addbot 2 5 Mr.LoL 1
addbot 2 5 Mr.WSICM 1
addbot 2 5 Mr.3asy 1
addbot 2 6 Mr.Bruno 1
addbot 2 7 Mr.Mani 1
addbot 2 8 Mr.Cali 1
addbot 2 9 Mr.C4sc4 1
addbot 2 9 Ms.Piit 1