Forum
    • Categories
    • Register
    • Login
    1. Home
    2. Avián
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • Hise with Gumroad licensing system

      Hi all, I scripted this License-Test in my Plugin and it works fine:

      // -------------------------
      // GUMROAD / TEST LICENSING
      // -------------------------
      
      const var LicenseField   = Content.getComponent("Label7");
      const var ActivateButton = Content.getComponent("Button2");
      const var Keyboard       = Content.getComponent("FloatingTile1");
      const var LockOverlay    = Content.getComponent("Panel2");   // Overlay-Panel
      
      var pluginUnlocked = false;
      
      
      // -------- Plugin beim Start SPERREN --------
      pluginUnlocked = false;
      
      // Overlay aktiv → blockt alle Klicks
      LockOverlay.set("visible", true);
      LockOverlay.set("enabled", true);
      
      // Keyboard zusätzlich sperren
      Keyboard.set("enabled", false);
      
      // Aktivierungs-UI aktiv lassen
      LicenseField.set("enabled", true);
      ActivateButton.set("enabled", true);
      
      
      // ---------------- Button: Aktivieren ----------------
      inline function onActivateButton(c, v)
      {
          if (!v) return;
      
          local key = LicenseField.get("text");
          if (key == "") return;
      
          local TEST_KEY = "TEST-1234";
      
          if (key == TEST_KEY)
          {
              Console.print("Local test activation OK");
      
              pluginUnlocked = true;
      
              // Overlay weg → Plugin wieder benutzbar
              LockOverlay.set("visible", false);
              LockOverlay.set("enabled", false);
      
              // Keyboard wieder freigeben
              Keyboard.set("enabled", true);
      
              // --- ALLE Controls wieder aktiv ---
              Category.set("enabled", true);
              Variant.set("enabled", true);
      
              Attack.set("enabled", true);
              Hold.set("enabled", true);
              Decay.set("enabled", true);
              Sustain.set("enabled", true);
              Release.set("enabled", true);
      
              SaveButton.set("enabled", true);
      
              // Lizenz-UI verstecken
              ActivateButton.set("visible", false);
              LicenseField.set("visible", false);
      
              return;
          }
      
          Console.print("Wrong key");
      }
      
      ActivateButton.setControlCallback(onActivateButton);
      

      Now I want to implement the auto-licensesystem from gumroad. Can someone help me to set up the right script for this? Gumroad License:

      https://gumroad.com/help/article/76-license-keys

      I would be very grateful if someone could help me with this. I want the buyer to have to activate the software only once. After that, no further activation should be required. The license should allow the user to cover 1-3 devices, and it must work on both Windows and Mac. Thank you in advance. Best regards.

      posted in Scripting
      A
      Avián
    • RE: Export Setup Wizard

      @David-Healey oh, by myself I can't find it! Thank you David.

      posted in Bug Reports
      A
      Avián
    • RE: Export Setup Wizard

      @dannytaurus My Friend, thank you so much! The 2022 version of visual studio is only available as professional. So I had to change my path.

      posted in Bug Reports
      A
      Avián
    • Export Setup Wizard

      I have really tried everything at this point. MSBuild is installed on my Windows system, but HISE simply cannot detect it, so I cannot proceed with the export. I urgently need help. I already tried multiple versions of Visual Studio and several restarts, but nothing works.Screenshot IMMERNOCH.png

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey can you please check your emails?

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey OneDrive is local

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey ok, sorry with notepad it was possible to open it!Screenshot 6 for david.png seems like it's the right location

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey ah thank you! I finally found it, but I can't open it, too.Screenshot 3 for david.png Screenshot 4 for david.png Screenshot 5 for david.png

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey oh, I can't open the .ch1 files in my editor for some reason.

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey Screenshot 2 for david.png

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey yes, but in 2 seperate folders, and even if I put them outside this folder, it still doesn't work. Screenshot 1 for david.png

      posted in Bug Reports
      A
      Avián
    • RE: Full Expansion Export - SampleMaps disappear

      @David-Healey Hi David, thanks a lot! My sample maps no longer disappear now. However, after exporting and testing in Rhapsody I still don’t have any sound, even when I set the sample location in Rhapsody to the “Samples” folder where my .ch1 files are located.

      posted in Bug Reports
      A
      Avián
    • Full Expansion Export - SampleMaps disappear

      Hi everyone — I’m having an issue in HISE. My plugin works completely after doing a Full Expansion export in Rhapsody: the design and all functions behave exactly as expected.

      However, there is one problem: I get no sound from the keyboard.

      I think I’ve figured out why. As soon as I switch to Full Expansion mode in the settings, all of my 24 sample maps disappear. My Expansions folder also is completely empty — which I assume should not happen.

      I’m doing all of this for the first time, so I’m not very experienced with HISE yet.

      Could someone please explain — in simple terms — how to prepare my project for a Full Expansion export without having to rebuild and reload all of my sample maps from scratch?

      Thanks in advance!
      Best regards,
      Avián

      posted in Bug Reports
      A
      Avián