+ 1

Anti cheat?

I was wondering if there is a way to create a logic that denies the variable to be modified from outside of the program like cheat engine in c#? Doesn't matter how many times i tried to create algorithm, it can't prevent the variable from beeing modified. I'm trying to make the variable protected from outside attacker without using any variable modifierlike protected, or private or constant.. But the actual way / logic that plays in the role. Is it possible? I just couldn't find how it works.

16th Jan 2018, 1:03 PM
Elvin Auresius
Elvin Auresius - avatar
2 ответов
+ 2
Apply a checksum. This will corrupt the file if it's altered and the checksum doesn't add up.
16th Jan 2018, 5:52 PM
Bagshot
Bagshot - avatar
+ 1
The server should check whether a number is possible. For example, is AMMO smaller than MAX AMMO? Did AMMO change before RELOADING was true for 1.5 seconds? If so, cancel the reload.
16th Jan 2018, 1:25 PM
Lil Taco
Lil Taco - avatar