Skip to content

Commit

Permalink
Plugin update run
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuck Therebelos committed Feb 13, 2011
1 parent f6b6f21 commit 2da7fb6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions plugins/css/css.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ 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 + 0x51FDC8;
rotptr = pModule + 0x521BCC;
posptr = pModule + 0x5084FC;
rotptr = pModule + 0x4B0004;
stateptr = pModule + 0x499DAC;
hostptr = mod_engine + 0x3D3E94;
//teamptr = pModule + 0x3aa133;
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 4421. No identity support yet.");
return std::wstring(L"Supports CSS build 4426. No identity support yet.");
}

static std::wstring description(L"Counter-Strike: Source (Build 4421)");
static std::wstring description(L"Counter-Strike: Source (Build 4426)");
static std::wstring shortname(L"Counter-Strike: Source");

static int trylock1() {
Expand Down
8 changes: 4 additions & 4 deletions plugins/dods/dods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
*/

// Remember addresses for later
posptr = pModule + 0x476808;
rotptr = pModule + 0x4789F4;
posptr = pModule + 0x4183F8;
rotptr = pModule + 0x4183B8;
stateptr = pModule + 0x404C24;
hostptr = mod_engine + 0x3D3E94;

Expand All @@ -165,10 +165,10 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
}

static const std::wstring longdesc() {
return std::wstring(L"Supports DODS build 4421. No identity support yet.");
return std::wstring(L"Supports DODS build 4426. No identity support yet.");
}

static std::wstring description(L"Day of Defeat: Source (Build 4421)");
static std::wstring description(L"Day of Defeat: Source (Build 4426)");
static std::wstring shortname(L"Day of Defeat: Source");

static int trylock1() {
Expand Down
12 changes: 6 additions & 6 deletions plugins/gmod/gmod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,14 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
*/

// Remember addresses for later
posptr = pModule + 0x509088;
rotptr = pModule + 0x509154;
stateptr = pModule + 0x49EC44;
posptr = pModule + 0x50A2B0;
rotptr = pModule + 0x50A16C;
stateptr = mod_engine + 0x375565;
hostptr = mod_engine + 0x3D3E94;

// Gamecheck
char sMagic[18];
if (!peekProc(pModule + 0x4B1515, sMagic, 18) || strncmp("?AVCSpectatorGUI@@", sMagic, 18)!=0)
if (!peekProc(pModule + 0x4B2515, sMagic, 18) || strncmp("?AVCSpectatorGUI@@", sMagic, 18)!=0)
return false;

// Check if we can get meaningful data from it
Expand All @@ -159,10 +159,10 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
}

static const std::wstring longdesc() {
return std::wstring(L"Supports Gmod 11 build 4260. No identity support yet.");
return std::wstring(L"Supports Gmod 11 build 4426. No identity support yet.");
}

static std::wstring description(L"Garry's Mod 11 (Build 4260)");
static std::wstring description(L"Garry's Mod 11 (Build 4426)");
static std::wstring shortname(L"Garry's Mod 11");

static int trylock1() {
Expand Down
8 changes: 4 additions & 4 deletions plugins/l4d/l4d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
if (! initialize(pids, L"left4dead.exe", L"client.dll"))
return false;

posptr = pModule + 0x596DF0;
rotptr = pModule + 0x5943B0;
posptr = pModule + 0x6F8340;
rotptr = pModule + 0x640A08;

float pos[3];
float rot[3];
Expand Down Expand Up @@ -119,10 +119,10 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
}

static const std::wstring longdesc() {
return std::wstring(L"Supports L4D version 4364 only. Supports no fancy stuff.");
return std::wstring(L"Supports L4D version 4448 only. Supports no fancy stuff.");
}

static std::wstring description(L"Left 4 Dead (Build 4364)");
static std::wstring description(L"Left 4 Dead (Build 4448)");
static std::wstring shortname(L"Left 4 Dead");

static int trylock1() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/l4d2/l4d2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
if (! initialize(pids, L"left4dead2.exe", L"client.dll"))
return false;

posptr = pModule + 0x6F81CC;
posptr = pModule + 0x6F8340;
rotptr = pModule + 0x6AD900;
// stateptr = pModule + 0x690A3C;

Expand Down
8 changes: 4 additions & 4 deletions plugins/tf2/tf2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
*/

// Remember addresses for later
posptr = pModule + 0x67742C;
rotptr = pModule + 0x677438;
stateptr = pModule + 0x603C64;
posptr = pModule + 0x6EFCC0;
rotptr = pModule + 0x6F6544;
stateptr = pModule + 0x606C64;
hostptr = mod_engine + 0x3D3E94;

/*
// Gamecheck
char sMagic[9];
if (!peekProc(pModule + 0x4FB3E3, sMagic, 9) || strncmp("teamJet@@", sMagic, 9)!=0)
if (!peekProc(pModule + 0x617DE3, sMagic, 9) || strncmp("teamJet@@", sMagic, 9)!=0)
return false;
*/

Expand Down

0 comments on commit 2da7fb6

Please sign in to comment.