Raised This Month: $ Target: $400
 0% 

[L4D2] nb_update_frequency fix (Experimental)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 09-24-2023 , 03:58   [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #1

Fixes longstanding issues with low nb_update_frequency.

Current list of fixes
  • Infected stucking at corners
  • Commons pushing themselves out of the way
  • Climb up ledge activity stucking

ConVars
PHP Code:
// 0 - Use original function, 1 - Use extension implementation with fix, 2 - Use extension implementation without fix, 3 - Neither of calls
z_resolve_collision "1"

// Listen server only
// 0 - Disable collision overlay, 1 - Enable collision overlay, 2 - Enable clean collision overlay (works only for 1 common but smoother)
z_resolve_collision_debug "0"

// 0 - Use original function, 1 - Use extension implementation
z_resolve_zombie_climb_up_ledge "1"

// 0 - Disable debug, 1 - Enable debug
z_resolve_zombie_climb_up_ledge_debug "0"

// 0 - Use original function; 1 - Use extension implementation
z_resolve_zombie_collision "1"

// Multiplier of commons collision force
z_resolve_zombie_collision_multiplier "1.0"

// Automatically manages power of collision between commons
z_resolve_zombie_collision_auto_multiplier "1" 
For developers?
Spoiler


Source code
Attached Files
File Type: zip l4d2_resolve_collision.zip (708.4 KB, 211 views)
__________________
cry

Last edited by BHaType; 09-01-2024 at 10:19.
BHaType is offline
Send a message via AIM to BHaType
Uncle Jessie
Member
Join Date: May 2016
Location: Mind Prison
Old 09-24-2023 , 10:11   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #2

Brilliant stuff
Uncle Jessie is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-24-2023 , 21:08   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #3

absolutely masterpiece, it is so annonying that witch get stuck every time when server 100 tickrate.
Finally get rid of
__________________

Last edited by HarryPotter; 09-24-2023 at 21:09.
HarryPotter is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 09-25-2023 , 00:23   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #4

Update
PHP Code:
Fix commons not crouching due to wrong offset in gamedata 
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-25-2023 , 00:35   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #5

Quote:
Originally Posted by BHaType View Post
Update
PHP Code:
Fix commons not crouching due to wrong offset in gamedata 
l4d2 windows serve crash when first player joins server

PHP Code:
Resolve Collision Fix (1.0):  Fixes common infected stuck issue due with low nb_update_frequency 
crash id: OIO4-CBE7-ITFV
__________________

Last edited by HarryPotter; 09-25-2023 at 00:35.
HarryPotter is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 09-25-2023 , 02:34   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #6

Quote:
Originally Posted by HarryPotter View Post
l4d2 windows serve crash when first player joins server
MSVC optimization breaks something so current windows build compiled without it.
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
ProjectSky
AlliedModders Donor
Join Date: Aug 2020
Old 09-25-2023 , 11:14   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #7

witch still gets stuck
server tick: 96
nb_update_frequency: 0.0

https://imgur.com/HtwILWX

Last edited by ProjectSky; 09-26-2023 at 08:31.
ProjectSky is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 09-26-2023 , 18:13   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #8

Quote:
Originally Posted by ProjectSky View Post
witch still gets stuck
server tick: 96
nb_update_frequency: 0.0

https://imgur.com/HtwILWX
Extension doesn't fix every possible stuck situations.
Only those that were affected by ResolveCollision early return but thanks for report, I will try to fix it.

One of hundreds of tests
__________________
cry

Last edited by BHaType; 09-26-2023 at 18:19.
BHaType is offline
Send a message via AIM to BHaType
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 09-30-2023 , 08:26   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #9

Quote:
Originally Posted by ProjectSky View Post
witch still gets stuck
Updated
PHP Code:
Fixed climb up ledge stucking 
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 09-30-2023 , 20:24   Re: [L4D2] nb_update_frequency fix (Experimental)
Reply With Quote #10

PHP Code:
Fixed commons not crouching due to wrong gamedata offset (again
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
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 00:40.


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