Object offset help needed menu

User Tag List

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

    Object offset help needed

    I hate to post for help, but I've been stuck for a couple days now trying to get past this. I loop through my object list successfully and retrieve all objects. I'm able to determine what type of object it is by reading (obj+0x14)(3 for NPC or mob). However, I need more offsets and I'm having trouble figuring out how to use the binary dumps or enum's posted in these sections. I really need offsets for the faction, health, mana, etc.

    here are my current offsets + static
    Code:
    DWORD clientConn = 0x01139F80,
     obgMgrOffset   = 0x2C34, 
     firstObjOffset  = 0xAC,
     nextObjOffset   = 0x3C,
     typeOffset      = 0x14
     GUIDOffset      = 0x30,
     objectXOffset   = 0x798,
     objectYOffset   = 0x79C,
     objectZOffset   = 0x7A0;
    Any help is much appreciated. I have used the search function for about two days now, I don't ask a question without researching it first.

    Object offset help needed
  2. #2
    dkilkhan's Avatar Private
    Reputation
    2
    Join Date
    May 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To get any of the unit fields listed in Cypher's descriptor dump (http://www.mmowned.com/forums/wow-me...eral-info.html), you simply use code such as the following:

    Code:
    // First you'll want to get the unitFields base address and store it
    unitFields = ReadUInt(curObj + (uint)MemEnums.UnitFields.UNIT_FIELD_BASE);
    
    // Then read any of the specific fields as follows (in this case, faction)
    faction = swow.ReadUInt(unitFields + ((uint)MemEnums.UnitFields.UNIT_FIELD_FACTIONTEMPLATE * 4));
    Pretty simple from there.

    edit- Probably important, UNIT_FIELD_BASE = 0x8... was probably also listed in that same thread somewhere.
    Last edited by dkilkhan; 05-22-2009 at 04:30 PM.

  3. #3
    0_00_0's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what would UNIT_FIELD_BASE be in this case? I can't seem to find it on there.

  4. #4
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by dkilkhan View Post
    edit- Probably important, UNIT_FIELD_BASE = 0x8... was probably also listed in that same thread somewhere.
    I believe he edited his post.

  5. #5
    0_00_0's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    I believe he edited his post.
    yep, refresh button is key. Anyways, this helped a LOT. Thanks a lot for the help!

    edit: I'm getting some weird values. not really sure the descriptors are working, or I'm not doing it correctly. I'm doing it in C++:

    Code:
    DWORD unit_Field_Base = 0x8,
     faction_Template = 0x36;
    //get unit faction
    int getFaction(HANDLE hProcess, DWORD curObj){
          int ret=0;
          DWORD buf=0;
          if(ReadProcessMemory(hProcess, (LPCVOID)(curObj+unit_Field_Base), &buf, sizeof(buf), NULL)==0)
                                       return 0;
          if(ReadProcessMemory(hProcess, (LPCVOID)(buf+(faction_Template*4)), &ret, sizeof(ret), NULL)==0)
                                       return 0;                             
          return ret;
    }
    Last edited by 0_00_0; 05-22-2009 at 06:03 PM.

Similar Threads

  1. Little help needed in reading objects data
    By Pomidorov in forum WoW Memory Editing
    Replies: 0
    Last Post: 11-02-2010, 07:50 AM
  2. [Trinity] Help need some Tree Object ID´s
    By MASTERKING in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-23-2010, 08:41 AM
  3. [Help Needed] Finding ClickToMove Offsets
    By fukmeimbroken in forum WoW Memory Editing
    Replies: 6
    Last Post: 12-20-2009, 09:36 AM
  4. In help. Need a object ID for a wall
    By Victoria in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-16-2008, 03:18 PM
  5. Backspace scam Help needed
    By TripleShank26 in forum World of Warcraft General
    Replies: 3
    Last Post: 06-12-2006, 05:18 PM
All times are GMT -5. The time now is 06:24 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