Jump to content
McKay Development


  • Posts

  • Joined

  • Last visited

Everything posted by neverhood

  1. what did you do with bots exactly?
  2. bot.logOff(); for example or bot._disconnect(true);
  3. you need new instance of steam-user (bot in this case) for each account
  4. client.on('error', function(e) { console.log(e); });
  5. try do 1 second delay (1000 ms) between requests
  6. hello, can you take a look into it, because I'm still facing this issue sometimes, how can I force reconnect to GC when haveGCsession is set to false, but GC works fine after I restart script (issue not related to GC servers)
  7. can I ask, what reason of ban? and what you were doing on them?
  8. I dont even use steamcommunity library so I have no idea what you mean lol
  9. Hello, I'm trying to keep my session alive with this code with interval 1 hour if (client.steamID) { client.webLogOn(); } else { client.logOn(account); } but in very rare case I'm getting crash (1 timer per 2-3 weeks, 24/7 running): /root/project/node_modules/steam-user/components/messages.js:472 if (steamID && sessionID && (sessionID != this._sessionID || steamID.toString() != this.steamID.toString())) { ^ TypeError: Cannot read property 'toString' of null at SteamUser._handleNetMessage (/root/project/node_modules/steam-user/components/messages.js:472:98) at SteamUser.processMulti (/root/project/node_modules/steam-user/components/messages.js:570:9) at Gunzip.cb (/root/project/node_modules/steam-user/components/messages.js:561:17) at Gunzip.zlibBufferOnEnd (zlib.js:150:10) at Gunzip.emit (events.js:317:22) at endReadableNT (_stream_readable.js:1215:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) newest library, newest nodejs, how can I handle it?
  10. Hello, I'm using only 'node-steam-user' library and sometimes (randomly, not only during Tuesday maintenance) my script is crashing when I'm doing 'client.webLogOn();' (I'm doing it in intervals to keep my session alive - just in case every 30 minutes) sometimes I'm getting this error (very rare case): /node_modules/steam-user/components/web.js:10 throw new Error("Cannot log onto steamcommunity.com without first being connected to Steam network"); is there any method that instead of crashing app I can try to login account again with 'client.logOn'? because I don't want to check my VPS if script got crashed or no (I want to run it constantly without worring that something crashed there) something with try, catch method?
  11. Hello, I'm using this library to check player's profiles, but sometimes (after a few hours of constant work) my variable 'haveGCSession' is set to false, and it doesnt want to auto-reconnect, script is running but when I'm trying to call 'requestPlayersProfile' (ofc before if (haveGCSession)) it says I dont have haveGCSession How can I reconnect to game-coordinator? sometimes script works good whole week without this error, sometimes I get it after 20 hours of run (randomly) I tired to use: 'client.gamesPlayed([730]);' but it doesn;'t reconnect GC session if (csgo.haveGCSession) { // MY CODE } else { console.log("haveGCSession is set to false"); client.gamesPlayed([730]); } I had this problem before: https://dev.doctormckay.com/topic/2130-node-globaloffensive-after-v2-disconnect/ should I use client.relog();? or maybe csgo._connect?
  12. is it technically possible to unlock achievements with some protobuf message with your library? even if you didn't prepare any ready-to-use code? I'm asking for it, because if its technically possible I will look closer for some coder to code it
  13. is there any method to edit (lock/unlock) Steam Achievements with nodejs? something like Steam Achievements Manager (.exe)
  14. @Dr. McKay - I have no idea how did you do that, but thank you so much, everything works like it should
  15. sorry for stupid question, but I'm not really familiar with it thats what I get in console: { null }please help! (:
  16. 83039003338a86e347d33855fd3ac3030dd633ea5c33dfa09337030030033d00000000330798d8693333400339667530984393000038da05433a0a0f74765f7373635f737465636d5f6964390608ce643333400343330a086d637463685f696439bf00000036dd743e4d78756c0050035a486c757800035a069343397e0033e335a80a03d34ce306c8936b79333b3c33408f3e8646c6ee4baf85364e3f096035988d09559cdae4e3be389548cdea753c9b94c3cb4d83fa63383b630a8303dfa09337030030036a0a83030798d869333340033340333ab40497338b533ac3f33039eb0f34c53b8d64ea4ffe6096ebfe4ccd33c73808bcecb360338e95ac73a9a79599c8d93b93d3f43eaa3c896a703933aaf4440f
  17. Hello, I'm trying to read protobuf message sent via Steam. I'm using this library: https://github.com/DoctorMcKay/node-globaloffensive/ I'm trying to read this message: https://github.com/DoctorMcKay/node-globaloffensive/blob/master/protobufs/cstrike15_gcmessages.proto#L96 that what I got in response: <Buffer 82 01 90 02 11 8a 86 e2 47 d3 18 55 fd 1a c2 01 0d 4f 8b e9 5c 11 df a0 92 37 01 00 10 01 1d 00 00 00 00 21 09 04 0d 40 30 31 40 01 29 4f 75 f2 f0 85 ... 226 more bytes> how can I decode this message? Greetings
  18. Hello, I'm using two versions of node-globaloffensive, I have old project done with 1.3.2 version (and it works like a charm), lately I updated same project to version 2.0.1 nad after long run of script (usually after a few days) GC is disconnecting randomly (Steam fault for sure) and not connecting again by itself (like with 1.3.2 version). Can you take a look at code if its something missing in auto-reconnect function or setting 'haveGCSession' after reconnect? I'm calling my functions only when haveGCSession is set to true, and with 2.0.1 version I'm facing issues after long run GC is disconnecting - haveGCSession is set to false until I restart whole script. All packages are updated and with 1.3.2. version everything works fine. Greetings!
  19. but you already got answer in ban reason by Steam, you were using bot for commercial purposes, that's all
  20. and what was that commercial purposes? gambling site or some site for buying/selling skins?
  21. ban reason by Steam? and what those bots were doing? gambling site?
  22. now I get it (I think so ), thank you for explaining me should I add setInterval in 'loggedOn' with 1 hour refresh? something like this: setInterval(function(){ client.webLogOn(); }, 3600000); my current code: client.on('webSession', (sessionID, cookies) => { manager.setCookies(cookies); const f = Object.keys(client.myFriends); for (let i = f.length - 1; i >= 0; i--) if (client.myFriends[f[i]] === 2) client.addFriend(f[i]); }); client.on('loggedOn', () => { client.gamesPlayed(configuration.gamesPlayed); client.setPersona(1); console.log(`[${new Date().toLocaleTimeString()}] - ONLINE - ${client.steamID.getSteamID64()}`); });am I setting properly manager cookies with every websession?
  23. I have no idea why this is happening randomly (when someone send trade offer session getting expired 1 second after and my bot stuck), sometimes my bot works even 72 hours without this issue, I think maybe because bot is idling for longer time (not receving any trade offer) this is happening.
  • Create New...