View Issue Details

IDProjectCategoryLast Update
0025292AI War 2Bug - OtherJun 23, 2021 6:38 pm
ReporterStrategic Sage Assigned Tox4000Bughunter  
Status assignedResolutionopen 
Product Version3.201 Location Hotfix 
Summary0025292: Zenith Architrave don't properly claim Core systems
DescriptionAccording to those who know better, ZA are not supposed to require Pioneers to claim Core territory, only when they expand beyond that. Unfortunately this is not the case. Observe the right-side, 'pinkish' colored Architrave in this save, which in approx. a minute's time from loading will begin their countdown to Pioneers. This is their first expansion, intensity 5 almost an hour into the game. They have only their Portal system.
TagsNo tags attached.


related to 0024841 assignedx4000Bughunter ZA bug report -- Multiple ZA all within 3 hops from each other 


Strategic Sage

Jun 18, 2021 5:34 pm

reporter (584,218 bytes)
ZAExpansion.savemet (118 bytes)   
<color=#ff3fd9>Brutal </color> Jabberwock
Difficulty 8
ZAExpansion.savemet (118 bytes)   

Lord Of Nothing

Jun 18, 2021 5:40 pm

reporter   ~0062145

That's strange. It's always worked fine without pioneers for me.

Strategic Sage

Jun 18, 2021 5:51 pm

reporter   ~0062146

Huh. I've literally never seen that happen Lord of Nothing across several test games. If you have counter-examples where it does work, that may possibly be of use in hunting down the cause?


Jun 18, 2021 7:54 pm

manager   ~0062150

Chris, the ZAs in this save are working correctly. They aren't allowed to claim Territory that is close to any homeworld, and these ZAs were seeded extremely close to AI homeworlds.

The code in SeedStartingEntitiesEarly says "Seed these ZAs at least 7 hops from any homeworld", but for some reason this restriction was not honoured in this save game. Here's the code:

            Mapgen_Base.Mapgen_SeedSpecialEntities( Context, galaxy, faction, SpecialEntityType.None, "ZenithArchitravePortalOriginal", SeedingType.HardcodedCount, 1,
                                                    MapGenCountPerPlanet.One, MapGenSeedStyle.FullUseByFaction, 7, 7, PlanetSeedingZone.MostAnywhere, SeedingExpansionType.ComplicatedOriginal );

Strategic Sage

Jun 18, 2021 9:21 pm

reporter   ~0062151

Ahh. That's good to know Badger. I think the reason is probably that because of it being an interconnected cubular map, there aren't any planets I don't think that far away from an AI homeworld. It also explains my tests, because many were done on small maps for the purpose of not bogging down the sim - but that would have left the ZA within that restriction as well. I would tepidly suggest, though not without feedback from others, lowering that threshold some. 7 hops is a long way. There are going to be a lot of maps and setups where 7 hops away can't happen, so perhaps we should consider reducing the core territory area that is too close to a homeworld for the ZA to claim?


Jun 18, 2021 10:32 pm

manager   ~0062152

I was expecting that the seeding algorithm would try 7 hops, then try 6 hops and so on.

Issue History

Date Modified Username Field Change
Jun 18, 2021 5:34 pm Strategic Sage New Issue
Jun 18, 2021 5:34 pm Strategic Sage File Added:
Jun 18, 2021 5:34 pm Strategic Sage File Added: ZAExpansion.savemet
Jun 18, 2021 5:40 pm Lord Of Nothing Note Added: 0062145
Jun 18, 2021 5:51 pm Strategic Sage Note Added: 0062146
Jun 18, 2021 7:52 pm BadgerBadger Assigned To => x4000Bughunter
Jun 18, 2021 7:52 pm BadgerBadger Status new => assigned
Jun 18, 2021 7:54 pm BadgerBadger Note Added: 0062150
Jun 18, 2021 9:21 pm Strategic Sage Note Added: 0062151
Jun 18, 2021 10:32 pm BadgerBadger Note Added: 0062152
Jun 23, 2021 6:38 pm BadgerBadger Relationship added related to 0024841