Novice is not even declared... Did you copy and paste?
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:
For some reason it doesn't work, but I can't understand what is my mistake..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; }
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?
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Hell_Demon (06-12-2011)
DWORD Pointer = (DWORD)Module + 0x123456;
Obvious c&p is obvious
Ah we-a blaze the fyah, make it bun dem!
Module + 0x123456
Pointer + 0x1234
I doubt those are the right offsets... Perhaps that's why it's not working?
Ah we-a blaze the fyah, make it bun dem!
I just changed the numbers...
In my source code they are correct..
Nobody don't want to help me.. =(
They always help dont worry xD
You are a leecher. You shouldnt get any help at all. and be ignored
Light travels faster than sound. That's why most people seem bright until you hear them speak.
Everything turned out .. You can delete the topic ..