There are many memory-altering programs out there nowadays (Cheat Engine & co). Is there an efficient way to keep a constant variable actually constant?
I had two ideas:
- Make a separate thread updating the constant variable to a constant value, e.g. 200 every minute. Problem: One can also alter the second value.
- Store the value on the server. Problem: I want to keep the network traffic as low as possible.
I need this mechanism for both constants and variables only allowed to contain a certain range of values.
Are there better ways to do this?