[Help] Getting target menu

User Tag List

Results 1 to 9 of 9
  1. #1
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Getting target

    I am not new to programming but i am new to memory editing.

    I am having problems getting my target's GUID
    here is my code (its in auto it 3)

    Code:
    #Include <nomadmemory.au3>  
                             
    SetPrivilege("SeDebugPrivilege", 1)            
    
    Const $Handle = _memoryopen(WinGetProcess("World of Warcraft"))  
    
    $TARGETGUID = 0x010A38B0
    
    $result = _memoryread($TARGETGUID ,$Handle, 'int8')
    _memoryclose($Handle)
    MsgBox(0, "Player Info", $result)
    MsgBox(0, "Error", @Error)


    [Help] Getting target
  2. #2
    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)
    Change 'int8' to 'int64' or rather just 'int' (Though I have my doubts on this, I only started memory-reading 2 days ago - AutoIt doesn't seem to care much about declaration)

    Returns 0 if you haven't got anything targetted, otherwise the GUID of the mob/player.

    You can verify if it works by targetting yourself and comparing to the output of this

    Code:
    #Include <nomadmemory.au3>  
                             
    SetPrivilege("SeDebugPrivilege", 1)  
    Const $Handle = _memoryopen(WinGetProcess("World of Warcraft"))  
    
    ;Get the pointer to the Object Manager
    $g_clientConnection=_memoryread(0x011C8248, $Handle, "ptr")
    $s_curMgr=_memoryread(($g_clientConnection)+0x285C, $Handle, "ptr")
    
    ;Get the GUID of the player
    $playerGUID=_memoryread(($s_curMgr+0x0C0), $Handle, "uint")
    
    Msgbox(0,"",$playerGUID)

  3. #3
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks man ill try it +Rep


  4. #4
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Naa not working, i dont think its the data type i think its my code, i need a wow mem editing guide


  5. #5
    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)
    Some sample output would help so we could see what you're doing.

    Furthermore, I dunno what offset that is, but I personally grab the target from the storage array. The descriptors are posted in my thread along with the pointers you need.

  6. #6
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cypher I would like a beginner guide on how offsets are used with static addresses to find dynamic addresses


  7. #7
    argh44z's Avatar Member
    Reputation
    19
    Join Date
    Nov 2007
    Posts
    93
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The only static address you need is the address of the g_clientConnection variable, which was mentioned earlier in the thread. From there you can get the object manager pointer. The stickies have more information.,

  8. #8
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well how do i find the lvl, hp or other things if I have the address of the player pointer


  9. #9
    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 insanesk8123 View Post
    Cypher I would like a beginner guide on how offsets are used with static addresses to find dynamic addresses
    I would like ferrari. Guess we can't all get what we want. If you're looking for someone to hold your hand thats not me. I will answer intelligent questons, but if you're lazy or stupid enough to ignore google and the plethora of resources available in this section before asking then I'm going to ignore you.

    Originally Posted by insanesk8123 View Post
    well how do i find the lvl, hp or other things if I have the address of the player pointer
    Did you even read the thread I told you to? In my stickied thread (in this section) you'll find a plethora of pointers/offsets/funcitons/etc. All of your specific requests are in that thread. I don't know whether you're illiterate or just stupid but either way its not my problem and I only help people who are willing to help themselves first.

Similar Threads

  1. [Help] Getting Target GUID
    By cenron in forum WoW Memory Editing
    Replies: 4
    Last Post: 10-06-2008, 11:59 PM
  2. Need some help getting our server online.
    By Mooa in forum World of Warcraft Emulator Servers
    Replies: 18
    Last Post: 02-21-2008, 11:24 AM
  3. Need some help getting a server online.
    By Mooa in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-10-2008, 03:34 PM
  4. Boting: Need help getting started
    By grond in forum World of Warcraft General
    Replies: 3
    Last Post: 10-30-2007, 02:19 PM
  5. Need Help Getting Level 60
    By Kaladze in forum World of Warcraft General
    Replies: 16
    Last Post: 08-19-2006, 12:24 PM
All times are GMT -5. The time now is 05:21 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