diff options
author | Tuck Therebelos <snares@users.sourceforge.net> | 2009-12-18 06:15:07 +0300 |
---|---|---|
committer | Tuck Therebelos <snares@users.sourceforge.net> | 2009-12-18 06:15:07 +0300 |
commit | 2c83e67188760361a263b09c7a5507e38199eae7 (patch) | |
tree | 82eef7eabcb9995b306fc7c4726a57412eac409f /plugins/tf2 | |
parent | 7b2d347049908a715048559bef5cdfb2a7df7e16 (diff) |
TF2 update; update DOS build number
Diffstat (limited to 'plugins/tf2')
-rw-r--r-- | plugins/tf2/tf2.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/tf2/tf2.cpp b/plugins/tf2/tf2.cpp index 517a8f7c6..503e1dce5 100644 --- a/plugins/tf2/tf2.cpp +++ b/plugins/tf2/tf2.cpp @@ -67,7 +67,7 @@ static bool peekProc(VOID *base, VOID *dest, SIZE_T len) { } static void about(HWND h) { - ::MessageBox(h, L"Reads audio position information from Team Fortress 2 (Build 4034). IP:Port context without team discriminator.", L"Mumble TF2 Plugin", MB_OK); + ::MessageBox(h, L"Reads audio position information from Team Fortress 2 (Build 4057). IP:Port context without team discriminator.", L"Mumble TF2 Plugin", MB_OK); } static bool calcout(float *pos, float *rot, float *opos, float *front, float *top) { @@ -179,14 +179,14 @@ static int trylock() { */ // Remember addresses for later - posptr = mod + 0x4D7C70; - rotptr = mod + 0x4D7BE4; - stateptr = mod + 0x4BEBF4; + posptr = mod + 0x51BA2C; + rotptr = mod + 0x50120C; + stateptr = mod + 0x52E620; hostptr = mod_engine + 0x3C91A4; // Gamecheck char sMagic[9]; - if (!peekProc(mod + 0x4CF38B, sMagic, 9) || strncmp("teamJet@@", sMagic, 9)!=0) + if (!peekProc(mod + 0x4F73AB, sMagic, 9) || strncmp("teamJet@@", sMagic, 9)!=0) return false; // Check if we can get meaningful data from it @@ -213,10 +213,10 @@ static void unlock() { } static const std::wstring longdesc() { - return std::wstring(L"Supports TF2 build 4034. No identity or context support yet."); + return std::wstring(L"Supports TF2 build 4057. No identity or context support yet."); } -static std::wstring description(L"Team Fortress 2 (Build 4034)"); +static std::wstring description(L"Team Fortress 2 (Build 4057)"); static std::wstring shortname(L"Team Fortress 2"); static MumblePlugin tf2plug = { |