From 6f1e7f5ec042d8e33cff9e39a6022cb733f2d27d Mon Sep 17 00:00:00 2001 From: caxanga334 <10157643+caxanga334@users.noreply.github.com> Date: Thu, 30 Oct 2025 19:02:49 -0300 Subject: [PATCH] Update ZPS Gamedata Updates virtual offsets of SDKHooks and SDKTools for ZPS version 3.3 --- gamedata/sdkhooks.games/game.zpanic.txt | 93 +++++++++++++------------ gamedata/sdktools.games/game.zpanic.txt | 44 ++++++------ 2 files changed, 72 insertions(+), 65 deletions(-) diff --git a/gamedata/sdkhooks.games/game.zpanic.txt b/gamedata/sdkhooks.games/game.zpanic.txt index 9fefa4c39..584a58182 100644 --- a/gamedata/sdkhooks.games/game.zpanic.txt +++ b/gamedata/sdkhooks.games/game.zpanic.txt @@ -4,26 +4,32 @@ { "Offsets" { + "CanBeAutobalanced" + { + "windows" "465" + "linux" "466" + } "GroundEntChanged" { - "windows" "188" - "linux" "190" + "windows" "178" + "linux" "180" } "OnTakeDamage_Alive" { - "windows" "287" - "linux" "288" + "windows" "283" + "linux" "284" } "GetMaxHealth" { - "windows" "126" - "linux" "127" + "windows" "118" + "linux" "119" } "Blocked" { - "windows" "109" - "linux" "110" + "windows" "101" + "linux" "102" } + /* CBaseCombatWeapon::Reload */ "Reload" { "windows" "287" @@ -31,18 +37,19 @@ } "EndTouch" { - "windows" "107" - "linux" "108" + "windows" "99" + "linux" "100" } + /* CBaseEntity::FireBullets(FireBulletsInfo_t const&) */ "FireBullets" { - "windows" "121" - "linux" "121" + "windows" "113" + "linux" "113" } "OnTakeDamage" { - "windows" "69" - "linux" "70" + "windows" "61" + "linux" "62" } "PreThink" { @@ -56,8 +63,8 @@ } "SetTransmit" { - "windows" "28" - "linux" "29" + "windows" "20" + "linux" "21" } "ShouldCollide" { @@ -66,64 +73,64 @@ } "Spawn" { - "windows" "30" - "linux" "31" + "windows" "22" + "linux" "23" } "StartTouch" { - "windows" "105" - "linux" "106" + "windows" "97" + "linux" "98" } "Think" { - "windows" "57" - "linux" "58" + "windows" "49" + "linux" "50" } "Touch" { - "windows" "106" - "linux" "107" + "windows" "98" + "linux" "99" } "TraceAttack" { - "windows" "67" - "linux" "68" + "windows" "59" + "linux" "60" } "Use" { - "windows" "104" - "linux" "105" + "windows" "96" + "linux" "97" } "VPhysicsUpdate" { - "windows" "168" - "linux" "169" + "windows" "158" + "linux" "159" } "Weapon_CanSwitchTo" { - "windows" "278" - "linux" "279" + "windows" "277" + "linux" "278" } "Weapon_CanUse" + { + "windows" "271" + "linux" "272" + } + "Weapon_Drop" + { + "windows" "274" + "linux" "275" + } + "Weapon_Equip" { "windows" "272" "linux" "273" } - "Weapon_Drop" + "Weapon_Switch" { "windows" "275" "linux" "276" } - "Weapon_Equip" - { - "windows" "273" - "linux" "274" - } - "Weapon_Switch" - { - "windows" "276" - "linux" "277" - } } } } diff --git a/gamedata/sdktools.games/game.zpanic.txt b/gamedata/sdktools.games/game.zpanic.txt index e1794bffe..08cecfec2 100644 --- a/gamedata/sdktools.games/game.zpanic.txt +++ b/gamedata/sdktools.games/game.zpanic.txt @@ -23,13 +23,13 @@ } "RemovePlayerItem" { - "windows" "285" - "linux" "286" + "windows" "281" + "linux" "282" } "Weapon_GetSlot" { - "windows" "280" - "linux" "281" + "windows" "279" + "linux" "280" } "Ignite" { @@ -43,8 +43,8 @@ } "Teleport" { - "windows" "115" - "linux" "116" + "windows" "107" + "linux" "108" } "CommitSuicide" { @@ -53,33 +53,33 @@ } "GetVelocity" { - "windows" "151" - "linux" "152" + "windows" "141" + "linux" "142" } "EyeAngles" { - "windows" "142" - "linux" "143" + "windows" "132" + "linux" "133" } "AcceptInput" { - "windows" "44" - "linux" "45" + "windows" "36" + "linux" "37" } "SetEntityModel" { - "windows" "32" - "linux" "33" + "windows" "24" + "linux" "25" } "WeaponEquip" { - "windows" "273" - "linux" "274" + "windows" "272" + "linux" "273" } "Activate" { - "windows" "41" - "linux" "42" + "windows" "33" + "linux" "34" } "PlayerRunCmd" { @@ -93,13 +93,13 @@ } "SetOwnerEntity" { - "windows" "25" - "linux" "26" + "windows" "17" + "linux" "18" } "GiveAmmo" { - "windows" "264" - "linux" "265" + "windows" "263" + "linux" "264" } } "Signatures"