Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » Questions about Stars! AutoHost » Daylight Savings.... (Oddness on game pages...)
Daylight Savings.... Sun, 10 March 2013 19:47 Go to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 957
Registered: August 2012
Looking at the page for lowtek (which currently is running on dynamic gens at or before 00:00 tonight)

There are only a few minutes to go until that time, but AH is saying an hour - is the AH display code broken, or is the calculation code broken?

DST is horrible in code, and since countries do it at different times it's unsurprising that it goes a bit haywire, but I'm wondering whether the display code is saying what AH thinks, or if it's got confused by the host OS going an hour forward...

Report message to a moderator

Re: Daylight Savings.... Mon, 11 March 2013 12:21 Go to previous messageGo to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 957
Registered: August 2012
Apparently (from another game) the static gens indicate that the display code was correct, implying that the underlying code is getting thrown by local DST (which I think kicked in last Saturday for the server)

Report message to a moderator

Re: Daylight Savings.... Sat, 16 March 2013 22:32 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
Sorry, I forgot to pause SAH for the time change this time. I've just restarted it, so it should be ok.


Ron Miller
Stars! AutoHost

Report message to a moderator

Re: Daylight Savings.... Sun, 17 March 2013 02:39 Go to previous messageGo to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 957
Registered: August 2012
It didn't cause a significant issue, but was confusing.

This is why many people leave servers at UTC all years round.

Do you know what the underlying issue is? (More than 'clock changes are a pointless pita)

Report message to a moderator

Re: Daylight Savings.... Wed, 20 March 2013 21:50 Go to previous messageGo to next message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
SAH is a PERL script that runs a big WHILE loop. In the past it's genned some games twice during the time change so I've gotten in the habit of stopping the scripts before the time change to prevent weirdness.


Ron Miller
Stars! AutoHost

Report message to a moderator

Re: Daylight Savings.... Thu, 21 March 2013 05:22 Go to previous messageGo to next message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 957
Registered: August 2012
Very Happy

DST is just a pointless pain in the wotsits.

We could be sensible (in the current world where time is so accurately known around the workd and just adjust schools starting time by 30 minutes if that makes for lighter skies for kids walking to school...


OTOH I got a 10 week contract out of fixing a significant balls up around DST by a comms company Wink

Report message to a moderator

Re: Daylight Savings.... Sun, 24 March 2013 00:44 Go to previous message
Ron is currently offline Ron

 
Commander
Forum Administrator
Stars! AutoHost Administrator

Messages: 1231
Registered: October 2002
Location: Collegedale, TN
Nice! Very Happy


Ron Miller
Stars! AutoHost

Report message to a moderator

Previous Topic: FTP gaming...
Next Topic: AutoHost is Frozen
Goto Forum:
  


Current Time: Thu Mar 28 04:31:29 EDT 2024