Time-cheat prevention

Vasilij

(53)
$14
Publisher Vasilij
File size 43.42kB
Number of files 6
Latest version 1
Latest release date 2017-11-20 09:23:27
First release date 2014-06-26 08:20:14
Supported Unity versions 2018.4.2 or higher
Mobile (iOS, Android) native plugin to prevent cheating by changing phone time in settings. Does not require server and internet connection - works completely offline!

Many mobile games use timer mechanics: restoring lives, delivering upgrades, training units, breeding monsters, etc. But it is very easy to cheat just by changing device time. (OK, sometimes you must turn off internet connection first)

Now it is possible to make reliable timers even without server and internet connection. This plugin uses internal low-level API to retrieve time data that is agnostic to local device time changes.

Package contains:
1) iOS native plugin
2) Android native plugin
3) C# wrapper class with method to return current unbiased time
4) Optional script that uses ntp pool when connected to network. This feature requires .NET sockets (Unity Pro on mobile)
5) Sample project (C#). YouTube demo: http://youtu.be/Yys3cqE2ocE

Top Publisher Assets