diff options
author | Davide Beatrici <davidebeatrici@users.noreply.github.com> | 2016-04-29 16:13:11 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-04-30 18:09:57 +0300 |
commit | cb8cbd0411e23fdc1ab9d824f33fd156bb6fb8a5 (patch) | |
tree | a3cf57e1d8293750682718f204a8be9fb9e91556 /plugins/ql | |
parent | 6a3f2ef9e9dfe303118fc27c1310aea35641a238 (diff) |
Plugin update for latest version of Quake Live
Also updated the avatar position memory addresses for a better value refresh time.
Game Version: 1068
http://steamcommunity.com/games/282440/announcements/detail/889835423172957348
Diffstat (limited to 'plugins/ql')
-rw-r--r-- | plugins/ql/ql.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/ql/ql.cpp b/plugins/ql/ql.cpp index 17c611395..a57cd799c 100644 --- a/plugins/ql/ql.cpp +++ b/plugins/ql/ql.cpp @@ -19,9 +19,9 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa // Peekproc and assign game addresses to our containers, so we can retrieve positional data ok = peekProc((BYTE *) pModule + 0x0188248, &state, 1) && // Magical state value: 1 when in-game and 0 when in main menu. - peekProc((BYTE *) pModule + 0x1041B14, &spec, 1) && // Spectator state value: 1 when spectating and 0 when playing. - peekProc((BYTE *) pModule + 0x10728C4, &avatar_pos_corrector, 12) && // Avatar Position values (X, Y and Z). - peekProc((BYTE *) pModule + 0x0E6093C, &camera_pos_corrector, 12) && // Camera Position values (X, Y and Z). + peekProc((BYTE *) pModule + 0x1041CAC, &spec, 1) && // Spectator state value: 1 when spectating and 0 when playing. + peekProc((BYTE *) pModule + 0x0EB8950, &avatar_pos_corrector, 12) && // Avatar Position values (Z, X and Y, respectively). + peekProc((BYTE *) pModule + 0x0E6093C, &camera_pos_corrector, 12) && // Camera Position values (Z, X and Y, respectively). peekProc((BYTE *) pModule + 0x1072954, &viewHor, 4) && // Changes in a range from 87.890625 (looking down) to -87.890625 (looking up). peekProc((BYTE *) pModule + 0x1072950, &viewVer, 4) && // Changes in a range from 180 to -180 when moving the view to left/right. peekProc((BYTE *) pModule + 0x0E4A638, host) && // Server value: "IP:Port" when in a remote server, "loopback" when on a local server. @@ -127,10 +127,10 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi } static const std::wstring longdesc() { - return std::wstring(L"Supports Quake Live version 1067 with context and identity support."); // Plugin long description + return std::wstring(L"Supports Quake Live version 1068 with context and identity support."); // Plugin long description } -static std::wstring description(L"Quake Live (v1067)"); // Plugin short description +static std::wstring description(L"Quake Live (v1068)"); // Plugin short description static std::wstring shortname(L"Quake Live"); // Plugin short name static int trylock1() { |