Simple copy protection done right :)
-
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
-
@Oli-Ullmann hey, could you maybe upload this again? would be a big help to make this thing work in my projects :)