I'm going to dump the findings I find here. More will come as I learn
Code:Object Manager = 0x12968E0 [Base Address]+0x2B58 = Current Experience
I'm going to dump the findings I find here. More will come as I learn
Code:Object Manager = 0x12968E0 [Base Address]+0x2B58 = Current Experience
Last edited by Musah; 09-15-2011 at 10:09 AM. Reason: Added the Object manager
Why would you know how WoW creates the GUID? The GUIDs were sent by the server, i think.
Which GUID do you want? O_o I dont realy understand you problem. WoW has an ObjectManager, which lists every single object around your character. Every object has a GUID... look how to dump the object manager, which should answer your question.If a GUID is randomly assigned, how might I get it in my bot's code?
http://www.ownedcore.com/forums/worl...e-objects.html ([Guide-kind of] How I handle objects.) (< nice example to begin with)
Last edited by xalcon; 09-13-2011 at 09:09 AM.
sometimes I write shit. delete this :x
Last edited by xalcon; 09-13-2011 at 09:16 AM.
You guys are an amazing community, thank you so much!
EDIT: Unfortunately, I can't use ObjectManager as I am on a different platform. Is there a way to run through the list of objects via read memory?
---------- Post added at 10:41 AM ---------- Previous post was at 10:32 AM ----------
It depends what Operating System your using. These are Mac OSX which differ from Windows.
Last edited by Musah; 09-13-2011 at 09:59 AM.
IntPtr's size depends on architecture (32-bit on 32-bit, 64-bit on 64-bit). But no, player GUID doesn't point to anything (:P), but if any way, that is the way to read from an 8 byte value as a pointer (and it is technically possible to enter 64-bit mode and call NtReadVirtualMemory in ntdll and leave 64-bit mode if you are running in a WOW64 process).
[16:15:41] Cypher: caus the CPU is a dick
[16:16:07] kynox: CPU is mad
[16:16:15] Cypher: CPU is all like
[16:16:16] Cypher: whatever, i do what i want
Well, you may not be able to "copy'n'pasta" the code from the objectManager, but you might be... no, you should be able to write your own/porting the c# one to your language. Most of us don't throw links away, where you can copy everything and expect that you have a working bot. Most of the time you have to fix some code on your own or find out how anything works. Thats one of the basic requirements of memory editing (at least for me)
I don't have a Mac to test it, but I think there is not that much difference between the Mac and the Windows client, so writing a port of this code should be no problem at all.
WoW on Mac OS X still uses an object manager. The offsets are different, but the theory is the same. Look at the (now outdated) source for PocketGnome: pocketgnome - World of Warcraft bot for Mac OS X - Google Project Hosting, plenty of examples of reading the object list on Mac OS X.
Sure, the OS makes a lot of things different, but pointers and GUIDs are still hugely different concepts, even on Mac OS X :-P
No, worries. Am still referencing this as well as Josh's thread here: http://www.ownedcore.com/forums/worl...onnection.html ([3.1.2][mac] How do I find sCurMgr/g_clientConnection?)
I am close to making this thing work. Thanks!
---------- Post added at 08:46 AM ---------- Previous post was at 08:43 AM ----------
The way Josh handles his offsets are a bit confusing to me but I figured out his memory read function a while ago. For those interested he uses mach_vm_read_overwrite.
I'll be sure to write some documentation about all this as I came into memory editing not knowing a thing about it, but through trial and error I think I figured it out.