RELEASED [SMAPI] Showcase

Discussion in 'Mods' started by Igorious, Jan 15, 2017.

  1. Igorious

    Igorious Sandwich Man

    @SpringsSong, thank you for the report!
    Seems, it's because «magic» that Entoarox Framework uses.
    I've added compatibility layout, now my mod should add data correctly.
    Version 0.8.2.


    ---------

    Small performance fixes.
    Basic Manual layout. It's cute enought :)
    Manual.png
    Maybe, I need to add shadows for items. I will try and compare.
    Version 0.8.4.
     
      Last edited: Jan 25, 2017
      IronZelly, eemie and Minakie like this.
    • SpringsSong

      SpringsSong Cosmic Narwhal

      Ah, that would explain why it worked when I had only it and the Item Spawner active, but not when I had the EntoFramework installed. I'll give it a test here in a little bit and report back. =3
       
      • SpringsSong

        SpringsSong Cosmic Narwhal

        Okay, now I'm having another issue entirely:
        upload_2017-1-25_17-20-21.png

        ...as you can see, the furniture is invisible, both with and without other mods. o_O It's this way for 0.8.2 and 0.8.4 (but, at least it's loading with the EntoFramework now!)
         
        • Igorious

          Igorious Sandwich Man

          @SpringsSong, it's because this mod uses non-standart menu =\
          I will add compatibility at evening.
           
            IronZelly and Minakie like this.
          • Igorious

            Igorious Sandwich Man

            IronZelly likes this.
          • SpringsSong

            SpringsSong Cosmic Narwhal

            It works now~ thanks!
             
            • zarzaz

              zarzaz Subatomic Cosmonaut

              I found bug. When my farmer pass out and have on hand some items, then when wake up the number of items quadruple.
              1.png 2.png
               
              • Igorious

                Igorious Sandwich Man

                @zarzaz, good work! Thank you for the report.

                Items were quadrupled, because code of Game1.player.ActiveObject.set:
                Code:
                public Object ActiveObject
                { ...
                  set
                  {
                    if (value == null)
                       removeItemFromInventory(ActiveObject);
                    else
                       addItemToInventory(value, CurrentToolIndex);
                  }
                }
                Each time, when I explicitly set this property (and I'd done this before and after saving), the game adds an item copy to the inventory.
                Now, this issue is fixed!

                Version 0.8.6.

                ------------------

                Just a little bug fix.
                I've found a rare crash.
                As you know, you can place furniture with hit-box 1x1 over another furniture, like this:
                FurnitureHeldFurniture.png
                I don't know why it's allowed, but it's possible.
                Unfortunately, there's no code, that I can intercept without rewriting all Furniture objects at the game world:(
                So, please, don't do this for showcases!
                But if you accidentally do this, it's nothing wrong now.
                I've fixed crash during saving, and prevent an item loss in this case. Showcase still can be incorrectly displayed, but you can just pick up your showcase again :)

                Version 0.8.7.
                 
                  Last edited: Jan 28, 2017
                • Igorious

                  Igorious Sandwich Man

                  Version 0.8.8.
                  A small update with two features:
                  - Items have shadows (and now they seem more natural);
                  - You can place small furniture objects to showcases with Filter="Furniture".
                  SmallFurnitureAndShadows.png SmallFurnitureAndShadows2.png

                  ------------

                  RELEASED!
                   
                    Last edited: Jan 29, 2017
                    Snarkypie, eemie and Jokerine like this.
                  • Igorious

                    Igorious Sandwich Man

                  • Coolwyngs

                    Coolwyngs Giant Laser Beams

                    Very cool thank you for making this
                     
                    • Jokerine

                      Jokerine Scruffy Nerf-Herder

                    • Minakie

                      Minakie Cosmic Narwhal

                    • Thekittyphone

                      Thekittyphone Scruffy Nerf-Herder

                      I usually never post anything online, but it seems like a lot of work has gone into this and it's great, so I wanted to say a big thank you!
                       
                        Minakie likes this.
                      • Kulturbanause

                        Kulturbanause Phantasmal Quasar

                        Heck this MOD is really awesome!!!

                        You should add it to Nexus.
                         
                        • Igorious

                          Igorious Sandwich Man

                          Special version for compatibility with SV beta only!!!: v.0.9.1
                          Required Stardew Valley version: 1.2.4.
                          Required SMAPI version: 1.9.2.
                           
                          • Coolwyngs

                            Coolwyngs Giant Laser Beams

                            Cool thank you very much for making a beta version
                             
                            • chrrie

                              chrrie Intergalactic Tourist

                              Would absolutely love to see this mod become Mac compatible! It's pretty close, I can see and place all of your new furniture, but when I try to add anything (specifically trying to add a fish to the wood wall shelf) I get the following console error:

                              Code:
                              [15:17:28 ERROR SMAPI] An error occured in the overridden draw loop: Failed loading type: : System.TypeLoadException: Failure has occurred while loading a type.
                                at Igorious.StardewValley.ShowcaseMod.Core.Showcase.ForEachDrawItem (Igorious.StardewValley.ShowcaseMod.Core.ItemGridProvider itemProvider, IShowcaseLayout layout, System.Action`2 action) <0x1752c47f0 + 0x000bf> in <filename unknown>:0
                                at Igorious.StardewValley.ShowcaseMod.Core.Showcase.DrawItems (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, Single alpha, Vector2 viewPosition, Single scaleSize, ShowcaseDrawMode drawMode, Igorious.StardewValley.ShowcaseMod.Core.DepthProvider depthProvider) <0x1752bc990 + 0x0057a> in <filename unknown>:0
                                at Igorious.StardewValley.ShowcaseMod.Core.Showcase.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, Single alpha, Vector2 viewPosition, Single scaleSize, Single layerDepth, ShowcaseDrawMode drawMode) <0x1752bba70 + 0x00252> in <filename unknown>:0
                                at Igorious.StardewValley.ShowcaseMod.Core.Showcase.draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, Int32 x, Int32 y, Single alpha) <0x1752bfee0 + 0x000d2> in <filename unknown>:0
                                at StardewValley.Locations.DecoratableLocation.draw (Microsoft.Xna.Framework.Graphics.SpriteBatch b) <0x1702ee560 + 0x00099> in <filename unknown>:0
                                at StardewModdingAPI.Inheritance.SGame.Draw (Microsoft.Xna.Framework.GameTime gameTime) <0x15995f000 + 0x06c51> in <filename unknown>:0 
                               
                              • Igorious

                                Igorious Sandwich Man

                                Update for latest SMAPI (v.0.9.14) and SV beta (v.1.2.16): LINK v.0.9.2
                                Note, that now it uses two folders by technical reasons.

                                Sorry, I have not enough to do something new or rewrite New Machines Mod :(
                                 
                                • DarkVioletCloud

                                  DarkVioletCloud Void-Bound Voyager

                                  Will you ever update this for SMAPI 2.1? This seems like an awesome mod but I can't use it because it's outdated.
                                   
                                    blargsnarf and kijikun like this.

                                  Share This Page