[Request] WriteProcessMemory Example
I've been learning C++ for about a week now.. (I've also made the switch and am now using DevC++)
Thank's to a Friend who gave me a bit of help, I now know how to get a ProcessID and use HWND correctly to detect when a window is open (Yay?)
Well.. I'm having trouble with Writing memory, and pointers.
could someone give me tips/examples on how to do these two things? I know that pointers can be found via Cheat Engine. But i have no idea how.
I'm completely lost when it comes to WriteProcessMemory. I'm trying to make a simple hack (my first) that will change the score in pinball (windows XP).
Could anyone help? give me some examples or something if you can, or write a tutorial if you can?
Thanks in advance,
Psycho.
You could have always pressed 'search' and found my WriteProcessMemory example, or even looked at my GameHacking101 tutorial for a ready-to-compile, with Dev-C++, example. It's good you're taking it slow, by the way, and trying to make sure you understand it, it's what seperates potential hackers from wannabes. So, if you trace your score decreasing, to the last address, beings that game doesn't use DMA, you could just write the score you want to it but, write in hex i.e. if you want 10 score, write 0A to it. If you use Cheat Engine and right click on the address and select 'view what writes here,' you'll probably find the actual in-game function for handling score, instead of just the address it's using to store score temporarily. You can then use a Debugger, like OllyDBG, to learn more. Good luck...