PDA

View Full Version : Setting L4D Versus up properly



Calnai
06-02-2009, 22:36
Has anyone got any advice/cfg's on how to get a proper L4d Server running in vs mode.

I have little interest in SourceMods, MetaMods, Modsfantastic and all that. I just want a simple 4v4 Vs server running which we can practice CAL/CB matches on.


As it stands this is my server.cfg


// server name
hostname "Enigma-Gaming// eG#.L4D "

// rcon passsword
rcon_password "*******"

// Server password
sv_password ""

//allow non-lobby people to join
sv_allow_lobby_connect_only 0

//Unreserve slots, aka fix the dumbass hibernating bug
sv_unreserve

//Set the difficulty of your server
z_difficulty normal

sv_alltalk 0
sv_pausable 0
sv_cheats 0
sv_consistency 0
sv_voiceenable 1

// Misc Commands
sv_visiblemaxplayers 8
mp_disable_autokick 1

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

// operation
sv_lan 0
sv_region 3

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

//Fix to get your server onto the master lists
setmaster enable
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011

//this is your groups steam group id.. allows members to join from main menu add
sv_steamgroup 734547
sv_steamgroup_exclusive 0

// Director Settings

director_no_human_zombies 0

Mapcycle.txt


l4d_vs_hospital01_apartment
l4d_vs_farm01_hilltop

Maplist.txt


l4d_vs_hospital01_apartment
l4d_vs_hospital02_subway
l4d_vs_hospital03_sewers
l4d_vs_hospital04_interior
l4d_vs_hospital05_rooftop
l4d_vs_farm01_hilltop
l4d_vs_farm02_traintunnel
l4d_vs_farm03_bridge
l4d_vs_farm04_barn
l4d_vs_farm05_cornfield


MissionCycle.txt


hospital_vs
farm_vs

I have moved all the none VS maps into another folder called "Coop Maps" yet after a reboot or two the maps return to their original locations - this seems to be a generalised issue so im not expecting a fix for that.

However i merely want a L4D server which will allow people to connect and play. With a lobby enabled for prematch planning and team selection. At the moment i can get it working, however the lobby doesnt work - it just takes you straight ingame and when leaving the server alone for 10 mins it goes back into co-op mode.

It will also default to Coop after a server reboot.

I have heard many rumors of the command line editor, however using the "start map" changer in the CTRL panel seems to make little difference.

What am i doing wrong here guys

Help appreciated.

Rob.

Berch
06-02-2009, 23:10
As far as I know you cant have a 'Versus' only server.

Now I could be wrong but I've heard many people asking same questions on forums and always seen the same response the lobby controls the server so if people setup a co-op game and the lobby chooses your server as the dedicated server to use it will setup your server for their settings they chose in lobby in this case it being co-op.

I think I saw a Sourcemod addon which would take players back to the lobby if a co-op game was started theirfore making it a 'versus only' server in the sence that a co-op game couldn't be started because the addon would take them back to the lobby.

But other than this I've not seen and CFG or anything to make your server versus only.

Hope this helps.

Regards,
Berch

Calnai
06-02-2009, 23:51
Ah, that could explain the random map changes to coop then.

Cheers

Calnai
07-02-2009, 15:28
Still going bananas'
Now when it has 4/8 on a vs map it wont allow anyone else to join, claiming the servers full.

johnnyx
08-02-2009, 15:48
http://www.left4dead411.com/forums/index.php?action=vthread&forum=9&topic=8755

Bit complicated but works very well.

Calnai
08-02-2009, 16:11
Tried that, doesnt work sadly =<

acidpython
11-02-2009, 06:52
http://www.left4dead411.com/forums/index.php?action=vthread&forum=9&topic=8755

Bit complicated but works very well.

Same, the guide also has out of date links unfortunatly.
Have you tried this?
http://forums.alliedmods.net/showthread.php?p=755497

However I found the best way is to simply enable sv_search_key and setup everything you want from the lobby. Public players aren't hard to find and usually server fills up nicely