SRCDS Steam group


[SOLVED] Complete server.cfg Left 4 Dead
#1
Somebody have one complete server.cfg (all the vars more used)
One complete SERVER.CFG with much vars what play OK in L4D...

Can post it here and share it with us?

Thanks!
Reply
#2
Generaly you don't need most the cvars. Most of them are cheats or debug tools.
This what I use to our servers, with a few changes for the versus servers. And even some of this is un-needed.

NOTE: If you want to set a difficulty, do it in autoexec.cfg, NOT config.cfg. Because if a lobby connects on say expert, but your server has normal in config.cfg, they will play the first map on expert and then the config.cfg will be re-run by the server and it will change them down to normal for the second map.

Also note: cvars and config files are not platform specific, so srcds Windows is really the wrong place for this, srcds General would have been better.

Edit: I just read in another thread that the fixed tick rate is 30, not 60 as I thought. So the rates are a bit higher than they need be in this config.
Edit2: sv_clearhinthistory removed from config, it's not actualy a cvar, see my reply lower down for description: http://forums.srcds.com/viewpost/63339#pid63339

Code:
// --mOGaming Left 4 Dead Co-Op Config File-- //

//////////////////////////////////////////////////////////////////////////////////////////////////////

// Server

hostname "mOGaming - L4D Co-Op Server"
sv_password ""
sv_allow_lobby_connect_only 0
sv_steamgroup 415582
sv_steamgroup_exclusive 0
sv_search_key "mogaming"
sv_tags "mo#"
sv_gametypes "coop"
rcon_password "****"

//////////////////////////////////////////////////////////////////////////////////////////////////////

// General Play

motd_enabled 0
mp_disable_autokick 1    
sv_allow_wait_command 0
sv_alltalk 0
sv_alternateticks 0
sv_cheats 0
sv_consistency 1
sv_contact ""
sv_downloadurl ""
sv_pausable 0

//////////////////////////////////////////////////////////////////////////////////////////////////////
// - Network - //
sv_lan 0
sv_region 255

// Rate settings

// Min bandwidth rate allowed on server
sv_minrate 20000
// Max bandwidth rate allowed on server
sv_maxrate 30000
// Minimum cmd rate (match server tickrate)
//sv_mincmdrate 33
// Minimum cmd rate (match server tickrate)
//sv_maxcmdrate 67

//////////////////////////////////////////////////////////////////////////////////////////////////////

// Server Logging

sv_log_onefile 0 //Log server information to only one file.
sv_logbans 1 //Log server bans in the server logs.
sv_logecho 0 //Echo log information to the console.
sv_logfile 1 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir "logs" //Folder in the game directory where server logs will be stored.
mOGaming - Multi-game community
Reply
#3
Nice and ordered file!

Thanks for share it!
Reply
#4
Xander may I ask you to do something?

Can you make a description of what these those:
Code:
sv_allow_lobby_connect_only 0
sv_steamgroup 415582
sv_steamgroup_exclusive 0
sv_search_key "mogaming"
sv_tags "mo#"
sv_gametypes "coop"
Reply
#5
Code:
sv_allow_lobby_connect_only 0                    //Controls if people can connect via ip or not
sv_steamgroup 415582                              // The group that this server is bound to
sv_steamgroup_exclusive 0                         // Only members from group above may join
sv_search_key "mogaming"                       // What people enter in to search for the server
sv_tags "mo#"                                     // Tags (What mods and stuff)
sv_gametypes "coop"                           // What type of server
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#6
Thanks, Pengy Smile
Reply
#7
ya, the only problem is i couldnt press tab so i had to use spaces
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#8
Yeah on the forums right?
Reply
#9
Ya, didn't copy and paste
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply
#10
Okay.

It will be in the Smart Installer program.

I will released a new version with some fixes: Version 1.2.1.

Do you have a server.cfg for GarrysMod? Smile
Reply
#11
I can't understand the meaning of sv_clearhinthistory and sv_logecho.
I have read the description of the variable but i can't understand.

Thanks!
Reply
#12
realchamp Wrote:Do you have a server.cfg for GarrysMod? Smile

I have a copy of someone elses they posted on the forum a while ago, but never got round to making a garrys mod server as our main dedi's full and also the only windows box we have (GMOD currently doesn't have linux binaries).

