Objectmanager - Some offset trouble menu

Shout-Out

User Tag List

Results 1 to 11 of 11
  1. #1
    Ploski's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Objectmanager - Some offset trouble

    Hi,

    I though i know how to work with the objectmanager, getting the GUID, Type and NextObjectPointer works for me but nothing else ~.~. So I'm atm confused.


    Code:
    Const $OBJMGR_OBJTYPE = 0x14
    Const $OBJMGR_OBJNAME = 0x968+ 0x5C
    const $OBJMGR_OBJGUID = 0x30
    const $OBJMGR_FIRSTOBJ = 0xAC
    const $OBJMGR_NEXTOBJ = 0x3C
    
    
    $pClientConnection = _MemoryRead(0x125A590, $wow_stream, 'ptr')
    $pObjMgr = _MemoryRead($pClientConnection + 0x2D8C, $wow_stream, 'ptr')
    
    $first_object = _MemoryRead($pObjMgr + 0xAC, $wow_stream, 'ptr')
    		
    $object_pointer = $first_object
    $targeted_guid = _MemoryRead(0x01127770, $wow_stream, 'uint')
    	
    $found = 0	
    while $found = 0
    		
    	$object_guid = _MemoryRead($object_pointer + $OBJMGR_OBJGUID, $wow_stream, 'uint')	
    	$object_type = _MemoryRead($object_pointer + $OBJMGR_OBJTYPE, $wow_stream, 'int')
    
    	if $targeted_guid = $object_guid then 
    		$found = 1
    
    		if $object_type = 3 Then
    			$object_name = _MemoryRead($object_pointer + $OBJMGR_OBJNAME, $wow_stream, 'char[40]')	
    		endif
    	endif
    
    
    
    $object_pointer = _MemoryRead($object_pointer + $OBJMGR_NEXTOBJ, $wow_stream, 'ptr')
    		
    
    wend
    GUID, TypeID and NextObjectPointer works fine, but other offsets i searched for in some Threads (3.2.0 Info Dump Thread), wont work.

    Can anybody say what i'm doing wrong?


    PS:
    I hope this are the some right offsets:

    ObjX = 0xE8
    ObjY = 0xEC
    ObjZ = 0xF0
    ObjName = 0x968 + 0x5C

    (Objname was from the posting of cyrus01 in this topic

    Objectmanager - Some offset trouble
  2. #2
    _duracell's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Descriptor offset = 0x8

    i.e. finding a CreatureObject's level would be like such

    [[address+0x8]+0x35*4]

  3. #3
    Ploski's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay, lets do an example:

    right now i got a target with the base: 0x3769A700

    ((0x3769A700 + 0x+0x35*4)

    ((0x3769A70+0xD4)

    0x3769A7DC - int -> 0
    - float -> 0
    - double -> -9.20355....
    - char[10] ->

    I know that float/double and char are sensless, but these values are confusing me O.o

  4. #4
    ninar1's Avatar Member
    Reputation
    13
    Join Date
    Jul 2009
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lets redo your example , its only example data,

    Objectbase 0x3769A700

    3769A700 E8 04 9A 00 00 00 00 00 00 08 19 15 00 05 19 15 èš.......
    3769A710 00 00 00 00 01 00 00 00 14 4D 92 C7 4C CA D3 09 .......M’ÇLÊÓ.

    00 08 19 15

    15190800+0xD4

    151908D4 01 02 03 04 00 76 6F 63 00 00 00 00 03 00 00 00

    in words:
    read the dword at 3769A708
    add 0xD4 to it
    then read the data from that adresse an u have what u want

    i will not point you to Tutorial: Pointers in C and C++
    Ups i did it

  5. #5
    abuckau907's Avatar Active Member
    Reputation
    49
    Join Date
    May 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
        Public ReadOnly Property NBP()
            Get
                Return memReader.ReadUInt32(New IntPtr(_baseAddress + EnumOffsets.wowBasicObjectOffsets.NextObjectPointer))
            End Get
        End Property
        Public ReadOnly Property UnitFieldsAddr() As UInt32
            Get
                Return _unitFieldsAddress
            End Get
        End Property
        Public ReadOnly Property Guid() As UInt64
            Get
                Return memReader.ReadUInt64(New IntPtr(_baseAddress + EnumOffsets.wowBasicObjectOffsets.Guid))
            End Get
        End Property
        Public ReadOnly Property Type() As UInt32
    
    
            Get
                Try
                    Return memReader.ReadUInt32(New IntPtr(_baseAddress + EnumOffsets.wowBasicObjectOffsets.Type))
                Catch ex As Exception
                    'do nothing :(
                End Try
    
            End Get
        End Property
        Public ReadOnly Property XPos() As Single
            Get
                Return memReader.ReadFloat(New IntPtr(_baseAddress + EnumOffsets.wowBasicObjectOffsets.Pos_X))
    
            End Get
        End Property
        Public ReadOnly Property YPos() As Single
            Get
                Return memReader.ReadFloat(New IntPtr(_baseAddress + EnumOffsets.wowBasicObjectOffsets.Pos_Y))
            End Get
        End Property
        Public ReadOnly Property ZPos() As Single
            Get
                Return memReader.ReadFloat(New IntPtr(_baseAddress + EnumOffsets.wowBasicObjectOffsets.Pos_Z))
            End Get
        End Property
        Public ReadOnly Property Rotation() As Single
            Get
                Return memReader.ReadFloat(New IntPtr(_baseAddress + EnumOffsets.wowBasicObjectOffsets.Rotation))
            End Get
        End Property
    Some Offsets
    Code:
        Public Enum wowBasicObjectOffsets As UInt32
    
            UnitFields = &H8
            Type = &H14
            Guid = &H30
            NextObjectPointer = &H3C
            Pos_X = &H79C
            Pos_Y = &H798
            Pos_Z = &H7A0
            Rotation = &H7A8
        End Enum
    ..more offsets:
    Code:
        Public Enum wowPlayerObjectOffsets As UInt32
            Level = &H35 * 4
            CurrentHealth = &H17 * 4
            MaxHealth = &H1F * 4
            CurrentEnergy = &H18 * 4
            MaxEnergy = &H20 * 4
            MinDamage = &H45 * 4
            MaxDamage = &H46 * 4
            CurrentExp = &H260 * 4
            ExpNextLevel = &H261 * 4
            TargetGuid = &H12 * 4
        End Enum
    I know most/all of these offsets are already posted..sorry: Hope they help someone tho.

    edit: Of course, these are for 3.2.0 WOTLK

    Tip: Usually the properties (like health,energy, rotation) are all based off UnitFieldAddress..which is 0x08. So, once you've got the object_base_address any property can be found w/

    object_unit_fields + the_property_offset
    (where) object_unit_fields is just object_base + 0x08
    Hope that makes sense.
    Last edited by abuckau907; 08-11-2009 at 07:14 PM.

  6. #6
    Ploski's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    F*** you guys, that shit is really working =D

    Okay, now my project can really begin

    Many thanks for the explanation and the tutorial ninar1 +Rep,
    and also many thanks to you abuckau907 for the offset "collection" +Rep

  7. #7
    felixdekat's Avatar Member
    Reputation
    2
    Join Date
    Aug 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ploski View Post
    F*** you guys, that shit is really working =D

    Okay, now my project can really begin

    Many thanks for the explanation and the tutorial ninar1 +Rep,
    and also many thanks to you abuckau907 for the offset "collection" +Rep
    if $object_type = 3 Then
    $object_name = _MemoryRead($object_pointer + $OBJMGR_OBJNAME,$wow_stream, 'char[40]')
    endif

    you\ve also got this to work??

  8. #8
    furang's Avatar Member
    Reputation
    19
    Join Date
    Jul 2009
    Posts
    84
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And how can i get object name?
    As i searched it should be smth like
    [[curObj + 0x1A4] + 0x90]
    But it doesn't seem to work (i know it's utf.
    Are this offsets correct?
    PS. I'm using "out of process" technique if it does matter.

  9. #9
    abuckau907's Avatar Active Member
    Reputation
    49
    Join Date
    May 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone know how to tell the difference between NPC and Monsters? Both are TYPE==3
    Also..how to get monster's subclass like..Dragon, Undead, etc

    It's not really needed for my bot..it could just kill everything, but...it'd be nice to know. anyone?

  10. #10
    Ploski's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by felixdekat View Post
    if $object_type = 3 Then
    $object_name = _MemoryRead($object_pointer + $OBJMGR_OBJNAME,$wow_stream, 'char[40]')
    endif

    you\ve also got this to work??
    No, i only got strange strings ~.~ like this onetime: ÝÂÝÃ

    And the Rage/energy also not, i use the right offsets cause the Maxpower1 -7 worked, but not the Rage/Energy amount

  11. #11
    schlumpf's Avatar Retired Noggit Developer

    Reputation
    755
    Join Date
    Nov 2006
    Posts
    2,759
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by abuckau907 View Post
    Anyone know how to tell the difference between NPC and Monsters? Both are TYPE==3
    Also..how to get monster's subclass like..Dragon, Undead, etc

    It's not really needed for my bot..it could just kill everything, but...it'd be nice to know. anyone?
    You should have a look at LUA:UnitCreatureType

Similar Threads

  1. [REQUEST] Some Offsets for 4.3.4
    By chaisar in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 04-24-2012, 02:51 AM
  2. Some offsets
    By jojojoey12 in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 10-17-2011, 04:44 PM
  3. [MAC][3.1.2] Some Offsets and a request
    By Nonowmana in forum WoW Memory Editing
    Replies: 3
    Last Post: 05-27-2009, 02:38 PM
  4. Some Website trouble.
    By V!persting in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-27-2007, 09:58 PM
  5. Blizz is in some trouble. youll love this :)
    By WoWLegend in forum World of Warcraft General
    Replies: 23
    Last Post: 09-26-2006, 08:01 AM
All times are GMT -5. The time now is 04:54 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