Results 1 to 2 of 2
  1. #1
    aanthonyz's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Hitler's Minivan
    Posts
    483
    Reputation
    27
    Thanks
    83
    My Mood
    Relaxed

    Reading Addresses

    Ok, I have a problem that I just cant seem to solve:

    Im trying to start off easy and make a console application that will read my HP from a game.
    So far these are the addresses I got:
    Code:
    Address: 25D362C4 Value: 2088 //This is the dynamic one of my first scan
    	Address: 0A3F6044 Offset: 494 Value: 2088 //This is the second scan
    	Address: 00BBC9CC Offset: 34 Value: 2088 // This was my third scan
    I stopped after the third scan because the 00BBC9CC address was green

    When implementing this into the program, I am able to read from 25D362C4 by doing this:
    Code:
    DWORD firstpoint = {0x25D362C4};
    ReadProcessMemory(testhandle, (void*)(firstpoint),&hpbar, 4, 0);
    When i try it for the second address I try this:
    Code:
    DWORD secondpoint = {0x0a3f6044};
    DWORD off = {0x494};
    ReadProcessMemory(testhandle, (void*)(secondpoint+off),&test, 4, 0);
    When i run it I get 45774, so im not sure what happened. Im keeping my computer on and the game(no afk kick ) so I can still use these addresses as examples for your reply. Any help would be appreciated
    "The best way to predict your future is to create it."

    Contributions I made:

    DirectX E-Books
    Hacking Tools
    Hacking into a PC

    Need Help?
    Send me a PM, or send me a email at : aanthonyz10@gmail.com

    Click My Dragon:


  2. #2
    Pingo's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    687
    Reputation
    24
    Thanks
    865
    My Mood
    Blah
    Code:
    DWORD secondpoint = {0x0a3f6044};
    DWORD off = {0x494};
    ReadProcessMemory(testhandle, (void*)(secondpoint+off),&test, 4, 0);
    Pointers don't work like that. You first need to read secondpoint
    Code:
    ReadProcessMemory(testhandle, (void*)(secondpoint),&test, 4, 0);
    Convert the buffer (test) to dword. The buffer converted is your next address then you add the offset.
    Read address at (buffer+off)

Similar Threads

  1. [Help]Read address
    By pyton789 in forum Visual Basic Programming
    Replies: 10
    Last Post: 12-08-2010, 08:39 AM
  2. [Help]Reading address values and saving them? - VB
    By master131 in forum Visual Basic Programming
    Replies: 17
    Last Post: 09-26-2010, 08:31 AM
  3. Can't read the address fast enough
    By andrestander in forum General Hacking
    Replies: 6
    Last Post: 06-30-2010, 06:21 PM
  4. IP Address Banned from Warrock Read This!
    By Ariez in forum WarRock - International Hacks
    Replies: 19
    Last Post: 04-19-2009, 07:06 AM
  5. Reading from a memory address
    By isaacboy in forum Visual Basic Programming
    Replies: 0
    Last Post: 03-26-2009, 03:28 AM