Results 1 to 5 of 5
  1. #1
    RadioCity's Avatar
    Join Date
    Mar 2011
    Gender
    female
    Posts
    30
    Reputation
    10
    Thanks
    4

    [External] Read Pointer

    Hello I'm having trouble how to read from a Pointer with more then 1 Offset. Only woks with 1 Offset
    It's a console app, no dll. This is what I try for 3 Offsets.



    Code:
            DWORD Base = 0x012BX534;
            DWORD Offset1 = 0x1343;
            DWORD Offset22 = 0xf4;
            DWORD Offset3 = 0xb62;
             
             
            DWORD Pointed1;
            DWORD Pointed22;
            DWORD Pointed3;
             
     
            int final = 0;
             
     
             
            ReadProcessMemory(HandleProcess, (LPCVOID)(ClientDLL + Base), &Pointed1, 4, NULL);
            ReadProcessMemory(HandleProcess, (LPCVOID)(Pointed1 + Offset1), &Pointed22, 4, NULL);
            ReadProcessMemory(HandleProcess, (LPCVOID)(Pointed22 + Offset22), &Pointed3, 4, NULL);
            ReadProcessMemory(HandleProcess, (LPCVOID)(Pointed3 + Offset3), &final, 4, NULL);

    Here what It reads, suddenly Pointed22 is 0.
    https://imgur.com/SPhrVvn

  2. #2
    R3Dx666†'s Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Steam: MrTricklez
    Posts
    1,723
    Reputation
    141
    Thanks
    2,913
    My Mood
    Devilish
    be careful what your making this for since memory editing is detected by most anti cheat systems

    - - - Updated - - -

    Quote Originally Posted by RadioCity View Post
    Hello I'm having trouble how to read from a Pointer with more then 1 Offset. Only woks with 1 Offset
    It's a console app, no dll. This is what I try for 3 Offsets.



    Code:
            DWORD Base = 0x012BX534;
            DWORD Offset1 = 0x1343;
            DWORD Offset22 = 0xf4;
            DWORD Offset3 = 0xb62;
             
             
            DWORD Pointed1;
            DWORD Pointed22;
            DWORD Pointed3;
             
     
            int final = 0;
             
     
             
            ReadProcessMemory(HandleProcess, (LPCVOID)(ClientDLL + Base), &Pointed1, 4, NULL);
            ReadProcessMemory(HandleProcess, (LPCVOID)(Pointed1 + Offset1), &Pointed22, 4, NULL);
            ReadProcessMemory(HandleProcess, (LPCVOID)(Pointed22 + Offset22), &Pointed3, 4, NULL);
            ReadProcessMemory(HandleProcess, (LPCVOID)(Pointed3 + Offset3), &final, 4, NULL);

    Here what It reads, suddenly Pointed22 is 0.
    https://imgur.com/SPhrVvn
    find "hello world c++ console app tutorial" and learn this language and its obvious you just copy and paste this if you have any interests in c++ add me on skype and i will help... ill be away from home for a while but ill be on laptop to help and stop copy and pasting if you dont know how to code it to work :P

  3. #3
    RadioCity's Avatar
    Join Date
    Mar 2011
    Gender
    female
    Posts
    30
    Reputation
    10
    Thanks
    4
    R3Dx666† please If you have nothing to contribute just stay away. Seems like you can't even read a small text. I said that's the code I wrote to read a pointer with more then one Offset. So yeah I "obvious" you just copy and paste this

  4. #4
    trexonas's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Are you sure that you are using offsets in the correct order?

  5. #5
    RadioCity's Avatar
    Join Date
    Mar 2011
    Gender
    female
    Posts
    30
    Reputation
    10
    Thanks
    4
    Quote Originally Posted by trexonas View Post
    Are you sure that you are using offsets in the correct order?
    Yea this was kinda the problem Fixed it!

Similar Threads

  1. [Solved] Reading pointers
    By Jabberwock in forum C++/C Programming
    Replies: 21
    Last Post: 08-03-2012, 07:27 AM
  2. [Help] Reading Pointer
    By jonyboy in forum C++/C Programming
    Replies: 1
    Last Post: 07-25-2012, 07:42 PM
  3. [Help] Read Pointer Floats
    By wee123 in forum Visual Basic Programming
    Replies: 2
    Last Post: 03-04-2011, 09:13 AM
  4. [Help] Read a external txt file in a html file
    By shotyoudie in forum Web Languages
    Replies: 2
    Last Post: 10-05-2010, 12:42 PM
  5. Replies: 5
    Last Post: 07-22-2009, 04:26 PM