This contains only a few of the cvars, non of the limitation variables, but I imagine the command to echo all cvars works in garrysmod like anyother source engine. Hope this helps some what:
Code:
// Shell Shock Default Server Config
hostname "Shell Shock GMOD Server"

rcon_password ""
sv_password ""

// Shell Shock Variables
ss_playerspeed 260    // Default player runspeed
sv_maxspeed 260
ss_shotgun_maxclip 8  // Number of bullets in a shotgun clip
ss_respawn_time 1   // Delay before respawn time (seconds)
sv_hl2mp_weapon_respawn_time 30  // Weapon/ammo/entity respawn delay (seconds)
// ss_shotgun_single_damage 30 // Single barrel shotgun damage; default = 30
// ss_shotgun_double_damage 50 // Double barrel shotgun damage; default = 50

// Shell Shock Spawn Player Variables
ss_gravitygun 1    // 1=players spawn with gravity gun, 0=do not
ss_melee 1    // 1=players spawn with crowbar/stunstick, 0=do not
ss_pistol 1    // 1=players spawn with pistol, 0=do not
ss_shotgun 1    // 1=players spawn with shotgun, 0=do not
ss_rpg 0    // 1=players spawn with rpg rocket, 0=do not
ss_357 0    // 1=players spawn with magnum, 0=do not
ss_frag 1    // 1=players spawn with frag grenade, 0=do not
ss_smg 1    // 1=players spawn with smg1, 0=do not
ss_ar2 0    // 1=players spawn with ar2 machine gun, 0=do not
ss_crossbow 0    // 1=players spawn with crossbow, 0=do not
ss_slam 0    // 1=players spawn with slam satchels, 0=do not

// Multiplayer Variables
decalfrequency 5
mp_chattime 8      // Scoreboard time at end of map
mp_friendlyfire 0  // Friendly Fire OFF
mp_timelimit 0    // Timelimit
mp_fraglimit 50    // Fraglimit
mp_flashlight 0    // Flashlight disabled (reduces lag)
mp_footsteps 1     // Enable footstep sounds

// Logging
log on        // enable logging
mp_logfile 1  // log to separate files
sv_logbans 1  // log bans

// Server Settings
sv_cheats 0         // disable cheats
sv_gravity 550      // default gravity = 600, 550 reccommended
sv_allowdownload 1  // allow clients to download maps, etc
sv_allowupload 1    // allow client sprays
sv_maxrate 25000    // max client rate
sv_minrate 3500     // minimum client rate (below 3500 creates client warping effect)
net_maxfilesize 24  // up to 24meg maps allowed

// load ban files
exec listip.cfg
exec banned.cfg
writeid
writeip
mOGaming - Multi-game community
Reply
#13
greatmamut Wrote:I can't understand the meaning of sv_clearhinthistory and sv_logecho.
I have read the description of the variable but i can't understand.

Thanks!

sv_clearhinthistory is actualy a command to to clear hint history, those little hints the game gives you to help you out when your new. If you clear them, then its like the first time playing. This includes that description of how to play the different infected classes you get first time you play one, and the like. So um... yeah that souldn't be in as a cvar, sorry guys Toungue

sv_logecho weilds a simular result as using "Get Log" in HLSD, in that it echos all information it logs, such as damage and spawns, to console. Default value is 1, giving you lots of information in you console about your players, but I turn it off just to keep it tidy.
mOGaming - Multi-game community
Reply
#14
Xander Wrote:
greatmamut Wrote:I can't understand the meaning of sv_clearhinthistory and sv_logecho.
I have read the description of the variable but i can't understand.

Thanks!

sv_clearhinthistory is actualy a command to to clear hint history, those little hints the game gives you to help you out when your new. If you clear them, then its like the first time playing. This includes that description of how to play the different infected classes you get first time you play one, and the like. So um... yeah that souldn't be in as a cvar, sorry guys Toungue

sv_logecho weilds a simular result as using "Get Log" in HLSD, in that it echos all information it logs, such as damage and spawns, to console. Default value is 1, giving you lots of information in you console about your players, but I turn it off just to keep it tidy.


You are one great master!!!
Your explanation is VERY clear!!!
Big Grin

Thanks!!!
Reply
#15
Xander Wrote:sv_logecho weilds a simular result as using "Get Log" in HLSD
Do you mean HLSW?
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)