• 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
  • Sipping
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Page 1 of 2 12 LastLast
    Results 1 to 10 of 14
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       

      Join Date
      Jun 2013
      Posts
      7
      Thanks (-->)
      2
      Thanks (<--)
      0

      Trouble Reading MultiLevel Pointer C#

      How to Manual Map DLL
      Hi,
      i have some trouble reading a multilevel pointer.

      CE Pointer Screenshot:

      Click image for larger version. 

Name:	upload.PNG 
Views:	2 
Size:	8.9 KB 
ID:	1861


      Im using the following code from the MemoryAimbot Tutorial:


      Function:
      Code:
              public int ReadMultiLevelPointer(int MemoryAddress, uint bytesToRead, Int32[] offsetList)
              {
                  IntPtr procHandle = _handleProcess;
                  IntPtr pointer = (IntPtr)0x0;
                  //IF THE PROCESS isnt available we return nothing
                  if (procHandle == IntPtr.Zero)
                  {
                      return 0;
                  }
      
                  byte[] btBuffer = new byte[bytesToRead];
                  IntPtr lpOutStorage = IntPtr.Zero;
      
                  int pointerAddy = MemoryAddress;
                  //int pointerTemp = 0;
                  for (int i = 0; i < (offsetList.Length); i++)
                  {
                      if (i == 0)
                      {
                          MemoryApi.ReadProcessMemory(
                              procHandle,
                              (IntPtr)(pointerAddy),
                              btBuffer,
                              (uint)btBuffer.Length,
                              out lpOutStorage);
                      }
                      pointerAddy = (BitConverter.ToInt32(btBuffer, 0) + offsetList[i]);
                      //string pointerAddyHEX = pointerAddy.ToString("X");
      
                      MemoryApi.ReadProcessMemory(
                          procHandle,
                          (IntPtr)(pointerAddy),
                          btBuffer,
                          (uint)btBuffer.Length,
                          out lpOutStorage);
                  }
                  Console.WriteLine(pointerAddy);
                  return pointerAddy;
              }
      Function Call:
      Code:
                  int baseAddress = 0x0003CDD0;
                  int temp1 = memory.ReadMultiLevelPointer(baseAddress, 4, new Int32[] { 0x38, 0x8, 0x18, 0x8, 0x98 });
      The Problem is that temp1 is always 0
      Someone got an idea ?

      Edit:
      i can confirm that i the memory read functions works by using the current address (0x0C441A44). But after restarting the program i have to use cheatengine to find the new address.
      Code:
      Console.WriteLine("Ammo (from current Memory Addrees):"+ memory.getValueofAdress((IntPtr)0x0C441A44));
      Last edited by hacke21; 06-03-2013 at 06:30 PM.

    2. #2
      Newbie
      Learning to hack games!
       
      Feeling Normal
       

      Join Date
      Jun 2013
      Posts
      7
      Thanks (-->)
      2
      Thanks (<--)
      0
      I think there is something wrong with my BaseAdress:

      Click image for larger version. 

