[Mac] A few findings and a few questions menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Musah's Avatar Corporal
    Reputation
    3
    Join Date
    Sep 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Mac] A few findings and a few questions

    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

    [Mac] A few findings and a few questions
  2. #2
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Musah View Post
    Code:
    [Player GUID]+0x2B58 = Current Experience
    A player GUID is 8 bytes... how would you possibly read that as a pointer? O.o
    Last edited by Jadd; 09-13-2011 at 09:08 AM.

  3. #3
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Why would you know how WoW creates the GUID? The GUIDs were sent by the server, i think.
    If a GUID is randomly assigned, how might I get it in my bot's code?
    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.
    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.

  4. #4
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    A player GUID is 8 bytes... how would you possibly read that as a pointer? O.o
    64-bit bro, 64-bit.
    [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

  5. #5
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1515
    Join Date
    May 2008
    Posts
    2,433
    Thanks G/R
    81/336
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    64-bit bro, 64-bit.
    Oh yeah. I forgot about IntPtr's I almost never use them.

    Edit: Player GUID still doesn't point to anything lol
    Last edited by Jadd; 09-13-2011 at 09:18 AM.

  6. #6
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    sometimes I write shit. delete this :x
    Last edited by xalcon; 09-13-2011 at 09:16 AM.

  7. #7
    Musah's Avatar Corporal
    Reputation
    3
    Join Date
    Sep 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xalcon View Post
    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.
    http://www.ownedcore.com/forums/worl...e-objects.html ([Guide-kind of] How I handle objects.) (< nice example to begin with)
    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 ----------

    Originally Posted by Jadd View Post
    Oh yeah. I forgot about IntPtr's I almost never use them.

    Edit: Player GUID still doesn't point to anything lol
    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.

  8. #8
    Bananenbrot's Avatar Contributor
    Reputation
    153
    Join Date
    Nov 2009
    Posts
    384
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Musah View Post
    It depends what Operating System your using. These are Mac OSX which differ from Windows.
    Wow... OSX makes that memory address really globally unique.

  9. #9
    Musah's Avatar Corporal
    Reputation
    3
    Join Date
    Sep 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Bananenbrot View Post
    Wow... OSX makes that memory address really globally unique.
    They are different but I fail as usual. I think I meant to say "Base address" verses GUID.

  10. #10
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    Oh yeah. I forgot about IntPtr's I almost never use them.

    Edit: Player GUID still doesn't point to anything lol
    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

  11. #11
    xalcon's Avatar Contributor ふたなり
    Authenticator enabled
    Reputation
    198
    Join Date
    Oct 2008
    Posts
    291
    Thanks G/R
    20/58
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Musah View Post
    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?
    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.

  12. #12
    adaephon's Avatar Active Member
    Reputation
    76
    Join Date
    May 2009
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Musah View Post
    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?

    ...

    It depends what Operating System your using. These are Mac OSX which differ from Windows.
    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

  13. #13
    Musah's Avatar Corporal
    Reputation
    3
    Join Date
    Sep 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xalcon View Post
    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.
    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 ----------

    Originally Posted by adaephon View Post
    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
    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.

  14. #14
    eSko's Avatar YmxhY2tqYWNrJmhvb2tlcnM= CoreCoins Purchaser Authenticator enabled
    Reputation
    849
    Join Date
    Aug 2006
    Posts
    1,011
    Thanks G/R
    75/24
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jadd View Post
    A player GUID is 8 bytes... how would you possibly read that as a pointer? O.o
    Originally Posted by MaiN View Post
    64-bit bro, 64-bit.
    Maybe a stupid question, but isn't 8 bytes=64 bits?

  15. #15
    Musah's Avatar Corporal
    Reputation
    3
    Join Date
    Sep 2011
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added the Object Manager offset for mac!

    Originally Posted by eSko View Post
    Maybe a stupid question, but isn't 8 bytes=64 bits?
    sizeof(int)=4
    sizeof(uint64)=8

    So yup, you are correct sir.

Page 1 of 2 12 LastLast

Similar Threads

  1. Mysql and a few questions?
    By Arugos in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 07-22-2009, 12:14 PM
  2. A hello, and a few questions please?
    By djbreakah in forum World of Warcraft Bots and Programs
    Replies: 20
    Last Post: 08-28-2008, 02:53 AM
  3. A few questions and problems
    By Shadowphire in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-10-2008, 11:15 PM
  4. A few questions and a request.
    By bj234 in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 12-15-2007, 07:58 PM
  5. im new here and i have just a few questions :D
    By murash_rulez in forum Community Chat
    Replies: 0
    Last Post: 03-01-2007, 04:15 AM
All times are GMT -5. The time now is 06:06 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