server time mismatch

These are old archives. They are kept for historic purposes only.
Post Reply
salama
Posts: 34
Joined: Sun Jun 19, 2005 8:27 am

server time mismatch

Post by salama »

I've added a zline for testing purposes at 5:52:39 to expire in 1 second. This is what I got:

05:52:39 !server *** Z:Line added for *@11.11.11.11 on Thu Sep 22 03:52:38 2005 GMT (from ircop!irc@net to expire at
Thu Sep 22 03:52:39 2005 GMT: test)
05:52:43 !server *** Expiring Z:Line (*@11.11.11.11) made by ircop!irc@net (Reason: test) set 5 seconds ago

now i'm interested whether it is possible to have accurate time info when the kline was made. is it possible(in this example) to adjust the clock 2 hours forward?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I'm not entirely sure what you're asking, but you'll find the server is going by it's own clock. Try a /time (and, with multiple servers, /tsctl alltime).
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

05:52:39 !server *** Z:Line added for *@11.11.11.11 on Thu Sep 22 03:52:38 2005 GMT (from ircop!irc@net to expire at ....


your in witch timezone?
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

It doesn't matter. Unreal always uses GMT.

As for accuracy, I believe the timers are only checked every other second or something, since C doesn't have timers natively (duh) and short of multithreading (== evil), having accurate timers are really quite the pain in the arse.

(EDIT: oh, and also try getting ntpd on the server if you can.)
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

aquanight wrote:It doesn't matter. Unreal always uses GMT.
correct, unreal does, however the time stamp he is matching it to is generated by his client witch normaly uses local time rather then GMT.

[12:38] -Irc.matridom.ca- *** G:Line added for [email protected] on Thu Sep 22 16:38:39 2005 GMT (from Matridom![email protected] to expire at Thu Sep 22 17:38:39 2005 GMT: test)

I'm in EST with daylight savings, so that's GMT - 4

He's comparing his clients time stamps to the servers time stamps
To me, it's looking like he's GMT +2.

or am i miss reading this and he's worried about 3-4 seconds difference in things? However, him commenting on 2 hour difference leads me to believe that's not the case.
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

*nod*

The IRC client time is local time, the other time is in GMT (as it says), assuming the server is in UTC+2 (CEST, large part of europe) then everything is fine :).
Post Reply