❗ Few questions about memory hacks

Posts 1–14 of 14 · Page 1 of 1
❗ Few questions about memory hacks
I'm writing a hack for Point Blank/Project Blackout, but I have something that doesn't work and I need your help..
I found the pointer and offset and try to change the first two bytes of the specified address. My function looks like this:
Code:
void MEMwrite(void *adr, void *ptr, int size)
{
	DWORD OldProtection;
	VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);
	memcpy(adr,ptr,size);
	VirtualProtect(adr,size,OldProtection, &OldProtection);
}

DWORD WINAPI HACKthread( LPVOID param )
{ 
		HMODULE Module = GetModuleHandle("PointBlank.i3exec");
		DWORD Pointer = (DWORD)Module + 0x123456;  
        
		while (1) 
	     {
          if(Novice == 1)
	           {
			       MessageBeep(0);
				   MEMwrite((void *)(Pointer + 0x1234),(void *)(PBYTE)"\x93\x93" , 2);
		       }
		  }
	return 0;
}
For some reason it doesn't work, but I can't understand what is my mistake..

And I have another question, so as not to create a new topic, ask it here ..
I need to freeze the bytes of the specified address, is it possible and if so, how I can do it? I need a source code for freezing the fifth and sixth bytes..
Sorry for my English, I used a translator..
Novice is not even declared... Did you copy and paste?
Quote Originally Posted by master131 View Post
Novice is not even declared... Did you copy and paste?
Maybe this is not the whole code?
Quote Originally Posted by master131 View Post
Novice is not even declared... Did you copy and paste?
This is not whole code.. If novice does not be declared, I would not be able to build my source..
DWORD Pointer = (DWORD)Module + 0x123456;

Obvious c&p is obvious
Quote Originally Posted by Hell_Demon View Post
DWORD Pointer = (DWORD)Module + 0x123456;

Obvious c&p is obvious
I don't understand you..
Module + 0x123456
Pointer + 0x1234

I doubt those are the right offsets... Perhaps that's why it's not working?
I just changed the numbers...
In my source code they are correct..
Nobody don't want to help me.. =(
Quote Originally Posted by D1kiy View Post
Nobody don't want to help me.. =(
Well you can even trust us enough to show your "Correct" Offsets
Quote Originally Posted by whit View Post
Well you can even trust us enough to show your "Correct" Offsets
I can send it to your private messages or Skype, but it certainly will not put them in public..

Quote Originally Posted by 'Bruno View Post
You are a leecher. You shouldnt get any help at all. and be ignored
I don `t know what is the leecher, but if you do not want help me, then do not, there will be people who will help me ..
They always help dont worry xD
You are a leecher. You shouldnt get any help at all. and be ignored
Everything turned out .. You can delete the topic ..
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us