Hey guys, Ive got a problem, I want to have noRecoil and noFlash so I opened the process like this
Code:
mw2_hwnd = FindWindow(NULL,L"AlterIWNet");
GetWindowThreadProcessId(mw2_hwnd,&mw2_pid);
mw2_process_w = OpenProcess(PROCESS_VM_WRITE,false,mw2_pid);
then wrote the new hexcode like this
Code:
#define ADDR_FLASH 0x00457310
BYTE NoFlash[6] = {0xB8, 0x00, 0x00, 0x00, 0x00, 0xC3};
WriteProcessMemory(mw2_process_w,(PVOID)(ADDR_FLASH),&NoFlash,6,NULL);
but in game nothing happens.
What do I have to do?
Greetings
NEokil