Is GS clock independent of phone clock?

3absh3absh Member Posts: 601
edited April 2017 in Working with GS (Mac)

I have a crafting game that needs a few hours for each item to craft.
I already set the programming but I was wondering whether GS time is independent or depends on phone's clock.

In other words will players of my game be able to cheat by simply changing the time of their phones?

Comments

  • pHghostpHghost London, UKMember Posts: 2,342

    Yes, they will be able to cheat.

  • pHghostpHghost London, UKMember Posts: 2,342

    On way is to check with server time (use AppFormative for that).

    Second option is to do the logic in such a way that it keeps track of a master time stamp. That way, players can still cheat, but if they for example move the clock 2 hours forward three times, they will get the three bonuses, but after they return the time to the normal time, they won't get the bonus for the next 8 hours (3x2+2).

Sign In or Register to comment.