View Issue Details

IDProjectCategoryLast Update
0025292AI War 2Bug - OtherMar 1, 2022 10:47 pm
ReporterStrategic Sage Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
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.

Relationships

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

Activities

Strategic Sage

Jun 18, 2021 5:34 pm

reporter  

ZAExpansion.save (584,218 bytes)
ZAExpansion.savemet (118 bytes)   
UK
170972098
3512
ZanyZenith
<color=#ff3fd9>Brutal </color> Jabberwock
Difficulty 8
0
<color=#31c931>StratSage</color>
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?

BadgerBadger

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?

BadgerBadger

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.

Daniexpert

Feb 28, 2022 6:36 pm

manager   ~0064979

Is this still a thing?

BadgerBadger

Mar 1, 2022 9:13 pm

manager   ~0065013

If it is a problem it's a mapgen bug

Strategic Sage

Mar 1, 2022 10:33 pm

reporter   ~0065019

I think it was fixed, but I'm not certain. I would recommend closing, and then someone can make a new issue if it happens again. To my knowledge, it hit me and only me.

BadgerBadger

Mar 1, 2022 10:47 pm

manager   ~0065020

Hasn't reproduced

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: ZAExpansion.save
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 => Chris_McElligottPark
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
Feb 28, 2022 6:36 pm Daniexpert Status assigned => requires feedback
Feb 28, 2022 6:36 pm Daniexpert Note Added: 0064979
Mar 1, 2022 9:13 pm BadgerBadger Note Added: 0065013
Mar 1, 2022 10:33 pm Strategic Sage Note Added: 0065019
Mar 1, 2022 10:47 pm BadgerBadger Assigned To Chris_McElligottPark => BadgerBadger
Mar 1, 2022 10:47 pm BadgerBadger Status requires feedback => resolved
Mar 1, 2022 10:47 pm BadgerBadger Resolution open => fixed
Mar 1, 2022 10:47 pm BadgerBadger Note Added: 0065020