Obtaining additional object data. menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    alek900's Avatar Contributor
    Reputation
    103
    Join Date
    Nov 2007
    Posts
    101
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bierstud View Post
    Well then I must be doing something wrong. Those are the offsets I had been using.

    Perhaps someone can point out my issue? I'll try and include the relevant code below.

    Inside loop while reading objects in:

    ...
    "name" contains the address to read to get the unit name

    Code:
    void DisplayUnitName(object *unit)
    {
    	DWORD nAddr;
    	DWORD nAddr2;
    	char name[40];
    
    	ReadProcessMemory(toWin, (LPVOID)(unit->wowAddr + 0x9B0), &nAddr, sizeof(nAddr), NULL);
    	ReadProcessMemory(toWin, (LPVOID)(nAddr + 0x03C), &nAddr2, sizeof(nAddr2), NULL);
    	ReadProcessMemory(toWin, (LPVOID)nAddr2 , &name, sizeof(name), NULL);
    
    	cout << endl << "Unit 0x" << hex << uppercase << unit->guid << " name: " << name << dec << endl;
    }
    19+4 that means i score

    Obtaining additional object data.
  2. #17
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    *blush* thank you =) +rep

  3. #18
    TheSmokie's Avatar Active Member
    Reputation
    26
    Join Date
    Jul 2020
    Posts
    32
    Thanks G/R
    5/5
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello, i was able to get this working in c#, posting code for anyone who needs in the future. c# Wow build 3.3.5a

    Code:
     public Enums.WowRace WowRace
            {
                get
                {
                    return (Enums.WowRace)base.GetDescriptorAddress<int>((uint)Enums.UnitFields.UNIT_FIELD_FACTIONTEMPLATE);
                }
            }
    
    public enum WowRace
            {
                Human = 1,
                Orc = 2,
                Dwarf = 3,
                NightElf = 4,
                Undead = 5,
                Tauren = 6,
                Gnome = 115,
                Troll = 116,
                BloodElf = 1610,
                Draenei = 1629
            }

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Quick Question] Which DBC contains object data?
    By -Ryuk- in forum WoW Memory Editing
    Replies: 1
    Last Post: 09-15-2014, 01:00 PM
  2. Is adt/v23 the correct structure for Cataclysm terrain/object data?
    By hoobiedoobie in forum WoW ME Questions and Requests
    Replies: 8
    Last Post: 12-26-2010, 02:53 PM
  3. Little help needed in reading objects data
    By Pomidorov in forum WoW Memory Editing
    Replies: 0
    Last Post: 11-02-2010, 07:50 AM
  4. Clarification of Object Data
    By Shynd in forum WoW Memory Editing
    Replies: 1
    Last Post: 06-29-2008, 04:37 PM
  5. Campfire---> Ramp or other climbable object?
    By Piratewolf in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 10-04-2006, 08:22 AM
All times are GMT -5. The time now is 06:14 PM. 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