SRCDS Steam group


Bots only work with one specific server.cfg file
#1
Since my default srcds installation didn't had a server.cfg file, I went searching for a default one. After some searching I found this:

Code:
// Use this file to configure your DEDICATED server.
// This config file is executed on server start.

[color=orange]// Execute Mani Admin Plugin
exec mani_server.cfg[/color]

// RCON-Passwort:
rcon_password password

// default server name. Change to "Bob's Server", etc.
hostname "hostname"

// maximum client movement speed
sv_maxspeed 320

// 20 minute timelimit
mp_timelimit 20

sv_cheats 0

log on

//Bots
//bot_quota 0 // Bots aus
bot_quota 1 // Bots an, Slots werden aber für "reale" User freigegeben
//bot_quota 3 // Bots an, es werden keine Slots freigegeben

bot_difficulty 1  // Skill der Bots (0=easy, 1=normal, 2=hard, 3=expert)

bot_chatter off // toggelt ob die Bots chatten oder nicht (on / off)

The orange part was added by me since I'm running Mani Admin Plugin. The comments at the 'Bots' part also don't seem correct to me (although I only know a little bit of the German language), but that ain't important I guess.

With this server.cfg file my srcds box successfully created a bot when I joined a game. Now I wanted to use a server.cfg file which was created using the cfgmaker on this website: http://www.cstrike-planet.com/cfgmaker?cfg=srcds.

Code:
// server name
hostname "[i]hostname[/i]"

[color=orange]// Execute Mani Admin Plugin
exec mani_server.cfg[/color]

// rcon passsword
rcon_password "[i]password[/i]"

// Server password
sv_password "[i]password[/i]"

// server cvars
mp_friendlyfire 0
mp_footsteps 1
mp_autoteambalance 1
mp_autokick 0
mp_flashlight 1
mp_tkpunish 1
mp_forcecamera 0
sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 1
sv_allowupload 1
sv_allowdownload 1
sv_maxspeed 320
mp_limitteams 2
mp_hostagepenalty 5
sv_voiceenable 1
mp_allowspectators 1
mp_chattime 10
sv_timeout 120

// round specific cvars
mp_freezetime 6
mp_roundtime 5
mp_startmoney 800
mp_c4timer 45
mp_fraglimit 0
mp_maxrounds 0
mp_winlimit 0
mp_playerid 0
mp_spawnprotectiontime 5
mp_timelimit 20

// bandwidth rates/settings
sv_minrate 4000
sv_maxrate 8000
decalfrequency 60
sv_maxupdaterate 60
sv_minupdaterate 10

// server logging
log off
sv_logbans 0
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// bots
bot_add
bot_quota 6
bot_quota_mode fill
bot_difficulty 1
bot_chatter radio
bot_auto_follow 1
bot_auto_vacate 1
bot_join_after_player 1
bot_defer_to_human 0
bot_allow_rogues 0
bot_walk 0
bot_join_team any
bot_eco_limit 2000
bot_allow_grenades 1
bot_all_weapons
bot_allow_grenades 1
bot_allow_pistols 1
bot_allow_sub_machine_guns 1
bot_allow_shotguns 1
bot_allow_rifles 1
bot_allow_snipers 1
bot_allow_machine_guns 1

// operation
sv_lan 0
sv_region 3
sv_contact [i]email[/i]

// execute ban files
exec banned_user.cfg
exec banned_ip.cfg

This server.cfg won't create any bots, although everything about the bots is configured. If I replace this 'bot-part' with the one from the first server.cfg that did work, it still won't work. Creating a seperate bot.cfg and executing it in server.cfg won't work either.

Does anybody has any tips concerning this issue? Not a single server.cfg file I found would make the bots work, except for the first. I didn't found any further information about this either.
May the Source be with you...

Want to know which ports to forward on your router for a Source DS? Click here!
Reply
#2
hmmm,

try commenting the line for bot_add and one of the bot_allow_grenades 1(you have two of them). Also change bot_join_after_player from 1 to 0.
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#3
I tried commenting the add_bot line before, but that didn't make it work. Now I did it again together with the other tips you gave me, but it didn't work Sad.
May the Source be with you...

Want to know which ports to forward on your router for a Source DS? Click here!
Reply
#4
heres the bot section of my server.cfg. this works for me.

use however you like
Code:
//bot_chatter: off / radio / minimal / normal
//Controls how often the bots use their radios.
bot_chatter normal

//bot_defer_to_human: 0/1
//Set to 0 to let bots complete map objectives.
bot_defer_to_human 0

//bot_difficulty: 0/1/2/3
//0 is Easy, 1 is Normal, 2 is Hard, & 3 is Expert. You must set this cvar before you add the bots.
bot_difficulty 3

//bot_join_after_player: 0/1
//Bots wait for a human to join before joining. Set to 0 to allow bots to play without humans.
bot_join_after_player 0

//bot_join_team: any / CT / T
//Add bot(s) to a specific team.
bot_join_team any

//bot_add
//Adds a bot to whichever team has fewer players

//bot_add_ct
//Adds a Counter-Terrorist bot

//bot_add_t
//Adds a Terrorist bot

//bot_kick
//Kicks the specified bot, or all bots if no name is given

//bot_kill
//Kills the specified bot, or all bots if no name is given

//bot_prefix: "string"
//Defines a Prefix for all bot's names.
bot_prefix "EFH"

//bot_quota
//Set to # of bots allowed on server
bot_quota 6

//bot_quota_mode normal / fill
//Determines the type of quota. Allowed values: 'normal' and 'fill'. If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
bot_quota_mode fill

//bot_auto_vacate
//If nonzero, bots will automatically leave to make room for human players.
bot_auto_vacate 1

//bot_auto_follow
//If nonzero, bots with high co-op may automatically follow a nearby human player.
bot_auto_follow 1

//bot_memory_usage
//Reports on the bots' memory usage

//bot_allow_rouges 0 / 1
//If nonzero, bots may occasionally go 'rogue'. Rogue bots do not obey radio commands, nor pursue scenario goals.
bot_allow_rouges 1

//bot_eco_limit
//If nonzero, bots will not buy if their money falls below this amount.
bot_eco_limit 2500

bot_all_weapons
//Allows the bots to use all weapons

//bot_knives_only
//Restricts the bots to only using knives

//bot_pistols_only
//Restricts the bots to only using pistols

//bot_snipers_only
//Restricts the bots to only using sniper rifles

bot_allow_grenades 1
bot_allow_machine_guns 1
bot_allow_pistols 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_snipers 1
bot_allow_sub_machine_guns 1
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#5
Thanks a bunch, but I can't test it. When I start my server I can't add it to my favorites any more, it just won't appear Sad.

/edit: Solved, I still had an (experimental) hl2dm server running.

Your bot cvars work!!! Thanks a million! Cool
May the Source be with you...

Want to know which ports to forward on your router for a Source DS? Click here!
Reply
#6
On the Steam forums I got the advise to put the 'bot_quota' line at the end of the cvars for the bots, and it works. So probably this was the specific cause for the problem.
May the Source be with you...

Want to know which ports to forward on your router for a Source DS? Click here!
Reply
#7
this didnt work on my clarkconnect 3 box Sad
Reply
#8
ladybulf Wrote:this didnt work on my clarkconnect 3 box Sad

what didn't work? any error messages?
United Strike Marine Corps
USMC-CO| θ (theta)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)