[freeciv-ai] Re: (PR#8992) Patch: Building ferries
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8992 >
Per I. Mathisen wrote:
...
> No, but I have a savegame. The first player (who I watched) stayed on his
> starting island all the game. The other players seemed content to do the
> same. Other games I watched did not have this problem.
...
What seems to be happening is that the ferry building code notes that
there are passengers being built, but they will not be completed for
several turns, so it does not switch a city to building a ferry.
However, the player then spends gold to complete the passenger. In some
circumstances that sequence could repeat forever.
I've made a fix that guarantees the following:
* Force building the first ferry if we have even one passenger being
built (even if that passenger will not be completed for quite some time).
* Ensure that, if we are building ferries, building ferry passengers
will never have higher 'want' than building the ferries.
The fix seems to work for the saved game you provided. I'll test it
further and include it in the next version of my patch.
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries, Benedict Adamson, 2004/10/06
- [freeciv-ai] (PR#8992) Patch: Centralised ferry building, Benedict Adamson, 2004/10/12
- [freeciv-ai] (PR#8992) Patch: Centralised ferry building, Benedict Adamson, 2004/10/23
- [freeciv-ai] (PR#8992) Patch: Building ferries, Jason Short, 2004/10/24
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries, Benedict Adamson, 2004/10/30
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries, Per I. Mathisen, 2004/10/30
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries, Benedict Adamson, 2004/10/30
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries, Per I. Mathisen, 2004/10/30
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries, Benoit Hudson, 2004/10/30
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries, Benedict Adamson, 2004/10/31
- [freeciv-ai] Re: (PR#8992) Patch: Building ferries,
Benedict Adamson <=
|
|