View Issue Details

IDProjectCategoryLast Update
0019245AI War 2Gameplay IssueJun 28, 2018 5:26 pm
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status closedResolutionfixed 
Product Version0.522 
Summary0019245: Random extremely high threat
DescriptionI started a new game with all the factions on, then just sat on my base and watched what happened on the map. I haven't done anything in game.

I note there is now 30K threat on the map at 2 minutes and 31 seconds into the game. I don't think it's reasonable for the actions of minor factions to cause the Threat Fleet to become enormously powerful like this. Here's a save game.
TagsNo tags attached.

Activities

BadgerBadger

Oct 5, 2017 10:45 am

manager  

jmuzz

Oct 7, 2017 9:53 pm

reporter   ~0046509

This just happened to me. Not sure what the cause is. Was 2hr 30min into a game and suddenly 20k threat with it being spread out all over the galaxy, like 200-800 threat on most planets, ~2k on a couple others.

BadgerBadger

Oct 8, 2017 12:10 pm

manager   ~0046510

2 hours or so in sounds like it might be a CPA

Michael

Jan 31, 2018 11:27 am

administrator   ~0046787

I tried to duplicate this today on build 0.702 and the threat was 300 after 2 min 30 seconds. Can you see if this is still an issue?

BadgerBadger

Feb 13, 2018 7:46 pm

manager   ~0046971

Some aspects of this are still an issue. Take this save game. It says there is 40K worth of threat on the map. But when I reveal everything and check for "Roamers" I see maybe 10K of Hunter fleet. I added some debug logging and it looks like most of the planets have threat on them, which is odd.

It seems that threat is calculated thusly:
                    if ( entity.GetEffectiveOrders().Behavior == EntityBehaviorType.Attacker && entity.CoordinatorID <= 0 )
                    {
                        DelegateHelper_StanceData.ThreatStrength += strength;
                        if ( !entity.ShouldNotBeConsideredAsThreatToHumanTeam ) < ===== this is typically set deliberately for things like the Dyson
                            DelegateHelper_StanceData.RelativeToHumanTeam_ThreatStrength += strength;
                    }
then the ResourceBar just sums the per-planet RelativeToHumanTeam_ThreatStrength and prints that number.

I looked around the map after revealing everything, and there are in fact an enormous number of ships in "Attacker" mode wandering around. I am unclear of why there are so many though. Perhaps we should just change the Threat calculation to check the Hunter fleet?

BadgerBadger

Feb 13, 2018 7:47 pm

manager   ~0046972

Here's a save game illustrating the point.

Michael

Feb 14, 2018 10:08 am

administrator   ~0046973

Created a Trello card for this issue.

keith.lamothe

Mar 15, 2018 12:08 pm

administrator   ~0047207

Can you give me a save in the current version (old ones broken a couple times since then) ? I did some things to address this in the meantime, so it's hard to know what the current problem(s) are.

Issue History

Date Modified Username Field Change
Oct 5, 2017 10:45 am BadgerBadger New Issue
Oct 5, 2017 10:45 am BadgerBadger File Added: 30Kthreat~#LT#450266012#151#highthreat#Vanilla#Normal.save
Oct 7, 2017 9:53 pm jmuzz Note Added: 0046509
Oct 8, 2017 12:10 pm BadgerBadger Note Added: 0046510
Jan 31, 2018 11:27 am Michael Assigned To => Michael
Jan 31, 2018 11:27 am Michael Status new => feedback
Jan 31, 2018 11:27 am Michael Note Added: 0046787
Feb 13, 2018 7:46 pm BadgerBadger Note Added: 0046971
Feb 13, 2018 7:46 pm BadgerBadger Status feedback => assigned
Feb 13, 2018 7:47 pm BadgerBadger File Added: highthreat~#EN#648061568#4648#nerfedWarden#Vanilla#Difficulty 5.save.gz
Feb 13, 2018 7:47 pm BadgerBadger Note Added: 0046972
Feb 14, 2018 10:07 am Michael Assigned To Michael => keith.lamothe
Feb 14, 2018 10:08 am Michael Note Added: 0046973
Mar 15, 2018 12:08 pm keith.lamothe Status assigned => feedback
Mar 15, 2018 12:08 pm keith.lamothe Note Added: 0047207
Jun 28, 2018 5:26 pm Chris_McElligottPark Status feedback => closed
Jun 28, 2018 5:26 pm Chris_McElligottPark Resolution open => fixed