[Guide-kind of] How I handle objects. menu

User Tag List

Page 5 of 6 FirstFirst 123456 LastLast
Results 61 to 75 of 80
  1. #61
    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)
    VM 9

    fillerlololo

    [Guide-kind of] How I handle objects.
  2. #62
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use a debugger/disassembler and reverse some functions.

  3. #63
    qjlex's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    public void ObjectMethod()
            {
                uint g_clientConnection = BotContro1l.memReader.ReadUInt((IntPtr)0x1139F80);
                uint s_curMgr = BotContro1l.memReader.ReadUInt((IntPtr)(g_clientConnection + 0x2C34));
                uint curObj = BotContro1l.memReader.ReadUInt((IntPtr)(s_curMgr + 0xAC));
                uint nextObj = 0;
    
                while (curObj != 0 && (curObj & 1) == 0)
                {
                    ulong currentGUID = BotContro1l.memReader.ReadUInt((IntPtr)(curObj + 0x30));
                    uint Name = BotContro1l.memReader.ReadUInt((IntPtr)(curObj + 420));
                    Name = BotContro1l.memReader.ReadUInt((IntPtr)(Name + 0x88));
                    string oName = BotContro1l.mem.ReadASCIIString(Name, 100);
                    oName = Encode(oName);
    
    
                      listBox2.Items.Add(oName);
                      listBox2.Items.Add("HP: " + BotContro1l.memReader.ReadFloat(BotContro1l.memReader.ReadUInt((IntPtr)curObj + 0x08) + 0x40));
                      listBox2.Items.Add("Xpos: " + (int)BotContro1l.memReader.ReadFloat((IntPtr)(curObj + 0x7D0)));
                      listBox2.Items.Add("Ypos: " + (int)BotContro1l.memReader.ReadFloat((IntPtr)(curObj + 0x7D4)));
                      listBox2.Items.Add("Zpos: " + (int)BotContro1l.memReader.ReadFloat((IntPtr)(curObj + 0x7D8)));
                      listBox2.Items.Add("--------------------------");
    
                      nextObj = BotContro1l.memReader.ReadUInt((IntPtr)(curObj + 0x3C));
                      curObj = nextObj;
                    
                }
            }

    Not correctly issued to XYZ. Why?
    Тут есть хоть кто-нибудь кто говорит по русски?

  4. #64
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by qjlex View Post
    Code:
    public void ObjectMethod()
            {
                uint g_clientConnection = BotContro1l.memReader.ReadUInt((IntPtr)0x1139F80);
                uint s_curMgr = BotContro1l.memReader.ReadUInt((IntPtr)(g_clientConnection + 0x2C34));
                uint curObj = BotContro1l.memReader.ReadUInt((IntPtr)(s_curMgr + 0xAC));
                uint nextObj = 0;
    
                while (curObj != 0 && (curObj & 1) == 0)
                {
                    ulong currentGUID = BotContro1l.memReader.ReadUInt((IntPtr)(curObj + 0x30));
                    uint Name = BotContro1l.memReader.ReadUInt((IntPtr)(curObj + 420));
                    Name = BotContro1l.memReader.ReadUInt((IntPtr)(Name + 0x88));
                    string oName = BotContro1l.mem.ReadASCIIString(Name, 100);
                    oName = Encode(oName);
    
    
                      listBox2.Items.Add(oName);
                      listBox2.Items.Add("HP: " + BotContro1l.memReader.ReadFloat(BotContro1l.memReader.ReadUInt((IntPtr)curObj + 0x08) + 0x40));
                      listBox2.Items.Add("Xpos: " + (int)BotContro1l.memReader.ReadFloat((IntPtr)(curObj + 0x7D0)));
                      listBox2.Items.Add("Ypos: " + (int)BotContro1l.memReader.ReadFloat((IntPtr)(curObj + 0x7D4)));
                      listBox2.Items.Add("Zpos: " + (int)BotContro1l.memReader.ReadFloat((IntPtr)(curObj + 0x7D8)));
                      listBox2.Items.Add("--------------------------");
    
                      nextObj = BotContro1l.memReader.ReadUInt((IntPtr)(curObj + 0x3C));
                      curObj = nextObj;
                    
                }
            }

    Not correctly issued to XYZ. Why?
    Тут есть хоть кто-нибудь кто говорит по русски?
    You're doing something wrong, tard!

    HINT: jbrauman wrote this for an OLDER VERSION OF THE GAME.

  5. #65
    Pimpace's Avatar Member
    Reputation
    -4
    Join Date
    Sep 2009
    Posts
    55
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anybody knows how can I get combo point?

  6. #66
    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 Pimpace View Post
    Anybody knows how can I get combo point?
    On my rogue I can get combopoints with either cheapshot, garotte, premeditation, sinister strike, mutilate, shiv, backstab and through talents...
    "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

  7. #67
    Pimpace's Avatar Member
    Reputation
    -4
    Join Date
    Sep 2009
    Posts
    55
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    On my rogue I can get combopoints with either cheapshot, garotte, premeditation, sinister strike, mutilate, shiv, backstab and through talents...
    Oh, sorry... for misunderstood. I mean how can I get combo point number from wow's memory? Which func? Or which object with? We can get hp, mana, etc, but combo point attached to player's target isn't it? Where can I get this point/func to get combo point?

  8. #68
    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 Pimpace View Post
    Oh, sorry... for misunderstood. I mean how can I get combo point number from wow's memory? Which func? Or which object with? We can get hp, mana, etc, but combo point attached to player's target isn't it? Where can I get this point/func to get combo point?
    http://www.wowwiki.com/API_GetComboPoints

    Even if you fail to reverse it, ... use a ghetto memory scanner to find the static that holds the number of combo points of the localplayer.
    "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

  9. #69
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a million, this really helped me out a bunch. <3

    // Edit

    I wanted to put in a check that checks if our target is either Npc or Player, and this is what I'm using currently:
    Code:
    // If we've got a target, update the target conditions.
                if (OManager.LocalPlayer.HasTarget == true)
                {
                    try
                    {
                        // We're targeting an NPC.
                        if (OManager.NpcObjectList.ContainsKey(OManager.LocalPlayer.TargetGuid))
                        {
                            lbl_THealth.Text = OManager.NpcObjectList[OManager.LocalPlayer.TargetGuid].CurrentHealth.ToString();
                            lbl_TMana.Text = OManager.NpcObjectList[OManager.LocalPlayer.TargetGuid].CurrentMana.ToString();
                        }
    
                        // We're targeting a Player.
                        if (OManager.PlayerObjectList.ContainsKey(OManager.LocalPlayer.TargetGuid))
                        {
                            lbl_THealth.Text = OManager.PlayerObjectList[OManager.LocalPlayer.TargetGuid].CurrentHealth.ToString();
                            lbl_TMana.Text = OManager.PlayerObjectList[OManager.LocalPlayer.TargetGuid].CurrentMana.ToString();
                        }
    
                    }
                    catch (Exception ex)
                    {
                        lst_Log.Items.Add(ex.ToString());
                    }
                }
    Thought I'd share, in case anyone wondered.
    Last edited by Seifer; 10-19-2009 at 12:08 PM.

  10. #70
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    On my rogue I can get combopoints with either cheapshot, garotte, premeditation, sinister strike, mutilate, shiv, backstab and through talents...
    This thread has already been necro'd, so I just wanted to add:
    That made me lol.

  11. #71
    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)
    *Rises from the dead*

    Wow, long time since I posted this! Haven't played WoW for ages now (or been on this forum), nice to see this place is still kicking along.

    This thread is majorly out of date (and the source-code is kind of gross, albeit I was 15-16 when I wrote it), however I'm glad it helped some people.

    Adios :wave:

  12. #72
    fab92's Avatar Private
    Reputation
    -3
    Join Date
    Jun 2010
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't remember where I found this MemoryReader .dll, or whom the author is unfortunately.
    Someone can upload this dll ? I do not find it

  13. #73
    dalisto1's Avatar Private
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a great guide, and has helped me a lot

    I have been searching through mmowned for the past few days almost nonstop trying to grasp memory editing in the hopes of creating my own bot
    However, i am trying to do it without the built libraries (blackmagic, etc), and only using ReadProcessMemory...

    I have a question.. when trying to read and loop through the objects in the object manager, I am debugging my program and seeing that the
    value for clientConnection is 0, and I just don't know why this is. Believe me, I have searched through this entire forum on anything related to
    the object manager, but almost everything uses separate libraries, and not ReadProcessMemory directly. I realize that it should be
    relatively easy to convert from using a library to not using one, but I still have the same problem. The code i have is:

    Code:
    public enum ObjectManager : uint
    {
                clientConnection = 0x8B2F78,
                objectManager = 0x462C,
                firstObject = 0xB4,
                nextObject = 0x3C,
    }
    Code:
    uint clientConnection = BitConverter.ToUInt32(WoWScanner.ReadProcessMemory((IntPtr)((uint)WoWBaseAddress + (uint)Constants.ObjectManager.clientConnection), 4), 0);
    
    uint objManager = BitConverter.ToUInt32(WoWScanner.ReadProcessMemory((IntPtr)(clientConnection + (uint)Constants.ObjectManager.objectManager), 4), 0);
    
    uint firstObj = BitConverter.ToUInt32(WoWScanner.ReadProcessMemory((IntPtr)(objManager + (uint)Constants.ObjectManager.firstObject), 4), 0);
    Now I have done lots of research on this, and tried many different things, even things I thought wouldn't work.. and it seems so simple but
    I can't understand why clientconnection is 0. If you could point me in the right direction It would be greatly appreciated.

  14. #74
    Megamike55's Avatar Active Member
    Reputation
    23
    Join Date
    Oct 2010
    Posts
    49
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    clientConnection = 0x8B2F78,

    this is an offset not rebased to 0x1000

    add 0x1000 and try again.

  15. #75
    Lysolfs's Avatar Contributor
    Reputation
    139
    Join Date
    Nov 2008
    Posts
    82
    Thanks G/R
    2/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    sorry for bringing this up again.
    Im trying to do this stuff obviously, but im not quite familiar with the syntax of c#, so i hope someone can help me with these (actually easy) things, i just dont know what the error code is supposed to mean.
    "Expected class, delegate, enum, interface, or struct (CS151"
    is what it says, when im declaring variables like...
    Code:
    	public static PlayerObject LocalPlayer;
    	
    	public static IDictionary<ulong, PlayerObject> PlayerObjectList = new Dictionary<ulong, PlayerObject>();
    	public static IDictionary<ulong, NpcObject> NpcObjectList = new Dictionary<ulong, NpcObject>();
    	public static IDictionary<ulong, GameObject> GameObjectList = new Dictionary<ulong, GameObject>();
    sorry. but im just familiar with basic dialects...^^

Page 5 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Guide] How I handle log files!
    By Viano in forum Programming
    Replies: 0
    Last Post: 01-09-2010, 03:36 PM
  2. [Guide]How to build Objects in your server [EASY FAST STEPS]
    By matafakas in forum WoW EMU Guides & Tutorials
    Replies: 26
    Last Post: 03-07-2009, 01:48 PM
  3. [Guide] How to handle beggers
    By manowarlock in forum World of Warcraft Guides
    Replies: 23
    Last Post: 11-08-2008, 09:55 PM
All times are GMT -5. The time now is 07:17 AM. 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