The Clock

General discussion for players of Oolite.

Moderators: another_commander, winston

Post Reply
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2513
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

The Clock

Post by Selezen »

I've been meaning to ask this for ages - what method of time keeping does the clock in Oolite use?

I understand the hours mins and seconds, but what are all the numbers before then?
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Standard days (24hrs) since the reference date for time in the Oolite/GalCop era.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Post by winston »

The ship's clock is started at a defined value (PLAYER_SHIP_CLOCK_START) plus the current time of day. It is stored as a double precision number.

PLAYER_SHIP_CLOCK_START is defined as 2084004 * 86400

86400 is the number of seconds in a day, so the clock itself stores seconds since a (presumably arbitrary) epoch. 2084004 is the number of days since this epoch. This means the epoch starts 5705 (Earth) years before Oolite starts. Giles will have to tell you why he chose the epoch he did :-)
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

2084004 is 1st Jan 3015

So.. 0000000 is sometime around 2690BC

2690BC Standout moments:-

Chinese begin silk manufacture.
Egyptians construct the great pyramid of Cheops.
Ibusaki volcano erupts in Japan creating enormous caldera (VEI 5).

But I think I'll plump for the great Pyramid.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Could be the 3015 isn’t on our current scale, though.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1878
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

yes it is, the Stargazer 'Observer's Guide to Ships in Serice' gives inservice dates in years AD (for Anno Domini) our timescale.
The mark3 was first released unto the market in the year 3100AD for example.

Maybe in the Ooniverse starfaring humanity has finally settled for the decimal universal timekeeping?
(something like: 100seconds in an hour, 10hours/day, 10days/month, 10months/year.) years would pass 5 times faster that way.

(decimal timekeeping, incidentally, would be an equally convincing reason for the backward Federation and Empire to ban contact with the outside Ooniverse as fraternisation with aliens would.) :roll:
Riding the Rocket!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

100 seconds per hour?
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1878
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

heh lol.
typo.
100 sec/minute obviously.
names would be different also.
pips/hectopips/cycle/week/demester/year or somesuch.
Riding the Rocket!
User avatar
Murgh
---- E L I T E ----
---- E L I T E ----
Posts: 454
Joined: Fri Sep 03, 2004 6:19 am
Location: Terra Firma

Post by Murgh »

I like pips.
The man next to you is your lunch
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2513
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

The Dark Wheel states that a day is 20 hours long.

There's an inconsistency too... The Observer's Guide to Ships In Service carries the legend "pub 3205". Could this be Lavian date?

3015 is too early though - the Cobra Mk 3 doesn't enter service until 3100.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1878
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

pub date must be recent, it's given to you as a handout together with your pilot's licence.

3101 is the inservice date of the worm, which is the newest model in that outdated 5th edition.
Riding the Rocket!
User avatar
Lord Winslow
Above Average
Above Average
Posts: 22
Joined: Fri Dec 02, 2005 1:39 am
Location: Cape Cod, USA
Contact:

Post by Lord Winslow »

i think there should be a OXP that converts it to normal d/m/y or m/d/y
For the Glory of the Federation
-Lord Winslow
Post Reply