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 » Wed Nov 05, 2008 6:00 am

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
Grandmaster Poster
Posts: 200
Joined: Mon Jan 30, 2006 8:10 am
Contact:

Re: negative readgameclock

Post by Luth » Wed Nov 05, 2008 1:08 pm

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 » Wed Nov 05, 2008 1:33 pm

we found the problem, someone changed the date and hour while pol was running. we restarted pol and its ok now.

Luth
Grandmaster Poster
Posts: 200
Joined: Mon Jan 30, 2006 8:10 am
Contact:

Re: negative readgameclock

Post by Luth » Wed Nov 05, 2008 2:37 pm

Ah good. :)

User avatar
OldnGrey
POL Expert
Posts: 657
Joined: Sat Feb 04, 2006 6:26 pm
Contact:

Re: negative readgameclock

Post by OldnGrey » Wed Nov 05, 2008 3:49 pm

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.)

User avatar
MuadDib
POL Expert
Posts: 1087
Joined: Sun Feb 12, 2006 9:50 pm
Location: Cross Lanes, WV

Re: negative readgameclock

Post by MuadDib » Sat Dec 27, 2008 12:54 pm

That's interesting indeed. Wonder if there is a way around that to fix the issue entirely......
POL Developer - The Penguin Scripter

Locked