Plasmic
Plasmic

Reputation: 65

Avoid pausing flash game with cheat-engine by pausing the browser process

For a flash game i'm working on i would like to know if there is anything that can be done to stop players that pause the game by pausing the browser process as shown in this youtube video?

I'm already looking in to all the other great suggestions to avoid or at least slow down cheat engine hackers at : What is the best way to stop people hacking the PHP-based highscore table of a Flash game. But couldn't find anything on pausing processes.

Upvotes: 0

Views: 444

Answers (1)

Vesper
Vesper

Reputation: 18747

Pausing a process is detectable by using (new Date()).getTime() repeatedly with short intervals. If, say, the difference between the dates exceeds several seconds, and you are querying this statement once per 30 frames, then either your framerate stalls or the process has been paused.

Upvotes: 1

Related Questions