• 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 7 of 7
    1. #1
      Newbie
      College
       
      Coding
       
      __Steven's Avatar
      Join Date
      Mar 2014
      Posts
      32
      Thanks (-->)
      44
      Thanks (<--)
      5

      I don't understand what this code is {Memory Hacking}

      Silent VPN
      //AMMO VARS
      bool AmmoStatus;
      BYTE AmmoValue[] = {0xA3, 0x1C, 0x0, 0x0};
      DWORD AmmoBaseAddress = {0x00509B74};
      DWORD AmmoOffsets[] = {0x384, 0x14, 0x0};

      //Health VARS
      bool HealthStatus;
      BYTE HealthValue[] = {0x39, 0x5, 0x0, 0x0};
      DWORD HealthBaseAddress = {0x00509B74};
      DWORD HealthOffsets[] = {0xF8};

      I don't understand the code in blue. May someone explain it to me?


    2. #2
      Jr.Coder
      Learning to hack games!
       
      Steam Gaming
       
      crx123's Avatar
      Join Date
      Apr 2014
      Posts
      62
      Thanks (-->)
      0
      Thanks (<--)
      17
      I have no idea but i think its the same thing as in CE memory viewer just a hex value, depends how you use it i guess. Maybe that code changes your ammo to unlimited or 99999 or something

      example : find base address/pointer 0x00509B74 with offsets 0x384, 0x14, 0x0 and change the value to {0xA3, 0x1C, 0x0, 0x0} whatever that does
      Last edited by crx123; 04-22-2014 at 10:48 PM.

    3. #3
      Hacker
      Retired
       
      Pawning
       
      Crazywink's Avatar
      Join Date
      Jul 2012
      Location
      US
      Posts
      647
      Thanks (-->)
      111
      Thanks (<--)
      228
      Those are the offsets for the address. They're used when you're finding the DMA (Dynamic Memory Allocated) address.
      If you look in the FindDMAaddress function (assuming you're following Fleep's tutorial)
      you'll see what it's doing:

      for(int i = 0; i < PointerLevel; i ++)
      {
      if(i == 0)
      {
      ReadProcessMemory(hProcHandle, (LPCVOID)pointer, &pTemp, 4, NULL);
      }

      pointerAddr = pTemp + Offsets[i];



      ReadProcessMemory(hProcHandle, (LPCVOID)pointerAddr, &pTemp, 4, NULL);
      }


      It's adding the address and the offset, which points you to the address you want.
      Last edited by Crazywink; 04-22-2014 at 11:57 PM.

    4. Thanks __Steven thanked for this post
    5. #4
      Newbie
      Studying, Coding, Vacationing,
      Hacking
       
      Coding
       
      NebulaGrey's Avatar
      Join Date
      Jun 2014
      Location
      Kentucky
      Posts
      31
      Thanks (-->)
      1
      Thanks (<--)
      5
      When doing a memory write, that value is what's to be written. The first one in blue is 10689536 in 4Byte decimal. and the 2nd one is 3736832.
      So that's what those values will become.

    6. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Ehex's Avatar
      Join Date
      Dec 2012
      Posts
      1
      Thanks (-->)
      0
      Thanks (<--)
      0
      lol, really guys? Those arent offsets or hex.

      That is opcode.

    7. #6
      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 Ehex View Post
      lol, really guys? Those arent offsets or hex.

      That is opcode.
      You lil shit why does it say Value then? The values converted back to Int32 are 7331 and 1337. Or you think it is just a coincidence that these are vice-versa the same

    8. #7
      Newbie
      Studying, Coding, Vacationing,
      Hacking
       
      Coding
       
      NebulaGrey's Avatar
      Join Date
      Jun 2014
      Location
      Kentucky
      Posts
      31
      Thanks (-->)
      1
      Thanks (<--)
      5
      Silent VPN
      Whichever op-codes those bytes represent is what change will be made if written to memory. You can have more control on what goes on by writing your own asm code and writing what changed in the dump.

    Similar Game Hacker Threads

    1. [Help] I don't understand how to display a process memory value
      By SpookyReborn78 in forum Hacking Help
      Replies: 8
      Last Post: 04-15-2016, 08:47 PM
    2. Trying to understand AoB scanning, can't seem to get it right though.. Help!
      By Legolas The Destroyer in forum CS:GO Hacks Help
      Replies: 5
      Last Post: 07-12-2015, 06:25 AM
    3. [HELP] Memory hacking C++
      By kalafrelk in forum Hacking Help
      Replies: 14
      Last Post: 06-19-2015, 06:22 AM
    4. [Help] Hello a tutorial for someone who does not understand :)
      By JuJu2015 in forum Hacking Help
      Replies: 2
      Last Post: 05-16-2015, 10:33 AM
    5. [Series] Learning Memory For Game Hacking
      By Crazywink in forum Misc Coding
      Replies: 0
      Last Post: 10-16-2013, 06:50 PM

    Tags for this Thread