Server Configs

Started by Anonymous, October 17, 2007, 11:34:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Anonymous

I have had several PMs from admins recently asking why certain variables will not stay when set from console. The answer is that anything that is set as a variable using the server.cfg file
 will be reset every time the map changes as no matter what an admin may type in from console when the map changes the server.cfg file is read into memory again and the settings are taken from that.

For instance here is the server.cfg filw from Boomer:

Quote// CS Server.cfg Editor v1.1
// )2000-2001 Geronimo

// Counter-Server: Official Counter-Strike Server Admin Resource
// http://server.counter-strike.net

// Instructions
// ----------------
// 1) Create a text file using any text editor, such as Notepad,
// in your cstrike directory
// 2) Save file, rename it to "server.cfg" and then re-open it
// using the same text editor
// 3) Highlight and copy all text on this page, and then
// paste it into your "server.cfg" file
// 4) Save your "server.cfg" file, and viola! You are set to go!

// CS Specific Cvars
hostname "-=[dMw]=- Boomer TCS:S"

// Password Stuff
rcon_password "xxxxxxxx"
sv_password ""
//sv_password "yyyyyyyy"

// no silly money shananigans
mp_dynamicpricing 0

mp_autokick 0
mp_autoteambalance 0
mp_c4timer 35
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 0
mp_freezetime 6
mp_friendlyfire 1
mp_hostagepenalty 5
mp_limitteams 0
mp_roundtime 4
//mp_timelimit 25
mp_tkpunish 0
mp_maxrounds 13
mp_startmoney 5000

// General HL Cvars
decalfrequency 60
sv_allowupload 1
sv_allowdownload 1
sv_cheats 0
sv_maxrate 20000
sv_maxspeed 320
sv_minrate 2000
sv_alltalk 0
sv_region 3
sv_maxupdaterate 100
sv_minupdaterate 50
sv_maxcmdrate 100
sv_mincmdrate 50
fps_max 300

//sv_lan 0

// Banned.cfg
exec banned_user.cfg

sv_region 3

//Voice quality
sv_voicecodec vaudio_speex

//Map downloads
sv_downloadurl "http://www.xxx.com/"

//Bot Stuff
bot_quota 8
bot_difficulty 2
bot_prefix ""
bot_join_after_player 1
bot_quota_mode fill
bot_allow_rogues 0
bot_chatter 3
bot_auto_vacate 1
bot_allow_snipers 0

/// SourceMod stuff
sm_showdamage 0
round_end_on 1
sb_licenseid     zzzzz
sb_licensecode     abcdefghijklmnopqrstuvwxyz
sb_action ar

if an admin overwrites any of these variables from the console they will revert to default values from server.cfg when the map changes!!!!!!!!!!!!

Penfold

Thanks Mike.

Is there a place where I can see the various console commands etc?

Like I asked y ou about the password variable, It would be useful to see t'other ones?

Thanks
PEN

Anonymous