• 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
  • Page 1 of 3 123 LastLast
    Results 1 to 10 of 25
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      xkhay's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      9
      Thanks (<--)
      0

      Cheat Engine & C++

      John Kittz
      help me on this please.

      there is a tool in Cheat Engine Memory View called "FILL MEMORY"

      e.g
      Fill Memory from "address1" to "address8000" and fill with "0"

      so it makes life easier with that tool.

      but how can i make it happen in C++?

      i have made some math. what i want to happen is

      edit all address from "address1" to "address1+3FFF" = 0 all at once

      thank you in advance hoping that you understand problem

    2. #2
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      What I'd do is go with the regular writeprocessmemory patching and use a loop to fill all the addresses between. Hope it helps
      Cheat Engine & C++

    3. Thanks xkhay thanked for this post
    4. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      xkhay's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      9
      Thanks (<--)
      0
      Quote Originally Posted by c5 View Post
      What I'd do is go with the regular writeprocessmemory patching and use a loop to fill all the addresses between. Hope it helps
      but it's thousand of them? =/

      here are the offsets i want to patch in my game.
      actually those are walls/structures addresses.
      all of those are need to be set to "0"value for the WALLHACK to work
      i managed to make them work with the help if FILL MEMORY of Cheat Engine.
      approximately all offsets(wall address) are about 4000+

      0x40814
      0x40818
      0x4081c
      0x40820
      0x40824
      0x40828
      0x4082c
      0x40830
      0x40834
      0x40838
      0x4083c
      0x40840
      0x40844
      0x40848
      0x4084c
      0x40850
      0x40854 upto 0x80813

      i am thinking about memset? can you help me with that?
      i have seen a code (leeched) but it's an AutoIT code

      [PHP]Func _setwallhack()
      $wh=_MemoryRead($GameName+0xC7BF80,$proc,"DWORD")+ 0x40814;
      $test=_MemoryRead($wh,$proc,"DWORD")
      For $i=$wh to $wh+0x3ffff step 4
      _MemoryWrite($i,$proc,0,"DWORD")
      [/PHP]

      where "wh is 0x40814" and "wh+03ffff is 0x80813"

      hope you understand my explanation. im pretty new at this things. i just learned C++ in your youtube video.

    5. #4
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Yes, I understand

      Code:
      bool patching = true;
      addy = 0x40814;
      
      while ( patching ) 
      {
      writeprocessmemory addy 0 // <- you know what I mean ( patch 0 on the address of addy
      addy + 4;
      if ( addy == 0x80813  )
      {
      patching = false;
      }
      }
      I hope you understand what I mean That's the loop I mentioned earlier from the back of my head, ask if you nee more help or I explained badly, I don't have a compiler right now so I can't test anything
      Last edited by c5; 09-08-2012 at 07:20 AM.
      Cheat Engine & C++

    6. Thanks xkhay thanked for this post
    7. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      xkhay's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      9
      Thanks (<--)
      0
      so this will edit all 4 bytes address from 0x40814 to 0x80813?
      and set it all to "0"?
      if yes. then i should hurry home and test it

    8. #6
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Quote Originally Posted by xkhay View Post
      so this will edit all 4 bytes address from 0x40814 to 0x80813?
      and set it all to "0"?
      if yes. then i should hurry home and test it
      It should yes All you have to change is the writeprocessmemory function as I provided it with wrong syntax/parameters just to show what I mean
      Cheat Engine & C++

    9. Thanks xkhay thanked for this post
    10. #7
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      xkhay's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      9
      Thanks (<--)
      0
      Quote Originally Posted by c5 View Post
      Yes, I understand

      Code:
      bool patching = true;
      addy = 0x40814;
      
      while ( patching ) 
      {
      writeprocessmemory addy 0 // <- you know what I mean ( patch 0 on the address of addy
      addy + 4;
      if ( addy == 0x80813  )
      {
      patching = false;
      }
      }
      I hope you understand what I mean That's the loop I mentioned earlier from the back of my head, ask if you nee more help or I explained badly, I don't have a compiler right now so I can't test anything
      i says writeprocessmemory is undefined? i think something is missing. sorry =/

    11. #8
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      xkhay's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      9
      Thanks (<--)
      0
      By the way here is my Code. this is a DLL Trainer

      Code:
      BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved)
      {
          if (ulReason == DLL_PROCESS_ATTACH)
          {
              CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
          }
          return TRUE;
      }
      
      #define WHOFF1		0x40814
      #define WHOFF8000      0x80813
      
      void Start()
      {
      	if (GetKeyState(VK_F5) < 0) // Wallhack
      	{
      	DWORD WHBase = (DWORD) GetModuleHandleA("GAMENAME.exe");
      	DWORD WHADDR1 = WHBase + 0xC7CF90; // nevermind this. its the base address
      
      	*(DWORD*)(*(DWORD*)WHADDR1 + WHOFF1) = 0;
      
          // so it ends here if i will define all from WHOFF1 to WHOFF8000 it will takes forever =/
      		}
      }
      Last edited by xkhay; 09-08-2012 at 07:41 AM.

    12. #9
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx

      Code:
      BYTE ZERO[1] = {0x00};
      WriteProcessMemory(hProcess, (PBYTE) addy, &ZERO, 2, 0);
      ^ From the back of my head again
      Cheat Engine & C++

    13. Thanks xkhay thanked for this post
    14. #10
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      xkhay's Avatar
      Join Date
      Aug 2012
      Posts
      13
      Thanks (-->)
      9
      Thanks (<--)
      0
      Cheats'n'Trainers
      thank you for the response.
      another question?


      here's my base pointer address
      Code:
      DWORD ClientBase = (DWORD) GetModuleHandleA("GameClient.exe");
      DWORD ClientOffset = ClientBase + 0xC7CF90;
      // so this makes GameClient+C7CF90 in CheatEngine Pointer.


      i used to use this code when editing memory addresses
      Code:
      *(DWORD*)(*(DWORD*)ClientOffset + 0x40814 ) = 0;



      how can i add this another Offset
      Code:
      0x40814



      then make is as one so i can add this as my addy below. Thank you in advance
      Code:
      BYTE ZERO[1] = {0x00};
      WriteProcessMemory(hProcess, (PBYTE) addy, &ZERO, 2, 0);

    Page 1 of 3 123 LastLast

    Similar Game Hacker Threads

    1. Replies: 25
      Last Post: 12-28-2016, 08:25 PM
    2. Cheat engine
      By Srch_ndstry in forum AntiCheat - AntiDebug
      Replies: 6
      Last Post: 12-14-2013, 11:07 PM
    3. Need help Cheat engine + CS:GO
      By sekzlegend in forum C/C++
      Replies: 4
      Last Post: 12-12-2013, 07:07 PM
    4. Replies: 16
      Last Post: 11-28-2012, 03:51 AM