Jump to content
McKay Development

Stuck on "Awaiting mobile confirmation"


Recommended Posts

Hello,

 

My bot sometimes gets stuck at "Awaiting mobile confirmation", which is annoying for the customers who want to receive their items.

I'm using the example code of steam-tradeoffer-manager on Github. Is there anything to do against this? 

Kind regards

Link to comment
Share on other sites

Hello,

 

It is already implemented, but +- 1/50 sent offers are stuck on waiting for confirmation. Using Steamcommunity.
I think this is the same problem as https://dev.doctormckay.com/topic/173-confirmation-didnt-go-through/ . You've said that the libraries take care of the DeviceID, am I doing it correctly or am I missing something here ?

function login() {

  steam.login(logOnOptions, function (err, sessionID, cookies, steamguard, oAuthToken) {
    if (err) {
      console.log("Steam login fail: " + err.message);
    }


    fs.writeFile('steamguard.txt', steamguard);
    console.log("Logged into Steam");

    var mycookies = manager.setCookies(cookies, function(err) {
      if(err) {
        console.log(err);
        throw err;
        return;
      }

      console.log("Got API key: " + manager.apiKey);
      steam.startConfirmationChecker(2000, identity_secret);
      console.log("Confirmation Checker has started");
      offerItems();
      checkUnsentOffers();
    });
  });
}

Kind regards

Edited by kreghx
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...