Jump to content
McKay Development

Recommended Posts

Posted (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 by taiilon
Posted

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.

Posted

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);

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...