From be648382d749f812a3437d4588bd492387e24e93 Mon Sep 17 00:00:00 2001 From: XeroX Date: Sat, 16 Apr 2022 16:07:46 +0200 Subject: [PATCH] ZPS Update offsets for 3.2.4 (#1746) * Update offsets for ZPS 3.2 Zombie Panic! Source Version 3.2 released and these are the updated offsets. * Update offsets for 3.2 ZPS 3.2 has been release and these are the updated offsets / signatures. * ZPS: Add missing offsets. Adds support for OnTakeDamage_Alive, GetMaxHealth, Blocked, Reload and GroundEntChanged. I wasn't aware these were missing entirely or I would have pushed them with the previous PR. * ZPS Add missing offsets. Adds support for GivePlayerAmmo. Wasn't aware these were missing the first place. * Fix ForcePlayerSuicide not properly working in ZPS ZPS requires the second bool parameter to be true otherwise it won't do anything for players in the lobby or delayed for players on either team 2 or team 3. * Fixed breaking code for other mods. Added bForce which is set to true for zps. * Update offsets for ZPS 3.2.4 Updates the offset --- gamedata/sdktools.games/game.zpanic.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gamedata/sdktools.games/game.zpanic.txt b/gamedata/sdktools.games/game.zpanic.txt index 56e949b9..e1794bff 100644 --- a/gamedata/sdktools.games/game.zpanic.txt +++ b/gamedata/sdktools.games/game.zpanic.txt @@ -48,8 +48,8 @@ } "CommitSuicide" { - "windows" "453" - "linux" "453" + "windows" "452" + "linux" "452" } "GetVelocity" { @@ -83,8 +83,8 @@ } "PlayerRunCmd" { - "windows" "433" - "linux" "434" + "windows" "432" + "linux" "433" } "GetAttachment" {