[wow]reading static adress of player hp menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    hydro94's Avatar Member
    Reputation
    1
    Join Date
    Jun 2015
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [wow]reading static adress of player hp

    Hello.

    I'm able to get dynamic address of player hp , but always when game loads It is changed.
    I would like to ask , how could I calculate or get the static player health/mana/position address.
    Thanks for help,programming language doesn't matter.

    [wow]reading static adress of player hp
  2. #2
    Valediction's Avatar Active Member
    Reputation
    37
    Join Date
    Jul 2012
    Posts
    48
    Thanks G/R
    8/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please use the search button and do a bit of research.

  3. #3
    reliasn's Avatar Legendary Authenticator enabled
    Reputation
    774
    Join Date
    Jan 2009
    Posts
    136
    Thanks G/R
    24/215
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, you can find tons of threads about this in Ownedcore. But I feel like helping today (hopefully).

    Small snippet in C++ to read descriptors:

    Code:
    #define RPM(X,Y,Z) ReadProcessMemory(wowHandle, X, Y, Z, 0);
    
    // Get descriptors address
    DWORD GetDescriptors(DWORD address){
    	DWORD ret;
    	RPM(reinterpret_cast<void*>(address + ObjMgr::DescriptorsOffset),&ret,sizeof(ret));
    	return ret;
    }
    
    // Get player's base address
    DWORD GetPlayerMemLoc(){
    	int memloc;
    	RPM(reinterpret_cast<void*>(baseAddr + WoW::PlayerMemLoc), &memloc, sizeof(memloc));
    	return memloc;
    }
    
    // Read some descriptor
    void ReadDescriptor(DWORD address, DWORD field, DWORD *var){
    	RPM(reinterpret_cast<void*>(GetDescriptors(address) + field),&*var,sizeof(*var));
    }
    
    // Read player's health
    DWORD health;
    ReadDescriptor(GetPlayerMemLoc(), Unit::Health, &health);
    And the offsets for WoW 6.1.2.19865:
    Code:
    ObjMgr::DescriptorsOffset = 0x4,
    WoW::PlayerMemLoc = 0xDC0BC8,
    Unit::Health = 0xEC
    In other words, it's simply this:
    Code:
    [[[baseAddress + 0xDC0BC8] + 0x4] + 0xEC]

  4. #4
    Torpedoes's Avatar ★ Elder ★ Doomsayer
    Authenticator enabled
    Reputation
    1147
    Join Date
    Sep 2013
    Posts
    956
    Thanks G/R
    148/415
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're too nice reliasn.

    ([WoW] [6.1.2 19865] Release Info Dump Thread)Here are the latest offsets. Keep in mind they'll be changing on Tuesday.

  5. #5
    hydro94's Avatar Member
    Reputation
    1
    Join Date
    Jun 2015
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you!

Similar Threads

  1. WoW Current Statics and Offsets
    By Froogle in forum WoW Memory Editing
    Replies: 116
    Last Post: 07-05-2008, 11:49 PM
  2. Giving Up WoW? Read Here!
    By Arthas117 in forum Community Chat
    Replies: 20
    Last Post: 05-25-2008, 09:38 PM
  3. Wow Eternal | Big Server | 1000 player cap
    By cherl in forum WoW Emulator Server Listings
    Replies: 0
    Last Post: 03-22-2008, 10:11 PM
  4. Getting WoW E-mail adresses
    By cokectyler in forum World of Warcraft General
    Replies: 2
    Last Post: 01-31-2008, 05:35 PM
All times are GMT -5. The time now is 06:17 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search