quintensky Posted September 9, 2012 Author Share Posted September 9, 2012 Hello everyone,i have a question…i want a clock in my game with a universal time zone, so no mather what time it is an any country, i want the clock in my game to display the same time for everyone playing.i do not want any lecture about me being lazy and everything, because i'm not...i did the research and everything, i never knew how the timers worked, never used one, i don't even know if they apply here, i just can't get it right.every times i logout, the time gets reset so i deleted the code for it, and now i ask for help, how do i make a clock as described above...thanks ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
Zzbrandon Posted September 9, 2012 Share Posted September 9, 2012 Basically A fake clock? Link to comment Share on other sites More sharing options...
quintensky Posted September 10, 2012 Author Share Posted September 10, 2012 Kind of yeah, an induviadual time zone for my game… Link to comment Share on other sites More sharing options...
quintensky Posted September 11, 2012 Author Share Posted September 11, 2012 Please anyone? i can't figure it out! i can only use existing time zones! Link to comment Share on other sites More sharing options...
Stein Posted September 11, 2012 Share Posted September 11, 2012 You could just have the server's time sent to the client on login, and have the client use that time and add a minute every actual minute.. Then sync the time for all players online every 15-30 minutes to make sure they don't desync too far. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now