
10-12-2005, 12:25 PM
|
Classic Systems Admin
|
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
|
|
On Classic we have a 24 hour clock for doing accurate day/night. We use timevar2 on clientside (seconds since they turned thier computer on). To change this into somthing synced for everyone, we calculate the offset to the serverside timevar2 (unix time) when they log in, and then adjust for this before calculating the actual time.
Theoretically, everyone is then getting thier times as unix time, give or take a small error for lag reasons. |
__________________
Be good little players, or Master Storm will ban you!
Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
|
|
|