taiilon Posted January 10, 2021 Report Posted January 10, 2021 (edited) Today i han an idea that i have seen in some hourboost services, and that is to restart the games set in config every 30 minutes. i dont mean to restart the whole session, only the games set in config, so i think i can do it with client.gamePlayed , but im new in this and i dont really know how. Edited January 10, 2021 by taiilon Quote
Dr. McKay Posted January 11, 2021 Report Posted January 11, 2021 I'm not sure what you intend to accomplish by doing this, but you would want to call gamesPlayed([]) (with an empty array) and then a few seconds later, call it again with the game(s) you want to report to Steam that you're playing. Quote
taiilon Posted January 11, 2021 Author Report Posted January 11, 2021 i can make run the games with gamesPlayed([]) i dont have any problem with it, i just want to do like an auto-restart games , and what im trying to accomplish with it is to not have delayed hours in steam. I was thinking doing it with like a setTimeout or setInterval so it restart every 30 mins , i dont know if it works like that. Something like this but well done: bot.on('error', function(e) { console.log("[" + this.username + "] " + e); setTimeout(function() {bot.doLogin();}, 30*30*1000); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.