• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 5 of 5
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ZarrocZuckz's Avatar
      Join Date
      Apr 2013
      Posts
      2
      Thanks (-->)
      0
      Thanks (<--)
      0

      How to use multilevel pointers with PointerWrite method?

      Silent VPN
      Hey folks,
      im new here and new in memory hacking in general.
      I just watched fleeps c# trainer creation tut and now i wanted to make my own trainer for Plants vs Zombies but i dont know how to access multilevel pointers with the PointerWrite / PointerRead methods. Would be nice if someone could give me a hint how to do it.

      Regards

    2. #2
      Respected Hacker
      Learning to hack games!
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340
      Quote Originally Posted by ZarrocZuckz View Post
      Hey folks,
      im new here and new in memory hacking in general.
      I just watched fleeps c# trainer creation tut and now i wanted to make my own trainer for Plants vs Zombies but i dont know how to access multilevel pointers with the PointerWrite / PointerRead methods. Would be nice if someone could give me a hint how to do it.

      Regards
      Do you have the Trainer class already? If not, download it from here: https://guidedhacking.com/showthread...-Trainer-Class .

      If e.g. your pointer is 0x232131 and your offsets are +0x123 and 0x167:

      Trainer.ReadPointerInt32("Your process name", 0x232131, new int[] { 0x123, 0x167 });

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      ZarrocZuckz's Avatar
      Join Date
      Apr 2013
      Posts
      2
      Thanks (-->)
      0
      Thanks (<--)
      0
      I attached a pic of my multilevel pointer, 2262 is my ammo, so 0033D7E8 is my base pointer, right? so i can do it like:

      Trainer.ReadPointerInt32("gamename", 0x0033D7E8, new int[] { 0x64, 0x54, 0x4, 0x80 });
      right?

      Click image for larger version. 

Name:	multiptr.jpg 
Views:	2 
Size:	37.8 KB 
ID:	1743

    4. #4
      Respected Hacker
      Learning to hack games!
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340
      Quote Originally Posted by ZarrocZuckz View Post
      I attached a pic of my multilevel pointer, 2262 is my ammo, so 0033D7E8 is my base pointer, right? so i can do it like:

      Trainer.ReadPointerInt32("gamename", 0x0033D7E8, new int[] { 0x64, 0x54, 0x4, 0x80 });
      right?

      Click image for larger version. 

Name:	multiptr.jpg 
Views:	2 
Size:	37.8 KB 
ID:	1743

      Trainer.ReadPointerInt32(GAMENAME, POINTER, new int[] { OFFSET1, OFFSET2, ... });

      EDIT: I can see your attachment now, your code (Trainer.ReadPointerInt32("gamename", 0x0033D7E8, new int[] { 0x64, 0x54, 0x4, 0x80 }) is NEARLY correct. The only mistake you made:
      The address isn't obviously 0x0033D7E8, it is obviously .....exe+0x0033D7E8

      -> You could:
      - if the BaseAddress of the program is 0x00400000 (usual), just edit the pointer to 0x0073D7E8. To check this, go to Cheat Engine -> Memory View -> enter your process name +.exe -> Enter -> right click go to address. If it is 0x400000, everything correct.
      - Else, you'll need a procedure that can give you the baseaddress.


      If it isn't 0x400000, use this:
      Process p = Process.GetProcessesByName("gamename")[0];
      int baseaddress = p.MainModule.BaseAddress.ToInt32();

      In your read out func use this:
      Trainer.ReadPointerInt32("gamename", baseaddress + 0x0033D7E8, new int[] { 0x64, 0x54, 0x4, 0x80 });
      Attached Thumbnails Attached Thumbnails pointer.png  
      Last edited by till0sch; 04-02-2013 at 07:59 AM.

    5. #5
      Learning to hack games!
       
      Feeling Normal
       
      's Avatar
      Join Date
      Jan 1970
      Posts
      0
      Thanks (-->)
      294
      Thanks (<--)
      328
      Silent VPN
      The attachments have been approved now.

    6. Thanks till0sch thanked for this post

    Similar Game Hacker Threads

    1. [Source Code] Find DMA Addy - How To Pointer C++
      By [GH]Rake in forum Tutorials and Snippets
      Replies: 6
      Last Post: 05-20-2017, 06:17 PM
    2. [Help] Reading Multilevel pointers [Visual Studio 2013]
      By ZxPwd in forum Visual Basic
      Replies: 9
      Last Post: 11-17-2014, 12:32 PM
    3. [Help] MultiLevel Pointers
      By Mikail601 in forum GH Tutorials Help
      Replies: 1
      Last Post: 01-12-2014, 02:16 PM
    4. [Help] Multilevel pointers problem
      By Heisa in forum Hacking Help
      Replies: 23
      Last Post: 12-11-2013, 11:57 AM
    5. 64bit multilevel pointers
      By meekaah in forum C#
      Replies: 2
      Last Post: 11-30-2013, 01:57 PM

    Tags for this Thread