Online Game Protection / Serial Key System

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hey guys!
    I guess it's time for me to get more active here :P. So yeah, just an idea for an online serial key protection system:

    I just saw some game protection topics and examples. This one is my idea how to do it. It uses lacewing to manage the key interactions.
    You can create new keys using the Key Server interface (though you still have to send the keys to the users who bought your application but this should not be a problem.).
    If the user enters the key, the server checks if the key is already registered, not in use or if it does not exsist. This should also support all exporters since the Client only uses some extensions which are supported by most of the exporters (the server uses more non-multiplatform extensions so it doesn't support all platforms but anyway, the server shouldn't run on a mobile device :P)

    -Lacewing Client
    -String Tokenizer
    -Edit Box
    -AES Fusion

    The keys look like this (stored in an ini file called keys.ini, stored in the same folder as the server):

    CF53AA3D50650A44E77C65DD843EC8B4=1

    the stuff infront of the equal sign is the serial key. the number after the equal sign says if the key is used, not used or if it can be used as often as you want.
    0 = not used
    1 = used
    -1 = unlimited

    The server must be on if you want to register a key. So you need a rootserver or something if you want to use this system for your games/applications. The keys are also encrypted. It should be also possible doing this using sql/php which would be great. I'll try to come up with an example for this, too.
    You could send the keys to users after they bought your game (maybe per an automatic generated e-mail after they bought the game?)

    Hope this helps someone!


    Greetings!

  • I've got to look into this! My software has been burning a hole in my pocket and I've been looking for something like a bit feverishly as of late! This just might do the trick...

    Either way this goes, this is great stuff, Raikyo! Glad you posted!

  • Thank you :)!
    It's just a simple idea how to do a serial-key protection. Only bad thing is that you have to run a server to use this method (to get infos from the clients if the key is okay or not) but I'll try to implement this using a mysql database which would remove the dependence of a server.

  • I'm reading up on hosting a lacewing server right now, actually! Hopefully I can get it figured out. A MySQL database would be amazing, especially since hosting a server might get tricky due to IP addresses changing if your service changes! I hope you keep up the good work! The community can really use this. When it's finished you'll have to get it on the Click Store with MMF 2.5!

    Edited once, last by ratty (November 22, 2013 at 9:08 PM).

  • I was looking through this and was thinking of "0" was switched to signifying the key as being used and ">0" was signified it being available, having the server program subtract 1 on successful available key request would allow for easy implementation of limited multi-use installation keys. ie., a certain key could be good for 5 installations. I'm going to play with it and see what I come up with...

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!