From 48a5eeec293b5906021ecf5228b08195767bd91d Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 21 Nov 2015 21:30:49 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/Bot.cs | 2 +- ArchiSteamFarm/CardsFarmer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 11ecb882c..740341dc5 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -287,7 +287,7 @@ namespace ArchiSteamFarm { } if (bot.CardsFarmer.CurrentGamesFarming.Count > 0) { - SendMessageToUser(steamID, "Bot " + bot.BotName + " is currently farming appIDs: " + string.Join(", ", bot.CardsFarmer.CurrentGamesFarming) + " and has total of " + bot.CardsFarmer.CurrentGamesFarming.Count + " games left to farm"); + SendMessageToUser(steamID, "Bot " + bot.BotName + " is currently farming appIDs: " + string.Join(", ", bot.CardsFarmer.CurrentGamesFarming) + " and has a total of " + bot.CardsFarmer.GamesToFarm.Count + " games left to farm"); } SendMessageToUser(steamID, "Currently " + Bots.Count + " bots are running"); } diff --git a/ArchiSteamFarm/CardsFarmer.cs b/ArchiSteamFarm/CardsFarmer.cs index b6338f053..2d8727ffd 100755 --- a/ArchiSteamFarm/CardsFarmer.cs +++ b/ArchiSteamFarm/CardsFarmer.cs @@ -34,11 +34,11 @@ namespace ArchiSteamFarm { internal class CardsFarmer { private const byte StatusCheckSleep = 5; // In minutes, how long to wait before checking the appID again - private readonly ConcurrentDictionary GamesToFarm = new ConcurrentDictionary(); private readonly ManualResetEvent FarmResetEvent = new ManualResetEvent(false); private readonly SemaphoreSlim Semaphore = new SemaphoreSlim(1); private readonly Bot Bot; + internal readonly ConcurrentDictionary GamesToFarm = new ConcurrentDictionary(); internal readonly List CurrentGamesFarming = new List(); private volatile bool NowFarming = false;