Hi-
So today I went to test my game on a friends computer. After opening the game, the game waited to load, got the loading message, then waited for the correct loading time (whatever epoch time the server specified).
It didn't work.
After some debugging, I realized that the friend's computer's time was set one day late
(Today is the 26th, and it was set for the 27th... im not sure how windows messed this up)
Right now, I'm using (new Date()).getTime() to get epoch time. Unfortunately, this seems clock dependent.
Does anyone have a workaround for this / a different (and correct) method of getting epoch time?
Thanks!