RELEASED [SMAPI] Categorize Chests 1.3.0 (important bug fix!)

Discussion in 'Mods' started by SteelixLeiter, Jul 8, 2017.

  1. SteelixLeiter

    SteelixLeiter Orbital Explorer

    Download here.

    I've released a new version of my Categorize Chests mod. For anyone who's downloaded it previously (thanks!), please grab the new version as soon as possible, as it contains a fix for a bug that could cause loss of an item under certain circumstances (namely, if you stashed items while holding an item in the cursor).

    I'm posting mainly to get the word out as much as possible about this important fix, but since I haven't posted the mod here before, here's what it is:

    [​IMG]

    This mod allows you to choose which types of items you'd like each chest to contain. After you've done so, you can press the Stash button to dump any items of those types from your inventory into the chest.​
     
      Digus and sevensevenseventeen like this.
    • Vermillion_Catus

      Vermillion_Catus Void-Bound Voyager

      Wow, very useful mod you have here. I don't know why this isn't more popular in the community.
       
        sevensevenseventeen likes this.
      • computerweekend

        computerweekend Scruffy Nerf-Herder

        This looks incredible, going to try it :)
         
        • Ichimatsu

          Ichimatsu Pangalactic Porcupine

          I wonder if it works with other chest mods such as chest pooling or chests anywhere, and if the categories include modded items such as new crops or meat items :unsure:
           
          • Verne

            Verne Astral Cartographer

            It works with Chests Anywhere, I can confirm.

            Also, this thread is months old and made me think there was an update...
             
            • Ichimatsu

              Ichimatsu Pangalactic Porcupine

              Yeah. I noticed they mentioned compatibility in the Nexus page, although I was hoping for some sort of system which worked with chest pooling, too; like, the ability to deposit everything in one chest and that I'd sort automatically... but of course it sounded too good to be true, lol.

              For that matter I thought it was a brand new mod, We've both been fooled. :lickitung:
               
              • Crazy-San

                Crazy-San Void-Bound Voyager

                So for some reason this mod seems to break the Gift Taste Helper mod (https://rd.nexusmods.com/stardewvalley/mods/229) Not sure exactly how. Posting the log from SMAPI
                Code:
                [SMAPI] SMAPI 2.0 with Stardew Valley 1.2.33 on Microsoft Windows 10 Home
                [SMAPI] Mods go here: E:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods
                Setting breakpad minidump AppID = 413150
                Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198011545168 [API loaded no]
                [SMAPI] Categorize Chests uses the 'dynamic' keyword, which isn't compatible with Stardew Valley on Linux or Mac.
                
                [SMAPI] Loaded 8 mods:
                [SMAPI]    Automate 1.7 by Pathoschild | Lets you automate crafting machines, fruit trees, and more by connecting them to chests.
                [SMAPI]    Categorize Chests 1.4.2 by Don Collins | Assign chests to specific item types.
                [SMAPI]    CJB Show Item Sell Price 1.7 by CJ Bok | Show item sell price in your inventory!
                [SMAPI]    Expanded Fridge 1.2.8 by Uwazouri | Expands the fridge in the players house.
                [SMAPI]    GiftTasteHelper 2.6.3 by tstaples (aka catman) | Displays NPC gift tastes in a handy tooltip.
                [SMAPI]    Happy Birthday 1.4.1 by Alpha_Omegasis | Adds the farmer's birthday to the game.
                [SMAPI]    StackSplitX 1.3.1 by tstaples (aka Catman) | Custom Stack splitting.
                [SMAPI]    UI Info Suite 1.3.1 by Cdaragorn | Adds a lot of useful information to the user interface. This is based on Demiacle's excellent UIModSuite.
                
                [SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
                
                [SMAPI] You can update 1 mod:
                [SMAPI]    UI Info Suite 1.3.2: http://www.nexusmods.com/stardewvalley/mods/1150
                [Categorize Chests] Categorize Chests is up to date.
                [SMAPI] A mod failed handling the SaveEvents.AfterLoad event:
                Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type GiftTasteHelper.Framework.SemanticVersion. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path 'Version.MajorVersion', line 3, position 19.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
                   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
                   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
                   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
                   at StardewModdingAPI.Framework.Serialisation.JsonHelper.ReadJsonFile[TModel](String fullPath) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Serialisation\JsonHelper.cs:line 57
                   at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadJsonFile[TModel](String path) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ModHelper.cs:line 105
                   at GiftTasteHelper.Framework.StoredGiftDatabase..ctor(IModHelper helper, String path) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\Framework\Controllers\GiftDatabase.cs:line 115
                   at GiftTasteHelper.GiftTasteHelper.LoadGiftHelpers(IModHelper helper) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 107
                   at GiftTasteHelper.GiftTasteHelper.SaveEvents_AfterLoad(Object sender, EventArgs e) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 86
                   at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent(IMonitor monitor, String name, IEnumerable`1 handlers, Object sender, EventArgs args) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\InternalExtensions.cs:line 40
                [SMAPI] A mod failed handling the SaveEvents.AfterLoad event:
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type GiftTasteHelper.Framework.SemanticVersion. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonCons
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingVal
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingVal
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.Serialisation.JsonHelper.ReadJsonFile[TModel](String fullPath) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Serialisation\JsonHelper.cs:line 57
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadJsonFile[TModel](String path) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ModHelper.cs:line 105
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.Framework.StoredGiftDatabase..ctor(IModHelper helper, String path) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\Framework\Controllers\GiftDatabase.cs:line 115
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.GiftTasteHelper.LoadGiftHelpers(IModHelper helper) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 107
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.GiftTasteHelper.SaveEvents_AfterLoad(Object sender, EventArgs e) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 86
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent(IMonitor monitor, String name, IEnumerable`1 handlers, Object sender, EventArgs args) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\InternalExtensions.cs:line 40[SMAPI] A mod fa
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type GiftTasteHelper.Framework.SemanticVersion. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonCons
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingVal
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingVal
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.Serialisation.JsonHelper.ReadJsonFile[TModel](String fullPath) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Serialisation\JsonHelper.cs:line 57
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadJsonFile[TModel](String path) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ModHelper.cs:line 105
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.Framework.StoredGiftDatabase..ctor(IModHelper helper, String path) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\Framework\Controllers\GiftDatabase.cs:line 115
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.GiftTasteHelper.LoadGiftHelpers(IModHelper helper) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 107
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.GiftTasteHelper.SaveEvents_AfterLoad(Object sender, EventArgs e) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 86
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent(IMonitor monitor, String name, IEnumerable`1 handlers, Object sender, EventArgs args) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\InternalExtensions.cs:line 40[SMAPI] A mod fa
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type GiftTasteHelper.Framework.SemanticVersion. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonCons
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingVal
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingVal
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.Serialisation.JsonHelper.ReadJsonFile[TModel](String fullPath) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Serialisation\JsonHelper.cs:line 57
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.ModHelpers.ModHelper.ReadJsonFile[TModel](String path) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\ModHelper.cs:line 105
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.Framework.StoredGiftDatabase..ctor(IModHelper helper, String path) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\Framework\Controllers\GiftDatabase.cs:line 115
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.GiftTasteHelper.LoadGiftHelpers(IModHelper helper) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 107
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at GiftTasteHelper.GiftTasteHelper.SaveEvents_AfterLoad(Object sender, EventArgs e) in C:\Users\Tyler\Documents\GitHub\StardewValleyWorkspace\StardewMods\GiftTasteHelper\GiftTasteHelper\GiftTasteHelper.cs:line 86
                [SMAPI] Unknown command; type 'help' for a list of available commands.
                   at StardewModdingAPI.Framework.InternalExtensions.SafelyRaisePlainEvent(IMonitor monitor, String name, IEnumerable`1 handlers, Object sender, EventArgs args) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\InternalExtensions.cs:line 40
                 

                Share This Page