diff --git a/ArchiSteamFarm/CardsFarmer.cs b/ArchiSteamFarm/CardsFarmer.cs index 1e8cb22ac..97fef0faf 100755 --- a/ArchiSteamFarm/CardsFarmer.cs +++ b/ArchiSteamFarm/CardsFarmer.cs @@ -349,7 +349,7 @@ namespace ArchiSteamFarm { continue; } - if (GlobalConfig.GlobalBlacklist.Contains(appID) || Program.GlobalConfig.Blacklist.Contains(appID)) { + if (GlobalConfig.GamesBlacklist.Contains(appID) || GlobalConfig.SalesBlacklist.Contains(appID) || Program.GlobalConfig.Blacklist.Contains(appID)) { // We have this appID blacklisted, so skip it continue; } diff --git a/ArchiSteamFarm/GlobalConfig.cs b/ArchiSteamFarm/GlobalConfig.cs index 6c0321561..423761f34 100644 --- a/ArchiSteamFarm/GlobalConfig.cs +++ b/ArchiSteamFarm/GlobalConfig.cs @@ -40,8 +40,8 @@ namespace ArchiSteamFarm { internal const byte DefaultLoginLimiterDelay = 10; internal const string UlongStringPrefix = "s_"; - // This is hardcoded blacklist which should not be possible to change - internal static readonly HashSet GlobalBlacklist = new HashSet { 267420, 303700, 335590, 368020, 402590, 425280, 480730, 566020, 639900 }; + internal static readonly HashSet GamesBlacklist = new HashSet { 402590 }; // Games with broken/unobtainable card drops + internal static readonly HashSet SalesBlacklist = new HashSet { 267420, 303700, 335590, 368020, 425280, 480730, 566020, 639900 }; // Steam Summer/Winter sales [JsonProperty(Required = Required.DisallowNull)] internal readonly bool AutoRestart = true; diff --git a/ArchiSteamFarm/Trading.cs b/ArchiSteamFarm/Trading.cs index 82fc988d3..0288df87f 100644 --- a/ArchiSteamFarm/Trading.cs +++ b/ArchiSteamFarm/Trading.cs @@ -301,7 +301,7 @@ namespace ArchiSteamFarm { // If user has a trade hold, we add extra logic if (holdDuration.Value > 0) { // If trade hold duration exceeds our max, or user asks for cards with short lifespan, reject the trade - if ((holdDuration.Value > Program.GlobalConfig.MaxTradeHoldDuration) || tradeOffer.ItemsToGive.Any(item => GlobalConfig.GlobalBlacklist.Contains(item.RealAppID))) { + if ((holdDuration.Value > Program.GlobalConfig.MaxTradeHoldDuration) || tradeOffer.ItemsToGive.Any(item => GlobalConfig.SalesBlacklist.Contains(item.RealAppID))) { return new ParseTradeResult(tradeOffer.TradeOfferID, ParseTradeResult.EResult.RejectedPermanently); } }