Name:	clue.png 
Views:	8 
Size:	8.9 KB 
ID:	1862

      Because all bytes are empty while reading from it.

    3. #3
      Respected Hacker
      Learning to hack games!
       
      Coding
       

      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,169
      Thanks (-->)
      181
      Thanks (<--)
      343
      Try my trainer class (Actually it's from "Cless", but a bit modified) (https://guidedhacking.com/showthread...-Trainer-Class)

      You just have to get baseaddress in e.g. int baseaddy

      and then

      int yourvalue = Trainer.ReadPointerInt32("YOURPROCESSNAMEHERE", baseaddy+0x3CDD0, new int [] { 0x38, 0x8, 0x18, 0x8, 0x98 });

    4. Thanks hacke21 thanked for this post
    5. #4
      Newbie
      Learning to hack games!
       
      Feeling Normal
       

      Join Date
      Jun 2013
      Posts
      7
      Thanks (-->)
      2
      Thanks (<--)
      0
      i allready used the Cless Memory Class. Had the same issue.

      baseaddy = processAdress ?

      Because i didt this:
      int yourvalue = Trainer.ReadPointerInt32("YOURPROCESSNAMEHERE", 0x3CDD0, new int [] { 0x38, 0x8, 0x18, 0x8, 0x98 });
      xD

      EDIT:

      THX Till0sch97 ! Finally !

      I was so dump to forget the MainModule.BaseAdress !!!
      (Spent 2 days on Writing memory libaries or editing others, lol)
      Last edited by hacke21; 06-04-2013 at 06:30 PM.

    6. #5
      Respected Hacker
      Learning to hack games!
       
      Coding
       

      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,169
      Thanks (-->)
      181
      Thanks (<--)
      343
      Quote Originally Posted by hacke21 View Post
      i allready used the Cless Memory Class. Had the same issue.

      baseaddy = processAdress ?

      Because i didt this:
      int yourvalue = Trainer.ReadPointerInt32("YOURPROCESSNAMEHERE", 0x3CDD0, new int [] { 0x38, 0x8, 0x18, 0x8, 0x98 });
      xD

      EDIT:

      THX Till0sch97 ! Finally !

      I was so dump to forget the MainModule.BaseAdress !!!
      (Spent 2 days on Writing memory libaries or editing others, lol)
      Glad I could help. Is it working now?

    7. #6
      Newbie
      Learning to hack games!
       
      Feeling Normal
       

      Join Date
      Jun 2013
      Posts
      7
      Thanks (-->)
      2
      Thanks (<--)
      0
      It works for now. xD

    8. #7
      Newbie
      triggering the others
       
      Amused
       

      Join Date
      Dec 2017
      Posts
      14
      Thanks (-->)
      0
      Thanks (<--)
      0
      Quote Originally Posted by till0sch View Post
      Try my trainer class (Actually it's from "Cless", but a bit modified) (https://guidedhacking.com/showthread...-Trainer-Class)

      You just have to get baseaddress in e.g. int baseaddy

      and then

      int yourvalue = Trainer.ReadPointerInt32("YOURPROCESSNAMEHERE", baseaddy+0x3CDD0, new int [] { 0x38, 0x8, 0x18, 0x8, 0x98 });
      what does "baseaddy" now mean??

      if you have this pointer:
      "game.exe"+016C4454
      00200000 imagebaseadress of game.exe
      --->>tutorial used get module base adress: https://guidedhacking.com/showthread...ial-(Spoonfed)

      00200000+016C4454 equals 18C4454 and that equals "game.exe"+016C4454

      offsets:
      38
      4
      118
      0
      18

      so do you write it like this????:

      int thispointer = Trainer.ReadPointerInt32("game.exe", 00200000+0x016C4454, new int[] { 0x18, 0x0, 0x118, 0x4, 0x38 });

    9. #8
      Administrator
      Hacked By Jesus
       
      Sipping
       
      [GH]Rake's Avatar
      Join Date
      Jan 2014
      Location
      USA
      Posts
      4,015
      Thanks (-->)
      1007
      Thanks (<--)
      1204

    10. #9
      Newbie
      triggering the others
       
      Amused
       

      Join Date
      Dec 2017
      Posts
      14
      Thanks (-->)
      0
      Thanks (<--)
      0
      Quote Originally Posted by [GH]Rake View Post
      like I know how to do that....nope I don't know how to do that. Do you know how to do it?

    11. #10
      Banned
      lol
       
      Sipping
       

      Join Date
      Feb 2017
      Posts
      369
      Thanks (-->)
      149
      Thanks (<--)
      94
      Cheat Engine Tutorials
      Quote Originally Posted by tolo View Post
      like I know how to do that....nope I don't know how to do that. Do you know how to do it?
      Just add the damn offsets one by one and check if they are valid. Alternatively, just do BaseAddr + Offset1 + Offset2... and use that. It's the same thing without the checks.

    Page 1 of 2 12 LastLast

    Similar Game Hacker Threads

    1. [Help] Trouble reading ptrs
      By darthbollo in forum Hacking Help
      Replies: 18
      Last Post: 11-21-2015, 05:54 PM
    2. [Source Code] Reading Multilevel Pointer (DLL/Console)
      By cascraft in forum Tutorials and Snippets
      Replies: 3
      Last Post: 08-03-2015, 07:02 PM
    3. [Help] Help Reading Float with Multilevel Pointer c#
      By coolestgamer123 in forum Hacking Help
      Replies: 3
      Last Post: 01-09-2015, 08:43 PM
    4. [Help] Reading Multilevel pointers [Visual Studio 2013]
      By ZxPwd in forum Visual Basic
      Replies: 9
      Last Post: 11-17-2014, 12:32 PM
    5. [Help] Base pointer / adress trouble
      By user123 in forum GH Tutorials Help
      Replies: 5
      Last Post: 07-11-2014, 08:12 AM

    Tags for this Thread