how to get the GameObject(mine or herb) x,y,z ? menu

User Tag List

Results 1 to 12 of 12
  1. #1
    j121780im's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to get the GameObject(mine or herb) x,y,z ?

    i can get player & npc x,y,z

    Code:
    curPx = wow.ReadFloat(curObject + 0x7D0);
    curPy = wow.ReadFloat(curObject + 0x7D4);
    curPz = wow.ReadFloat(curObject + 0x7D8);
    but , GameObject x,y,z value is too small ?
    ex:
    herb 01 .X:0.01262539, Y:1.446261, Z:-0.1032953,
    herb 02. X:-7.415115, Y:12.58842, Z:0

    @@"... i can't calculate it, someone help me ><?

    where are the correct x y z ?

    how to get the GameObject(mine or herb) x,y,z ?
  2. #2
    g3gg0's Avatar Active Member
    Reputation
    32
    Join Date
    Mar 2008
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thats my code:
    Code:
                            case eObjType.OT_GAMEOBJ:
                                addr1 = WoW.ReadInteger(curObj + 0x1f4);
                                addr2 = WoW.ReadInteger(addr1 + 0x078);
    
                                objectName = WoW.ReadString(addr2, 256);
    
                                if (isEnabled)
                                {
                                    addr1 = WoW.ReadInteger(curObj + 0x08);
                                    posX = WoW.ReadFloat(addr1 + 0x10 * 4);
                                    posY = WoW.ReadFloat(addr1 + 0x11 * 4);
                                    posZ = WoW.ReadFloat(addr1 + 0x12 * 4);
    
                                    visible = true;
                                }
    to get the wmo name, you may use

    Code:
                                int dispIDMin = WoW.ReadInteger(0xFCEC44);
                                int DispIDBase = WoW.ReadInteger(0xFCEC54);
                                int objectStorage3 = WoW.ReadInteger(curObj + 0x108);
                                int dispID = WoW.ReadInteger(objectStorage3 + 0x08);
                                int dispInfo = WoW.ReadInteger(DispIDBase + 4 * (dispID - dispIDMin));
    
                                String wmoName = WoW.ReadString(CMB.ReadInteger(dispInfo + 4), 256);
                                objectName = WoW.ReadString(addr2, 256) + " DI "+ dispID + " (" + wmoName + ")";
    Last edited by g3gg0; 01-20-2009 at 03:41 PM.

  3. #3
    j121780im's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you very much!!

    no problem

  4. #4
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by g3gg0 View Post
    thats my code:
    Code:
                            case eObjType.OT_GAMEOBJ:
                                addr1 = WoW.ReadInteger(curObj + 0x1f4);
                                addr2 = WoW.ReadInteger(addr1 + 0x078);
     
                                objectName = WoW.ReadString(addr2, 256);
     
                                if (isEnabled)
                                {
                                    addr1 = WoW.ReadInteger(curObj + 0x08);
                                    posX = WoW.ReadFloat(addr1 + 0x10 * 4);
                                    posY = WoW.ReadFloat(addr1 + 0x11 * 4);
                                    posZ = WoW.ReadFloat(addr1 + 0x12 * 4);
     
                                    visible = true;
                                }
    to get the wmo name, you may use

    Code:
                                int dispIDMin = WoW.ReadInteger(0xFCEC44);
                                int DispIDBase = WoW.ReadInteger(0xFCEC54);
                                int objectStorage3 = WoW.ReadInteger(curObj + 0x108);
                                int dispID = WoW.ReadInteger(objectStorage3 + 0x08);
                                int dispInfo = WoW.ReadInteger(DispIDBase + 4 * (dispID - dispIDMin));
     
                                String wmoName = CMB.ReadString(CMB.ReadInteger(dispInfo + 4), 256);
                                objectName = CMB.ReadString(addr2, 256) + " DI "+ dispID + " (" + wmoName + ")";
    +Rep for posting your code.

  5. #5
    g3gg0's Avatar Active Member
    Reputation
    32
    Join Date
    Mar 2008
    Posts
    86
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    fixed a bug (CMB->WoW)

  6. #6
    yangken's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    would you mind to tell me
    is this for 3.0.8 or 3.0.3? thanks

  7. #7
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by yangken View Post
    would you mind to tell me
    is this for 3.0.8 or 3.0.3? thanks
    Only
    Code:
    int dispIDMin = WoW.ReadInteger(0xFCEC44);
    int DispIDBase = WoW.ReadInteger(0xFCEC54);
    Could cause problems with the new patch, other offsets haven't changed.
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  8. #8
    yangken's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks a lot

  9. #9
    yangken's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    another question, thanks
    "b_success &= ReadProcessMemory(m_wowhandle, (LPVOID)(m_curmgraddr + 0xAC), &fstObj, 4, NULL);"
    the fstObj value is always 0x49202820, and then i cant read any info from fstObj, (getlasterror == 0x12b)

    the first object pointer offset is not 0xAC or something else wrong?
    thanks again..
    and objtype offset is 0x14, is that right for version 3.0.8?

  10. #10
    SKU's Avatar Contributor
    Reputation
    306
    Join Date
    May 2007
    Posts
    565
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The offsets stayed the same, so 0xAC is correct. What is your m_curmgraddr? [[clientConnection] + mgrOffset]?

    for the following info: credits to robske: The ObjectType offset is correct aswell, be sure to use the right enum.

    item = 1, container = 2, unit = 3, player = 4, gameobject = 5, dynobject = 6, corpse = 7

  11. #11
    yangken's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, SKU
    my m_curmgraddr is [clientConnection] + mgrOffset, but not [[clientConnection] + mgrOffset] "OMG~~~~fool..."
    thanks again for your following info

  12. #12
    Dearleader's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    worked. Thanks

Similar Threads

  1. [Guide] How to get the "WoW Card" loots
    By [ Prototype ] in forum World of Warcraft Guides
    Replies: 46
    Last Post: 10-14-2007, 07:16 PM
  2. does anyone know how to get the wow nude mod?
    By mcorey93m2006 in forum World of Warcraft General
    Replies: 9
    Last Post: 05-09-2007, 12:43 AM
  3. How to get the LUCKY FISHING HAT (TWINKS)
    By Valmilu in forum World of Warcraft Guides
    Replies: 9
    Last Post: 03-27-2007, 07:58 AM
  4. How to get the arena-chest easy
    By User in forum World of Warcraft Exploits
    Replies: 18
    Last Post: 10-18-2006, 11:24 PM
All times are GMT -5. The time now is 12:10 AM. 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