Daily Rewards System
stratton.e.matt@gmail.com
Member Posts: 12
I have tried everything and I am going out of my mind! I am creating a slot game and I would like to implement a 24 hour rewards system where the player can click the daily rewards and it starts a timer to not allow the customer to click the rewards again for 24 hours. Any help would be greatly appreciated!
Thank you so much,
Matt
Comments
http://forums.gamesalad.com/discussion/85326/networking-retrieve-server-time-and-date-example
This might help.
@JimmyMesser Thank you for your help! I tried looking at this but it is for developers with servers which I do not have
You should be able to use a webserver.
They are fairly cheap these days to run a simple php script.
£3.99 per month 47.88 per year... I'd say it might be worth the investment
especially if you don't want people to be able to cheat by resetting their clocks.
https://uk.godaddy.com/hosting/web-hosting.aspx
Would OSX Server work for something like this?
@ant_lad You know I have to say I don't know, fact is you might want to make sure it's a public accessible managed server that runs permanently 24/7. There's nothing worse than playing a game that doesn't function fully because the server is down or switched off.
the best thing is to have your own server. but how??? I want my game have daily rewards too.
You can access the device clock and figure out how much time has passed since the app was last opened without using a remote server. But without the remote server it would be possible for users to 'cheat' the clock by setting it manually.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page