Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9763) Not fair: get_defender() fallbacs to tile ar
Home

[Freeciv-Dev] Re: (PR#9763) Not fair: get_defender() fallbacs to tile ar

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9763) Not fair: get_defender() fallbacs to tile arrival time when selecting between equal units.
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxxx>
Date: Sun, 22 Aug 2004 16:47:12 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9763 >

On Sun, 22 Aug 2004, Mike Kaufman wrote:

> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9763 >
> 
> On Sun, Aug 22, 2004 at 04:16:15PM -0700, Jason Short wrote:
> > 
> > The algorithm is easy.  The problem is the result is not reproducable. 
> > get_defender() called on the same tile twice may not return the same 
> > defender.  This could be a problem for the AI or server code.  It would 
> > certainly be confusing for the client (mapview popup).
> 
> should be reproducable. after all, randseed is saved and that's how we
> choose?

Jason means (as he wrote) that two consequtive calls to get_defender will 
give different results.




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