From 707164b64fa458133736e77a7f9e608bbce70cd3 Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Tue, 21 Feb 2017 20:35:01 +0100 Subject: plugins/rl: update plugin to work with version 1.29 Game version: 1.29 https://rocketleaguegame.com/news/patch-notes-v1-29 --- plugins/rl/rl_linux.cpp | 12 ++++++------ plugins/rl/rl_win32.cpp | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'plugins') diff --git a/plugins/rl/rl_linux.cpp b/plugins/rl/rl_linux.cpp index 817cb43ff..0e1ee779f 100644 --- a/plugins/rl/rl_linux.cpp +++ b/plugins/rl/rl_linux.cpp @@ -13,7 +13,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa bool ok; // Avatar pointers - procptr32_t avatar_base = peekProc(pModule + 0x2FE1810); + procptr32_t avatar_base = peekProc(pModule + 0x302A4F0); if (!avatar_base) return false; procptr32_t avatar_offset_0 = peekProc(avatar_base + 0x6c8); if (!avatar_offset_0) return false; @@ -24,10 +24,10 @@ 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(avatar_offset + 0x60, avatar_pos, 12) && // Avatar Position values (X, Y and Z). - peekProc(pModule + 0x2FE1DD8, camera_pos, 12) && // Camera Position values (X, Y and Z). + peekProc(pModule + 0x302AAB8, camera_pos, 12) && // Camera Position values (X, Y and Z). peekProc(avatar_offset + 0x6C, avatar_front, 12) && // Avatar Front values (X, Y and Z). - peekProc(pModule + 0x2FE1DC0, camera_front, 12) && // Camera Front Vector values (X, Y and Z). - peekProc(pModule + 0x2FE1DCC, camera_top, 12); // Camera Top Vector values (X, Y and Z). + peekProc(pModule + 0x302AAA0, camera_front, 12) && // Camera Front Vector values (X, Y and Z). + peekProc(pModule + 0x302AAAC, camera_top, 12); // Camera Top Vector values (X, Y and Z). // This prevents the plugin from linking to the game in case something goes wrong during values retrieval from memory addresses. if (! ok) @@ -63,10 +63,10 @@ static int trylock(const std::multimap &pi } static const std::wstring longdesc() { - return std::wstring(L"Supports Rocket League version 1.27 without context or identity support yet."); // Plugin long description + return std::wstring(L"Supports Rocket League version 1.29 without context or identity support yet."); // Plugin long description } -static std::wstring description(L"Rocket League (v1.27)"); // Plugin short description +static std::wstring description(L"Rocket League (v1.29)"); // Plugin short description static std::wstring shortname(L"Rocket League"); // Plugin short name static int trylock1() { diff --git a/plugins/rl/rl_win32.cpp b/plugins/rl/rl_win32.cpp index 208429897..b21f7eaa5 100644 --- a/plugins/rl/rl_win32.cpp +++ b/plugins/rl/rl_win32.cpp @@ -13,7 +13,7 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa bool ok; // Avatar pointers - procptr32_t avatar_base = peekProc(pModule + 0x1733C5C); + procptr32_t avatar_base = peekProc(pModule + 0x174269C); if (!avatar_base) return false; procptr32_t avatar_offset_0 = peekProc(avatar_base + 0x448); if (!avatar_offset_0) return false; @@ -26,10 +26,10 @@ 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(avatar_offset + 0x0, avatar_pos, 12) && // Avatar Position values (X, Y and Z). - peekProc(pModule + 0x1733E98, camera_pos, 12) && // Camera Position values (X, Y and Z). + peekProc(pModule + 0x17428D8, camera_pos, 12) && // Camera Position values (X, Y and Z). peekProc(avatar_offset + 0xC, avatar_front, 12) && // Avatar Front values (X, Y and Z). - peekProc(pModule + 0x1733E80, camera_front, 12) && // Camera Front Vector values (X, Y and Z). - peekProc(pModule + 0x1733E8C, camera_top, 12); // Camera Top Vector values (X, Y and Z). + peekProc(pModule + 0x17428C0, camera_front, 12) && // Camera Front Vector values (X, Y and Z). + peekProc(pModule + 0x17428CC, camera_top, 12); // Camera Top Vector values (X, Y and Z). // This prevents the plugin from linking to the game in case something goes wrong during values retrieval from memory addresses. if (! ok) @@ -65,10 +65,10 @@ static int trylock(const std::multimap &pi } static const std::wstring longdesc() { - return std::wstring(L"Supports Rocket League version 1.27 without context or identity support yet."); // Plugin long description + return std::wstring(L"Supports Rocket League version 1.29 without context or identity support yet."); // Plugin long description } -static std::wstring description(L"Rocket League (v1.27)"); // Plugin short description +static std::wstring description(L"Rocket League (v1.29)"); // Plugin short description static std::wstring shortname(L"Rocket League"); // Plugin short name static int trylock1() { -- cgit v1.2.3