Jump to content
McKay Development

neverhood

Member
  • Posts

    68
  • Joined

Posts posted by neverhood

  1. Hi, is there any way to login account to confirm all pending trades/market listings without touching websession of same account logged on VPS with different IP?

    Currently I'm logging account via password and 2FA code with node-steam-user and node-steamcommunity modules - 'acceptAllConfirmations' and it works fine, but everytime I do it my websession expires on VPS.

  2. 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?

  3. 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?

  4. 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?

  5. 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

  6. What do you get if you call buffer.toString('hex')?

     
    83039003338a86e347d33855fd3ac3030dd633ea5c33dfa09337030030033d00000000330798d8693333400339667530984393000038da05433a0a0f74765f7373635f737465636d5f6964390608ce643333400343330a086d637463685f696439bf00000036dd743e4d78756c0050035a486c757800035a069343397e0033e335a80a03d34ce306c8936b79333b3c33408f3e8646c6ee4baf85364e3f096035988d09559cdae4e3be389548cdea753c9b94c3cb4d83fa63383b630a8303dfa09337030030036a0a83030798d869333340033340333ab40497338b533ac3f33039eb0f34c53b8d64ea4ffe6096ebfe4ccd33c73808bcecb360338e95ac73a9a79599c8d93b93d3f43eaa3c896a703933aaf4440f
  7. Hello, I'm trying to read protobuf message sent via Steam.

     



     

    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

  8. 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!

×
×
  • Create New...