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>2017-03-18 02:20:44 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2017-03-18 02:20:44 +0300
commitd19fdd59ded82492be800d847054cdff11183df5 (patch)
tree9a71e048f7abfe74bc35562569682b6026554a15 /plugins
parent10079ed9867308aad098231f86e260bd831b0ac6 (diff)
plugins/gtav: update plugin to work with version 1.38 (Steam)
Game version: 1.38 (Steam) https://support.rockstargames.com/hc/en-us/articles/115004482908
Diffstat (limited to 'plugins')
-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 49556cdfb..1c379a13a 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 + 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;
+ if (peekProc(pModule + 0x18107F8, game_name) && VERSION_EQ(game_name, "Grand Theft Auto V")) {
+ state_address = pModule + 0x27377E0;
+ in_game_address = pModule + 0x245F430;
+ avatar_pos_address = pModule + 0x1F82C30;
+ camera_pos_address = pModule + 0x1C5C560;
+ avatar_base_address = pModule + 0x1B99760;
+ camera_front_address = pModule + 0x1F81E20;
+ camera_top_address = pModule + 0x1F81E10;
+ player_address = pModule + 0x2741F7C;
+ vehicle_address = pModule + 0x2335A00;
+ location_address = pModule + 0x23353CB;
+ street_address = pModule + 0x2332110;
// 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.37 with identity support."); // Plugin long description
+ return std::wstring(L"Supports Grand Theft Auto V version 1.38 (Steam) and 1.36 (Retail) with identity support."); // Plugin long description
}
-static std::wstring description(L"Grand Theft Auto V (v1.37)"); // Plugin short description
+static std::wstring description(L"Grand Theft Auto V (v1.38 [Steam] & v1.36 [Retail])"); // Plugin short description
static std::wstring shortname(L"Grand Theft Auto V"); // Plugin short name
static int trylock1() {