From fdc868184375a3408d89019569b779b0ad02bd5d Mon Sep 17 00:00:00 2001 From: Ruben Gonzalez Date: Fri, 18 Aug 2017 10:33:41 -0400 Subject: [PATCH] Update more CS:GO gamedata --- gamedata/sdktools.games/engine.csgo.txt | 6 +++--- gamedata/sm-cstrike.games/game.csgo.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gamedata/sdktools.games/engine.csgo.txt b/gamedata/sdktools.games/engine.csgo.txt index 56096f1e9d..5e05c38864 100644 --- a/gamedata/sdktools.games/engine.csgo.txt +++ b/gamedata/sdktools.games/engine.csgo.txt @@ -303,9 +303,9 @@ } "GiveAmmo" { - "windows" "276" - "linux" "277" - "mac" "277" + "windows" "275" + "linux" "276" + "mac" "276" } } } diff --git a/gamedata/sm-cstrike.games/game.csgo.txt b/gamedata/sm-cstrike.games/game.csgo.txt index 2ff13a3d1b..b99d950673 100644 --- a/gamedata/sm-cstrike.games/game.csgo.txt +++ b/gamedata/sm-cstrike.games/game.csgo.txt @@ -57,7 +57,7 @@ //Offset into HandleCommand_Buy_Internal "CCSPlayerInventoryOffset" { - "windows" "55" + "windows" "60" "linux" "97" "mac" "109" } @@ -96,7 +96,7 @@ "HandleCommand_Buy_Internal"//Wildcard first 6 bytes for getting address for weapon price. { "library" "server" - "windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x81\xEC\x7C\x01\x00\x00\x53\x56\x57\x6A\x00" + "windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x0C\x53\x56\x57\x6A\x01" "linux" "\x2A\x2A\x2A\x2A\x2A\x2A\x0F\xB6\x55\x14\x89\x75\xF8\x8B\x75\x08" } "CSWeaponDrop"//Wildcard first 6 bytes for CS:S DM (kept for backcompat with old SM versions) @@ -151,7 +151,7 @@ "SetClanTag" { "library" "server" - "windows" "\x55\x8B\xEC\x8B\x55\x08\x85\xD2\x74\x2A\x8D\x81\x5C\x29\x00\x00" + "windows" "\x55\x8B\xEC\x8B\x55\x08\x85\xD2\x74\x2A\x8D\x81\x34\x25\x00\x00" "linux" "\x55\x89\xE5\x83\xEC\x18\x8B\x45\x0C\x85\xC0\x74\x2A\x89\x44\x24\x04\x8B\x45\x08\xC7\x44\x24\x08\x10\x00\x00\x00" } // Since it's not possible to make a unique signature for CCSWeaponInfo::GetWeaponInfo, this is instead a signature to a