can you set a timer to run when the program is off?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By cobracon

so, is it possible to make a timmer count how much time the game is closed and then change the game.

if it is how do I do it

:bust_in_silhouette: Reply From: Wakatta

Short answer

No.

Work around

You could do on

  • Windows use vbScripts
  • Linux use bash scripts
  • Android use a service / notifications
  • MaC related products idk

with OS.execute() something like

Example

sleep, 5000
run, awesome_game.exe

Correct Approach

Save the time when your application is closed and on open subtract the current time from the saved time then take appropriate actions

Yea that is a pretty good work around. But then the only down fall is that people could then change their date on their device to fake progress. Work around Iv experience the hard way is after resetting your time. You cant continue progress until you reached that time you see thus your just have to set your timer further and further into the future . Or connecting your timer to the internet which then prevents offline play. I think your just gonna have to pick your poison. Or be a genius and discover something new XD

LewdStar1503 | 2022-08-22 02:32