Thread: Timestamp
View Single Post
  #6  
Old 11-03-2005, 04:47 AM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Well what you can do is set the unix time from serverside in a clientr. variable, then interpret that on clientside to adjust the clientside timevar2 to unixtime (by taking the difference, then summing it back on when doing timestamps). It'll be out be a few seconds due to lag, but should be ok.

If your using the timestamps for some kind of secure thing though, you should probably be doing it all on serverside.
__________________
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
Reply With Quote