Page 1 of 1

Conquer Club is down for maintenance. Please come back later

PostPosted: Sun May 21, 2006 11:34 pm
by nhulbert
Is there any way that you (Lack) could make it so that, when you start doing maintenance, that it freezes all of the game clocks, and when you're done it resets all game clocks to 24 hours for the convenience of everyone who is INconvenienced when the site is undergoing maintenance? That would be quite nice.

PostPosted: Mon May 22, 2006 12:00 am
by Jota
For all we know, that could be what he's implementing right now. But if he's not, I'd like to add the one-hour turn clocks to that request. (In fact, the turn clock shouldn't start ticking again until the person has actually started playing again.)

As a completely different but vaguely related request: it'd be convenient if the down-for-maintenance page had a link to the forum, since the forum apparently stays up during maintenance, but most folks probably don't realize it.

PostPosted: Mon May 22, 2006 1:04 am
by lackattack
The site went down for maintenance because I accidentally put in half of this weekend's changes on the live website before they were finished. I had no choice but to rush and finish the programming that I was going to leave for tomorrow :oops:

It would be nice if I could freeze the games. But it's not straightforward. When the round begins it is timestamped and in several places I check if the timestamp is an hour old. If we want to freeze the games we'd have to update some of the timestamps and put them ahead by a certain amount.

It's not like there is a ticker that I could simply pause.

PostPosted: Mon May 22, 2006 1:33 am
by Jota
Hmm. Would it be impractical to replace the code that retrieves the timestamp with a function call that A) checks if the hour was set to timeout after the start of the last downtime, and B) if so, returns the end of the downtime instead of the timestamp? I suppose it'd mean creating a new table to store the beginning and ending of downtimes, and it would still require a player to log in within an hour of the downtime ending, but it might help a little. Similar code could be used for the twenty-four hour timeout.

[Edit: I suppose it would need a little extra code to deal with the special case when one downtime follows on the heels of another. But anyway.]

PostPosted: Mon May 22, 2006 3:12 pm
by thegrimsleeper
I don't really think it's necessary. I don't recall the site ever being down for more than a few hours at a stretch (except of course when we went through all the drama with the new server); a few hours lost here or there really isn't screwing anyone up too badly, is it?

PostPosted: Mon May 22, 2006 3:26 pm
by wicked
lackattack wrote:It's not like there is a ticker that I could simply pause.


And Lack presses a button and stops time as we know it...

PostPosted: Mon May 22, 2006 10:11 pm
by nhulbert
I totally was screwing myself over last night. I thought the page was down until after I went to bed, but it was just me not hitting refresh, so every time I'd go back to conquerclub.com it would still say it was down. I was hitting refresh for a while, though... I just forgot that that could happen. AND WILL LOSE ALL MY GAMES BECAUSE OF IT... haha Just kidding... And even if I wasn't, who really cares...

PostPosted: Tue May 23, 2006 2:53 am
by Pristella
nhulbert, I'm SO glad I'm not the only one that fell for that trap. :D Well, back again, missed two turns, I think.