Thread: [HELP] Confused

Results 1 to 2 of 2
  1. #1
    Hack_Hack's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    [HELP] Confused

    Okay in this video at 9:30 - youtube(D0T)com/watch?v=knhWyXnmPzE&index=7&list=PL0DAC43CDE5EF769 4

    This man had

    ReadProcessMemory(hProc, (LPCVOID)(Pointer), &Pointed, 4, NULL);
    ReadProcessMemory(hProc, (LPCVOID)(Pointed+Offset), &CurrentCash, 4, NULL);

    Why couldn't he just do:

    ReadProcessMemory(hProc, (LPVOID)(Pointer+Offset), &CurrentCash, 4, NULL);

    I'm new to this so...

  2. #2
    KappaMang's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    242
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    Pointer is an address, or more literally, a pointer. I haven't seen the video, but I'm assuming this:
    Pointer is pointing to a player base, where the address changes every launch of the game. However, its value, what it is POINTing to, is the actual address of this base. The current cash is stored at OFFSET bytes away from the base. Since you have the pointer, you need its value, which is the real address of the base. Then you can add the offset.

Similar Threads

  1. [Help Request] xigncode error help plz :confused:
    By wtfshow2 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 07-26-2013, 07:31 AM
  2. [Help Request] guys i really need help confusing error
    By igotdabowa1 in forum CrossFire Help
    Replies: 5
    Last Post: 04-28-2013, 07:22 AM
  3. [Help Request] help me please im confused
    By Kenseikuriomas in forum WarRock Help
    Replies: 2
    Last Post: 07-18-2012, 05:56 AM
  4. [Help] Confused
    By halo636 in forum Suggestions, Requests & General Help
    Replies: 2
    Last Post: 09-11-2010, 06:14 PM
  5. NEED HELP! :CONFUSED:
    By Mistasmall in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 12-24-2008, 03:37 PM