I have C++ application/game. Right now there are long/short values that represent shields, power capasity, and so forth.
I found out you can actually use a memory hacker (Like Cheat Engine) and freeze these values or change them to be higher for unlimited power. Which is pretty much an issue.
I wanted to know what I can do, if there is any coding to prevent memory hacking (For example steam has punkbuster or whatever).
I was also thinking if this is not the case, then I can modify the values to have a random seed each game added on in the value, then remove the seed when there used, and readd it when there stored again. Kinda like so theres a random value.. For example
Shields are 3000
Random value is 302
VAlue stored is 3302, when called it will remove the 302 to use, and then readd.
The issue with this is the games pretty big and would require a pretty big add to many values, and I'd have to find areas, so first I was wondering if there is any way I can stop memory hacking via coding or something like that.. Any suggestions?