Why do AI civilizations repeatedly stop and start building wonders?

Web version of freeciv at play.freeciv.org
The_Ghost
Posts: 6
Joined: Wed Jun 14, 2017 11:09 pm

Why do AI civilizations repeatedly stop and start building wonders?

Postby The_Ghost » Mon Jun 19, 2017 9:53 am

See title. If this is some sort of bug, it sure has taken an awfully long time to get fixed since I'm pretty sure it's been around for years.

cazfi
Elite
Posts: 1345
Joined: Tue Jan 29, 2013 6:54 pm

Re: Why do AI civilizations repeatedly stop and start building wonders?

Postby cazfi » Mon Jun 19, 2017 3:54 pm

I'd say it's a sort of bug, but not an simple one. AI gets something else to build before wonder is finished. I improved this a bit some weeks ago, freeciv-web probably have that fix already.

User avatar
JTN
Elite
Posts: 384
Joined: Wed Jan 30, 2013 12:15 am

Re: Why do AI civilizations repeatedly stop and start building wonders?

Postby JTN » Mon Jun 19, 2017 7:56 pm

Also, it used to be that if you saved a game and came back to it later, the AI seemed to forget why it was doing things, and stopped building a wonder.

(Or at least, that's what I think I observed. This was a while ago; I'm not sure whether it still happens.)

The_Ghost
Posts: 6
Joined: Wed Jun 14, 2017 11:09 pm

Re: Why do AI civilizations repeatedly stop and start building wonders?

Postby The_Ghost » Wed Jun 21, 2017 1:12 pm

cazfi wrote:I'd say it's a sort of bug, but not an simple one. AI gets something else to build before wonder is finished. I improved this a bit some weeks ago, freeciv-web probably have that fix already.


I play freeciv-web, and it is not fixed.

JTN wrote:Also, it used to be that if you saved a game and came back to it later, the AI seemed to forget why it was doing things, and stopped building a wonder.

(Or at least, that's what I think I observed. This was a while ago; I'm not sure whether it still happens.)


That still happens as well.

User avatar
Corbeau
Elite
Posts: 620
Joined: Mon Jan 13, 2014 11:13 pm

Re: Why do AI civilizations repeatedly stop and start building wonders?

Postby Corbeau » Wed Jun 21, 2017 1:19 pm

Are you sure it is a "bug" (as in, "coding error")? Maybe it can be explained by an imperfect decision-making by the AIs where they switch priorities too easy. I remember the "issue" from the early days of FreeCiv, maybe even some of the original Civs, so if ti was a bug, it would have been exterminated long ago. However, if it's a behavioural problem, then to fix this, we simply need "better AIs". Which is a completely different matter. and surpasses simple coding.

cazfi
Elite
Posts: 1345
Joined: Tue Jan 29, 2013 6:54 pm

Re: Why do AI civilizations repeatedly stop and start building wonders?

Postby cazfi » Wed Jun 21, 2017 2:48 pm

Corbeau wrote:Are you sure it is a "bug" (as in, "coding error")?
It's not a bug, if you define bug as a simple coding mistake. My view was that of tracking tickets where thing is either SOME kind of error -> "bug", or more or less wanted "feature".