diff options
author | Ryan Austin <ryan.e.austin@gmail.com> | 2011-12-07 10:57:54 +0400 |
---|---|---|
committer | Stefan Hacker <dd0t@users.sourceforge.net> | 2011-12-08 23:28:54 +0400 |
commit | 31bb25e65f2171fd8fde0746bbb7d18634ed963f (patch) | |
tree | 57f6793b9d315afca127041529309ef79ced6862 /plugins/bf3 | |
parent | 8dfddf89aa70f5968f380ccd8a59a4e50fb6ab52 (diff) |
Updated plugin for BF3 v889134
Diffstat (limited to 'plugins/bf3')
-rw-r--r-- | plugins/bf3/bf3.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/bf3/bf3.cpp b/plugins/bf3/bf3.cpp index f6a384317..8f5218a26 100644 --- a/plugins/bf3/bf3.cpp +++ b/plugins/bf3/bf3.cpp @@ -40,7 +40,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa char state; bool ok; - ok = peekProc((BYTE *) 0x0232E87C, &state, 1); // State value + ok = peekProc((BYTE *) 0x0237218C, &state, 1); // State value if (! ok) return false; @@ -65,9 +65,9 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa if ( state != 2 ) return true; // This results in all vectors being zero which tells Mumble to ignore them. - ok = peekProc((BYTE *) 0x0232E810, avatar_pos, 12) && - peekProc((BYTE *) 0x0232E840, avatar_front, 12) && - peekProc((BYTE *) 0x0232E830, avatar_top, 12); + ok = peekProc((BYTE *) 0x02372120, avatar_pos, 12) && + peekProc((BYTE *) 0x02372150, avatar_front, 12) && + peekProc((BYTE *) 0x02372140, avatar_top, 12); if (! ok) return false; @@ -112,7 +112,7 @@ static const std::wstring longdesc() { return std::wstring(L"Supports Battlefield 3. No identity or context support."); } -static std::wstring description(L"Battlefield 3 v8865831"); +static std::wstring description(L"Battlefield 3 v889134"); static std::wstring shortname(L"Battlefield 3"); static int trylock1() { |