I want to make a daily refresh system for a shop in my game. When doing this, should I base it off of UTC+0, or should the system work independently from time in real life?
1 Like
Sorry, just for clarification:
Do you mean daily as in once per 24 hour period in real life, or ‘daily’ in your game’s version of a day?
If it’s the first case I’d go off UTC directly.
If it’s the second case go off UTC but have a conversion factor.
Basically you want to have a check to see if the player has already got their daily bonus, and don’t do it on the client because that means it can get abused.
1 Like
It was the first one. Thanks for your input! I’ve never worked with global refreshes before
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.