Hello, I need some help with WriteProcessMemory. I have been following this guide to create a simple game trainer for a very old game (final fantasy 7):
**[login to view URL]**
I used Cheat Engine to find the memory address I need to change, and with some small changes to the code in the example above I can successfully write into the memory to change the value, in my case it is to change the money in the game.
The problem is if I enter too large a value, it does not change in the memory correctly, I think maybe Chr has a limit or something maybe. Example, if I write 15 into the TEdit in my project and press update, the money in the game becomes 15 which is correcy, but if i write say 86529 in the edit, the game shows the money as 20993, so something is not right there - the length of the value must be too big??.
So all I need is somebody to update the example to allow larger values.
Please realise the work has already been done, I could actually get the help from any other free forum so consider this before bidding which is why my max bid is really low, it probably only needs one or two line changing.
I need it extending to write larger values into memory, that is all.
I can post a demo project if needed.
Thanks in advance!