From f88bfe9f8339e589050eab8c241e8a8598da9cb2 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 3 Aug 2016 17:16:11 +0200 Subject: [PATCH] Make CardDropsRestricted true by default After evaluation, it seems that more accounts have card drops restricted rather than not, and having it as true when in reality it's false results in less performance degradation than the other way --- ArchiSteamFarm.sln | 3 +++ ArchiSteamFarm/BotConfig.cs | 2 +- ArchiSteamFarm/config/example.json | 2 +- ConfigGenerator/BotConfig.cs | 2 +- GUI/FodyWeavers.xml | 4 ++++ GUI/GUI.csproj | 12 ++++++++++++ GUI/packages.config | 2 ++ 7 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 GUI/FodyWeavers.xml diff --git a/ArchiSteamFarm.sln b/ArchiSteamFarm.sln index 437de2ab7..ee797552c 100644 --- a/ArchiSteamFarm.sln +++ b/ArchiSteamFarm.sln @@ -11,6 +11,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConfigGenerator", "ConfigGe EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUI", "GUI\GUI.csproj", "{13949B41-787C-4558-90AE-A9F9E7F86B1F}" + ProjectSection(ProjectDependencies) = postProject + {35AF7887-08B9-40E8-A5EA-797D8B60B30C} = {35AF7887-08B9-40E8-A5EA-797D8B60B30C} + EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/ArchiSteamFarm/BotConfig.cs b/ArchiSteamFarm/BotConfig.cs index a55c243b4..ffddc9a0a 100644 --- a/ArchiSteamFarm/BotConfig.cs +++ b/ArchiSteamFarm/BotConfig.cs @@ -75,7 +75,7 @@ namespace ArchiSteamFarm { internal readonly ulong SteamMasterClanID = 0; [JsonProperty(Required = Required.DisallowNull)] - internal readonly bool CardDropsRestricted = false; + internal readonly bool CardDropsRestricted = true; [JsonProperty(Required = Required.DisallowNull)] internal readonly bool DismissInventoryNotifications = true; diff --git a/ArchiSteamFarm/config/example.json b/ArchiSteamFarm/config/example.json index 15e82cc78..853566206 100644 --- a/ArchiSteamFarm/config/example.json +++ b/ArchiSteamFarm/config/example.json @@ -8,7 +8,7 @@ "SteamApiKey": null, "SteamMasterID": 0, "SteamMasterClanID": 0, - "CardDropsRestricted": false, + "CardDropsRestricted": true, "DismissInventoryNotifications": true, "FarmingOrder": 0, "FarmOffline": false, diff --git a/ConfigGenerator/BotConfig.cs b/ConfigGenerator/BotConfig.cs index b993a3941..8055611fb 100644 --- a/ConfigGenerator/BotConfig.cs +++ b/ConfigGenerator/BotConfig.cs @@ -82,7 +82,7 @@ namespace ConfigGenerator { public ulong SteamMasterClanID { get; set; } = 0; [JsonProperty(Required = Required.DisallowNull)] - public bool CardDropsRestricted { get; set; } = false; + public bool CardDropsRestricted { get; set; } = true; [JsonProperty(Required = Required.DisallowNull)] public bool DismissInventoryNotifications { get; set; } = true; diff --git a/GUI/FodyWeavers.xml b/GUI/FodyWeavers.xml new file mode 100644 index 000000000..5df39cbf9 --- /dev/null +++ b/GUI/FodyWeavers.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/GUI/GUI.csproj b/GUI/GUI.csproj index 4a3dd10ce..d75422d60 100644 --- a/GUI/GUI.csproj +++ b/GUI/GUI.csproj @@ -12,6 +12,8 @@ v4.6.1 512 true + + AnyCPU @@ -199,9 +201,19 @@ + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + +