[C++][WOW 4.3.4 15595] Read player health menu

Shout-Out

User Tag List

Results 1 to 4 of 4
  1. #1
    semar's Avatar Private
    Reputation
    8
    Join Date
    Jun 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++][WOW 4.3.4 15595] Read player health

    Is possible to read player health, energy, name or something like this without inject DLL to game?
    I know how to read hp player when i know memmory adress, but after restart wow address is different, how can i get baseaddress? Can someone put simple source of program to read player health or something else without using AutoIT, ChatEngine? (it have to work after restart game).

    How i reading player mana and hp when i know adress:
    #include <iostream>
    #include <Windows.h>

    #define GAMENAME "World of Warcraft"

    void PlayerXYZ();
    DWORD_PTR dwGetModuleBaseAddress(DWORD dwProcessIdentifier, TCHAR *szModuleName);

    static DWORD mana_a = 0x34A49498;
    static DWORD health_a = 0x34A49494;


    int main(int argc, _TCHAR* argv[])
    {

    PlayerXYZ();
    std::cout << "World of Warcraft memory could not be read." << std::endl;
    system("PAUSE");

    return 0;
    }

    void PlayerXYZ(){

    HWND hWnd = FindWindow(0, GAMENAME);
    HDC hDC_Desktop = GetDC(hWnd);
    DWORD dwProcId;
    GetWindowThreadProcessId( hWnd, &dwProcId );
    HANDLE hProcHandle;

    if( dwProcId != 0 )
    {

    hProcHandle = OpenProcess( PROCESS_VM_READ, FALSE, dwProcId );
    if( hProcHandle == INVALID_HANDLE_VALUE || hProcHandle == NULL )
    {
    std::cout << GAMENAME << " memory could not be read -> FAILED" << std::endl;
    }
    else
    {
    std::cout << GAMENAME << " memory can be read! -> SUCCESS " << std::endl;
    }
    }

    int health ;
    int mana ;
    while(GetWindowThreadProcessId( hWnd, &dwProcId )){
    Sleep(500);
    system("CLS");
    ReadProcessMemory(hProcHandle,(void*)(health_a),&health,sizeof(health),0);
    std::cout << "hp: " << health << std::endl;
    ReadProcessMemory(hProcHandle,(void*)(mana_a),&mana,sizeof(mana),0);
    std::cout << "mana: " << mana << std::endl;
    }
    }
    Sry for my english is it bad.
    Last edited by semar; 06-24-2013 at 10:35 AM.

    [C++][WOW 4.3.4 15595] Read player health
  2. #2
    iamsohigh's Avatar Private
    Reputation
    1
    Join Date
    Jun 2013
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Base address is "always" same -> 0x0400000 , you need to find a static address which points to HP, also, go for dll injection its so much better.

  3. #3
    semar's Avatar Private
    Reputation
    8
    Join Date
    Jun 2013
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for reply, i know .exe have base address 0x0400000 but idk how to name this static part.
    I seen somewhere, few programmers used function to get static address and then they added permanent address of statistics like health, position etc so question is how to get this static part, source could explain all my problems with it, i want to see how to get any statistic without using dll injecttion or other programs to get memory address
    also i seen something like wow.exe+0x11CC in ReadProcessMemory function, idk whats mean wow.exe here .

  4. #4
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    326
    Thanks G/R
    184/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Similar Threads

  1. AutoIt - Read Players Health help
    By D3ADLiN3 in forum WoW Memory Editing
    Replies: 2
    Last Post: 10-11-2011, 12:34 AM
  2. Can you read player names out of process?
    By sweeper18 in forum WoW Memory Editing
    Replies: 10
    Last Post: 07-06-2008, 08:54 PM
  3. i NEED WOW+TBC CD KEYS PLZ READ!!!
    By Kileris in forum Community Chat
    Replies: 1
    Last Post: 01-28-2008, 09:13 AM
  4. What is good about wow? [Parents will buy wow for you after they read this!]
    By latruwski in forum Screenshot & Video Showoff
    Replies: 8
    Last Post: 12-15-2007, 06:58 PM
  5. WTT WoW account for glider key. READ.
    By Elites360 in forum Members Only Accounts And CD Keys Buy Sell
    Replies: 3
    Last Post: 02-21-2007, 10:39 AM
All times are GMT -5. The time now is 09:42 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search