From ffeaf8480eab71221ef6084b56e78d7a668ae8cc Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sun, 29 Dec 2019 19:09:41 +0100 Subject: [PATCH] Increase MaxTwoFactorCodeFailures SERIOUSLY VOLVO? --- ArchiSteamFarm/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 6e1df5317..50f7136cd 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -50,7 +50,7 @@ namespace ArchiSteamFarm { private const byte LoginCooldownInMinutes = 25; // Captcha disappears after around 20 minutes, so we make it 25 private const uint LoginID = 1242; // This must be the same for all ASF bots and all ASF processes private const ushort MaxMessageLength = 5000; // This is a limitation enforced by Steam - private const byte MaxTwoFactorCodeFailures = 3; + private const byte MaxTwoFactorCodeFailures = WebBrowser.MaxTries; // Max TwoFactorCodeMismatch failures in a row before we determine that our 2FA credentials are invalid (because Steam wrongly returns those, of course) private const byte RedeemCooldownInHours = 1; // 1 hour since first redeem attempt, this is a limitation enforced by Steam private const byte ReservedMessageLength = 2; // 2 for 2x optional …