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: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Aug 2004 08:12:27 -0700
Reply-to: rt@xxxxxxxxxxx

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

Marko Lindqvist wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9763 >
> 
> Jason Short wrote:
> 
>>Both inserting the units in random order, and taking them out in random
>>order, breaks the reproducability of saving+loading.  In the former case
> 
>   Reproducability of saving+loading is broken already. Putting units to 
> random position when they enter tile has no effect to that, nor makes 
> fixing it any more difficult. Units are not saved in order they appear 
> in tile, but in order they are in player.units. See my comments in #436.

It's not that broken.

>>when inserting the units on load the random order will be changed, and
> 
>  > extra rand() calls will be done.
> 
>   Units are inserted in random order only when they move, not when 
> savegame is loaded. Save+load should return them in same order they were 
> before (which is not the case at the moment)

How would you go about such a thing?

jason




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