Raised This Month: $27 Target: $400
 6% 

Solved [L4D2] About server FPS descent


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MoRanYue
Member
Join Date: Dec 2024
Location: Fuzhou, Fujian, China
Old 03-23-2025 , 11:36   [L4D2] About server FPS descent
Reply With Quote #1

My server's FPS always gets down to under 100 or even 10, I don't know how to solve or suppress it. Is my CPU low-end? But every core in taskmgr was not taken up fully.

server.cfg:

Code:
sv_lan "0"
hostip "112.5.90.222"
sv_contact "[email protected]"
sv_tags "coop,survival,realism"
// sv_search_key "aseeem"
sv_gametypes "coop,survival,realism,mutation2,mutation3,mutation4,mutation5,mutation7,mutation8,mutation9,mutation11,mutation14,mutation16,mutation20,community1,community2,community3,community4,community5,tankrun"
sv_steamgroup "43132626"
sv_region "4"
motdfile "motd1.txt"
hostfile "host1.txt"
// rcon_password "H7TjfyLDFce49MShwZbCKV"
// sm_cvar mp_gamemode "coop"
// z_difficulty "impossible"
sv_visiblemaxplayers "-1"
sm_cvar sv_maxplayers "8"
sm_cvar sv_removehumanlimit "1"
sm_cvar sv_force_unreserved "0"

sv_cheats "0"
sv_consistency "0"
sv_pure_kick_clients "0"
sv_pure "0"
mp_disable_autokick "1"
sv_pausable "0"
sv_forcepreload "1"
sv_allow_lobby_connect_only "0"
sv_voiceenable "1"
sv_alltalk "1"
sm_cvar precache_all_survivors "1"
sm_cvar sv_allowupload "0"
sm_cvar sv_allow_wait_command "0"
sm_cvar sv_stats "0"
sm_cvar director_afk_timeout "999999"

// sm_cvar sb_all_bot_game "1"
sm_cvar allow_all_bot_survivor_team "1"
sm_cvar nb_update_frequency "0"
sm_cvar nb_update_framelimit "100"
sm_cvar z_max_neighbor_range "16"
sm_cvar nb_friction_forward "0"
sm_cvar nb_friction_sideways "10"
sm_cvar nb_update_maxslide "0"
sm_cvar sb_friend_immobilized_reaction_time_expert "0"
sm_cvar sb_friend_immobilized_reaction_time_hard "0"
sm_cvar sb_friend_immobilized_reaction_time_normal "0"
sm_cvar sb_friend_immobilized_reaction_time_vs "0"

sm_cvar inferno_scorch_decals "1"
sm_cvar r_decal_cover_count "20"
sm_cvar r_decal_overlap_area "1"
sm_cvar r_decal_overlap_count "20"

sm_cvar fps_max "0"
sm_cvar sv_minrate "30000"
// Tickrate * 1000
sm_cvar sv_maxrate "100000"
sm_cvar sv_minupdaterate "30"
sm_cvar sv_maxupdaterate "100"
sm_cvar sv_mincmdrate "30"
sm_cvar sv_maxcmdrate "100"
sm_cvar net_maxcleartime "0.00001"
sm_cvar net_splitrate "2"
// Tickrate * 1000
sm_cvar net_splitpacket_maxrate "100000"
sm_cvar sv_alternateticks "0"
sm_cvar sv_player_stuck_tolerance "5"
sm_cvar sv_clockcorrection_msecs "25"
sm_cvar sv_parallel_sendsnapshot "1"
sm_cvar sv_parallel_packentities "1"
sm_cvar sv_lagcompensationforcerestore "1"
sm_cvar sv_client_predict "1"
sm_cvar sv_client_min_interp_ratio "0"
sm_cvar sv_client_max_interp_ratio "2"
sm_cvar sv_unlag_fixstuck "1"
sm_cvar sv_unlag "1"
sm_cvar sv_maxunlag "1"
sm_cvar net_queued_packet_thread "1"
sm_cvar sv_client_cmdrate_difference "0"
sm_cvar net_chan_limit_msec "0"

sv_logfile "1"
sv_logbans "1"
sv_logecho "1"
sv_log_onefile "0"

exec "banned_user.cfg"
exec "banned_ip.cfg"
writeid
writeip
Plugins:

