Nwton Posted September 8, 2017 Report Share Posted September 8, 2017 I log in alike: client.logOn({ 'accountName': login, 'password': pass, 'twoFactorCode': SteamTotp.getAuthCode(shared_secret) });It works. But sometimes, Totp generate a code too late, and I get require for another guard code directly in putty console.How to retry log in automatically if code is not valid anymore?Also, I don't get any events from 'steamGuard' or 'error'. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted September 8, 2017 Report Share Posted September 8, 2017 Please read the documentation, specifically the options. Quote Link to comment Share on other sites More sharing options...
Nwton Posted September 8, 2017 Author Report Share Posted September 8, 2017 (edited) Please read the documentation, specifically the options. Sure I did. But now I see: client.setOption('promptSteamGuardCode', false);Now 'steamGuard' event is works. Edited September 8, 2017 by Nwton Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.