Hi folks, seems a lot of negativity going around, figured I'd post something
that may help a few. And if Valve by some chance haven't already figured out
the problem and are working towards a fix for the problem I outline below,
this just might help them as well.

Below is a server.cfg (with notes added) that I am currently running without
issue on my Public server.
It allows Lobby connections to find the server, regardless of game mode and
the server will load the proper map, game mode and set # of players all
correctly.  Also allows connection to the server via Server Browser.
Players changing the game settings via the Call A Vote function will not
effectively "break the server" if they change it from Versus mode to
Campaign (see Answer below).

Copy and paste the below server.cfg, define the hostname and rcon_password,
set the mapcycle.txt file and you should have a working public server.
I'm not convinced the mapcycle.txt couldn't just be empty, as the server
still loaded a Campaign from a Lobby when the mapname wasn't listed.

Q. How do I setup a server with a specified to Campaign or Versus only?

A. That would be controlled by the cvar director_no_human_zombies (0 =
Versus, 1= Campaign), however currently Lobby connections looking for a
Campaign will connect to Versus servers and change the server settings based
upon the Lobby Game Settings.  However the Lobby Connection does not seem to
change the cvar director_no_human_zombies, which results in the server
running as 4/8 players and AI Infected will not spawn for that campaign.
This can also be broken via the Call A Vote function if Versus is defined in
the server.cfg and Campaign mode is called by vote.

This server.cfg is intended to allow the Lobby Game Settings defined by the
players to control what the server does for them.

Hope this helps some folks.  Good luck.

Sean (Puscifer on Steam)

---------------------------------------------------------------------
// server.cfg

hostname "Left 4 Dead Server"

rcon_password " "  // Defines Rcon password

exec banned_user.cfg
exec banned_ip.cfg

// sv_password " " // Define this if you want to prevent Lobby Connections.
Only thos ewith the password can join with this defined.
// z_difficulty Hard  // Do not enable this unless server is locked from
Lobby Connections or will be micromanaged
// director_no_human_zombies 0  // Do not enable this unless server is
locked from Lobby Connections or will be micromanaged

sv_allow_lobby_connect_only 0  // 0 allows connection via Server Browser
sv_steamgroup " " // Steam Group # is available on the Group Admin page in
Steam Community
sv_steamgroup_exclusive 0  // 1 would restrict server connection to only
your defined Steam Group.

mp_disable_autokick 1  // Player using Take A Break function to go idle they
won't be kicked
sv_cheats 0
sv_consistency 1
sv_contact
sv_downloadurl

sv_voiceenable 1
sv_alltalk 0
sv_voicequality 5
sv_voicecodec vaudio_speex

sv_region 1
sv_maxupdaterate 120
sv_minupdaterate 20
sv_unlag 1
sv_maxunlag .5

sv_log_onefile 0
sv_logbans 1

setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011

---------------------------------------------------------------------
// mapcycle.txt

l4d_vs_farm01_hilltop
l4d_vs_hospital01_apartment
l4d_airport01_greenhouse
l4d_smalltown01_caves
l4d_hospital01_apartment
l4d_farm01_hilltop
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to