Skip to content
Permalink
Browse files

Merge PR #2565: plugins/wow: update plugin to work with build 22624

  • Loading branch information...
mkrautz committed Sep 26, 2016
2 parents d08be37 + a18d61c commit 2733fed4663645372d8795cc6adb66e2d81c77b6
Showing with 14 additions and 14 deletions.
  1. +7 −7 plugins/wow/wow.cpp
  2. +7 −7 plugins/wow_x64/wow_x64.cpp
@@ -13,31 +13,31 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa

// To update visit http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing
// and look for a thread called "[WoW] [Version] Release Info Dump Thread".
// http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/578228-wow-7-0-3-22522-release-info-dump-thread-post3584506.html#post3584506
// http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/585582-wow-7-0-3-22624-release-info-dump-thread.html#post3615091

// Avatar pointer
procptr32_t avatar_offset = peekProc<procptr32_t>(pModule + 0xDE545C); // "LocalPlayer" in the thread.
procptr32_t avatar_offset = peekProc<procptr32_t>(pModule + 0xDE565C); // "LocalPlayer" in the thread.
if (!avatar_offset) return false;

// Camera pointer
procptr32_t camera_base = peekProc<procptr32_t>(pModule + 0xEB9F1C); // "CameraStruct" in the thread.
procptr32_t camera_base = peekProc<procptr32_t>(pModule + 0xEBA11C); // "CameraStruct" in the thread.
if (!camera_base) return false;
procptr32_t camera_offset = peekProc<procptr32_t>(camera_base + 0x3264); // "CameraOffset" in the thread.
if (!camera_offset) return false;

// Realm pointer
procptr32_t realm_offset = peekProc<procptr32_t>(pModule + 0xF3AD7C); // Not available in the thread.
procptr32_t realm_offset = peekProc<procptr32_t>(pModule + 0xF3AF7C); // Not available in the thread.
if (!realm_offset) return false;

// Memory addresses
procptr32_t state_address = 0xE5BB19; // "GameState" in the thread.
procptr32_t state_address = 0xE5BD19; // "GameState" in the thread.
procptr32_t avatar_pos_address = 0xAF8; // "UnitOrigin" in the thread.
procptr32_t camera_pos_address = 0x08; // "CameraOrigin" in the thread.
procptr32_t camera_front_address = 0x14; // "CameraMatrix" in the thread.
procptr32_t camera_top_address = 0x2C; // "CameraMatrix" + 0x18.
procptr32_t avatar_heading_address = 0xB08; // "UnitAngle" in the thread.
procptr32_t realm_address = 0x384; // Not available in the thread.
procptr32_t player_address = 0xF3B088; // Not available in the thread.
procptr32_t player_address = 0xF3B288; // Not available in the thread.

// Boolean value to check if game addresses retrieval is successful
bool ok;
@@ -156,7 +156,7 @@ static const std::wstring longdesc() {
return std::wstring(L"Supports World of Warcraft (x86) with context and identity support."); // Plugin long description
}

static std::wstring description(L"World of Warcraft (x86) version 7.0.3.22566"); // Plugin short description
static std::wstring description(L"World of Warcraft (x86) version 7.0.3.22624"); // Plugin short description
static std::wstring shortname(L"World of Warcraft"); // Plugin short name

static int trylock1() {
@@ -13,31 +13,31 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa

// To update visit http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing
// and look for a thread called "[WoW] [Version] Release Info Dump Thread".
// http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/578228-wow-7-0-3-22522-release-info-dump-thread-post3584506.html#post3584506
// http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-memory-editing/585582-wow-7-0-3-22624-release-info-dump-thread.html#post3615091

// Avatar pointer
procptr64_t avatar_offset = peekProc<procptr64_t>(pModule + 0x169BCB0); // "LocalPlayer" in the thread.
procptr64_t avatar_offset = peekProc<procptr64_t>(pModule + 0x169DF10); // "LocalPlayer" in the thread.
if (!avatar_offset) return false;

// Camera pointer
procptr64_t camera_base = peekProc<procptr64_t>(pModule + 0x179A518); // "CameraStruct" in the thread.
procptr64_t camera_base = peekProc<procptr64_t>(pModule + 0x179C778); // "CameraStruct" in the thread.
if (!camera_base) return false;
procptr64_t camera_offset = peekProc<procptr64_t>(camera_base + 0x3338); // "CameraOffset" in the thread.
if (!camera_offset) return false;

// Realm pointer
procptr64_t realm_offset = peekProc<procptr64_t>(pModule + 0x1825C68); // Not available in the thread.
procptr64_t realm_offset = peekProc<procptr64_t>(pModule + 0x1827EC8); // Not available in the thread.
if (!realm_offset) return false;

// Memory addresses
procptr64_t state_address = 0x173C66E; // "GameState" in the thread.
procptr64_t state_address = 0x173E8CE; // "GameState" in the thread.
procptr64_t avatar_pos_address = 0x15A8; // "UnitOrigin" in the thread.
procptr64_t camera_pos_address = 0x10; // "CameraOrigin" in the thread.
procptr64_t camera_front_address = 0x1C; // "CameraMatrix" in the thread.
procptr64_t camera_top_address = 0x34; // "CameraMatrix" + 0x18.
procptr64_t avatar_heading_address = 0x15B8; // "UnitAngle" in the thread.
procptr64_t realm_address = 0x430; // Not available in the thread.
procptr64_t player_address = 0x1825FC0; // Not available in the thread.
procptr64_t player_address = 0x1828220; // Not available in the thread.

// Boolean value to check if game addresses retrieval is successful
bool ok;
@@ -156,7 +156,7 @@ static const std::wstring longdesc() {
return std::wstring(L"Supports World of Warcraft (x64) with context and identity support."); // Plugin long description
}

static std::wstring description(L"World of Warcraft (x64) version 7.0.3.22566"); // Plugin short description
static std::wstring description(L"World of Warcraft (x64) version 7.0.3.22624"); // Plugin short description
static std::wstring shortname(L"World of Warcraft"); // Plugin short name

static int trylock1() {

0 comments on commit 2733fed

Please sign in to comment.
You can’t perform that action at this time.