ZuccMarkerberg
Member-
Posts
5 -
Joined
-
Last visited
ZuccMarkerberg's Achievements
-
client.GamesPlayed blocking other code from executing
ZuccMarkerberg replied to ZuccMarkerberg's topic in node-steam-user
oh shit i just realised how dumb my question was... sry xD and thanks- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
client.GamesPlayed blocking other code from executing
ZuccMarkerberg replied to ZuccMarkerberg's topic in node-steam-user
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- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
client.GamesPlayed blocking other code from executing
ZuccMarkerberg replied to ZuccMarkerberg's topic in node-steam-user
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- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
client.GamesPlayed blocking other code from executing
ZuccMarkerberg replied to ZuccMarkerberg's topic in node-steam-user
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- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with:
-
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
- 8 replies
-
- node.js
- node-steam-user
-
(and 1 more)
Tagged with: