Skip to content

Commit

Permalink
Update Counter Strike: Source to build 4687.
Browse files Browse the repository at this point in the history
  • Loading branch information
fwaggle committed Oct 4, 2011
1 parent ccd95be commit e11752b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plugins/css/css.cpp
Expand Up @@ -159,15 +159,15 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &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
Expand All @@ -185,10 +185,10 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &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() {
Expand Down

0 comments on commit e11752b

Please sign in to comment.