Please Give me a Script☺☺☺

Could somebody help me to make a script *a time script* Even if i close the game. but the game time still running in background..*Sory i am indonesian* and amateur
1) please give your topic a title that tells us in detail what you want - everyone posting here is asking for a script, that's why it's called "script request".


2) Unfortunately I don't think you'll have much luck with this due to the way Windows works.


It's abslutely impossible to keep a regular program running when the window looses focus or is shutdown. You would need a special program designed for background processing, and that needs to be installed differently by a full installer - it can't be done with a script inside the RM Game.


If you can give us more details on what exactly you want and what the game is supposed to do with it (it makes absolutely no sense to keep the game going if the player doesn't play it), then there might be some workarounds for specific problems.
My English aint the best, but i believe you need a kind of Time stamp. Its used in Browser Multiplayer Games for example.


Safe real Time to a Variable, now for example every 5 Minutes or Everytime you start the Game, the Game will compare the Time in the safed Variable with the actual real Time


on your computer, the difference will be the Time that has past since last Time.


Hope this explained well enough. Maybe someone fluid in Ruby and the Time Methode can help.
Oh..ok thanks

Original thread: https://forums.rpgmakerweb.com/threads/please-give-me-a-script.61725/