diff --git a/gamedata/sdkhooks.games/game.synergy.txt b/gamedata/sdkhooks.games/game.synergy.txt index b26781bf7..645eac0af 100644 --- a/gamedata/sdkhooks.games/game.synergy.txt +++ b/gamedata/sdkhooks.games/game.synergy.txt @@ -16,131 +16,125 @@ { "Offsets" { + "CanBeAutobalanced" + { + "windows" "464" + "linux" "465" + } "EndTouch" { "windows" "101" "linux" "102" - "mac" "102" } "FireBullets" { "windows" "113" "linux" "114" - "mac" "114" + } + "GetMaxHealth" + { + "windows" "118" + "linux" "119" } "GroundEntChanged" { "windows" "178" "linux" "179" - "mac" "179" } "OnTakeDamage" { "windows" "62" "linux" "63" - "mac" "63" + } + "OnTakeDamage_Alive" + { + "windows" "273" + "linux" "274" } "PreThink" { "windows" "336" "linux" "337" - "mac" "337" } "PostThink" { "windows" "337" "linux" "338" - "mac" "338" } "Reload" { "windows" "271" "linux" "272" - "mac" "272" } "SetTransmit" { "windows" "20" "linux" "21" - "mac" "21" } "ShouldCollide" { "windows" "16" "linux" "17" - "mac" "17" } "Spawn" { "windows" "22" "linux" "23" - "mac" "23" } "StartTouch" { "windows" "99" "linux" "100" - "mac" "100" } "Think" { "windows" "47" "linux" "48" - "mac" "48" } "Touch" { "windows" "100" "linux" "101" - "mac" "101" } "TraceAttack" { "windows" "60" "linux" "61" - "mac" "61" } "Use" { "windows" "98" "linux" "99" - "mac" "99" } "VPhysicsUpdate" { "windows" "158" "linux" "159" - "mac" "159" } "Weapon_CanSwitchTo" { "windows" "267" "linux" "268" - "mac" "268" } "Weapon_CanUse" { "windows" "261" "linux" "262" - "mac" "262" } "Weapon_Drop" { "windows" "264" "linux" "265" - "mac" "265" } "Weapon_Equip" { "windows" "262" "linux" "263" - "mac" "263" } "Weapon_Switch" { "windows" "265" "linux" "266" - "mac" "266" } } } diff --git a/gamedata/sdktools.games/game.synergy.txt b/gamedata/sdktools.games/game.synergy.txt index 6a6131cc1..bb52c78ed 100644 --- a/gamedata/sdktools.games/game.synergy.txt +++ b/gamedata/sdktools.games/game.synergy.txt @@ -26,19 +26,16 @@ { "windows" "4" "linux" "4" - "mac" "4" } "GetTENext" { "windows" "8" "linux" "8" - "mac" "8" } "TE_GetServerClass" { "windows" "0" "linux" "0" - "mac" "0" } } @@ -53,7 +50,7 @@ "s_pTempEntities" { "library" "server" - "mac" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" + "linux" "@_ZN15CBaseTempEntity15s_pTempEntitiesE" } } } @@ -64,12 +61,12 @@ "Signatures" { /* Functions in CGlobalEntityList */ + /* Search any functions with the "CAI_StandoffBehavior::PrescheduleThink" string, FindEntityByClassname is called with "ai_battle_line" string as a parameter */ "FindEntityByClassname" { "library" "server" - "windows" "\x55\x89\xE5\x53\x57\x56\x83\xEC\x08\x8B\x45\x08\x85\xC0\x0F\x85\x2A\x2A\x2A\x2A" - "linux" "\x55\x89\xE5\x53\x57\x56\x83\xEC\x1C\xE8\x2A\x2A\x2A\x2A\x5B\x81\xC3\xEA\xF8\x83\x00" - "mac" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" + "windows" "\x55\x89\xE5\x53\x57\x56\x83\xEC\x08\x8B\x45\x2A\x85\xC0\x0F\x85" + "linux" "@_ZN17CGlobalEntityList21FindEntityByClassnameEP11CBaseEntityPKc" } } } @@ -82,9 +79,19 @@ "FireOutput" { "library" "server" - "windows" "\x55\x89\xE5\x53\x57\x56\x81\xEC\x10\x01\x00\x00\x8B\x71\x14" - "linux" "\x55\x89\xE5\x53\x57\x56\x81\xEC\x5C\x01\x00\x00\xE8\x2A\x2A\x2A\x2A\x5B\x81\xC3\x37\x3C\x88\x00" - "mac" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + "windows" "\x55\x89\xE5\x53\x57\x56\x81\xEC\x10\x01\x00\x00\x8B\x71" + "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + } + "LookupAttachment" + { + /* CBaseAnimating::LookupAttachment */ + /* Called in a function that has the "zipline" and "cable/cable.vmt" strings. + * Inside this function, search for a function call that passes the "zipline" string as the only parameter. + * That function is CBaseAnimating::LookupAttachment. + */ + "library" "server" + "windows" "\x31\xC0\x80\xB9\x2A\x2A\x2A\x2A\x00\x0F\x85" + "linux" "@_ZN14CBaseAnimating16LookupAttachmentEPKc" } } } @@ -93,96 +100,96 @@ { "Offsets" { + "SetOwnerEntity" + { + "windows" "17" + "linux" "18" + } /* CBasePlayer */ "GiveNamedItem" { "windows" "408" "linux" "409" - "mac" "409" } "RemovePlayerItem" { "windows" "271" "linux" "272" - "mac" "272" } "Weapon_GetSlot" { "windows" "269" "linux" "270" - "mac" "270" } "Ignite" { "windows" "210" "linux" "211" - "mac" "211" } "Extinguish" { "windows" "214" "linux" "215" - "mac" "215" } "Teleport" { "windows" "109" "linux" "110" - "mac" "110" } "CommitSuicide" { "windows" "446" "linux" "447" - "mac" "447" } "GetVelocity" { "windows" "141" "linux" "142" - "mac" "142" } "EyeAngles" { "windows" "132" "linux" "133" - "mac" "133" } "AcceptInput" { "windows" "36" "linux" "37" - "mac" "37" } "SetEntityModel" { "windows" "24" "linux" "25" - "mac" "25" } "WeaponEquip" { "windows" "262" "linux" "263" - "mac" "263" } "Activate" { "windows" "33" "linux" "34" - "mac" "34" } "RemoveAllItems" { "windows" "349" "linux" "350" - "mac" "350" } "PlayerRunCmd" { "windows" "426" "linux" "427" - "mac" "427" + } + "GiveAmmo" + { + "windows" "253" + "linux" "254" + } + "GetAttachment" + { + "windows" "206" + "linux" "207" } }