Raised This Month: $535 Target: $400

[L4D2] Server can only run Co-op mode!?

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Junior Member
Join Date: Dec 2020
Old 08-28-2021 , 17:33   [L4D2] Server can only run Co-op mode!?
Reply With Quote #1

Hello, I recently bought a L4D2 Server on 4NetPlayers. The server is pretty much working fine and I installed SourceMod, MetaMod and some plugins that I wanna use, however, the server just wont run Versus. I already tried setting "mp_gamemode" to versus (mp_gamemode versus) and "sv_gametypes" to versus (sv_gametypes "versus") but it still doesnt work.

This is my server.cfg : ( Do not tell me to set +map c1m1_hotel versus in the launch-parameter, because I cant access it on 4NetPlayers.)

hostname "youdontneedtoknow" // Hostname bit that won't change.

rcon_password "youdontneedtoknow" // Rcon password, used for remote access mostly.
sv_steamgroup "youdontneedtoknow"
sv_search_key "left4discord"
sv_steamgroup_exclusive "1" // If set, only members of Steam group will be able to join the server when it's empty, public people will be able to join the server only if it has players.
// (Forcing the IP as a non-group member in lobby, or directly connecting always works)

motdfile "mymotd.txt" // This ensures that Valve doesn't overwrite the MoTD every Update. [Edit this file instead of motd.txt, found in the same folder (/left4dead2)]
hostfile "myhost.txt" // This ensures that Valve doesn't overwrite the Hostfile every Update. [Edit this file instead of host.txt, found in the same folder (/left4dead2)]

// What .cfg files to load on Matchmode load (Plugins, nothing else) - Separate with ;
sm_cvar confogl_match_execcfg_plugins "generalfixes.cfg;confogl_plugins.cfg;sharedp lugins.cfg"

// [Other Neat Stuff]
// -----------------------------------------------------------------------
sv_allow_lobby_connect_only "0" // If set to 1, players may only join this server from matchmaking lobby, may not connect directly.

// [File Consistency]
// -----------------------------------------------------------------------
sv_consistency "1" // Whether the server enforces file consistency for critical files.
sv_pure "2" // The server will force all client files to come from Steam and additional files matching the Server.
sv_pure_kick_clients "1" // If set to 1, the server will kick clients with mismatching files.

// [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.

// [Addon Disabler]
// -----------------------------------------------------------------------
// This Setting will disable/enable the Serverside Addon Disabler.
// -1 = use addonconfig.cfg
// 0 = Disable addons.
// 1 = Enable Addons
sm_cvar l4d2_addons_eclipse 0

// [Wait Commands]
sm_cvar sv_allow_wait_command 0

// [Networking, Rates]
// - Rates forced to 100 on Clients, for 100 Tick.
// - When using a different Tickrate, modify settings accordingly:
// 1. Change 100000 to (Tickrate * 1000) for Rate and Splitpacket.
// 2. Change 100 to (Tickrate) for Cmd and Update Rates.
// -----------------------------------------------------------------------
sm_cvar sv_minrate 100000 // Minimum value of rate.
sm_cvar sv_maxrate 100000 // Maximum Value of rate.
sm_cvar sv_minupdaterate 100 // Minimum Value of cl_updaterate.
sm_cvar sv_maxupdaterate 100 // Maximum Value of cl_updaterate.
sm_cvar sv_mincmdrate 100 // Minimum value of cl_cmdrate.
sm_cvar sv_maxcmdrate 100 // Maximum value of cl_cmdrate.
sm_cvar sv_client_min_interp_ratio -1 // Minimum value of cl_interp_ratio.
sm_cvar sv_client_max_interp_ratio 0 // Maximum value of cl_interp_ratio.
sm_cvar nb_update_frequency 0.014 // The lower the value, the more often common infected and witches get updated (Pathing, and state), very CPU Intensive. (0.100 is default)
sm_cvar net_splitpacket_maxrate 50000 // Networking Tweaks.
sm_cvar fps_max 0 // Forces the maximum amount of FPS the CPU has available for the Server.

// Tickrate Fixes
sm_cvar tick_door_speed 1.3

// Slots (This prevents constant resetting of sv_maxplayers on map change)
sm_cvar mv_maxplayers 8

// Some tweaking
sm_cvar mp_autoteambalance 0 // Prevents some shuffling.
sm_cvar sv_unlag_fixstuck 1 // Prevent getting stuck when attempting to "unlag" a player.
sm_cvar z_brawl_chance 0 // Common Infected won't randomly fight eachother.
sm_cvar sv_maxunlag 1 // Maximum amount of seconds to "unlag", go back in time.
sm_cvar sv_forcepreload 1 // Pre-loading is always a good thing, force pre-loading on all clients.
sm_cvar sv_client_predict 1 // This is already set on clients, but force them to predict.
sm_cvar sv_client_cmdrate_difference 0 // Remove the clamp.
sm_cvar sv_max_queries_sec_global 10
sm_cvar sv_max_queries_sec 3
sm_cvar sv_max_queries_window 10
sm_cvar sv_player_stuck_tolerance 5
sm_cvar sv_stats 0 // Don't need these.
sv_gametypes "versus"
mp_gamemode versus
sm_cvar sv_clockcorrection_msecs 25 // This one makes laggy players have less of an advantage regarding hitbox (as the server normally compensates for 60msec, lowering it below 15 will make some players appear stuttery)
RichardHafer is offline
Senior Member
Join Date: Oct 2005
Old 08-28-2021 , 18:06   Re: [L4D2] Server can only run Co-op mode!?
Reply With Quote #2

Have you tried creating a lobby, selecting the options for the game and then joining your server?

Go to steam / library and right click L4D2 and do a properties
at the bottom under General / LAUNCH OPTIONS
add the force server parm to force the lobby to connect to your server.
Set the IP and port to match your server.

for example
Then run L4D2, create a lobby with the type of game you want and then go.

The lobby will NOT connect to the server and it will not give you any error message
if anyone is already on the server

You have to kick everone off before connecting with the lobby.

Last edited by Austin; 08-28-2021 at 18:47.
Austin is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 15:41.

Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Theme made by Freecode