RELEASED [SMAPI] Shop Expander: Buy stacks of 999 for common resources.

Discussion in 'Gameplay Mechanics' started by Entoarox, Apr 13, 2016.

  1. Entoarox

    Entoarox Oxygen Tank

    There currently isnt, Once I finish my current work on the menu API, I will go back in and see about giving SE a nice and proper polish and update.
     
    • fudge5962

      fudge5962 Phantasmal Quasar

      I didn't think there was, but I have only just started poking around with game files, so I wasn't sure.

      Seen that menu api post. Looks like it could open up a lot of options for mods and mod config.

      If you could find a way to allow setting of individual prices within the config file and worked out the little bugs that come up, I'm pretty sure Shop Expander would be able to function as a full fledged customizable shop overhaul.

      Sent from my Nexus 7 using Tapatalk
       
      • Kupie

        Kupie Poptop Tamer

        Say, since stone is 20 gold each wouldn't the stack cost "19980", not "9990" like Wood does?
         
        • Entoarox

          Entoarox Oxygen Tank

          There is a bug in the latest released version that makes it so the code thinks every item is 10 gold, I have it fixed in source, but I've been rather busy with a lot of other work so I havent had time to finish the update on it.
           
            Kupie likes this.
          • Kupie

            Kupie Poptop Tamer

            It's all good! Thanks for the info. I just toss half of them into the trash :D
             
            • Entoarox

              Entoarox Oxygen Tank

            • mat013579

              mat013579 Void-Bound Voyager

              Help!
              me get this Error
              [​IMG]
              [​IMG]

              Thank You.
               
              • Entoarox

                Entoarox Oxygen Tank

                fixed, patch being uploaded now.
                 
                • khoanguyen0497

                  khoanguyen0497 Void-Bound Voyager

                  So there's a bug when I buy stack of 999 stones : A mod failed to handle item added to inventory, or something like that. I couldn't post a screenshot at this moment, but I will when I can.
                  EDIT: screenshot added
                  EDIT2: oooh okay it seems like it has something to do with another mod
                   

                    Attached Files:

                    Last edited: Dec 19, 2016
                  • Rotasu

                    Rotasu Intergalactic Tourist

                    I get this error without even changing anything in the config.json
                    version 1.41
                     

                      Attached Files:

                    • Entoarox

                      Entoarox Oxygen Tank

                      install Entoarox Framework mod.
                       
                      • fudge5962

                        fudge5962 Phantasmal Quasar

                        Installed the latest version, using the original config along with Entoarox Framework, it throws an error:


                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)
                        [21:52:31 ERROR Shop Expander] Object failed to generate: Entoarox.ShopExpander.Reference
                        An item with the same key has already been added.
                        at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                        at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                        at Entoarox.ShopExpander.ShopExpanderMod.generateObject(String owner, Int32 replacement, Int32 stackAmount, String requirements)
                        at Entoarox.ShopExpander.ShopExpanderMod.Event_LoadContent(Object sender, EventArgs e)


                        What did I do?
                         
                        • Entoarox

                          Entoarox Oxygen Tank

                          remove config, the new version uses a different format.
                           
                          • Snarkypie

                            Snarkypie Scruffy Nerf-Herder

                            Using the newest version, robin's menu automatically opens the Shop, and doesn't give me any way to access Construct Farm Buildings
                             
                            • fudge5962

                              fudge5962 Phantasmal Quasar

                              Deleting config causes it to run once without error (which creates a new config), and then the new config causes the exact same error.

                              When I said original config, I meant I didn't change it from how it generates from code in the newest version.
                               
                              • Entoarox

                                Entoarox Oxygen Tank

                                full log please
                                My code is only triggered when you open the shop menu, please verify that this happens with only ShopExpander installed and nothing else by sending a log file for when the issue occurs.
                                 
                                • fudge5962

                                  fudge5962 Phantasmal Quasar

                                  This is what the console output (with only this mod + framework installed). Is there another way to get the full log or is this what you were looking for?

                                  Edit: found the log
                                   

                                    Attached Files:

                                    Last edited: Jan 1, 2017
                                  • Entoarox

                                    Entoarox Oxygen Tank

                                    Well.... This looks like a issue in the new config code that SMAPI has... (Pinging @Pathoschild)
                                     
                                    • fudge5962

                                      fudge5962 Phantasmal Quasar

                                      Huh, odd. Guess that's what I get for updating. [emoji14]

                                      Sent from my Nexus 7 using Tapatalk
                                       
                                      • Entoarox

                                        Entoarox Oxygen Tank

                                        Confirmed by Pathos, SMAPI 1.6 will fix it. :) (You might need to delete the config file first once you update, you also might not, still best you know that might be needed.)
                                         

                                        Share This Page