Code:
[SM] Listing 71 plugins:                                                                                                  01 "Dont Fuck With Her Man" (1.1) by ConnerRia                                                                          02 "Fly You Fools" (1.2) by ConnerRia                                                                                   03 "Admin File Reader" (1.12.0.7165) by AlliedModders LLC                                                               04 "Admin Help" (1.12.0.7165) by AlliedModders LLC                                                                      05 "Admin Menu" (1.12.0.7165) by AlliedModders LLC                                                                      06 "Anti-Flood" (1.12.0.7165) by AlliedModders LLC                                                                      07 "Improved L4D2 Survivor AI Auto Trigger" (1.3) by Xanaguy                                                            08 "Basic Ban Commands" (1.12.0.7165) by AlliedModders LLC                                                              09 "Basic Chat" (1.12.0.7165) by AlliedModders LLC                                                                      10 "Basic Comm Control" (1.12.0.7165) by AlliedModders LLC                                                              11 "Basic Commands" (1.12.0.7165) by AlliedModders LLC                                                                  12 "Basic Info Triggers" (1.12.0.7165) by AlliedModders LLC                                                             13 "Basic Votes" (1.12.0.7165) by AlliedModders LLC                                                                     14 "[L4D2] Charger Invisible Wall Grab FIX" (1.0.1) by AntiQar & Spumer                                                 15 "[L4D2]Charger_Collision_Patch" (2.0.1) by Lux                                                                       16 "Client Preferences" (1.12.0.7165) by AlliedModders LLC                                                              17 "[ANY] Command and ConVar - Buffer Overflow Fixer" (2.9) by SilverShot and Peace-Maker                               18 "[L4D2]Defib_Fix" (2.0.1) by Lux                                                                                     19 "EnhancedThrowables" (1.3) by Timocop, Lux                                                                           20 "[ANY] Fix Null Activator" (1.3) by GoD-Tony, blueblur                                                               21 "Fun Commands" (1.12.0.7165) by AlliedModders LLC                                                                    22 "Fun Votes" (1.12.0.7165) by AlliedModders LLC                                                                       23 "[L4D2]hunter_pounce_alignment_fix" (2.0) by Lux                                                                     24 "[L4D2] Consistent Client-sided Survivor Ragdolls" (1.1.5) by Shadowysn                                              25 "L4D2 Drop Weapon" (1.0) by Frustian (L4D Script) and NscMike (added L4D2 support)                                   26 "l4d2_changelevel" (1.2.1) by Lux                                                                                    27 "l4d2_client_inputkill_prevention.smx"                                                                               28 "[L4D2] Global Shadow Fix" (1.3) by SilverShot                                                                       29 "[L4D2] Healing Alternative" (1.1) by Mystik Spiral                                                                  30 "[L4D2] Shove Direction Fix" by BHaType                                                                              31 "Show my Spectators" (1.3) by Die Teetasse                                                                           32 "L4D2_WorldModel_Turnrate" (1.0) by Lux                                                                              33 "[L4D(2)] MultiSlots Improved" (6.7-2024/11/6) by SwiftReal, MI 5, ururu, KhMaIBQ, HarryPotter                       34 "[L4D & L4D2] Left 4 Dead Slots" (1.1.0) by Accelerator                                                              35 "L4D1/2 Remove Lobby Reservation" (1.2) by Downtown1                                                                 36 "L4D Black and White Notifier" (1.31) by DarkNoghri, madcap                                                          37 "[L4D1 & L4D2] CreateSurvivorBot" (1.0) by MicroLeo (port by Dragokas)                                               38 "[L4D & L4D2] DSP Effects" (1.14) by SilverShot                                                                      39 "[L4D & L4D2] Dynamic Muzzle Flash" (1.0) by SilverShot, sereky                                                      40 "[L4D & L4D2] Fire Glow" (1.8) by SilverShot                                                                         41 "[L4D & 2] Fix Common Shove" (1.4.1) by Forgetest                                                                    42 "[L4D & L4D2] Gear Transfer" (2.35) by SilverShot                                                                    43 "[L4D & L4D2] Bots Ignore PipeBombs and Shoot" (2.0) by SilverShot                                                   44 "L4D(2) Tank Rock Lag Compensation" (1.14) by Luckylockm,HarryPotter,Silvers                                         45 "[L4D1 & L4D2] SM Respawn Improved" (3.9) by AtomicStryker & Ivailosp (Modified by Crasher, SilverShot), fork by Dragokas                                                                                                                    46 "[L4D1 & L4D2] Survivor AI Pounced Fix" (1.2.2) by AtomicStryker, Merudo, Omixsat                                    47 "[L4D & L4D2] Transition Level Fix" (1.2) by SilverShot                                                              48 "[L4D & L4D2] Left 4 DHooks Direct" (1.158) by SilverShot                                                            49 "Upgrade Pack Fixes" (1.0h-2024/3/27) by bullet28, V10, Silvers, Harry                                               50 "New Left 4 Chat 2" (1.2.0) by Mezo123451A, MoRanYue                                                                 51 "[L4D1/2]physics_object_pushfix" (1.0) by Lux                                                                        52 "Player Commands" (1.12.0.7165) by AlliedModders LLC                                                                 53 "[Any] Player Joining Message" (1.0) by WinCher                                                                      54 "Reserved Slots" (1.12.0.7165) by AlliedModders LLC                                                                  55 "[L4D1?/2] 5+ Survivor Friendly Fire Quote Fix" (1.1.5d) by Shadowysn                                                56 "Scene Processor" (1.0.1) by Buster "Mr. Zero" Nielsen                                                               57 "[L4D & L4D2] Set Server Name" (1.0) by MoRanYue                                                                     58 "Sniper Using Bots Fix" (1.1) by sereky                                                                              59 "Sound Commands" (1.12.0.7165) by AlliedModders LLC                                                                  60 "Source Scramble Manager" (1.2.0) by nosoop                                                                          61 "[L4D2]Survivor_AFK_Fix" (1.0.4) by Lux                                                                              62 "Survivor Bot Takeover" (0.8) by Mikko Andersson (muukis)                                                            63 "ThirdPersonShoulder_Detect" (1.5.3) by MasterMind420 & Lux                                                          64 "Weapon Give No Auto Switch" (1.11) by little_froy                                                                   65 "[L4D1/2]Witch_allow_in_safezone" (1.1) by Lux & Harry Potter                                                        66 "[L4D2]Witch_Double_Start_Fix" (1.0) by Lux                                                                          67 "Lux" (1.0) by Witch Pipebomb exploit fix & Death Optmizer                                                           68 "[L4D1/2]witch_prevent_target_loss" (1.1.1) by Lux                                                                   69 "[L4D1/2]Witch_Target_Patch" (1.4) by Lux                                                                            70 "[L4D2] Defib using bots" (1.7) by DeathChaos25                                                                     
71 "[L4D2]Survivor_Legs_Restore" (1.6.0) by Lux
CPU: Intel Xeon E5 2696 v3
RAM: 48GB
Download/Upload Bandwidth: 1000MBPS/50MBPS
__________________
Hello! Were you happy today?

