Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

System to create redeem codes

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
5 replies to this topic

#1 jegcelorio   Members   

111
Like
0Likes
Like

Posted 24 February 2013 - 06:55 PM

Hello Game Dev community!

Based on what I've read over the Internet, it seems that the following question has many answers:

How can I create a website where users can redeem codes that I've generated? I'm looking for a system/service that will allow me to generate such codes, and to manage my giveaways.

Any good recommendations? Solutions?

Thanks!



#2 SimonForsman   Members   

7633
Like
3Likes
Like

Posted 25 February 2013 - 12:26 AM

1) pick a serverside scripting language
2) pick a database server
3) generate a bunch of random strings.
4) store the random strings in the database.
5) create a website with a form.
6) write a serverside script that checks if whatever the user entered into the form is in the database.
7) mark the code as used, give the user whatever it is the user should get.
8) profit ?
I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

#3 jegcelorio   Members   

111
Like
0Likes
Like

Posted 25 February 2013 - 12:07 PM

Thanks Simon!!!

 

It seems that I will have to learn some PHP, Python or ASP. 

 

I appreciate your reply! 



#4 lask1   Members   

1141
Like
0Likes
Like

Posted 25 February 2013 - 03:44 PM

1) pick a serverside scripting language
2) pick a database server
3) generate a bunch of random strings.
4) store the random strings in the database.
5) create a website with a form.
6) write a serverside script that checks if whatever the user entered into the form is in the database.
7) mark the code as used, give the user whatever it is the user should get.
8) profit ?

no no no 

 

8)???

9) profit

 

but really... I do agree with him that is the way to do it.



#5 King Mir   Members   

2490
Like
1Likes
Like

Posted 25 February 2013 - 07:29 PM

If they are just proportional codes, and there aren't that many, you might just forget the database and hard-code your redeem codes in your server scripts.

There are also be some tools for this built in to banking tools, like Google Checkout. That would be my first choice, if it's suitable to your use.

#6 jegcelorio   Members   

111
Like
0Likes
Like

Posted 01 March 2013 - 12:49 PM

Thank you King Mir!!!

 

All these options are quite helpful!!!

 

Thanks everyone!! :D






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.