Raised This Month: $ Target: $400
 0% 

[L4D2]Network settings doubts


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Reanryu
Junior Member
Join Date: Aug 2020
Old 11-01-2024 , 02:14   [L4D2]Network settings doubts
Reply With Quote #1

Hello guys , i set this rates config in my server +12 coop for better experience . But today i see some lags in 3 clients/players
What i've done wrong here?? Can anyone help me ??
(PC : ryzen 5 2500 , 16 gb ram ddr4 , 6600xt )

sm_cvar rate 96000 //default 10000; Max bytes/sec the host can recieve data
sm_cvar sv_minrate 96000 //default "5000"; Min bandwidth rate allowed on server, 0 = unlimited
sm_cvar sv_maxrate 96000 //default "0"; Max bandwidth rate allowed on server, 0 = unlimited
sm_cvar sv_mincmdrate 96 //default 0; This sets the minimum value for cl_cmdrate. 0 = unlimited [cevo=67]
sm_cvar sv_maxcmdrate 96 //default 40; (If sv_mincmdrate is > 0), this sets the maximum value for cl_cmdrate. [cevo=101]
sm_cvar sv_minupdaterate 96
sm_cvar sv_maxupdaterate 96
sm_cvar cl_cmdrate 96
sm_cvar cl_updaterate 96
sm_cvar sv_max_queries_sec 6.0
sm_cvar sv_max_queries_sec_global 120
sm_cvar sv_client_cmdrate_difference 1
sm_cvar sv_client_min_interp_ratio -1
sm_cvar sv_client_max_interp_ratio 2
sm_cvar sv_client_predict 1
sm_cvar nb_update_frequency 0.03
sm_cvar nb_update_maxslide 0
sm_cvar nb_update_framelimit 60
sm_cvar z_max_neighbor_range 16
sm_cvar fps_max 144
sm_cvar net_splitpacket_maxrate 96000
sm_cvar net_splitrate 2
sm_cvar tick_door_speed 1.3
sm_cvar net_maxcleartime 0.00001
sm_cvar net_queued_packet_thread 1
sm_cvar sv_maxunlag 0.5
sm_cvar sv_unlag 1
sm_cvar mat_queue_mode 2
Reanryu is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-03-2024 , 01:27   Re: [L4D2]Network settings doubts
Reply With Quote #2

Only those 3 particular clients? OS?
cravenge is offline
Reanryu
Junior Member
Join Date: Aug 2020
Old 11-06-2024 , 08:12   Re: [L4D2]Network settings doubts
Reply With Quote #3

Quote:
Originally Posted by cravenge View Post
Only those 3 particular clients? OS?
yes!! the others clients/players run smoth with this config
Reanryu is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-07-2024 , 07:34   Re: [L4D2]Network settings doubts
Reply With Quote #4

Quote:
Originally Posted by Reanryu View Post
yes!! the others clients/players run smoth with this config
What is the server running on: Windows or Linux? Also, does this lag make those clients have a "start-and-stop freezing" gameplay?
cravenge is offline
Reanryu
Junior Member
Join Date: Aug 2020
Old 11-10-2024 , 02:09   Re: [L4D2]Network settings doubts
Reply With Quote #5

running on windows, and yes, the clients have a "start-and-stop freezing" gameplay
Reanryu is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-10-2024 , 10:03   Re: [L4D2]Network settings doubts
Reply With Quote #6

I remember Lux saying something about net_splitrate and net_queued_packet_thread needing to be kept at 1 and 0 respectively for Windows in an old thread somewhere. Try removing those from your config.

And while you're at it, set net_splitpacket_maxrate to your server's tickrate / 2 * 1000 (e.g. 30 tick = 15000 and 100 tick = 50000).

Last edited by cravenge; 11-10-2024 at 10:23.
cravenge is offline
Pa4H
Junior Member
Join Date: Nov 2018
Location: PEZDOX
Old 11-12-2024 , 05:28   Re: [L4D2]Network settings doubts
Reply With Quote #7

Windows, Tickrate Enabler, 4v4 server + 2spec
i7 3770, 16GB, SSD.
0% lags

sm_cvar nb_update_frequency 0.014
sm_cvar sv_minrate 100000
sm_cvar sv_maxrate 100000
sm_cvar sv_minupdaterate 100
sm_cvar sv_maxupdaterate 100
sm_cvar sv_mincmdrate 100
sm_cvar sv_maxcmdrate 100
sm_cvar sv_client_min_interp_ratio 0
sm_cvar sv_client_max_interp_ratio 0
sm_cvar fps_max 0
sm_cvar sv_client_predict 1
sm_cvar sv_unlag 1
sm_cvar sv_maxunlag 0.5
sm_cvar net_maxcleartime 0.001
sm_cvar net_splitrate 2
sm_cvar net_splitpacket_maxrate 100000
mat_queue_mode 2

Last edited by Pa4H; 11-12-2024 at 05:28.
Pa4H is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-12-2024 , 10:47   Re: [L4D2]Network settings doubts
Reply With Quote #8

Quote:
Originally Posted by Pa4H View Post
Windows, Tickrate Enabler, 4v4 server + 2spec
i7 3770, 16GB, SSD.
0% lags

sm_cvar nb_update_frequency 0.014
sm_cvar sv_minrate 100000
sm_cvar sv_maxrate 100000
sm_cvar sv_minupdaterate 100
sm_cvar sv_maxupdaterate 100
sm_cvar sv_mincmdrate 100
sm_cvar sv_maxcmdrate 100
sm_cvar sv_client_min_interp_ratio 0
sm_cvar sv_client_max_interp_ratio 0
sm_cvar fps_max 0
sm_cvar sv_client_predict 1
sm_cvar sv_unlag 1
sm_cvar sv_maxunlag 0.5
sm_cvar net_maxcleartime 0.001
sm_cvar net_splitrate 2
sm_cvar net_splitpacket_maxrate 100000
mat_queue_mode 2
I think this is more because those clients the OP were talking about have low-end computers.
cravenge is offline
Reanryu
Junior Member
Join Date: Aug 2020
Old 11-12-2024 , 22:34   Re: [L4D2]Network settings doubts
Reply With Quote #9

yes ! this is the reason. They have a low-end computers , one of them have a Pentium 4 :/. Thanks for the help Cravenge!
Reanryu is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-13-2024 , 04:08   Re: [L4D2]Network settings doubts
Reply With Quote #10

Quote:
I remember Lux saying something about net_splitrate and net_queued_packet_thread needing to be kept at 1 and 0 respectively for Windows in an old thread somewhere. Try removing those from your config.

And while you're at it, set net_splitpacket_maxrate to your server's tickrate / 2 * 1000 (e.g. 30 tick = 15000 and 100 tick = 50000).
Did this work at all?

Last edited by cravenge; 11-13-2024 at 04:08.
cravenge 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 10:03.


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