[Object loop] Help please :blush: menu

User Tag List

Results 1 to 5 of 5
  1. #1
    spawnfestis's Avatar Contributor
    Reputation
    85
    Join Date
    May 2009
    Posts
    261
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Object loop] Help please :blush:

    Code:
                    if (Memory.OpenProcessAndThread(SProcess.GetProcessFromProcessName("wow")))
                    {
                        uint playerBase = Memory.ReadUInt(Memory.ReadUInt(Memory.ReadUInt(0x010B65F4) + 0x34) + 0x24);
                        uint s_curMgr = Memory.ReadUInt(Memory.ReadUInt(0x1132F60) + 0x2C24);
                        uint curObj = Memory.ReadUInt(s_curMgr + 0xAC);
                        uint nextObj = 0;
                        uint curItems = 0;
    
                        while (curObj != 0 && (curObj & 1) == 0)
                        {
                            UInt64 type = Memory.ReadUInt(curObj + 0x14);
    
                            float objX = Memory.ReadFloat(Memory.ReadUInt(curObj + 0x08) + 0x7d4);
                            float objY = Memory.ReadFloat(Memory.ReadUInt(curObj + 0x08) + 0x7d8);
                            float objZ = Memory.ReadFloat(Memory.ReadUInt(curObj + 0x08) + 0x7dc);
    
                            if (type == 3/* monsters */)
                            {
                                test.Text += "X: " + objX.ToString() + " Y: " + objY.ToString() + " Z: " + objZ.ToString() + "\r\n";
                                curItems++;
                            }
                            nextObj = Memory.ReadUInt(curObj + 0x3C);
    
                            if (nextObj == curObj) break;
                            else curObj = nextObj;
                        }
                    }
    As you can see I've blatantly copied the code. I won't disagree with that.
    I've tried updating it (shynds blog) as much as I've could.
    It seems like the objects are being looped out properly, but the XYZ are not.

    Is there something I've done terribly wrong? (There must be.) Could you point me in the direction? I'm thinking I have the wrong offsets since the amount of looped objects are actually "right" but the returns are not (xyz).
    I've been playing with this for a while now and can't seem to find the right answer.

    Appreciate your answer, thanks. :wave:

    [Object loop] Help please :blush:
  2. #2
    YetiHunter's Avatar Member
    Reputation
    6
    Join Date
    Aug 2006
    Posts
    57
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think the offsets are wrong

    Code:
    x : 0x798
    y : 0x79C
    z : 0x7A0
    they work for me

  3. #3
    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)
    Players & Units:
    [[PlayerBase + 0xD8] + 0x10 + 0x0] = x
    [[PlayerBase + 0xD8] + 0x10 + 0x4] = y
    [[PlayerBase + 0xD8] + 0x10 + 0x8] = z
    [[PlayerBase + 0xD8] + 0x20] = r

    GameObjects:
    x = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[base + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0xD8 + 0x10 + 0x0]

    y = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[base + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0xD8 + 0x10 + 0x4]

    z = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[base + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0xD8 + 0x10 + 0x8]

    Next time, take a look at the "[A.B.C] General Information" threads.
    Last edited by SKU; 05-08-2009 at 03:38 PM.

  4. #4
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SKU View Post
    Players & Units:
    [[PlayerBase + 0xD8] + 0x10 + 0x0] = x
    [[PlayerBase + 0xD8] + 0x10 + 0x4] = y
    [[PlayerBase + 0xD8] + 0x10 + 0x8] = z
    [[PlayerBase + 0xD8] + 0x20] = r

    GameObjects:
    x = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[base + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0xD8 + 0x10 + 0x0]

    y = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[base + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0xD8 + 0x10 + 0x4]

    z = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[base + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0x1A0] + 0x4] + 0xD8 + 0x10 + 0x8]

    Next time, take a look at the "[A.B.C] General Information" threads.

    AAAAH WHY DO I HAVE TO SPREAD?!

    I know, because you rock and the OP doesn't...-.-

  5. #5
    spawnfestis's Avatar Contributor
    Reputation
    85
    Join Date
    May 2009
    Posts
    261
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Fixed it...

    EDIT:
    Working solution;

    Code:
    float objX = Memory.ReadFloat(curObj + 0x798);
    Monster X
    Last edited by spawnfestis; 05-08-2009 at 04:22 PM.

Similar Threads

  1. Gold to Karazhan doesn't work,help please
    By Raijin in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-10-2006, 07:40 PM
  2. Bit of help please?
    By Adam0500 in forum World of Warcraft General
    Replies: 0
    Last Post: 09-16-2006, 04:19 AM
  3. Aspiring model editor requires some professional help please!
    By grampa5000 in forum World of Warcraft Model Editing
    Replies: 8
    Last Post: 09-03-2006, 11:57 PM
  4. Help Please im a newbie
    By phoenix in forum World of Warcraft General
    Replies: 3
    Last Post: 07-14-2006, 09:29 AM
  5. I Need some IE help please!
    By Shadowman2418 in forum Community Chat
    Replies: 0
    Last Post: 07-10-2006, 09:02 PM
All times are GMT -5. The time now is 02:13 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