Jump to content
McKay Development

spazhead

Member
  • Posts

    2
  • Joined

  • Last visited

spazhead's Achievements

  1. Thanks for the reply, I have moved the community login code inside the callback and added a large delay (20 seconds) before the second code is generated. This corrected the issue! I had no idea that you couldn't use the same Steam Guard code twice. Thank you so much, Spazhead
  2. Hello all! I have seen a similar question here, but to my understanding, it wasn't answered. https://dev.doctormckay.com/topic/251-cant-make-a-simple-login-due-to-steamguardmobile/ My code is as follows: var diff = 0; SteamTotp.getTimeOffset(function(err, d, l) { diff = d; }); console.log(diff); var code = SteamTotp.generateAuthCode(config.secret, diff); community.login({ "accountName": config.username, "password": config.password, "twoFactorCode": code, }, function(err){ if (err) { console.log(err); process.exit(1); } communityloggedin = true; console.log("Logged on to SteamCommunity with "+config.username); }); Unfortunately, I get the error [Error: SteamGuardMobile]. The answer to the other question linked above had an answer but I failed to see the fix. Thanks for your time, Spazhead
×
×
  • Create New...