ZuccMarkerberg
-
Posts
5 -
Joined
-
Last visited
Posts posted by ZuccMarkerberg
-
-
Yeah, it only gets printed once because you never told it to do anything beyond that point.
i already said "even if i put anything anywhere it executes once"
'finished' is printed out only once, what i'm trying to do here is to automatically exit code when 1 day of idling is reached, i'd set timer to do that but it's executed only once which is not enough
-
You're done something wrong in your code.
const logOnDetails = {'dontRememberMachine': false,'accountName': 'username','password': 'password','twoFactorCode': SteamTotp.getAuthCode('shared_secret')}client.on('loggedOn', details => {client.getNicknames(() => {console.log(`Logged into Steam as '${client.accountInfo.name}' ${client.steamID.getSteam3RenderedID()}`);client.setPersona(SteamUser.EPersonaState.Busy);client.gamesPlayed(idleList, true, function(){console.log('test')});console.log(`Idling`)})})// Some error occurred during logonclient.on('error', e => console.log(e));client.logOn(logOnDetails)i think you still don't understand xD idle works perfectly, but once idling starts, other code stops executing,"idling" gets printed only once, even if i put anything anywhere it executes once, then idling starts and it's just blinking square
-
You're most certainly doing something wrong, nothing "blocks code from executing".
sry couldn't find better word for it, code executes fully but once hour boost starts, loop doesn't start over again so i can't set timer to automatically exit
-
when i use GamesPlayed for idling games, once it starts idling other code stops executing, i want to automatically call exit when reaches x time but i wasn't able to do that, i tried editing library but no luck
client.GamesPlayed blocking other code from executing
in node-steam-user
Posted · Edited by ZuccMarkerberg
oh shit i just realised how dumb my question was... sry xD and thanks