Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@users.noreply.github.com>2016-07-08 12:41:03 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-07-09 09:57:34 +0300
commit4f565c65b24ae8f6aa81d40f1cb75d4a48ac0325 (patch)
treeb93f79a0087db130b4fbe34d90cfc5229b68a57c /plugins/rl
parentf2417826e85eb20820375522c12166c2c4a6871b (diff)
plugins/rl: update plugin to work with version 1.21
Game version: 1.21 http://www.rocketleaguegame.com/news/2016/07/patch-notes-v1-21
Diffstat (limited to 'plugins/rl')
-rw-r--r--plugins/rl/rl.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/rl/rl.cpp b/plugins/rl/rl.cpp
index 36ecc1371..126554fae 100644
--- a/plugins/rl/rl.cpp
+++ b/plugins/rl/rl.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<procptr32_t>(pModule + 0x017085A4);
+ procptr32_t avatar_base = peekProc<procptr32_t>(pModule + 0x016FD5B4);
if (!avatar_base) return false;
procptr32_t avatar_offset_0 = peekProc<procptr32_t>(avatar_base + 0x448);
if (!avatar_offset_0) return false;
@@ -25,11 +25,11 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
if (!avatar_offset) return false;
// 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 + 0x017087E0, 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 + 0x017087C8, camera_front, 12) && // Camera Front Vector values (X, Y and -Z).
- peekProc(pModule + 0x017087D4, camera_top, 12); // Camera Top Vector values (X, Y and -Z).
+ ok = peekProc(avatar_offset + 0x0, avatar_pos, 12) && // Avatar Position values (X, Y and Z).
+ peekProc(pModule + 0x016FD7F0, 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 + 0x016FD7D8, camera_front, 12) && // Camera Front Vector values (X, Y and Z).
+ peekProc(pModule + 0x016FD7E4, 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<std::wstring, unsigned long long int> &pi
}
static const std::wstring longdesc() {
- return std::wstring(L"Supports Rocket League version 1.20 without context or identity support yet."); // Plugin long description
+ return std::wstring(L"Supports Rocket League version 1.21 without context or identity support yet."); // Plugin long description
}
-static std::wstring description(L"Rocket League (v1.20)"); // Plugin short description
+static std::wstring description(L"Rocket League (v1.21)"); // Plugin short description
static std::wstring shortname(L"Rocket League"); // Plugin short name
static int trylock1() {