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@gmail.com>2016-12-25 01:12:00 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2016-12-25 01:25:29 +0300
commit501651b1311f37fddab4a56b0c19a9b34994e359 (patch)
tree1b33a595d3c2a83bfa78c86f903f34ee05fb6165 /plugins/gtav
parentdf0bd667adb4b41e636a715635aab0de0d0ddfa4 (diff)
plugins/gtav: update plugin to work with version 1.37 (Steam only)
Game version: 1.37 https://support.rockstargames.com/hc/en-us/articles/236222747 The memory addresses of the retail version are different. I can't update them because replacing the executables isn't enough: a Social Club account with the retail version is needed.
Diffstat (limited to 'plugins/gtav')
-rw-r--r--plugins/gtav/gtav.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/gtav/gtav.cpp b/plugins/gtav/gtav.cpp
index 8a5c96b75..72a5ad4a5 100644
--- a/plugins/gtav/gtav.cpp
+++ b/plugins/gtav/gtav.cpp
@@ -20,18 +20,18 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
memcmp(buf, strlit, std::min(sizeof(buf), sizeof(strlit)-1)) == 0
// Steam version
- if (peekProc(pModule + 0x17C6330, game_name) && VERSION_EQ(game_name, "Grand Theft Auto V")) {
- state_address = pModule + 0x268C370;
- in_game_address = pModule + 0x1B76454;
- avatar_pos_address = pModule + 0x1F05230;
- camera_pos_address = pModule + 0x1C08080;
- avatar_base_address = pModule + 0x1B463D0;
- camera_front_address = pModule + 0x1C09B40;
- camera_top_address = pModule + 0x1EDA440;
- player_address = pModule + 0x2696B0C;
- vehicle_address = pModule + 0x228DDC0;
- location_address = pModule + 0x228D79B;
- street_address = pModule + 0x228A550;
+ if (peekProc(pModule + 0x18064D8, game_name) && VERSION_EQ(game_name, "Grand Theft Auto V")) {
+ state_address = pModule + 0x272B9E0;
+ in_game_address = pModule + 0x2453730;
+ avatar_pos_address = pModule + 0x1F76F40;
+ camera_pos_address = pModule + 0x1F73840;
+ avatar_base_address = pModule + 0x1B8E670;
+ camera_front_address = pModule + 0x1F76130;
+ camera_top_address = pModule + 0x1F76120;
+ player_address = pModule + 0x273615C;
+ vehicle_address = pModule + 0x2329D00;
+ location_address = pModule + 0x23296CB;
+ street_address = pModule + 0x2326410;
// Retail version
} else if (peekProc(pModule + 0x17C3280, game_name) && VERSION_EQ(game_name, "Grand Theft Auto V")) {
state_address = pModule + 0x2688DB0;
@@ -200,10 +200,10 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
}
static const std::wstring longdesc() {
- return std::wstring(L"Supports Grand Theft Auto V version 1.35 with identity support."); // Plugin long description
+ return std::wstring(L"Supports Grand Theft Auto V version 1.37 with identity support."); // Plugin long description
}
-static std::wstring description(L"Grand Theft Auto V (v1.35)"); // Plugin short description
+static std::wstring description(L"Grand Theft Auto V (v1.37)"); // Plugin short description
static std::wstring shortname(L"Grand Theft Auto V"); // Plugin short name
static int trylock1() {