From e11752b13162d84eedcd6dc05fe68eea0ff4e6b1 Mon Sep 17 00:00:00 2001 From: Jamie Fraser Date: Tue, 4 Oct 2011 17:08:29 -0400 Subject: [PATCH] Update Counter Strike: Source to build 4687. --- plugins/css/css.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/css/css.cpp b/plugins/css/css.cpp index 08e716b955..3177dd63c1 100644 --- a/plugins/css/css.cpp +++ b/plugins/css/css.cpp @@ -159,15 +159,15 @@ static int trylock(const std::multimap &pi team state: client.dll+0x3aa133 (60 when T, 61 when CT, byte) */ // Remember addresses for later - posptr = pModule + 0x5084FC; - rotptr = pModule + 0x4B0004; - stateptr = pModule + 0x499DAC; - hostptr = mod_engine + 0x3D3E94; + posptr = pModule + 0x59C8D4; + rotptr = pModule + 0x54A4AC; + stateptr = pModule + 0x532CE4; + hostptr = mod_engine + 0x3E866C; //teamptr = pModule + 0x3aa133; //Gamecheck char sMagic[16]; - if (!peekProc(pModule + 0x4B6B41, sMagic, 16) || strncmp("CSSpectatorGUI@@", sMagic, 16)!=0) + if (!peekProc(pModule + 0x54C801, sMagic, 16) || strncmp("CSSpectatorGUI@@", sMagic, 16)!=0) return false; // Check if we can get meaningful data from it @@ -185,10 +185,10 @@ static int trylock(const std::multimap &pi } static const std::wstring longdesc() { - return std::wstring(L"Supports CSS build 4426. No identity support yet."); + return std::wstring(L"Supports CSS build 4687. No identity support yet."); } -static std::wstring description(L"Counter-Strike: Source (Build 4426)"); +static std::wstring description(L"Counter-Strike: Source (Build 4687)"); static std::wstring shortname(L"Counter-Strike: Source"); static int trylock1() {