Left 4 Dead 2

Left 4 Dead 2

View Stats:
how do I create a dedicated server that is versus
A few days ago I downloaded left 4 dead 2 dedicated server that appears in tools, but I can only create games in the campaign, I would like to know what I should do or download, to create a dedicated server that is versus
Originally posted by Blaquicat:
Originally posted by Three Point Five:
@[<o>] Blaquicat
Runs a Versus Server, he will help you.
Always around to help..
:boomer:
< >
Showing 1-15 of 25 comments
White Temple Dec 19, 2017 @ 5:25pm 
add these lines to your server.cfg

mp_gamemode "versus"
sv_gametypes "versus"

Research server.cfg, there is a lot you can configure.

You are better off NOT using the L4D2 Server from the tools Library.
If you are able install your server on an old computer you have at the house.
https://steamcommunity.com/sharedfiles/filedetails/?id=276173458
White Temple Dec 19, 2017 @ 5:31pm 
@[<o>] Blaquicat
Runs a Versus Server, he will help you.
URaName (Banned) Dec 19, 2017 @ 5:44pm 
Climb in the bath tub and then have some one throw the computer in with you.

ppl r mean on vs
Last edited by URaName; Dec 19, 2017 @ 5:45pm
Originally posted by Three Point Five:
add these lines to your server.cfg

mp_gamemode "versus"
sv_gametypes "versus"

Research server.cfg, there is a lot you can configure.

You are better off NOT using the L4D2 Server from the tools Library.
If you are able install your server on an old computer you have at the house.
https://steamcommunity.com/sharedfiles/filedetails/?id=276173458
Friend, thanks for your help but I already downloaded it from tools and not from steamCMD which is a tutorial for configuring windows 7 and mine is windows 10. What I would like to know is if you know how to open the "srcds" icon but in CMD format. Thanks for your help
White Temple Dec 20, 2017 @ 9:20am 
Originally posted by Sadgasm:
Originally posted by Three Point Five:
add these lines to your server.cfg

mp_gamemode "versus"
sv_gametypes "versus"

Research server.cfg, there is a lot you can configure.

You are better off NOT using the L4D2 Server from the tools Library.
If you are able install your server on an old computer you have at the house.
https://steamcommunity.com/sharedfiles/filedetails/?id=276173458
Friend, thanks for your help but I already downloaded it from tools and not from steamCMD which is a tutorial for configuring windows 7 and mine is windows 10. What I would like to know is if you know how to open the "srcds" icon but in CMD format. Thanks for your help
The tutorial works for both Windows 7 and Windows 10 it makes no difference.
When you use the scrds there will be a console tab that you can use.
See image.
http://i46.tinypic.com/34pgf47.jpg
Blaquicat Dec 20, 2017 @ 10:56am 
You dont need mp_gamemode, this cvar (as all other mp_) is only based on the current game, a map change or an lobby can easily change that, you need to block those first.

You will need sv_gametypes "versus", this allow lobbies to start on your server, only versus lobbies.
To make the server also start as a versus, just add VERSUS after a map command.

srcds.exe -game left4dead2 +sv_lan 0 -port 27015 +sv_gametypes "VERSUS" +map "c1m1_hotel" versus -console
Something like this.
Last edited by Blaquicat; Dec 20, 2017 @ 10:58am
The author of this topic has marked a post as the answer to their question.
Blaquicat Dec 20, 2017 @ 11:00am 
Originally posted by Three Point Five:
@[<o>] Blaquicat
Runs a Versus Server, he will help you.
Always around to help..
:boomer:
Originally posted by <o> Blaquicat:
Originally posted by Three Point Five:
@[<o>] Blaquicat
Runs a Versus Server, he will help you.
Always around to help..
:boomer:
Now I'm in "Server.cfg" in that steam guide says I must create one, well you already believe it and put it where it says and put "exec server.cfg" to run and it does not, and probe many ways and you do not want to read it I get "could not exec server.cfg" or maybe it is not writing well something in the cfg file. Your friend says in your comment that you have a server versus, please can you pass me your cfg file? thanks for helping
Blaquicat Dec 20, 2017 @ 12:40pm 
Originally posted by Sadgasm:
Originally posted by <o> Blaquicat:
Always around to help..
:boomer:
Now I'm in "Server.cfg" in that steam guide says I must create one, well you already believe it and put it where it says and put "exec server.cfg" to run and it does not, and probe many ways and you do not want to read it I get "could not exec server.cfg" or maybe it is not writing well something in the cfg file. Your friend says in your comment that you have a server versus, please can you pass me your cfg file? thanks for helping
You don't need "+exec server.cfg" in most cases.

If the file is on the right folder (meaning ServerFolder\left4dead2\cfg\server.cfg ) it will auto-execute every time the server loads (including map changes)
I'm not sure, but i think this file is auto-generated when you download your server.
Originally posted by <o> Blaquicat:
Originally posted by Sadgasm:
Now I'm in "Server.cfg" in that steam guide says I must create one, well you already believe it and put it where it says and put "exec server.cfg" to run and it does not, and probe many ways and you do not want to read it I get "could not exec server.cfg" or maybe it is not writing well something in the cfg file. Your friend says in your comment that you have a server versus, please can you pass me your cfg file? thanks for helping
You don't need "+exec server.cfg" in most cases.

If the file is on the right folder (meaning ServerFolder\left4dead2\cfg\server.cfg ) it will auto-execute every time the server loads (including map changes)
I'm not sure, but i think this file is auto-generated when you download your server.
Hello, I still have problems with the file "server.cfg" which when starting I get in console that "could not exec server.cfg" there is no way I read it, I do not know what it is, maybe it's that download left 4 dead 2 dedicated server from tools and not from steamCMD but still the files are the same at the end of the download, in the end I do not know what the problem will be xD.
Blaquicat Dec 21, 2017 @ 8:32am 
Well, you can always validate the files just like a game, even with steamcmd is possible.
Anyways can you post the full path where you server is ? And where exactly did you put server.cfg?

It could have problems with location of the .cfg or permission denied to the file..
JTM Dec 21, 2017 @ 9:53am 
Blank out the passwords and post the contents of your server.cfg file

Post the exact path you have put in server.cfg file into. It doesn't go into your Client cfg folder it goes into the cfg folder that belongs to your server folder structure.
Originally posted by <o> Blaquicat:
Well, you can always validate the files just like a game, even with steamcmd is possible.
Anyways can you post the full path where you server is ? And where exactly did you put server.cfg?

It could have problems with location of the .cfg or permission denied to the file..
I put it in C: / steam / steamapps / common / left4dead2dedicatedserver / left4dead2 / cfg / "server.cfg" good as long as it's inside cfg C: / steam / steamapps / common / left4dead2 / left4dead2 / cfg / "server.cfg" I also put it there to see if it would serve then delete it and leave it l4d2dedicated server and viceseversamente, I already know too many ways and I think the error is to download from tools and not from CMD but at the end of the download the files turn out to be the same and I think it would not be that either, I really have no idea of the problem. I also put the file "server.cfg" in cfg format to read it and nothing, in the end I think there is no way


Originally posted by Aloha:
Blank out the passwords and post the contents of your server.cfg file

Post the exact path you have put in server.cfg file into. It doesn't go into your Client cfg folder it goes into the cfg folder that belongs to your server folder structure.
hostname "HAZEL"
rcon_password yourpass

// This states how players should contact you
alamierdalodemas007@gmail.com

// # of rounds to play (versus)
mp_roundlimit 2

// Use a search key to find the server in the lobby
//sv_search_key ""
//sv_tags ""

// STEAM GROUP
sv_steamgroup GROUPIDHERE

//FRIENDLY FIRE 1=ON 0=OFF
sm_cvar survivor_friendly_fire_factor_easy 1
sm_cvar survivor_friendly_fire_factor_expert 1
sm_cvar survivor_friendly_fire_factor_hard 1
sm_cvar survivor_friendly_fire_factor_normal 1

// CHEAT/CONFIG
sv_lan 0
sv_cheats 0
sv_consistency 1
sv_maxcmdrate 101
sv_maxrate 30000

//MOTD
motd_enabled 1

//GAME MODE
sv_gametypes "coop, versus, mutation"
sm_cvar mp_gamemode coop

//DIFFICULTY
z_difficulty Impossible

//LOBBY CONNECT
sv_allow_lobby_connect_only 0

//BEBOP
//l4d_maxplayers "8"
//sv_maxplayers "8"
//sm_cvar l4d_maxplayers "8"
//sv_visiblemaxplayers "-1"
//sm_cvar l4d_survivor_limit "8"
//sm_cvar sv_removehumanlimit "1"

//Game Settings

mp_disable_autokick 1 //(command)prevents a userid from being auto-kicked (Usage mp_diable_autokick )
sv_allow_wait_command 0 //default 1; Allow or disalow the wait command on clients connected to this server.
sv_alternateticks 0 //defulat 0; (singleplayer)If set, server only simulates entities on even numbered ticks.
sv_clearhinthistory 0 //(command)Clear memory of server side hint displayed to the player.
sv_consistency 0 //default 1; Whether the server enforces file consistency for critical files
sv_pausable 0 //default 0; is the server pausable
sv_forcepreload 1 //default 0; Force server side preloading
sv_pure_kick_clients 0 //default 1; If set to 1, the server will kick clients with mismatchng files. Otherwise, it will issue a warning to the client.
sv_pure 0 //If set to 1, server will force all client files execpt whitelisted ones (in pure_server_whitelist.txt) to match server's files.
//If set to 2, the server will force all clietn files to come from steam and not load pure_server_whilelist.txt. Set to 0 for disabled.

// Communication

sv_voiceenable 1 //default 1; enable/disable voice comm
sv_alltalk 1 //default 0; Players can hear all other players' voice communication, no team restrictions

// Logging
log on //Creates a logfile (on | off)
sv_logecho 0 //default 0; Echo log information to the console.
sv_logfile 1 //default 1; Log server information in the log file.
sv_log_onefile 0 //default 0; Log server information to only one file.
sv_logbans 1 //default 0;Log server bans in the server logs.
sv_logflush 0 //default 0; Flush the log files to disk on each write (slow).
sv_logsdir logs //Folder in the game directory where server logs will be stored.

// Bans
// execute banned.cfgs at server start. Optimally at launch commandline.
exec banned_user.cfg //loads banned users' ids
exec banned_ip.cfg //loads banned users' ips
writeip // Save the ban list to banned_ip.cfg.
writeid // Wrties a list of permanently-banned user IDs to banned_user.cfg.

//Network Tweaks - Increase network performance

rate 10000 //default 10000; Max bytes/sec the host can recieve data
sv_minrate 15000 //default "5000"; Min bandwidth rate allowed on server, 0 = unlimited
sv_maxrate 30000 //default "0"; Max bandwidth rate allowed on server, 0 = unlimited
sv_mincmdrate 20 //default 0; This sets the minimum value for cl_cmdrate. 0 = unlimited [cevo=67]
sv_maxcmdrate 33 //default 40; (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate. [cevo=101]



The main problem I think is that you do not want to run the server.cfg file and I do not understand why you do not want to run it or recognize the server.cfg file is as if it did not exist, because I tried to remove server.cfg from the cfp file, because the same thing could come out "could not exec server" that is to say that for more than this the file or not inside the cfg folder I always get the same thing
Last edited by DOTA=ALGORITMO DE MRDA; Dec 21, 2017 @ 2:11pm
JTM Dec 21, 2017 @ 2:12pm 
The file looks fine to me. The only error I see is that you have sv_consistency 1 in one area
and sv_consistency 0 in another.

"The main problem I think is that you do not want to run the server.cfg file and I do not understand why you do not want to run it"

I never said that. Of course you want the server to run server.cfg.
< >
Showing 1-15 of 25 comments
Per page: 1530 50

Date Posted: Dec 19, 2017 @ 5:08pm
Posts: 25