I'm just new to Sourcemodding, and just creating plugins and addons for L4D2.
Contact links: Steam | GitHub | Email
Some plugins: New Left 4 Chat 2

Last edited by MoRanYue; 04-12-2025 at 01:30.
MoRanYue is offline
Polyano
Member
Join Date: Jun 2024
Old 03-29-2025 , 09:03   Re: [L4D2] About server FPS descent
Reply With Quote #2

I think these two cvars could cause the FPS to drop significantly when there's a lot of zombies around:
Code:
sm_cvar nb_update_frequency "0"
sm_cvar nb_update_framelimit "100"
You can try higher nb_update_frequency value like: 0.01/0.014/0.024/0.048

Last edited by Polyano; 03-29-2025 at 09:04.
Polyano is offline
MoRanYue
Member
Join Date: Dec 2024
Location: Fuzhou, Fujian, China
Old 03-29-2025 , 10:46   Re: [L4D2] About server FPS descent
Reply With Quote #3

Quote:
Originally Posted by Polyano View Post
I think these two cvars could cause the FPS to drop significantly when there's a lot of zombies around:
Code:
sm_cvar nb_update_frequency "0"
sm_cvar nb_update_framelimit "100"
You can try higher nb_update_frequency value like: 0.01/0.014/0.024/0.048
I'd like to set my cl_interp to 0 so I set nb_update_frequency to 0. But, survivor bots were always doing a mass and lot of operations if he was pounced. Even when 3 bots were pounced and only 1 bot was free, server FPS got down to 10 that players felt very very lagging. I don't know why this situation happend to the bots.
__________________
Hello! Were you happy today?

I'm just new to Sourcemodding, and just creating plugins and addons for L4D2.
Contact links: Steam | GitHub | Email
Some plugins: New Left 4 Chat 2
MoRanYue is offline
Polyano
Member
Join Date: Jun 2024
Old 04-02-2025 , 09:42   Re: [L4D2] About server FPS descent
Reply With Quote #4

If setting nb_update_frequency to a higher value didn't work, then it must be your plugins related to Bot/AI. I would disable all of them and enable one by one to see the culprit.
Polyano is offline
MoRanYue
Member
Join Date: Dec 2024
Location: Fuzhou, Fujian, China
Old 04-12-2025 , 01:30   Re: [L4D2] About server FPS descent
Reply With Quote #5

Quote:
Originally Posted by Polyano View Post
If setting nb_update_frequency to a higher value didn't work, then it must be your plugins related to Bot/AI. I would disable all of them and enable one by one to see the culprit.
Okay, it seems that this extension have trouble with windows.
__________________
Hello! Were you happy today?

I'm just new to Sourcemodding, and just creating plugins and addons for L4D2.
Contact links: Steam | GitHub | Email
Some plugins: New Left 4 Chat 2
MoRanYue is offline
Reply


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 02:23.


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