ive been droodling for days... menu

User Tag List

Results 1 to 5 of 5
  1. #1
    yeahlol's Avatar Member
    Reputation
    -6
    Join Date
    Nov 2010
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ive been droodling for days...

    Ive been toying around some time now... cant get it to work. what i want to do is traverse the objectmanager.

    code as follows:
    [SPOILER]
    Code:
    namespace BlackRainTest
    {
        class WoWObject
        {
            public uint address = 0;
    
            public WoWObject(uint address)
            {
                this.address = address;
            }
    
            public ulong GUID
            {
                get
                {
                    BlackMagic wow = new BlackMagic();
                    wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
                    return wow.ReadUInt64(this.address);
                }
            }
    
            public int Type
            {
                get
                {
                    BlackMagic wow = new BlackMagic();
                    wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
                    return wow.ReadInt(this.address + 0x8);
                }
            }
        }
    
        class Program
        {
            public static uint CLIENT_CONNECTION = 0x8B3F78;
            public static uint OBJECT_MANAGER_OFFSET = 0x462C;
            public static uint FIRST_OBJECT = 0xB4;
            public static uint NEXT_OBJECT = 0x3C;
            public static uint LOCAL_GUID_OFFSET = 0xB8;
    
            static void Main(string[] args)
            {
                BlackMagic wow = new BlackMagic();
                wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
    
                uint clientconnection = 279883368; //  wow.ReadUInt(CLIENT_CONNECTION);
                uint objectmanager = wow.ReadUInt(clientconnection + OBJECT_MANAGER_OFFSET);
                uint firstobject = wow.ReadUInt(objectmanager + FIRST_OBJECT);
                ulong localplayerguid = wow.ReadUInt64(objectmanager + LOCAL_GUID_OFFSET);
    
                WoWObject currentObject = new WoWObject(firstobject);
    
                while (currentObject.address != 0 && currentObject.address % 2 == 0)
                {
                    WoWObject wowobj = new WoWObject(currentObject.address);
    
                    if (wowobj.GUID == localplayerguid)
                    {
                        // Find myself
                    }
    
                    if (wowobj.Type == 4)
                    {
                        // If objecttype is 4
                    }
    
                    currentObject.address = wow.ReadUInt(currentObject.address + NEXT_OBJECT);
                }
            }
        }
    }
    [/SPOILER]

    And there are 2 problems:

    1) Im not reading the type correct, it outputs (when it does) a number > 7
    2) I never get to the part where i found myself

    Please just look at the code and if you see anything obvious wrong, tell me. I've been lookin at my memoryreader and forum posts a couple of days now.

    Don't mind the static connectionmanager unless you could tell me why i cant read the clientconnection address that way using blackmagic (what i did is read if from another application I made that fetches it for me).

    Im using RivaLfr's offsets from http://www.mmowned.com/forums/world-...ml#post1985880

    The way of traversing the objectmanager is fetched from "MBot", but I wanted to use Blackmagic (and there is where i got the clientconnection address).

    I know the code is very crude, but I really wanted to prototype some stuff so made it as easy as I could.

    I would really love it if someone could straighten out my errors. Ty ty in advance -yeahlol

    ive been droodling for days...
  2. #2
    yeahlol's Avatar Member
    Reputation
    -6
    Join Date
    Nov 2010
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    64 views and no responses... :-)

    Im not asking to be spoonfed, a hand out maybe but its not like im asking for a complete source to a epic bot. So if anyone has any ideas on how i correct the problems i highlighted it would be much appreciated.

  3. #3
    jjaa's Avatar Contributor
    Reputation
    245
    Join Date
    Dec 2006
    Posts
    562
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The offsets you are using are relative to the beginning of the WoW module, make sure you account for that.

  4. #4
    yeahlol's Avatar Member
    Reputation
    -6
    Join Date
    Nov 2010
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okey, thank you for your reply! Ive searched and found something about 0x00400000, is this correct and do i add to all or just client connection static? thank you again

  5. #5
    maltikism's Avatar Member
    Reputation
    8
    Join Date
    Jun 2009
    Posts
    34
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nobody has replied because they secretly think you're a noob for using Blackmagic.

Similar Threads

  1. Been botting for past 3 days with no issues
    By djpmd in forum Pokemon GO Hacks|Cheats
    Replies: 11
    Last Post: 08-16-2016, 01:48 AM
  2. Something ive been thinking about for a long time about WoW.
    By Midianic in forum World of Warcraft General
    Replies: 4
    Last Post: 10-12-2009, 03:24 PM
  3. So I've been searching for a week...
    By Twister06 in forum World of Warcraft General
    Replies: 4
    Last Post: 02-10-2007, 01:26 PM
  4. Ive been scamed
    By nickbw in forum World of Warcraft General
    Replies: 13
    Last Post: 01-28-2007, 07:39 PM
  5. Arggg Ive Been Suspended For 3 1/2 Weeks!
    By Osmose in forum World of Warcraft General
    Replies: 8
    Last Post: 11-17-2006, 09:24 AM
All times are GMT -5. The time now is 07:18 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