minosviel Posted May 8, 2020 Report Posted May 8, 2020 (edited) I have this app that allows user/bot to login via web interface, and store the loginKey in db for subsequent logins. Most of the time it works fine, but it will still prompt steam guard for some accounts for the subsequent logins. (Around 16 accounts tested, 2 requires steam guard. Of these two, one tried to login another time with password+steam guard combo, and the subsequent logins worked again without steam guard. All these 2 acc are authenticated by email steam guard. The first time login options are as follow: const logOnOptions = { accountName: msg.data.username, password: msg.data.password, rememberPassword: true }; The subsequent login options are as follow: const logOnOptions = { accountName: steam_username, loginKey: loginKey, rememberPassword: true }; All these accounts are logged-in to the server without proxy options, under the same IP. Daily login is around 5 unique accts. Each account will be logged-in for a short awhile every 30mins or so, with interval of 5 seconds per login. Any possible issue for the random steam guard prompt? Must I use proxy? Sentry file? Edited May 8, 2020 by minosviel Quote
Dr. McKay Posted May 9, 2020 Report Posted May 9, 2020 That's pretty strange. I've never heard of anyone being prompted for a Steam Guard code when they use a loginKey; only loginKeys expiring and getting InvalidPassword back. That said, the way Steam handles loginKeys is kind of weird and they're prone to being rejected. I personally recommend that you just use passwords wherever possible. Quote
minosviel Posted May 9, 2020 Author Report Posted May 9, 2020 57 minutes ago, Dr. McKay said: That's pretty strange. I've never heard of anyone being prompted for a Steam Guard code when they use a loginKey; only loginKeys expiring and getting InvalidPassword back. That said, the way Steam handles loginKeys is kind of weird and they're prone to being rejected. I personally recommend that you just use passwords wherever possible. Thank you for your reply! Using password failed as well, still required steam guard when I tested it on the 2nd case. The 2nd case was: Seq 1: Logged-in with password, prompted steam guard, successful, loginKey updated to db. Seq 2: Tried logging in with loginKey, no invalidpassword error, but prompted steam guard. Seq 3: Logged-in again with password, still prompted steam guard, successful, loginKey updated. Seq 4: Subsequent logins with loginKey works fine and good. I am guessing is it something to do with sentry files writing/corruption/permission? I have multiple instances of Steam User running at the same time, will it affect? Maybe I will setup the script with another server and environment and test it out. Quote
Dr. McKay Posted May 9, 2020 Report Posted May 9, 2020 By default, each account gets its own sentry file, so having multiple instances running should make no difference. Although if something in your environment is preventing the sentry files from being written, that could potentially cause some issues. Quote
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.