VM 9
fillerlololo
VM 9
fillerlololo
Use a debugger/disassembler and reverse some functions.
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?
Тут есть хоть кто-нибудь кто говорит по русски?
Anybody knows how can I get combo point?
"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
"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
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:
Thought I'd share, in case anyone wondered.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()); } }
Last edited by Seifer; 10-19-2009 at 12:08 PM.
*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:
Someone can upload this dll ? I do not find itI can't remember where I found this MemoryReader .dll, or whom the author is unfortunately.
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, }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 butCode: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);
I can't understand why clientconnection is 0. If you could point me in the right direction It would be greatly appreciated.
clientConnection = 0x8B2F78,
this is an offset not rebased to 0x1000
add 0x1000 and try again.
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...
sorry. but im just familiar with basic dialects...^^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>();