From ed908b6545b08aa277b35b14d764bddce2b10ac9 Mon Sep 17 00:00:00 2001 From: Ruben Gonzalez Date: Fri, 13 Jul 2018 07:47:53 -0400 Subject: [PATCH] Fix CS:GO weaponPrice offset. --- gamedata/sm-cstrike.games/game.csgo.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gamedata/sm-cstrike.games/game.csgo.txt b/gamedata/sm-cstrike.games/game.csgo.txt index caaae757..5c6e22bd 100644 --- a/gamedata/sm-cstrike.games/game.csgo.txt +++ b/gamedata/sm-cstrike.games/game.csgo.txt @@ -28,13 +28,13 @@ "mac64" "8" } // In HandleCommand_Buy_Internal - // -*(_DWORD *)(v34 + 204) + // -*(_DWORD *)(v34 + 8) in ida 7 -v34[52] "WeaponPrice" { - "windows" "204" - "linux" "204" - "linux64" "324" - "mac64" "324" + "windows" "208" + "linux" "208" + "linux64" "328" + "mac64" "328" } //Offset into CheckRestartRound "CTTeamScoreOffset"