AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [L4D2] nb_update_frequency fix (Experimental) (https://forums.alliedmods.net/showthread.php?t=344019)

BHaType 09-24-2023 02:58

[L4D2] nb_update_frequency fix (Experimental)
 
1 Attachment(s)
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" 

For developers?
Spoiler


Source code

Uncle Jessie 09-24-2023 09:11

Re: [L4D2] nb_update_frequency fix (Experimental)
 
Brilliant stuff

HarryPotter 09-24-2023 20:08

Re: [L4D2] nb_update_frequency fix (Experimental)
 
absolutely masterpiece, it is so annonying that witch get stuck every time when server 100 tickrate.
Finally get rid of

BHaType 09-24-2023 23:23

Re: [L4D2] nb_update_frequency fix (Experimental)
 
Update
PHP Code:

Fix commons not crouching due to wrong offset in gamedata 


HarryPotter 09-24-2023 23:35

Re: [L4D2] nb_update_frequency fix (Experimental)
 
Quote:

Originally Posted by BHaType (Post 2810534)
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

BHaType 09-25-2023 01:34

Re: [L4D2] nb_update_frequency fix (Experimental)
 
Quote:

Originally Posted by HarryPotter (Post 2810536)
l4d2 windows serve crash when first player joins server

MSVC optimization breaks something so current windows build compiled without it.

ProjectSky 09-25-2023 10:14

Re: [L4D2] nb_update_frequency fix (Experimental)
 
witch still gets stuck
server tick: 96
nb_update_frequency: 0.0

https://imgur.com/HtwILWX

BHaType 09-26-2023 17:13

Re: [L4D2] nb_update_frequency fix (Experimental)
 
Quote:

Originally Posted by ProjectSky (Post 2810561)
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

BHaType 09-30-2023 07:26

Re: [L4D2] nb_update_frequency fix (Experimental)
 
Quote:

Originally Posted by ProjectSky (Post 2810561)
witch still gets stuck

Updated
PHP Code:

Fixed climb up ledge stucking 


BHaType 09-30-2023 19:24

Re: [L4D2] nb_update_frequency fix (Experimental)
 
PHP Code:

Fixed commons not crouching due to wrong gamedata offset (again



All times are GMT -4. The time now is 21:13.

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