From edea981dcf96d6fd04db23665512cfd1e1a34b8a Mon Sep 17 00:00:00 2001 From: vinci6k Date: Fri, 18 Dec 2020 20:22:31 +0100 Subject: [PATCH 1/2] Fixed signature for buy_internal for CSGO. --- .../data/source-python/entities/csgo/CCSPlayer.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini b/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini index 90dae8df8..dc1e50035 100755 --- a/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini +++ b/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini @@ -12,10 +12,10 @@ srv_check = False # Reference string: #Cannot_Carry_Anymore [[buy_internal]] - identifier_windows = 55 8B EC 83 E4 F8 83 EC 0C 53 56 57 6A 01 + identifier_windows = 55 8B EC 83 E4 F8 83 EC 2C 53 56 57 6A 01 # indentifier_linux = _ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib identifier_linux = 55 89 E5 83 EC 68 0F B6 55 14 - arguments = INT, STRING, BOOL + arguments = INT, STRING, BOOL, BOOL return_type = INT [[deafen]] From 4963abbd1658d16dd9faadee3b0978694c22be13 Mon Sep 17 00:00:00 2001 From: vinci6k Date: Sat, 19 Dec 2020 04:25:22 +0100 Subject: [PATCH 2/2] Updated the buy_internal signature for CSGO (Linux). --- .../data/source-python/entities/csgo/CCSPlayer.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini b/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini index dc1e50035..a5ccebcf2 100755 --- a/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini +++ b/addons/source-python/data/source-python/entities/csgo/CCSPlayer.ini @@ -14,7 +14,7 @@ srv_check = False [[buy_internal]] identifier_windows = 55 8B EC 83 E4 F8 83 EC 2C 53 56 57 6A 01 # indentifier_linux = _ZN9CCSPlayer26HandleCommand_Buy_InternalEPKcib - identifier_linux = 55 89 E5 83 EC 68 0F B6 55 14 + identifier_linux = 55 89 E5 83 EC 78 0F B6 55 14 89 75 F8 arguments = INT, STRING, BOOL, BOOL return_type = INT