diff options
author | Ryan Austin <ryan.e.austin@gmail.com> | 2012-04-29 04:02:02 +0400 |
---|---|---|
committer | Ryan Austin <ryan.e.austin@gmail.com> | 2012-04-29 04:02:02 +0400 |
commit | 3503cd2be8b5f4063f326d27df61eeb55d796ef5 (patch) | |
tree | 089e2693a59e007aa917b47d3ce65c24fddb4d1b /plugins/bf3 | |
parent | 2047c9f5f4b77df0203e3dbdf3fe8ff9fe4e7c63 (diff) |
Updated BF3 PA plugin for BF3 v936211
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 e3630e01e..a9a421927 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 *) 0x0237919C, &state, 1); // State value + ok = peekProc((BYTE *) 0x0238CC2C, &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 *) 0x02379130, avatar_pos, 12) && - peekProc((BYTE *) 0x02379160, avatar_front, 12) && - peekProc((BYTE *) 0x02379150, avatar_top, 12); + ok = peekProc((BYTE *) 0x0238CBC0, avatar_pos, 12) && + peekProc((BYTE *) 0x0238CBF0, avatar_front, 12) && + peekProc((BYTE *) 0x0238CBE0, 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 v925790"); +static std::wstring description(L"Battlefield 3 v936211"); static std::wstring shortname(L"Battlefield 3"); static int trylock1() { |