How do I make a licence

Get help using Construct 2

Post » Sat Jun 14, 2014 4:11 pm

hi all

im working on a licence system wich works like this, the app register the serialnumber the real one with the wmic comand, and save that to the machine, and the server also.

my question is, how a licence works?

do i have to tell to my app to check if the licence is present in both, machine+server befor teh app start?

and what to do if the user buy a new hdd?

and also how to write the 1kb file to the ftp wich contains the serialnumber?

thanks
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Sat Jun 14, 2014 10:37 pm

You should probably use Construct Classic. As far as I can tell Construct 2 is only for games. There's a seperate forum for questions regarding Construc Classic that you might have more luck on.
B
6
S
1
Posts: 41
Reputation: 762

Post » Sat Jun 14, 2014 11:40 pm

@EightBitBattleCat
That's not true

Op:
That's overkill, just use a hash function
For example, you could start with the number two
Multiply that by 32 and by itself 3 time, you are going to end with a number, give that as a license and reverse engineer it (Divide it by itself and by 32, 3 times) then check if the number is 2 and if so, the serial is decent

I'm going to try and make you an example later on, because this one is a bit naive, basically, make it as hard as possible for somebody to find the way to reverse engineer your license
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461

Post » Sun Jun 15, 2014 8:33 am

what im doing now its i take the serial number of the hdd, who is used as a licence, thats impossible to spoof, i mean the serial number from the constructor.
so i have that serial number from my hdd "5VPBGXB6" wich i use for testing.

so now what to do? do i have to tell when my software start to check if the key is the same machine+server and then if the key exist then the software start?
and the inverse give a message error like "error licence"
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Nicolas951 and 11 guests