Simple copy protection done right :)
-
@mwplugs Ok so, when I opened the snippet, the button is already not set as saveInPreset, and it work like a charm.
I don't know how happened to not work on your side. -
This post is deleted! -
Trying to run this but I get this when it loads:
-
@Sampletekk
The project no longer works like this. You have to copy the code and set it up yourself. Then it will work.I did this some time ago. You can download it here (You must download it within 7 days, otherwise the link will expire!):
-
This post is deleted! -
Struggeling with this! When I run the program now, I'm getting this:
Any ideas?
-
@Sampletekk Unknown function mean the thing on the left side of the
.
doesn't have a function with that name - so you need to check thatserials.Data
has the values you think it should. -
@d-healey said in Simple copy protection done right :):
@Sampletekk Unknown function mean the thing on the left side of the
.
doesn't have a function with that name - so you need to check thatserials.Data
has the values you think it should.Aha! The file created, that contains the valid numbers, is called "serials.js". Is this the problem here?
-
@Sampletekk said in Simple copy protection done right :):
Is this the problem here?
I don't know, I'm not familiar with the rest of the code.
-
Ok, I've got this working! One question: When working in the Hise, after entering a valid serial, The script creates the file "RegistrationInfo.js" in the projects root.
Where does that file end up when you are working with a compiled version? I'm on a mac now, but I'm also interested in knowing where it is on a PC.
For testing purposes, I would like to be able to "reset" the registration for the compiled versions, as I would do while developing, by deleting the "RegistrationInfo.js" file -
@Sampletekk try looking in the App Data folders...
-
@Lindon said in Simple copy protection done right :):
@Sampletekk try looking in the App Data folders...
Found it, on a mac, it was in the "Application Support" folder!
-
@Sampletekk yep - and on windows its in
C:/Users/AppData/Roaming/CompanyName/productName