Hey guys, this update also made my server unstable. Getting this error on server crash:
CLagCompensationManager::StartLagCompensation with NULL CUserCmd!!!
My server.cfg as follows:
Code:
/////////////////////////
//Server info
motd_enabled 0
sm_cvar mp_gamemode versus // Default (coop) change this to the mode you want.
sm_cvar sb_all_bot_game 1
sm_cvar vs_max_team_switches 1
sm_cvar versus_tank_chance 1
sm_cvar versus_tank_chance_finale 1
sm_cvar versus_tank_chance_intro 1
sm_cvar director_tank_force_offer 1
sm_cvar tank_stuck_time_suicide 99999999999
tank_stuck_failsafe 0
sm_cvar director_tank_lottery_selection_time "1"
sm_cvar sv_disable_glow_faritems 1
sm_cvar sv_disable_glow_survivors 1
sm_cvar z_witch_damage "100"
sm_cvar z_witch_damage_per_kill_hit "60"
sm_cvar z_witch_flashlight_range "1100"
sm_cvar z_witch_health "6500"
sm_cvar z_witch_personal_space "400"
sm_cvar z_witch_speed "500"
sm_cvar z_witch_threat_hostile_range "700"
sm_cvar z_witch_threat_normal_range "600"
//////////max 17 min 11 (20 and 30)
sm_cvar z_ghost_delay_max 17
sm_cvar z_ghost_delay_min 11
/////////////////////////
//Internet, region, lobby setup
hostport 27015
sv_lan 0
sv_region 255
sv_allow_lobby_connect_only 0
sv_steamgroup " "
sv_steamgroup_exclusive 0
/////////////////////////
//Game Settings
mp_disable_autokick 1
sv_allow_wait_command 0 //default 1; Allow or disalow the wait command on clients connected to this server.
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_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 0 //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 0 //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.
// Put writeip/wrtieid commands in the bottom of server.cfg AFTER banned.cfgs have loaded.
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.
/////////////////////////
//Master server - "setmaster" - enable/disable master servers.
//Usage: setmaster
/////////////////////////
//Network Tweaks - Increase network performance
sm_cvar sv_minrate 100000 // Minimum value of rate.
sm_cvar sv_maxrate 100000 // Maximum Value of rate. 60000 for 60 tickrate
sm_cvar sv_mincmdrate 100 // Minimum value of cl_cmdrate.
sm_cvar sv_maxcmdrate 100 // Maximum value of cl_cmdrate. 60 for 60 tickrate
sm_cvar sv_minupdaterate 100 // Minimum Value of cl_updaterate.
sm_cvar sv_maxupdaterate 100 // Maximum Value of cl_updaterate.
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
sv_client_interpolate 1
sm_cvar net_splitpacket_maxrate 50000
sm_cvar net_maxcleartime 0.001
sm_cvar sv_maxunlag 1 // Maximum amount of seconds to "unlag", go back in time.
sm_cvar net_compresspackets 1
sm_cvar net_earliertempents 1
sm_cvar sv_parallel_sendsnapshot 1
sm_cvar sv_enable_delta_packing 1
sm_cvar net_minroutable 1000
sm_cvar sv_client_predict 1
sm_cvar sv_client_cmdrate_difference 0
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
// Tickrate Fixes
sm_cvar tick_door_speed 1.3
// Slots (This prevents constant resetting of sv_maxplayers on map change)
sm_cvar mv_maxplayers 30
//Ragdolls /Props
sm_cvar phys_enable_experimental_optimizations 1
//CPU Tweaks
sm_cvar fps_max 0
sm_cvar host_framerate 0
sm_cvar host_syncfps 0
sm_cvar pvs_min_player_distance 1
sm_cvar sv_alternateticks 1
sm_cvar sv_force_transmit_ents 0
sm_cvar sv_force_transmit_players 0
sm_cvar sv_forcepreload 1
sm_cvar sv_stats 0
sm_cvar sv_parallel_packentities 1
//Experimental Async / MultiThreading
sm_cvar occlusion_test_async 1
sm_cvar host_threaded_sound 1
sm_cvar host_thread_mode 2
sm_cvar sv_threaded_init 1
sm_cvar mod_load_anims_async 1
sm_cvar mod_load_mesh_async 1
sm_cvar mod_load_vcollide_async 1
sm_cvar vprof_server_thread 1
sm_cvar g_ai_threadedgraphbuild 1
sm_cvar net_queued_packet_thread 1
sm_cvar net_splitrate 2
//Testing Cvars
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 chestbump_patch_enabled 1 // Fixes (most) Chestbumps from Chargers.
sm_cvar z_brawl_chance 0 // Common Infected won't randomly fight eachother.
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)
sv_maxplayers 10
sv_removehumanlimit 1
sv_force_unreserved 1