Home World Forum
Stars! AutoHost forums

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
Messages: 957
Registered: August 2012
Lt. Commander
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...
Re: Daylight Savings.... Mon, 11 March 2013 12:21 Go to previous messageGo to next message
  XAPBob is currently offline  XAPBob
Messages: 957
Registered: August 2012
Lt. Commander
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)
Re: Daylight Savings.... Sat, 16 March 2013 22:32 Go to previous messageGo to next message
  Ron is currently offline  Ron
Messages: 1238
Registered: October 2002
Location: Collegedale, TN
Commander
Forum Administrator
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
Re: Daylight Savings.... Sun, 17 March 2013 02:39 Go to previous messageGo to next message
  XAPBob is currently offline  XAPBob
Messages: 957
Registered: August 2012
Lt. Commander
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)
Re: Daylight Savings.... Wed, 20 March 2013 21:50 Go to previous messageGo to next message
  Ron is currently offline  Ron
Messages: 1238
Registered: October 2002
Location: Collegedale, TN
Commander
Forum Administrator
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
Re: Daylight Savings.... Thu, 21 March 2013 05:22 Go to previous messageGo to next message
  XAPBob is currently offline  XAPBob
Messages: 957
Registered: August 2012
Lt. Commander
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
Re: Daylight Savings.... Sun, 24 March 2013 00:44 Go to previous message
  Ron is currently offline  Ron
Messages: 1238
Registered: October 2002
Location: Collegedale, TN
Commander
Forum Administrator
Nice! Very Happy

Ron Miller
Stars! AutoHost
Previous Topic: FTP gaming...
Next Topic: AutoHost is Frozen
Goto Forum:
  


Current Time: Thu Sep 19 10:20:17 GMT-4 2024