RELEASED Chest Label System

Allow you to name your chests!

  1. OrSpeeder

    OrSpeeder Phantasmal Quasar

    I know, I warned about that, and explained why :)
     
      Milly Rainbowskittlez likes this.
    • zanderb22

      zanderb22 Title Not Found

      Its not possible to name animals after installing this mod.
       
      • tandpastatester

        tandpastatester Scruffy Nerf-Herder

        I have the same issue. Might have something to do with the cursor/scaling issue.
         
        • Hazerofdoom

          Hazerofdoom Scruffy Nerf-Herder

          It's also not possible to name your baby (one via adoption at least). :<
           
          • OrSpeeder

            OrSpeeder Phantasmal Quasar

            Alright, this helps more, seemly I broke the name system somehow o_O

            I need you people to test something: attempt to rename an animal with my mod installed, but BEFORE opening any chest.
            Then test again AFTER opening a chest, I think I can guess now what is broken. (I don't have animals or babies to rename, sorry :( )
             
            • Randonx

              Randonx Scruffy Nerf-Herder

              You can still rename them, but you have to click on a location that is not the text box, but near it. Try clickspamming around the screen when you have the option, and take note of where it lets you click on it. It will always be in that position.
               
              • OrSpeeder

                OrSpeeder Phantasmal Quasar

                Whoa, that is even worse! O.O

                Because now I have no idea what went wrong!
                 
                • pepper77

                  pepper77 Void-Bound Voyager

                  Oooooooooh. I thought you just meant the label box when you hover over the chest! My bad! :rofl:
                   
                  • hentais

                    hentais Space Hobo

                    has the zoom problem been fixed yet for chest labels? thank you.
                     
                    • OrSpeeder

                      OrSpeeder Phantasmal Quasar

                      Nope, it is a XNA bug, I am seeing if I find an workaround.
                       
                      • jlee100

                        jlee100 Void-Bound Voyager

                        Hello! you should try drawTextureBox and drawTextWithShadow. I saw it in the API and I think it might work. Not really sure since I have no experience in coding except 1 week of understanding how c# work through youtube. xD
                         
                        • OrSpeeder

                          OrSpeeder Phantasmal Quasar

                          Those are completely unrelated to what I need... AND suffer from the same bug anyway.
                           
                          • jlee100

                            jlee100 Void-Bound Voyager

                            Oh ok xD
                            May I download your code? I have no experience at all but there are ideas popping up in my head and it wont disappear until I have tried them. xD
                             
                            • OrSpeeder

                              OrSpeeder Phantasmal Quasar

                              Well... sure! The link is on the first post of the thread!
                               
                                jlee100 likes this.
                              • deathCorporate

                                deathCorporate Void-Bound Voyager

                                FINALLY YES I LOVE YOU. i like the fact your doing this on SMAPI storm have it but i use smapi since its more simpler to use but anyways <3 thank you
                                 
                                • jlee100

                                  jlee100 Void-Bound Voyager

                                  Thank you! After analyzing the code I was able to find and fix some of the problems.

                                  -fixed mouse cursor out of place when clicking inputbox and "Ok" button
                                  -fixed not able to name animals and child
                                  [​IMG]

                                  -fixed chest label out of position when zoomed out
                                  [​IMG]
                                   

                                    Attached Files:

                                  • RedxMoonxRose

                                    RedxMoonxRose Scruffy Nerf-Herder

                                    Thank you so much for this mod @OrSpeeder but also thaaank you @jlee100 for fixing the bugs. I can now name my animals properly :)
                                     
                                      Superior_s likes this.
                                    • dem0z

                                      dem0z Star Wrangler

                                      Great work guys, thank you :3
                                       
                                      • Dikong227

                                        Dikong227 Intergalactic Tourist

                                      • OrSpeeder

                                        OrSpeeder Phantasmal Quasar

                                        Care to say what you found out? I still didn't had time to analyse it myself :( Some stuff happened at home (one family member had to travel to do something, and threw everything into disarray, with me having to do lots of physically demanding work that I am not used to...).
                                         
                                          Milly Rainbowskittlez likes this.

                                        Share This Page