This commit is contained in:
JustArchi
2018-08-28 19:29:02 +02:00
parent 32193565af
commit 92cccf5e5d

View File

@@ -240,8 +240,6 @@ namespace ArchiSteamFarm {
return;
}
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.GamesToIdle, GamesToFarm.Count, GamesToFarm.Sum(game => game.CardsRemaining), TimeRemaining.ToHumanReadable()));
// This is the last moment for final check if we can farm
if (!Bot.IsPlayingPossible) {
Bot.ArchiLogger.LogGenericInfo(Strings.PlayingNotAvailable);
@@ -586,6 +584,8 @@ namespace ArchiSteamFarm {
private async Task Farm() {
do {
Bot.ArchiLogger.LogGenericInfo(string.Format(Strings.GamesToIdle, GamesToFarm.Count, GamesToFarm.Sum(game => game.CardsRemaining), TimeRemaining.ToHumanReadable()));
// Now the algorithm used for farming depends on whether account is restricted or not
if (Bot.BotConfig.HoursUntilCardDrops > 0) {
// If we have restricted card drops, we use complex algorithm