Forum BigDB Daily Rewards

Discussion and help relating to the PlayerIO database solution, BigDB.

Daily Rewards

Postby samsonadze » March 26th, 2013, 10:25 am

Hello, i got already good amount of players when i don't have multiplayer and stuff in game...
Now my game has 5,700 Monthly active users,
Untitled.png
Untitled.png (6.25 KiB) Viewed 6977 times

So as i see,game players are getting low,because there is no such thing to make interest in them,they are getting bored...
So i want to make Daily rewards,so if they will join every day,they get better reward! :)
So can anyone suggest how can i make them??? because if i will make it by the user's calendar,it can be hacked very easily...
Thanks


Sincerely,
George
C#
samsonadze
 
Posts: 122
Joined: August 29th, 2012, 2:39 pm

Re: Daily Rewards

Postby dreamora » March 27th, 2013, 8:32 am

You can do that easily on the server side.
Upon login check the 'lastReward' date in their player database object. If the date is before DateTime.UtcNow, you give them the reward and set the new date to DateTime.UtcNow and Add a day and store that back into the db.

That way its not hackable, not just cause its on the server but because it stores the earliest point when it can trigger again.
Also it gives you the option to show the player when the next aware is available again (thats how League of Legends 'First win of the day' reward works)
dreamora
 
Posts: 225
Joined: March 2nd, 2012, 9:58 am


Return to BigDB