From aae71612731eaa6771067a31f3a7ad34bdb0df28 Mon Sep 17 00:00:00 2001 From: "Mr. Silence" Date: Wed, 27 Jun 2018 14:15:27 -0700 Subject: [PATCH] Updated some offsets and all signatures for ZPS. (#839) Signed-off-by: Mr.Silence --- gamedata/sdktools.games/game.zpanic.txt | 130 ++++++++++++------------ 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/gamedata/sdktools.games/game.zpanic.txt b/gamedata/sdktools.games/game.zpanic.txt index b3544c50..1b19ab77 100644 --- a/gamedata/sdktools.games/game.zpanic.txt +++ b/gamedata/sdktools.games/game.zpanic.txt @@ -66,82 +66,82 @@ "windows" "42" "linux" "43" } - //"SetEntityModel" - //{ - // "windows" "24" - // "linux" "25" - //} - //"WeaponEquip" - //{ - // "windows" "235" - // "linux" "236" - //} + "SetEntityModel" + { + "windows" "30" + "linux" "31" + } + "WeaponEquip" + { + "windows" "275" + "linux" "276" + } "Activate" { "windows" "39" "linux" "40" } - "PlayerRunCommand" + "PlayerRunCmd" { "windows" "443" "linux" "444" } } - //"Signatures" - //{ - // "FindEntityByClassname" - // { - // "library" "server" - // "windows" "\x55\x8B\xEC\x53\x56\x8B\xF1\x8B\x4D\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\x2A\x2A\x2A\x2A\x40\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x5D\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x2A\x39" - // "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" - // } - // "FireOutput" - // { - // "library" "server" - // "windows" "\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x71\x2A\x57" - // "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" - // } - //} + "Signatures" + { + "FindEntityByClassname" + { + "library" "server" + "windows" "\x55\x8B\xEC\x53\x56\x57\x8B\xF9\x8B\x4D\x2A\x85\xC9\x74\x2A\x8B\x01\xFF\x2A\x2A\x8B\x2A\x81\xE6\x2A\x2A\x2A\x2A\x46\x03\xF6\x8B\x34\x2A\xEB\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x85\xF6\x74\x2A\x8B\x5D\x2A\x8B\x3E\x85\xFF\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x2A\x2A\x2A\x83\xC4\x2A\xEB\x2A\x39" + "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" + } + "FireOutput" + { + "library" "server" + "windows" "\x55\x8B\xEC\x81\xEC\x2A\x2A\x2A\x2A\xA1\x2A\x2A\x2A\x2A\x33\xC5\x89\x2A\x2A\x53\x8B\x5D\x2A\x8B\xC1\x8B\x2A\x2A\x56\x57" + "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + } + } } - //"zps" - //{ - // "Offsets" - // { - // /* Offset into CBaseTempEntity constructor */ - // "s_pTempEntities" - // { - // "windows" "19" - // } - // "GetTEName" - // { - // "windows" "4" - // "linux" "4" - // } - // "GetTENext" - // { - // "windows" "8" - // "linux" "8" - // } - // "TE_GetServerClass" - // { - // "windows" "0" - // "linux" "0" - // } - // } + "zps" + { + "Offsets" + { + /* Offset into CBaseTempEntity constructor */ + "s_pTempEntities" + { + "windows" "19" + } + "GetTEName" + { + "windows" "4" + "linux" "4" + } + "GetTENext" + { + "windows" "8" + "linux" "8" + } + "TE_GetServerClass" + { + "windows" "0" + "linux" "0" + } + } - // "Signatures" - // { - // "CBaseTempEntity" - // { - // "library" "server" - // "windows" "\x55\x8B\xEC\x8B\xC1\x8B\x4D\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x89" - // } - // "s_pTempEntities" - // { - // "library" "server" - // "linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" - // } - // } - //} + "Signatures" + { + "CBaseTempEntity" + { + "library" "server" + "windows" "\x55\x8B\xEC\x8B\x45\x2A\xC7\x2A\x2A\x2A\x2A\x2A\x8B\x2A\x89" + } + "s_pTempEntities" + { + "library" "server" + "linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" + } + } + } }