Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: game.timeout
Home

[Freeciv-Dev] Re: game.timeout

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Mark Metson <markm@xxxxxxxxxxxxxxxxxxxxx>, Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: game.timeout
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Mar 2002 18:29:24 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Mar 10, 2002 at 04:01:48PM -0600, Mike Kaufman wrote:
> On Sun, Mar 10, 2002 at 04:39:25PM -0400, Mark Metson wrote:
> > 
> > On Sun, 10 Mar 2002, Mike Kaufman wrote:
> > 
> > > does anybody have any idea why GAME_MAX_TIMEOUT 
> > > is set at 8639999? Why not MAX_INT 
> > > 
> > > or make game.timeout an unsigned or an unsigned long?
> > 
> > Did anyone find out why it doesnt work, too? I found when I set timeout to 
> > 24 hours it would briefly display as such each turn but promptly get 
> > overwritten as 5 hours 37 minutes.
> 
> Attached is the fix. Somebody (Trent in '98) decided that 18 hours and 16 
> bits was
> quite enough.
> 

> Note that this breaks network protocol.

And so requires a new capability.

> maintainers: what do we want to do about this? I'm inclined to say:
> now's a good a time as any to break it, (raimar: don't you have some 
> network efficiency code lying around waiting for such an opportunity?)

Not a current one.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Make it idiot-proof and someone will make a better idiot."


[Prev in Thread] Current Thread [Next in Thread]