HISE Logo Forum
    • Categories
    • Register
    • Login

    The Death Crash || Prevention?

    Scheduled Pinned Locked Moved Scripting
    15 Posts 2 Posters 102 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ChazroxC
      Chazrox @d.healey
      last edited by

      @d-healey I have a button running the script at the time. I was using the button the script was working. I made some changes in the script and pressed the button again.

      What I mean by running the script is pressing the button before pressing F5 again after changing the script.

      Would it have read the changes in the code editor or ran what was last commited?

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @Chazrox
        last edited by

        @Chazrox If you'd pressed F5 even once and saved your project then the script shouldn't have been wiped. Sounds like a bug, if you can find a way to reproduce it that would be helpful.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ChazroxC 1 Reply Last reply Reply Quote 0
        • ChazroxC
          Chazrox @d.healey
          last edited by Chazrox

          @d-healey I did save an .xml and even tho I made multiple changes and saves to that file and pressed F5 a bunch of times. It just decided to do that. The saved .xml file is in fact wiped.

          its a habbit to cmd+s, AND cmd+shift+s after every change.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @Chazrox
            last edited by

            @Chazrox said in The Death Crash || Prevention?:

            The saved .xml file is in fact wiped.

            The project xml is wiped and the script file is wiped?

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            ChazroxC 1 Reply Last reply Reply Quote 0
            • ChazroxC
              Chazrox @d.healey
              last edited by

              @d-healey the .xml file is still there and shows in my saved menu but when I open the .xml file in a text editor its empty.

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @Chazrox
                last edited by

                @Chazrox said in The Death Crash || Prevention?:

                the .xml file is still there and shows in my saved menu

                There are two xml files, one for the UI data and one for the module tree. When you say it's empty, do you mean it's a completely empty file?

                What about the script file?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                ChazroxC 1 Reply Last reply Reply Quote 0
                • ChazroxC
                  Chazrox @d.healey
                  last edited by

                  @d-healey

                  The files I checked were in these directories:

                  Project Folder/ Presets/ Project.hip
                  Project Folder/ XMLPresetBackups / project.xml
                  Project Folder/ Scripts / ScriptProcessors / project.xml

                  the script looks like this in those files:

                  include("SliderPackPRINTERbyRGLIDES.js");
                  
                  
                  
                  
                  
                  
                  
                  function onNoteOn()
                  {
                  	
                  }
                   function onNoteOff()
                  {
                  	
                  }
                   function onController()
                  {
                  	
                  }
                   function onTimer()
                  {
                  	
                  }
                   function onControl(number, value)
                  {
                  	
                  }
                  

                  the include.js here is also wiped.
                  Screenshot 2025-07-13 at 3.37.38 AM.png

                  No shade on @rglides because he gave me a working script so we're clear. lol. I was tinkering.

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @Chazrox
                    last edited by

                    @Chazrox said in The Death Crash || Prevention?:

                    Project Folder/ Scripts / ScriptProcessors / project.xml

                    There shouldn't be an xml in the Scripts folder.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    ChazroxC 1 Reply Last reply Reply Quote 0
                    • ChazroxC
                      Chazrox @d.healey
                      last edited by Chazrox

                      @d-healey sorry thats a .js file. Its still Empty. Everything with the project name on it is reset to default.

                      1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey
                        last edited by

                        Ok so it looks like there is a critical bug here. Are you able to recreate the crash?

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        ChazroxC 1 Reply Last reply Reply Quote 0
                        • ChazroxC
                          Chazrox @d.healey
                          last edited by

                          @d-healey super critical. Good thing I back up the entire project folder after ever new function added. I'll lose a few hours of work at most. I'll see about recreating that.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post

                          33

                          Online

                          1.8k

                          Users

                          12.1k

                          Topics

                          105.7k

                          Posts