Here try this, tell me if it works:
Code:#include <windows.h> int main() { byte NOP[]={0x90, 0x90, 0x90, 0x90, 0x90, 0x90}; HWND hWnd = FindWindow(0, "Call of Juarez: Bound in Blood"); if(hWnd == 0) { MessageBox(0, "Error cannot find window.", "Error", MB_OK|MB_ICONERROR); } else { DWORD proccess_ID; GetWindowThreadProcessId(hWnd, &proccess_ID); HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proccess_ID); if(hWnd == 0){ MessageBox(0, "Error cannot find window.", "Error", MB_OK|MB_ICONERROR); } else { DWORD proccess_ID; GetWindowThreadProcessId(hWnd, &proccess_ID); HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proccess_ID); if(!hProcess){ MessageBox(0, "Could not open the process!", "Error!", MB_OK|MB_ICONERROR); } else { if(WriteProcessMemory(hProcess, (LPVOID)0x008A5FD8, NOP, 6, NULL)) MessageBox(0, "Success!", "Not An Error!", MB_OK|MB_ICONERROR); } } } return 0; }
Last edited by mwb1234; 06-13-2010 at 07:49 AM.
spwn (06-14-2010)
Thanks, will try very soon, got work tomorrow so later
[img]https://*******.com/i16/3bf645.jpg[/img]
I don't believe in luck...
Also thanks to you then, now it doesn't lag at all (it did with an infinite loop without pause), and yes it worked, the reason why it didn't before was because i might have had the wrong code, so i tried for my Assassin's Creed 2 (money hack is easy, throw money check for decreased values )
Anyway, i tried it, NOP'd the Assassin's Creed memory and tried without cheat engine, only my memory code and my c++ hack and it worked.
So thanks to all of you who tough me new things and, you might see me here again, since other c++ forums take 9 hours to respond.
+rep to all of you (dunno if that's on this forum and how that exactly works but you all deserve it)
[img]https://*******.com/i16/3bf645.jpg[/img]
I don't believe in luck...
Good to hear.
Ah we-a blaze the fyah, make it bun dem!
I was glad I could help, PM me if you need anything else