Talk:Scripts/@comment-2601:380:C000:7FB:1808:9E06:E933:22BE-20180202020332/@comment-32335387-20180202055459

The last section in the wiki above explains why this happens. In-game scripts are interpreted by Javascript. Therefore if the browser isn't open it's impossible for the scripts to get interpreted, which means that conditionals and such will never get evaluated. With the current system, offline progress is solely determine by online rates ($/s, exp/s, grows/s, weaken/s when the game is open)  and there's no way around it.

You should definitely rely on checking the server money before hacking if you are running scripts with the game open, but they will not work as you expect if you close the game a lot.

It would be possible to implement an offline system in the future that is similar to something like Kittens Game (where you don't actually gain money/exp when offline, but you do gain "points" and these points can be spent to essentially speed up time).