[Freeciv-Dev] [bug #21320] AI do not adjust taxes to avoid losing buildings or units due to low funds

2013-12-02 Thread David Fernandez
URL:
  http://gna.org/bugs/?21320

 Summary: AI do not adjust taxes to avoid losing buildings or
units due to low funds
 Project: Freeciv
Submitted by: bardo
Submitted on: lun 02 dic 2013 08:33:06 GMT
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

In my opinion, this is the most important flaw of the AI since I started
testing it with v2.2, and it keeps being a problem in v2.4.1

I use the ruleset civ2civ3 for my tests, where the units are supported with
gold instead of shields under certain governments. 

I attach this ruleset, and a savegame where you can see the AI (koreans)
losing buildings and units almost every turn, while it keeps the taxes around
70% to science, when this AI could avoid the bankrupt by increasing the taxes
just a bit.
I'm not sure if the AI is blind to some gold expenses of this ruleset, or if
AI finds so important the research that it does not care the bankrupt.

This problem is not so evident with v2.3, but it also happens some times. I
have noticed the AI build less buildings and more units in v2.4, maybe that is
the reason why AI bankrupts are more often in this version.

To reproduce, load the savegame, toggle control of Koreans to the AI, set
timeout, and press end turn.



___

File Attachments:


---
Date: lun 02 dic 2013 08:33:06 GMT  Name:
AI_bankrupt-2.4.1.civ2civ3.ruleset.zip  Size: 64kB   By: bardo

http://gna.org/bugs/download.php?file_id=19409
---
Date: lun 02 dic 2013 08:33:06 GMT  Name: AI_bankrupt-2.4.1.sav.bz2  Size:
101kB   By: bardo

http://gna.org/bugs/download.php?file_id=19410

___

Reply to this item at:

  http://gna.org/bugs/?21320

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #21320] AI do not adjust taxes to avoid losing buildings or units due to low funds

2013-12-02 Thread David Fernandez
Follow-up Comment #1, bug #21320 (project freeciv):

This bug is related to bug #20062, where I placed a savegame for default
ruleset and version 2.4beta1.

In that bug, I noticed that AI is coded to maximize the science when it can't
avoid the bankrupt by maximizing the taxes.

In this new savegame, the AI set the taxes to 40% (science to 60%), when the
max is 90% with this government, and it loses a library due to low funds, when
taxes to 70% (science to 30%) would avoid the bankrupt.
The AI neither maximizes the science nor avoids the bankrupt.

If you continue playing the savegame, you will see that AI loses buildings or
units almost every turn during the next hundreds of turns. Such behavior makes
this AI unplayable for me.

___

Reply to this item at:

  http://gna.org/bugs/?21320

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev