diff --git a/gamedata/sdktools.games/engine.ep2.txt b/gamedata/sdktools.games/engine.ep2.txt index 2fb5edfa..3847b643 100644 --- a/gamedata/sdktools.games/engine.ep2.txt +++ b/gamedata/sdktools.games/engine.ep2.txt @@ -17,7 +17,6 @@ "#supported" { "game" "ageofchivalry" - "game" "zps" "game" "empires" "game" "synergy" "game" "bg2" diff --git a/gamedata/sdktools.games/game.zpanic.txt b/gamedata/sdktools.games/game.zpanic.txt index ef50fa2b..ab4110f5 100644 --- a/gamedata/sdktools.games/game.zpanic.txt +++ b/gamedata/sdktools.games/game.zpanic.txt @@ -18,48 +18,48 @@ { "GiveNamedItem" { - "windows" "357" - "linux" "358" + "windows" "358" + "linux" "359" } "RemovePlayerItem" { - "windows" "246" - "linux" "247" + "windows" "247" + "linux" "248" } "Weapon_GetSlot" { - "windows" "241" - "linux" "242" + "windows" "242" + "linux" "243" } "Ignite" { - "windows" "198" - "linux" "199" + "windows" "199" + "linux" "200" } "Extinguish" { - "windows" "202" - "linux" "203" + "windows" "203" + "linux" "204" } "Teleport" { - "windows" "103" - "linux" "104" + "windows" "104" + "linux" "105" } "CommitSuicide" { - "windows" "402" - "linux" "402" + "windows" "405" + "linux" "405" } "GetVelocity" { - "windows" "132" - "linux" "133" + "windows" "133" + "linux" "134" } "EyeAngles" { - "windows" "124" - "linux" "125" + "windows" "125" + "linux" "126" } "AcceptInput" { @@ -73,8 +73,8 @@ } "WeaponEquip" { - "windows" "234" - "linux" "235" + "windows" "235" + "linux" "236" } "Activate" { @@ -83,8 +83,8 @@ } "PlayerRunCmd" { - "windows" "376" - "linux" "377" + "windows" "377" + "linux" "378" } } "Signatures" @@ -92,15 +92,56 @@ "FindEntityByClassname" { "library" "server" - "windows" "\x53\x55\x56\x8B\xF1\x8B\x2A\x2A\x2A\x57\x85\xC9\x74\x2A\x8B\x01\x8B\x50\x2A\xFF\xD2\x8B\x00\x25\xFF\x0F\x00\x00\x40\xC1\xE0\x2A\x8B\x3C\x30\xEB\x2A\x8B\xBE\x2A\x2A\x2A\x2A\x85\xFF\x74\x2A\x8B\x2A\x2A\x2A\x8B\x2A\x2A\x2A\x2A\x2A\x8D\x2A\x2A\x2A\x2A\x2A\x2A\x8B\x37\x85\xF6\x75\x2A\x68\x2A\x2A\x2A\x2A\xFF\x2A\x83\xC4\x2A\xEB\x2A\x39" + "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" "\x81\xEC\x2A\x2A\x2A\x2A\x53\x55\x56\x8B\x71\x2A\x57\x89" + "windows" "\x55\x8B\xEC\x81\x2A\x2A\x2A\x2A\x2A\x53\x56\x8B\x71\x2A\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" + } + } + + "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" + } + } + } }