Archisteamfarm: ASF keeps trying to login indefinitely when you're "LoggedInElsewhere"

Created on 24 Aug 2017  路  11Comments  路  Source: JustArchiNET/ArchiSteamFarm

Bug

Description

Whenever I open any game using the Steam client in one of my bots, ASF shows me this:

log.txt (line 321 to 329)

However, in previous ASF versions, if you were playing any game on Steam, ASF would not keep trying to login on that account forever, like it does now. I'm not sure if this is intended behavior, but it's very annoying...

Expected behavior

ASF stops trying to login when I'm playing something.

Actual behavior

ASF keeps trying to login indefinitely.

Steps to reproduce

  1. Open ASF
  2. Open any game in your Steam client
  3. ASF will spam your terminal window while connecting/disconnecting from your account

Full log.txt recorded during reproducing the problem

https://gist.github.com/GUiHKX/3918af4de1ecf9325176dc0f35833d6e/raw/b0fec66a557e5d5fd5b6ad00f066a2663126ce39/log.txt

Global ASF.json config

{
  "AutoRestart": false,
  "AutoUpdates": false,
  "Blacklist": [],
  "ConnectionTimeout": 60,
  "CurrentCulture": null,
  "Debug": false,
  "FarmingDelay": 15,
  "GiftsLimiterDelay": 1,
  "Headless": false,
  "IdleFarmingPeriod": 3,
  "InventoryLimiterDelay": 3,
  "IPCHost": "127.0.0.1",
  "IPCPort": 1242,
  "LoginLimiterDelay": 10,
  "MaxFarmingTime": 4,
  "MaxTradeHoldDuration": 15,
  "OptimizationMode": 0,
  "Statistics": false,
  "SteamOwnerID": <hidden>,
  "SteamProtocols": 7,
  "UpdateChannel": 2
}

BotName.json config of all affected bot instances (if more than one)

{
  "AcceptGifts": false,
  "AutoDiscoveryQueue": true,
  "CardDropsRestricted": false,
  "CustomGamePlayedWhileFarming": null,
  "CustomGamePlayedWhileIdle": null,
  "DismissInventoryNotifications": false,
  "Enabled": true,
  "FarmingOrder": 0,
  "FarmOffline": true,
  "GamesPlayedWhileIdle": [
    10,
    730
  ],
  "HandleOfflineMessages": false,
  "IdleRefundableGames": true,
  "IsBotAccount": false,
  "LootableTypes": [
    1,
    3,
    5,
    6
  ],
  "PasswordFormat": 0,
  "Paused": false,
  "RedeemingPreferences": 0,
  "SendOnFarmingFinished": true,
  "SendTradePeriod": 0,
  "ShutdownOnFarmingFinished": false,
  "SteamLogin": "<hidden>",
  "SteamMasterClanID": 0,
  "SteamParentalPIN": "0",
  "SteamPassword": null,
  "SteamTradeToken": "<hidden>",
  "SteamUserPermissions": {
    "<hidden>": 3
  },
  "TradingPreferences": 1
}

Additional info

I know that you will say that those bunches of warnings are simply Steam's fuckups, but maybe it is worth checking out those warnings? I've been monitoring them.

ASF's request:

screenshot_2017-08-24_06-18-30

Steam's response:

screenshot_2017-08-24_06-18-54

Bug Confirmed Low priority

All 11 comments

Stop launching the same bot in ASF several times and you won't get this issue.

2017-08-24 17:00:35|INFO|archi|IsAnythingToFarm() Checking first badge page...
2017-08-24 17:00:40|INFO|archi|IsAnythingToFarm() Checking other badge pages...
2017-08-24 17:00:49|INFO|archi|StartFarming() We have a total of 1 games (3 cards) left to idle (~1 hour, 30 minutes remaining)...
2017-08-24 17:00:49|INFO|archi|Farm() Chosen idling algorithm: Simple
2017-08-24 17:00:49|INFO|archi|FarmSolo() Now idling: 473740 (Crystal City)
2017-08-24 17:00:51|INFO|archi|ShouldFarm() Idling status for 473740 (Crystal City): 3 cards remaining
2017-08-24 17:00:51|INFO|archi|Farm() Still idling: 473740 (Crystal City)
2017-08-24 17:00:53|INFO|archi|ShouldFarm() Idling status for 473740 (Crystal City): 3 cards remaining
2017-08-24 17:00:53|INFO|archi|Farm() Still idling: 473740 (Crystal City)
2017-08-24 17:01:13|INFO|archi|OnLoggedOff() Logged off of Steam: LoggedInElsewhere
2017-08-24 17:01:13|INFO|archi|OnDisconnected() Disconnected from Steam!
2017-08-24 17:01:13|INFO|archi|OnDisconnected() Reconnecting...
2017-08-24 17:01:13|INFO|archi|Farm() Stopped idling: 473740 (Crystal City)
2017-08-24 17:01:13|INFO|archi|Connect() Connecting...
2017-08-24 17:01:13|INFO|archi|OnConnected() Connected to Steam!
2017-08-24 17:01:13|INFO|archi|OnConnected() Logging in...
2017-08-24 17:01:14|INFO|archi|OnLoggedOn() Successfully logged on!
2017-08-24 17:01:14|INFO|archi|Init() Logging in to ISteamUserAuth...
2017-08-24 17:01:14|INFO|archi|CheckOccupationStatus() Account is currently being used: ASF will resume idling when it's free...
2017-08-24 17:01:14|INFO|archi|StopFarming() Idling stopped!
2017-08-24 17:01:14|INFO|archi|Init() Success!
2017-08-24 17:01:29|INFO|archi|CheckOccupationStatus() Account is no longer occupied: idling process resumed!
2017-08-24 17:01:29|INFO|archi|IsAnythingToFarm() Checking first badge page...
2017-08-24 17:01:35|INFO|archi|IsAnythingToFarm() Checking other badge pages...
2017-08-24 17:01:42|INFO|archi|StartFarming() We have a total of 1 games (3 cards) left to idle (~1 hour, 30 minutes remaining)...
2017-08-24 17:01:42|INFO|archi|Farm() Chosen idling algorithm: Simple
2017-08-24 17:01:43|INFO|archi|FarmSolo() Now idling: 473740 (Crystal City)

Stop launching the same bot in ASF several times

I don't get it. What does that even mean?

Exactly what it says - you have another ASF, bot, script or something else trying to log in on that account at the same time as your affected ASF instance.

Except that I'm not, LOL. I just have that account logged on Steam and ASF, and also only one instance of ASF is running...

Then tell me why my ASF is working properly when doing your reproduced steps.

Although I might have an idea why, going to check regardless.

Please do. Thanks

Like I guessed it has to do with GamesPlayedWhileIdle.

Great! Please let me know if I you need help testing.

It's good that you reported this issue, I found the other one while fixing it, so 3.0.1.9 is on its way. Thanks!

Glad I could help!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jat001 picture jat001  路  4Comments

KazeZlat picture KazeZlat  路  4Comments

undefo picture undefo  路  4Comments

light444 picture light444  路  3Comments

Sirogabober picture Sirogabober  路  4Comments