From 381198137f662c620681bd975e02f9b1790d5802 Mon Sep 17 00:00:00 2001 From: azzy <67557558+azzyr@users.noreply.github.com> Date: Sat, 31 May 2025 17:13:54 +0300 Subject: [PATCH] Update TF2Classic 2.2.3 gamedata (#2325) * Update SDKHooks gamedata * Update SDKTools gamedata --- gamedata/sdkhooks.games/game.tf2classic.txt | 100 ++++++++++---------- gamedata/sdktools.games/game.tf2classic.txt | 64 ++++++------- 2 files changed, 82 insertions(+), 82 deletions(-) diff --git a/gamedata/sdkhooks.games/game.tf2classic.txt b/gamedata/sdkhooks.games/game.tf2classic.txt index d860e354b..daad6c85f 100644 --- a/gamedata/sdkhooks.games/game.tf2classic.txt +++ b/gamedata/sdkhooks.games/game.tf2classic.txt @@ -7,177 +7,177 @@ /* CBaseMultiplayerPlayer::CanBeAutobalanced()*/ "CanBeAutobalanced" { - "linux" "462" - "windows" "461" + "linux" "503" + "windows" "500" } /* CBaseEntity::EndTouch(CBaseEntity*) */ "EndTouch" { - "linux" "102" - "windows" "101" + "linux" "114" + "windows" "113" } /* CBaseEntity::FireBullets(FireBulletsInfo_t const&) */ "FireBullets" { - "linux" "114" - "windows" "113" + "linux" "126" + "windows" "125" } /* CBaseEntity::GetMaxHealth() const */ "GetMaxHealth" { - "linux" "119" - "windows" "118" + "linux" "131" + "windows" "130" } // NOTE: https://asherkin.github.io/vtable/ provides the correct windows offset, GDC does not appear to. /* CBaseEntity::NetworkStateChanged_m_hGroundEntity(void*) */ "GroundEntChanged" { - "linux" "181" - "windows" "179" + "linux" "197" + "windows" "195" } /* CBaseEntity::OnTakeDamage(CTakeDamageInfo const&) */ "OnTakeDamage" { - "linux" "64" - "windows" "63" + "linux" "76" + "windows" "75" } /* CBasePlayer::OnTakeDamage_Alive(CTakeDamageInfo const&) */ "OnTakeDamage_Alive" { - "linux" "276" - "windows" "275" + "linux" "301" + "windows" "300" } /* CBasePlayer::PreThink() */ "PreThink" { - "linux" "336" - "windows" "335" + "linux" "368" + "windows" "367" } /* CBasePlayer::PostThink() */ "PostThink" { - "linux" "337" - "windows" "336" + "linux" "369" + "windows" "368" } /* CBaseCombatWeapon::Reload() */ "Reload" { - "linux" "285" - "windows" "280" + "linux" "307" + "windows" "302" } /* CBaseEntity::SetTransmit(CCheckTransmitInfo*, bool) */ "SetTransmit" { - "linux" "22" - "windows" "21" + "linux" "24" + "windows" "23" } /* CBaseEntity::ShouldCollide(int, int) const */ "ShouldCollide" { - "linux" "18" - "windows" "16" + "linux" "19" + "windows" "17" } /* CBaseEntity::Spawn() */ "Spawn" { - "linux" "24" - "windows" "23" + "linux" "31" + "windows" "30" } /* CBaseEntity::StartTouch(CBaseEntity*) */ "StartTouch" { - "linux" "100" - "windows" "99" + "linux" "112" + "windows" "111" } /* CBaseEntity::Think() */ "Think" { - "linux" "49" - "windows" "48" + "linux" "61" + "windows" "60" } /* CBaseEntity::Touch(CBaseEntity*) */ "Touch" { - "linux" "101" - "windows" "100" + "linux" "113" + "windows" "112" } /* CBaseEntity::TraceAttack(CTakeDamageInfo const&, Vector const&, CGameTrace*, CDmgAccumulator*) */ "TraceAttack" { - "linux" "62" - "windows" "61" + "linux" "74" + "windows" "73" } /* CBaseEntity::Use(CBaseEntity*, CBaseEntity*, USE_TYPE, float) */ "Use" { - "linux" "99" - "windows" "98" + "linux" "111" + "windows" "110" } /* CBaseEntity::VPhysicsUpdate(IPhysicsObject*) */ "VPhysicsUpdate" { - "linux" "160" - "windows" "159" + "linux" "175" + "windows" "174" } /* CBaseEntity::Blocked(CBaseEntity*) */ "Blocked" { - "linux" "104" - "windows" "103" + "linux" "116" + "windows" "115" } /* CBaseCombatCharacter::Weapon_CanSwitchTo(CBaseCombatWeapon*) */ "Weapon_CanSwitchTo" { - "linux" "270" - "windows" "269" + "linux" "294" + "windows" "293" } /* CBaseCombatCharacter::Weapon_CanUse(CBaseCombatWeapon*) */ "Weapon_CanUse" { - "linux" "264" - "windows" "263" + "linux" "285" + "windows" "284" } /* CBaseCombatCharacter::Weapon_Drop(CBaseCombatWeapon*, Vector const*, Vector const*) */ "Weapon_Drop" { - "linux" "267" - "windows" "266" + "linux" "291" + "windows" "290" } /* CBaseCombatCharacter::Weapon_Equip(CBaseCombatWeapon*) */ "Weapon_Equip" { - "linux" "265" - "windows" "264" + "linux" "287" + "windows" "286" } /* CBaseCombatCharacter::Weapon_Switch(CBaseCombatWeapon*, int) */ "Weapon_Switch" { - "linux" "268" - "windows" "267" + "linux" "292" + "windows" "291" } } } diff --git a/gamedata/sdktools.games/game.tf2classic.txt b/gamedata/sdktools.games/game.tf2classic.txt index 398943117..409b76ce8 100644 --- a/gamedata/sdktools.games/game.tf2classic.txt +++ b/gamedata/sdktools.games/game.tf2classic.txt @@ -31,106 +31,106 @@ /* CBasePlayer::GiveNamedItem(char const*, int) */ "GiveNamedItem" { - "linux" "404" - "windows" "403" + "linux" "436" + "windows" "435" } /* CBaseCombatCharacter::RemovePlayerItem(CBaseCombatWeapon*) */ "RemovePlayerItem" { - "linux" "274" - "windows" "273" + "linux" "298" + "windows" "297" } /* CBaseCombatCharacter::Weapon_GetSlot(int) const */ "Weapon_GetSlot" { - "linux" "272" - "windows" "271" + "linux" "296" + "windows" "295" } /* CBaseAnimating::Ignite(float, bool, float, bool) */ "Ignite" { - "linux" "213" - "windows" "212" + "linux" "231" + "windows" "230" } /* CBaseAnimating::Extinguish() */ "Extinguish" { - "linux" "217" - "windows" "216" + "linux" "235" + "windows" "234" } /* CBaseEntity::Teleport(Vector const*, QAngle const*, Vector const*) */ "Teleport" { - "linux" "110" - "windows" "109" + "linux" "122" + "windows" "121" } /* CBasePlayer::CommitSuicide(bool, bool) */ "CommitSuicide" { - "linux" "444" - "windows" "444" + "linux" "479" + "windows" "479" } /* CBaseEntity::GetVelocity(Vector*, Vector*) */ "GetVelocity" { - "linux" "142" - "windows" "141" + "linux" "156" + "windows" "155" } /* CBaseEntity::EyeAngles() */ "EyeAngles" { - "linux" "133" - "windows" "132" + "linux" "147" + "windows" "146" } /* CBaseEntity::SetModel(char const*) */ "SetEntityModel" { - "linux" "26" - "windows" "25" + "linux" "28" + "windows" "27" } /* CBaseEntity::AcceptInput(char const*, CBaseEntity*, CBaseEntity*, variant_t, int) */ "AcceptInput" { - "linux" "38" - "windows" "37" + "linux" "41" + "windows" "40" } /* CBaseCombatCharacter::Weapon_Equip(CBaseCombatWeapon*) */ "WeaponEquip" { - "linux" "265" - "windows" "264" + "linux" "287" + "windows" "286" } /* CBaseEntity::Activate() */ "Activate" { - "linux" "35" - "windows" "34" + "linux" "38" + "windows" "37" } /* CBasePlayer::PlayerRunCommand(CUserCmd*, IMoveHelper*) */ "PlayerRunCmd" { - "linux" "422" - "windows" "421" + "linux" "456" + "windows" "455" } /* CBaseCombatCharacter::GiveAmmo(int, int, bool) */ "GiveAmmo" { - "linux" "256" - "windows" "255" + "linux" "277" + "windows" "276" } } @@ -145,8 +145,8 @@ "FireOutput" { "library" "server" - "windows" "@?FireOutput@COutputEvent@@QAEXPAVCBaseEntity@@0M@Z" - "linux" "@_ZN12COutputEvent10FireOutputEP11CBaseEntityS1_f" + "windows" "\x55\x8B\xEC\x81\xEC\x40\x01\x00\x00\x8B\xC1" + "linux" "@_ZN17CBaseEntityOutput10FireOutputE9variant_tP11CBaseEntityS2_f" } } }