bugFreeciv - Bugs: bug #21242, AI does not build spaceship on...

 
 
Show feedback again

bug #21242: AI does not build spaceship on classic ruleset

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Wed 30 Oct 2013 01:04:28 PM UTC  
 
Category: aiSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: None
Planned Release: 2.5.0, 2.6.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 31 Oct 2013 09:10:27 AM UTC, comment #4:

From my tests with v2.3, the AI builds spaceship components if the requeriments are already in the city, but AI does not seem to build those requeriments with the only purpose of launching the spaceship.
In my ruleset the requirements to build spaceships are factories, mfg.plants and research labs, and I have seen the AI winning the game by space race, playing v2.3. But it only uses to happen when the AI is at peace with everyone else and it has cities good enough to build mfg.plants and research labs by themselfs before the space race starts.
I have noticed that AI at war rarely build non military improvements in their cities, and so they never build a spaceship.

I suggest you to test autogames with high values of "AI love" to verify if peaceful AI does launch spaceship in later versions. For example:

[effect_ai_love]
name = "Gain_AI_Love"
value = 50

David Fernandez <bardo>
Wed 30 Oct 2013 10:17:18 PM UTC, comment #3:

> If you've seen AI to build spaceships in classic ruleset, then
> it does work.

Attached is an example endgame from 2.3.4 with the default (now classic) ruleset where several AIs have spaceships and I think the game is won by space race. (And we've had a Factory requirement for spaceship parts for ages, certainly in 2.3 and 2.2.)
(I was testing unusual map dimensions -- bug #20792 -- but I don't think that's necessary; unfortunately most of the autogames I still have lying around that might be with newer code no longer load in current versions, so I'd have to build a special old trunk build to check. I probably haven't done any autogames with post-2.4 code.)
I wonder what's different from you? My autogame settings are unremarkable:

(yes, I did typo "yszie")

>> once I saw it sit with a complete but unlaunched spaceship for
>> thousands of years while all its land sank beneath the waves

I think bug #17953 description refers to this incident; however, I don't seem to still have the files around to check my recollection.

(file #19296)

Jacob Nevins <jtn>
Project Administrator
Wed 30 Oct 2013 09:42:10 PM UTC, comment #2:

> Do you know this to be new behaviour?


While I remember the time AI was actively building spaceships (and even the time before that when it wasn't able to build spaceships), I don't think the behavior I'm seeing is new in freeciv development timescale (maybe introduced in 2.0).
If you've seen AI to build spaceships in classic ruleset, then it does work. I've seen it happen only in rulesets without such improvement requirements for spaceship parts.

Marko Lindqvist <cazfi>
Project Administrator
Wed 30 Oct 2013 09:33:19 PM UTC, comment #1:

Do you know this to be new behaviour?

I've certainly seen AI build spaceships in autogames (once I saw it sit with a complete but unlaunched spaceship for thousands of years while all its land sank beneath the waves, but that's another matter). I can probably dig out the autogame if you want a reference.

Jacob Nevins <jtn>
Project Administrator
Wed 30 Oct 2013 01:04:28 PM UTC, original submission:

This is something that has been bothering me for some time. Classic ruleset has buildings as requirements for building spaceship parts. AI does not build these buildings, at least not for building spaceship (it does not value buildings based on thefact that they are requirement for spaceship). The result is that I have not seen AI to build spaceship in any of the hundreds of autogames with classic ruleset I've run.
As default ruleset is meant for single-player games against AI (multiplayer ruleset is for multiplayer games), I think it makes sense to change the rules for the benefit of AI understanding them - to remove the building requirements (or at least to change them to buildings AI builds anyway).

Marko Lindqvist <cazfi>
Project Administrator

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #19296:  autogame-T0406-Y01620-auto.sav.bz2 added by jtn (373kB - application/x-bzip - Example of AIs building spaceships in S2_3)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bardo (Posted a comment)
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Oct 2013 10:17:18 PM UTCjtnAttached File-=>Added autogame-T0406-Y01620-auto.sav.bz2, #19296
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup