Quote:
Originally Posted by Skyld
On Mac and Linux versions of Graal, timevar2 reveals the UNIX time (seconds since midnight Jan 1st 1970) of the current player's computer, from which you can calculate their real time. The problem is that on Windows, timevar2 doesn't work the same I don't think, it is instead counting the number of seconds since the client was opened which isn't that helpful.
I guess if needs be, you could always present some sort of dialog box to users asking for their timezone and then work it out serverside using some offset.
|
Doesn't need to be done serverside, at least not if it doesn't have to be exact. You could do it using timevar, which is synced between client and server. Only increments by 1 every 5 seconds, but hey, that should be enough ;D