Page 1 of 1

negative readgameclock

Posted: Wed Nov 05, 2008 6:00 am
by gha
hi

we are using latest pol (september), for linux/gentoo.

ReadGameClock() is always returning a negative number. is it a bug?

the pol core is 32 or 64 bits? our host is an amd 64 and the gentoo was compiled for 64 bits too, maybe some bug with 32/64 bits C time functions?

Re: negative readgameclock

Posted: Wed Nov 05, 2008 1:08 pm
by Luth
I'm curious, what is the number it's giving?

Re: negative readgameclock

Posted: Wed Nov 05, 2008 1:33 pm
by gha
we found the problem, someone changed the date and hour while pol was running. we restarted pol and its ok now.

Re: negative readgameclock

Posted: Wed Nov 05, 2008 2:37 pm
by Luth
Ah good. :)

Re: negative readgameclock

Posted: Wed Nov 05, 2008 3:49 pm
by OldnGrey
I've noticed that POL sometimes has a fit when putting the clocks back from daylight saving. Well, to be more precise I noticed it last year but this year it seems to have done ok. (Windows 2000 server no longer gets daylight saving timezone changes from msupdate so it can be an hour out for a week.)

Re: negative readgameclock

Posted: Sat Dec 27, 2008 12:54 pm
by MuadDib
That's interesting indeed. Wonder if there is a way around that to fix the issue entirely......