Does the AI properly consider outpost colonization?

Describe your experience with the latest version of FreeOrion to help us improve it.

Moderator: Oberlus

Forum rules
Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.
Post Reply
Message
Author
User avatar
mem359
Dyson Forest
Posts: 214
Joined: Sun Jun 08, 2014 1:18 am

Does the AI properly consider outpost colonization?

#1 Post by mem359 »

I've attached an image of a nearby AI that made some peculiar choices.
It put outposts on potentially "Good" planets, but then didn't bother to colonize them.
That seems odd, considering that they were 1 jump away, and it is now turn 100.
(I didn't start attacking until turn 80 or so. There was a nearby Sentinel, so maybe that caused the AI to go exclusively military?)

The AI is Chato, and Kephra is the homeworld.
Stern Alpha has two Toxic planets, which would be "Good" for the Chato.
The AI did conquer Stern Beta, which had a Mu Ursh colony. It also built two colony bases there (so 3 planets with Mu Ursh).
I did not find any Chato colonies (other than the homeworld).
Attachments
chato_choices.jpg
chato_choices.jpg (98.27 KiB) Viewed 1190 times

Morlic
AI Contributor
Posts: 296
Joined: Tue Feb 17, 2015 11:54 am

Re: Does the AI properly consider outpost colonization?

#2 Post by Morlic »

While there seems to be some issue here, it is impossible to say what is going wrong based on a single screenshot.

Can you provide any of these?
- AI log
- Savegame of the screenshotted situation (or some turns before...)
- Savegame of first turn

If you have all of those, that would be great but any would help.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
MatGB
Creative Contributor
Posts: 3310
Joined: Fri Jun 28, 2013 11:45 pm

Re: Does the AI properly consider outpost colonization?

#3 Post by MatGB »

Not noticed this significantly for awhile, but I am noticing in my current game that I'm going up against a LOT more uncolonised outposts than normal, the AI I've just finished demolishing had a lot more outposts than it had colonies, I think there might actually be some sort of very recent glitch, I'll get some logs and a savegame organised: I am playing with a few test commits from others but they shouldn't make a difference overall.

ETA: 2 autosaves, oldest and most recent, plus the relevant AI log. It's a Trith empire and I'm playing with the Species Mix branch changes which you'd need to load it up else they'd die instantly (Radiated homeworld is a change).
Attachments
AI_8.log.zip
(1 MiB) Downloaded 83 times
FreeOrion_Mat_Harry_0153_20170325_022308.sav.zip
(1.85 MiB) Downloaded 88 times
FreeOrion_Mat_Harry_0144_20170325_003833.sav.zip
(1.69 MiB) Downloaded 90 times
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Morlic
AI Contributor
Posts: 296
Joined: Tue Feb 17, 2015 11:54 am

Re: Does the AI properly consider outpost colonization?

#4 Post by Morlic »

Thanks, Mat. That was very helpful information.

AI handling of resurrected species got broken 19 days ago. It assumed it would be able to colonize with Misiorla and wouldn't waste time colonizing with some useless Trith.

That particular issue should now be fixed.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Dilvish
AI Lead and Programmer Emeritus
Posts: 4768
Joined: Sat Sep 22, 2012 6:25 pm

Re: Does the AI properly consider outpost colonization?

#5 Post by Dilvish »

thanks for catching that, Morlic, last I had seen of that extinct species PR there was still discussion about just what change was going to be made, I didn't notice when the final change was made and it got put into master.

Reminder for everyone: when you change things that the AI uses, if you aren't up to adapting the AI yourself as part of your changes then please be sure to coordinate with the AI team about it, after it is actually finalized what changes you are going to make (also coordinating while the proposed changes are tentative is best, but be sure to give us some notice and time to react to the actual change before putting it into master). Some weeks are busier than others, and so just because a PR sits there for a week in what you are intending to be its final state doesn't necessarily mean that one of us will notice that the topic is ready for and needing action from one of us, and just merging the PR can lead to "out-of-sight, out-of-mind".

Also, on the situation in this thread, I think there are still likely some lingering issues in the priority competition between outposting and colonizing, I'll try to look at it some more over the next few days.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
mem359
Dyson Forest
Posts: 214
Joined: Sun Jun 08, 2014 1:18 am

Re: Does the AI properly consider outpost colonization?

#6 Post by mem359 »

It worked for my situation.
Starting from the same seed (but with your 1 line code change), the Chato AI spread out a lot more, including colonizing the two Toxic planets next to its homeworld system.
(It ended up ignoring the nearby Mu Ursh planet, but did conquer a nearby undefended Hhoh planet instead.)

dbenage-cx
Programmer
Posts: 389
Joined: Sun Feb 14, 2016 12:08 am

Re: Does the AI properly consider outpost colonization?

#7 Post by dbenage-cx »

Apologies to AI team, I somehow thought the AI still lacked support for them and did not research closely.

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Does the AI properly consider outpost colonization?

#8 Post by Vezzra »

MatGB wrote:Not noticed this significantly for awhile, but I am noticing in my current game that I'm going up against a LOT more uncolonised outposts than normal, the AI I've just finished demolishing had a lot more outposts than it had colonies
Ah, so I haven't been imagining things... just playing my first test game since a very long time, and have been wondering why I'm so far ahead of the AIs this time. Will keep an eye on how they develop now with the patch applied.

Post Reply