Jump to content
McKay Development

goalsword

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by goalsword

  1. client.on('webSession', (sessionID, cookies) => {
      manager.setCookies(cookies, function (err) {
        if (err) {
          logger.error(err) //Ignore logger, that's winston
          process.exit(1);
        }
      });
    
      community.setCookies(cookies);
      community.startConfirmationChecker(10000, config.identitySecret);
    });
    

    Is this what you need?

     

    Thank you for your help. but this is not I want. I get confirmations manually just for avoiding 429 http error.

  2. Hi,

        I have a problem with steamcommunity.

        I can only get trade confirmations those created manually when i call steamcommunity.getConfirmations. 

        Those trade confirmations i created with steam-tradeoffer-manager can't get them.

        Thank you for help.

         attch file 111 can see i have 2 confirmations to confirm. but when i call getConfirmations i only get one~

    var time = SteamTotp.time(steamBot.community._timeOffset);
            var confKey = SteamTotp.getConfirmationKey(steamBot.option.identity_secret, time, 'conf');
            var allowKey = SteamTotp.getConfirmationKey(steamBot.option.identity_secret, time, 'allow');
            
            // steamBot.community.acceptAllConfirmations(time, confKey, allowKey, function(err, confs){
            //     if(err){
            //         res.sendError(err);
            //         return;
            //     }
            //     if(confs == null) confs = [];
            //     res.sendSuccess(confs);
            // });
            req.steamBot.community.getConfirmations(time, confKey, function(err,confs){
                if(err){
                    res.sendError(err);
                    return;
                }
                res.sendSuccess();
            });
    

    post-1090-0-11514600-1494925716_thumb.png

    post-1090-0-07617800-1494925725_thumb.png

×
×
  • Create New...