Hey guys. Not sure if this is a scripting thing or not, but I was wondering if there was a way to have a one time code use generator. I ask because I was thinking of putting my game on kickstarter or something where if they donated a certain amount, they would get a key that allows access to lets say, an extra dungeon or special items or something. But after they enter the key, it won't work for anyone else so they can't get the key, use it, and pass it to someone else. Does anyone know of a way to do that?
One Time Code Generators?
RGSS3 Script RequestsI can't think of a way to do it without having a centralized server that performs authorization, which will require users to have (unrestricted) access to the internet, since at some point you need to be able to indicate whether a key has been used or not
And probably not allow hackers to go and modify the file to say "no it hasn't been taken" cause that defeats the purpose of your DRM. So if you simply include it in a file on the local computer (that is updated whenever they launch the program, for example), I'm probably going to find it and crack your DRM easily.
If you are using some sort of key generation algorithm, one could in theory figure out what that algorithm is and then now you've got keygens floating around rendering your system useless.
I'm sure there are external tools that already have this sort of thing implemented, and done well, and wouldn't bother wasting my time on an RM implementation outside of educational purpose.
And probably not allow hackers to go and modify the file to say "no it hasn't been taken" cause that defeats the purpose of your DRM. So if you simply include it in a file on the local computer (that is updated whenever they launch the program, for example), I'm probably going to find it and crack your DRM easily.
If you are using some sort of key generation algorithm, one could in theory figure out what that algorithm is and then now you've got keygens floating around rendering your system useless.
I'm sure there are external tools that already have this sort of thing implemented, and done well, and wouldn't bother wasting my time on an RM implementation outside of educational purpose.
some simple solution is like warcraft custom game save and loading method with some modification.
1) make the game read something in the computer it's installed. (for example: computer name, or something that unique for that machine, etc. if you're expert in win32api you might even peek at the hardware serial number).
convert it to code:
you can read this article for more detail
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=37153
why convert it to code? so people don't realize it's their computer name.
2) ask the player to input that code in website you created.
3) in that website you must generate the code to unlock the game based on the code the player sent you.
4) when the player input the code in their machine. made a check in the game does the machine name are the same with authorization code? if yes unlock the game.
btw it's not an easy task. and when people understand your algorithm. it will be cracked anyway.
if you want secure games. RPG Maker might not be the best options for you. you need lots of extra effort to protect your game 😀 . hope in next rpg maker they create new encryption method >.< which save enough without needing 3rd party software.
1) make the game read something in the computer it's installed. (for example: computer name, or something that unique for that machine, etc. if you're expert in win32api you might even peek at the hardware serial number).
convert it to code:
you can read this article for more detail
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=37153
why convert it to code? so people don't realize it's their computer name.
2) ask the player to input that code in website you created.
3) in that website you must generate the code to unlock the game based on the code the player sent you.
4) when the player input the code in their machine. made a check in the game does the machine name are the same with authorization code? if yes unlock the game.
btw it's not an easy task. and when people understand your algorithm. it will be cracked anyway.
if you want secure games. RPG Maker might not be the best options for you. you need lots of extra effort to protect your game 😀 . hope in next rpg maker they create new encryption method >.< which save enough without needing 3rd party software.
I wouldn't suggest the above suggestion as is... it has quite a few underlying problems... so some more improvements must be added...
1) How would you know if the player actually bought it? Since ur only using the computer name or any other info upon install, there's no way to know if the player actually bought the program... and curious players will easily figure this out (that they can still pass the game to others, and make them register it)
2) If you then decide to obtain the details upon download instead of install, then you could only have a dedicated download site. But this would require the person to use the comp that he used for downloading the file as the actual comp that he will use for installation.
So you would need another parameter, something that identifies those who buy from you... maybe email or something...
I suggest doing the computer name something upon install thingy + this buyer identification...
Though yeah, as Tsukihime said you would need a server to perform this authorizations... because you would need to be able to save the buyer identifications + a flag if they already registered the product or not...
1) How would you know if the player actually bought it? Since ur only using the computer name or any other info upon install, there's no way to know if the player actually bought the program... and curious players will easily figure this out (that they can still pass the game to others, and make them register it)
2) If you then decide to obtain the details upon download instead of install, then you could only have a dedicated download site. But this would require the person to use the comp that he used for downloading the file as the actual comp that he will use for installation.
So you would need another parameter, something that identifies those who buy from you... maybe email or something...
I suggest doing the computer name something upon install thingy + this buyer identification...
Though yeah, as Tsukihime said you would need a server to perform this authorizations... because you would need to be able to save the buyer identifications + a flag if they already registered the product or not...
ah yes. what i mean user only able to receive the code after donating certain amount of money in the website... after they donate money. they redirected to the unlock page.
then they must enter their machine generated code there.
the idea is based on cashier software i used for my store. but it distribute serial number on the cd's.
then we enter that serial number in our machine. it will generate code. we mail the code to the number provided in the cd. and we will get activation code. sorta like that. that system do have server to identify the serial number already used. but by modifying it to ONLY able to access the unlock page AFTER donating. we can skip that part. although it still would be better to have server identify serial number already used.
Thanks for the info guys. Really didn't think it'd be this difficult lol. Guess I'll have to work one something else for a kickstarter reward.
well, if you will trust them enough, you can just give them an extra version of the game with add-ons...
or if the game is commercial, then you can give them free copies...
or if the game is commercial, then you can give them free copies...
quoting adi... [if you will trust them enough...] another method of rewarding maybe like this:
if you have character naming feature (means you can name your main character). ask the one you want to reward what the name they want as the main hero. then give the SAVE file with that name which already unlock the bonus content (certain switch on) at start of the game.
even they give it to other people. it still the first person name. so less sense of achievement 😀 .
also you could add them as npc somewhere in your game. also include them in the credits section. etc.
good luck on your kickstarter
if you have character naming feature (means you can name your main character). ask the one you want to reward what the name they want as the main hero. then give the SAVE file with that name which already unlock the bonus content (certain switch on) at start of the game.
even they give it to other people. it still the first person name. so less sense of achievement 😀 .
also you could add them as npc somewhere in your game. also include them in the credits section. etc.
good luck on your kickstarter
That is a good idea estriole. I could probably work something out between my naming feature and the first cutscene that would allow that to happen. I also like the idea of having an npc for the donators and having their names in the credits. I didn't even think about that lol.
Original thread: https://forums.rpgmakerweb.com/threads/one-time-code-generators.15379/