Raised This Month: $32 Target: $400
 8% 

L4D/L4D2 Tickrate Enabler


Post New Thread Reply   
 
Thread Tools Display Modes
Qdude
Junior Member
Join Date: Apr 2021
Old 04-12-2021 , 12:06   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #191

Quote:
Originally Posted by Zynda View Post
Yes exactly, I just suggested it in order to better "see" the way changes to nb_update_frequency affect the infected.

As for what you should put the value of nb_update_frequency to that's up to you, it will have diminishing returns the further you lower it at an increasing CPU cost.

Note that the final result is in whole ticks so at 100 tickrate nb_update_frequency 0.1 and 0.095 have the same effect (both being 10tick between updates) and 0.094 will be rounded down to 0.09 (9 ticks).
Alright, so I took those commands from the competitive config and then adjusted it for 60 ticks. I then put nb_update_frequency to 0.03, which I think rounds to every 2 ticks or something like that. The zombies move beautifully now, I didn't really test the hitboxes but I could immediately tell that my settings were working. My CPU nor internet struggles when running the server so I'm gonna keep these settings for now. Thank you all so much.
Qdude is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 04-26-2021 , 04:52   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #192

How to set up Linux L4D 128tick?
My always at 100tick

./srcds_ run
-tickrate 128

server.cfg
sm_ cvar fps_ max 0 sm_ cvar sv_ mincmdrate 128
sm_ cvar sv_ maxcmdrate 128 sm_ cvar sv_ minupdaterate 128
sm_ cvar sv_ maxupdaterate 128
sm_ cvar sv_ minrate 128000
sm_ cvar sv_ maxrate 128000
sm_ cvar sv_ client_ min_ interp_ ratio -1
sm_ cvar sv_ client_ max_ interp_ ratio 0
sm_ cvar net_ splitrate 2
sm_ cvar net_ splitpacket_ maxrate 100000
ZBzibing is offline
N.U.S.C.
Junior Member
Join Date: May 2017
Old 05-12-2021 , 15:50   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #193

I run a 100tick coop server, when there are many players (6+ survivor players and 12+ special infected), the third row of ticks will drop to 60~80. Is there any way to keep 90+tick?

my server.cfg
Code:
sm_cvar fps_max 0
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 nb_update_frequency 0.024
sm_cvar net_splitrate 2
sm_cvar net_maxcleartime 0.001
sm_cvar net_splitpacket_maxrate 100000
N.U.S.C. is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 05-12-2021 , 23:45   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #194

Your hardware is probably not able to keep up with action.
__________________
Spirit_12 is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 05-19-2021 , 06:17   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #195

In case anyone wants the recommended server network rates for 66tick:
Code:
sm_cvar "fps_max" "600"

sm_cvar "sv_minrate" "20000"
sm_cvar "sv_maxrate" "66000"
sm_cvar "sv_minupdaterate" "20"
sm_cvar "sv_maxupdaterate" "66"
sm_cvar "sv_mincmdrate" "20"
sm_cvar "sv_maxcmdrate" "66"

sm_cvar "net_maxcleartime" "0.00001"
sm_cvar "net_splitrate" "2"
sm_cvar "net_splitpacket_maxrate" "66000"

sm_cvar "sv_clockcorrection_msecs" "25"
sm_cvar "sv_maxunlag" "0.1"
sm_cvar "sv_max_queries_sec" "5.0"
sm_cvar "sv_max_queries_sec_global" "10"
sm_cvar "sv_max_queries_window" "10"
sm_cvar "sv_player_stuck_tolerance" "5"
sm_cvar "sv_unlag_fixstuck" "1"
sm_cvar "sv_stats" "0"

sm_cvar "nb_update_frequency" "0.03333333"

sm_cvar "sv_client_cmdrate_difference" "0"
sm_cvar "sv_client_min_interp_ratio" "0"
sm_cvar "sv_client_max_interp_ratio" "2"
sm_cvar "sv_client_predict" "1"
sm_cvar "sv_extra_client_connect_time" "0.001"

sm_cvar "cl_cmdrate" "66"
sm_cvar "cl_updaterate" "66"
sm_cvar "rate" "66000"

// Boomer vomit range fix (default value * server tickrate / default tickrate - Can't say the same for any other value above 66)
sm_cvar "z_vomit_velocity" "3740.0"

Last edited by cravenge; 06-25-2021 at 23:51. Reason: Symbol stands for division, not or
cravenge is offline
trystan
New Member
Join Date: Jun 2021
Old 06-15-2021 , 14:53   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #196

latest l4d2 update is now failing to load tickrate_enabler

Code:
Tickrate_Enabler: Found ServerGameDLL at ServerGameDLL005
Tickrate_Enabler: Found VEngineServer at VEngineServer022
!!!!!
Patch Failure: Couldn't find CVomit::UpdateAbility() in server memory.
!!!!!
!!!!!
Patch Failure: Couldn't find CVomit::UpdateAbility() in server memory.
!!!!!

!!!!!
Patch Failure: Couldn't find CVomit::UpdateAbility() in server memory.
!!!!!
trystan is offline
nidzo
Junior Member
Join Date: Dec 2019
Old 06-15-2021 , 15:50   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #197

I can confirm this as of today tickrate enabler is broken.
Code:
Parent cvar in server.dll not allowed (spit_scaling_min_scale)
Tickrate_Enabler: Found ServerGameDLL at ServerGameDLL005
Tickrate_Enabler: Found VEngineServer at VEngineServer022
!!!!!
Patch Failure: Couldn't find CVomit::UpdateAbility() in server memory.
!!!!!
!!!!!
Patch Failure: Couldn't find CVomit::UpdateAbility() in server memory.
!!!!!

!!!!!
Patch Failure: Couldn't find CVomit::UpdateAbility() in server memory.
!!!!!

/home/user/l4d2_server/./srcds_run: line 312: 28063 Segmentation fault      (core dumped) $HL_CMD
Add "-debug" to the /home/user/l4d2_server/./srcds_run command line to generate a debug.log to help with solving this problem
Tue Jun 15 09:48:44 PM CEST 2021: Server restart in 10 seconds
Tue Jun 15 09:48:45 PM CEST 2021: Server Quit
Does anyone know how to fix this problem please? Thank you in advance
nidzo is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-15-2021 , 17:37   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #198

I'll see if I can fix the signatures, but got a loaded week, so can't make any promises. So far it seems only vomit signature is broken.
__________________
Spirit_12 is offline
epzminion
AlliedModders Donor
Join Date: Jan 2011
Old 06-15-2021 , 18:09   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #199

Quote:
Originally Posted by Spirit_12 View Post
I'll see if I can fix the signatures, but got a loaded week, so can't make any promises. So far it seems only vomit signature is broken.
Find this line in sigs.h:
Code:
	{0x12D, 0x5FD}; // L4D2 LINUX
Change to:
Code:
	{0x12D, 0x5EE}; // L4D2 LINUX
epzminion is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 06-15-2021 , 18:46   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #200

Here is linux binary, i just hexedited it with the new offset for the latest update 2.2.1.3.
Attached Files
File Type: so tickrate_enabler.so (353.4 KB, 280 views)
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 06-15-2021 at 18:46.
Lux is offline
Reply



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 08:12.


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