negative readgameclock

Report core bugs regarding the Ultima Online Emulator Core release (version 097). You can attach your Core Dump. One bug per post.

Moderator: POL Developer

Locked
gha
New User
Posts: 17
Joined: Mon Feb 06, 2006 4:01 am

negative readgameclock

Post 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?
Luth
Former Developer
Posts: 200
Joined: Mon Jan 30, 2006 8:10 am

Re: negative readgameclock

Post by Luth »

I'm curious, what is the number it's giving?
gha
New User
Posts: 17
Joined: Mon Feb 06, 2006 4:01 am

Re: negative readgameclock

Post by gha »

we found the problem, someone changed the date and hour while pol was running. we restarted pol and its ok now.
Luth
Former Developer
Posts: 200
Joined: Mon Jan 30, 2006 8:10 am

Re: negative readgameclock

Post by Luth »

Ah good. :)
User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm

Re: negative readgameclock

Post 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.)
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: negative readgameclock

Post by MuadDib »

That's interesting indeed. Wonder if there is a way around that to fix the issue entirely......
Locked