Solved Freezing value of address

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Froze

Newbie
Full Member
Dec 21, 2012
11
244
0
Ok so I'm having a hard time coding my hack and I've hit a wall, I want to freeze the value of an address but I don't know how/ I tried to use the while function but when I try that my program stops responding and it crashes

C++:
void PERFECT()
{
*(DWORD*)(*(DWORD*)BASE + OFF_PERFECT) = 0x0;
Sleep(1);
}
I would like to freeze the value to 0 when I press a button on the GUI. How do I go about doing that?
 

rickblack28

Jr.Coder
Full Member
Nobleman
Sep 23, 2014
82
573
0
C++:
BOOL AMMO = FALSE;
C++:
if (GetAsyncKeyState(VK_F7) & 1)
	{
		AMMO = !AMMO;
    
	}
	if (AMMO == TRUE)  // Ammo Hack
	{
		DWORD dwOld;
		VirtualProtect((LPVOID)0x0D51FAC0, 4, 0x40, &dwOld);
		memset((LPVOID)0x0D51FAC0, 0x90, 3);
	}
This set's the address to NOP's (0x90) making it Infinite/Freeze.
To use this code just replace with your address and opcode i think (in this case its 4)


I guess this is a start to what you are looking for ??
 
Last edited:

Froze

Newbie
Full Member
Dec 21, 2012
11
244
0
C++:
BOOL AMMO = FALSE;
C++:
if (GetAsyncKeyState(VK_F7) & 1)
	{
		AMMO = !AMMO;
    
	}
	if (AMMO == TRUE)  // Ammo Hack
	{
		DWORD dwOld;
		VirtualProtect((LPVOID)0x0D51FAC0, 4, 0x40, &dwOld);
		memset((LPVOID)0x0D51FAC0, 0x90, 3);
	}
This set's the address to NOP's (0x90) making it Infinite/Freeze.
To use this code just replace with your address and opcode i think (in this case its 4)


I guess this is a start to what you are looking for ??
How do I do that with a button/checkbox instead of a virtual key.. (@_@)
 

squeenie

Hacker
Meme Tier VIP
Dank Tier Donator
Mar 6, 2013
677
5,478
37
Create box
Draw box
Check if mouse is inside box
Check if clicked
Toggle hack feature

However I'm pretty sure you should learn what you're doing before jumping into the deep end
 

rN'

Jr.Hacker
Meme Tier VIP
Jan 19, 2014
340
5,268
41
Create box
Draw box
Check if mouse is inside box
Check if clicked
Toggle hack feature

However I'm pretty sure you should learn what you're doing before jumping into the deep end
How do you do this? XD
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods