diff --git a/gamedata/core.games/common.games.txt b/gamedata/core.games/common.games.txt index e4ca089f..7e0f702a 100644 --- a/gamedata/core.games/common.games.txt +++ b/gamedata/core.games/common.games.txt @@ -197,6 +197,7 @@ "game" "pf2" "game" "dystopia" "game" "treason" + "game" "tf2classified" } "Keys" @@ -254,6 +255,7 @@ "game" "pf2" "game" "dystopia" "game" "treason" + "game" "tf2classified" } "Keys" @@ -320,6 +322,7 @@ "game" "pf2" "game" "dystopia" "game" "treason" + "game" "tf2classified" } "Keys" diff --git a/gamedata/sdkhooks.games/game.tf2classified.txt b/gamedata/sdkhooks.games/game.tf2classified.txt new file mode 100644 index 00000000..cd15f995 --- /dev/null +++ b/gamedata/sdkhooks.games/game.tf2classified.txt @@ -0,0 +1,139 @@ +"Games" +{ + "tf2classified" + { + "Offsets" + { + "EntityListeners" + { + "windows64" "262200" + "linux64" "262200" + } + "CanBeAutobalanced" + { + "windows64" "519" + "linux64" "522" + } + "EndTouch" + { + "windows64" "118" + "linux64" "119" + } + "FireBullets" + { + "windows64" "130" + "linux64" "131" + } + "GetMaxHealth" + { + "windows64" "135" + "linux64" "136" + } + "GroundEntChanged" + { + "windows64" "201" + "linux64" "203" + } + "OnTakeDamage" + { + "windows64" "76" + "linux64" "77" + } + "OnTakeDamage_Alive" + { + "windows64" "313" + "linux64" "314" + } + "PreThink" + { + "windows64" "381" + "linux64" "382" + } + "PostThink" + { + "windows64" "382" + "linux64" "383" + } + "Reload" + { + "windows64" "309" + "linux64" "315" + } + "SetTransmit" + { + "windows64" "22" + "linux64" "23" + } + "ShouldCollide" + { + "windows64" "17" + "linux64" "18" + } + "Spawn" + { + "windows64" "24" + "linux64" "25" + } + "StartTouch" + { + "windows64" "116" + "linux64" "117" + } + "Think" + { + "windows64" "60" + "linux64" "61" + } + "Touch" + { + "windows64" "117" + "linux64" "118" + } + "TraceAttack" + { + "windows64" "74" + "linux64" "75" + } + "Use" + { + "windows64" "115" + "linux64" "116" + } + "VPhysicsUpdate" + { + "windows64" "179" + "linux64" "180" + } + "Blocked" + { + "windows64" "120" + "linux64" "121" + } + "Weapon_CanSwitchTo" + { + "windows64" "306" + "linux64" "307" + } + "Weapon_CanUse" + { + "windows64" "297" + "linux64" "298" + } + "Weapon_Drop" + { + "windows64" "303" + "linux64" "304" + } + "Weapon_Equip" + { + "windows64" "299" + "linux64" "300" + } + "Weapon_Switch" + { + "windows64" "304" + "linux64" "305" + } + } + } +} diff --git a/gamedata/sdktools.games/game.tf2classified.txt b/gamedata/sdktools.games/game.tf2classified.txt new file mode 100644 index 00000000..ff47f061 --- /dev/null +++ b/gamedata/sdktools.games/game.tf2classified.txt @@ -0,0 +1,129 @@ +"Games" +{ + /* Team Fortress 2 Classified STEAM BUILD */ + "tf2classified" + { + "Offsets" + { + "SetOwnerEntity" + { + "windows64" "18" + "linux64" "19" + } + "GiveNamedItem" + { + "windows64" "452" + "linux64" "453" + } + "RemovePlayerItem" + { + "windows64" "310" + "linux64" "311" + } + "Weapon_GetSlot" + { + "windows64" "308" + "linux64" "309" + } + "Ignite" + { + "windows64" "241" + "linux64" "242" + } + "Extinguish" + { + "windows64" "245" + "linux64" "246" + } + "Teleport" + { + "windows64" "126" + "linux64" "127" + } + "CommitSuicide" + { + "windows64" "497" + "linux64" "497" + } + "GetVelocity" + { + "windows64" "161" + "linux64" "162" + } + "EyeAngles" + { + "windows64" "152" + "linux64" "153" + } + "SetEntityModel" + { + "windows64" "26" + "linux64" "27" + } + "AcceptInput" + { + "windows64" "40" + "linux64" "41" + } + "WeaponEquip" + { + "windows64" "299" + "linux64" "300" + } + "Activate" + { + "windows64" "37" + "linux64" "38" + } + "PlayerRunCmd" + { + "windows64" "472" + "linux64" "473" + } + "GiveAmmo" + { + "windows64" "289" + "linux64" "290" + } + "GetAttachment" + { + "windows64" "237" + "linux64" "238" + } + } + + "Keys" + { + "GameRulesProxy" "CTFGameRulesProxy" + "GameRulesDataTable" "tf_gamerules_data" + } + } + + "#default" + { + "Signatures" + { + "FireOutput" + { + "library" "server" + "windows64" "\x48\x8B\xC4\x48\x89\x50\x10\x48\x89\x48\x08\x41\x54" + "linux64" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" + } + } + } + + "#default" + { + "Signatures" + { + "LookupAttachment" + { + /* CBaseAnimating::LookupAttachment */ + /* String: "vehicle_driver_eyes", middle length top function, with 4 calls, pick the first one. */ + "library" "server" + //"windows64" "\x48\x89\x5C\x24\x08\x57\x48\x83\xEC\x20\x80\xB9\x65\x04\x00\x00\x00\x48\x8B\xFA\x48\x8B\xD9\x75\x2A\x48\x83\xB9\xC0\x05\x00\x00\x00\x75\x2A\xE8\x2A\x2A\x2A\x2A\x48\x85\xC0\x74\x2A\x48\x8B\xCB\xE8\x2A\x2A\x2A\x2A\x48\x8B\x8B\xC0\x05\x00\x00\x48\x85\xC9\x74\x2A\x48\x83\x39\x00\x74\x2A\x48\x8B\xD7\xE8\x2A\x2A\x2A\x2A" + "linux64" "@_ZN14CBaseAnimating16LookupAttachmentEPKc" + } + } + } +}