View Issue Details

IDProjectCategoryLast Update
0019232AI War 2Gameplay IssueFeb 7, 2018 1:49 pm
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.521 
Fixed in Version0.706 
Summary0019232: Hacking brings game to its knees
DescriptionI had progress at about 300 or so and I tried my first hack of the game, a design template server. I had 50K enemy strength spawn which A. overwhelmed the sidebar (see picture) and B. made the game run like mud (see attached savegame).
TagsNo tags attached.

Activities

BadgerBadger

Sep 18, 2017 11:45 pm

manager  

sidebar.jpg (1,195,431 bytes)

BadgerBadger

Sep 18, 2017 11:46 pm

manager   ~0046470

Also if you take the save game and show full map vision, you will see the dyson sphere seems to have bumped up the AIP by 40 or so by destroying a few AI planets.

BadgerBadger

Jan 24, 2018 11:09 am

manager   ~0046703

Here's a better recreate for this problem on .702.

Here is a save game with my Ark and a substantial fleet on a planet about to try to hack it. I started the hack; every 10 seconds the AI would drop 100 squads on the planet, which seems like a lot. Then when the hack finished the AI dropped about 600 squads instantly on the planet and the game started running like mud. I also started seeing a bunch of errors like

1/24/2018 11:04:38 AM Warning: long range planning thread taking inordinate amount of time (>10 seconds) for faction AI
Thread Status:Background
1/24/2018 11:04:38 AM
Error occurred in sim planning context specialFactionContext_3
Thread was being aborted
===PSUEDO INFO===
Method DoSingleBudgetLoopIteration
Line 10
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
    Helper_RetreatThreat 0 637 0 0
    DoLongRangePlanning_Subclass 0 9209 0 0
    DoLongRangePlanning 0 275 0 0
    Execute 0 53 0 0
    InnerRun 0 151 0 0
===RAW STACK TRACE===
  at (wrapper managed-to-native) object:__icall_wrapper_mono_object_new_specific (intptr)
  at Arcen.AIW2.External.SpecialFaction_AI.Helper_RetreatThreat (Boolean tracing, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Collections.Generic.List`1 threatShipsNotAssignedElsewhere, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.External.SpecialFaction_AI.DoLongRangePlanning_Subclass (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.External.BaseSpecialFaction.DoLongRangePlanning (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.SpecialFactionPlanning.Execute () [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x00000] in <filename unknown>:0

   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.LogException(System.Exception e, System.String message, Verbosity verbosity)
   at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun()


or
1/24/2018 11:04:26 AM
Error occurred in sim planning context specialFactionContext_3
Thread was being aborted
===PSUEDO INFO===
Method DoSingleBudgetLoopIteration
Line 10
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs get_Item 41 178 140 0
    GetItemForKey 0 103 0 0
    get_Item 0 30 0 0
    <Helper_RetreatThreat>b__0 0 122 0 0
    DoForLinkedNeighbors 0 145 0 0
    Helper_RetreatThreat 0 713 0 0
    DoLongRangePlanning_Subclass 0 9209 0 0
    DoLongRangePlanning 0 275 0 0
    Execute 0 53 0 0
    InnerRun 0 151 0 0
===RAW STACK TRACE===
  at System.Collections.Generic.Dictionary`2[System.Int32,Arcen.Universal.ArcenSparseLookupPair`2[System.Int32,Arcen.AIW2.Core.LongRangePlanningData_PlanetFaction]].get_Item (Int32 key) [0x00029] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:140
  at Arcen.Universal.ArcenSparseLookup`2[System.Int32,Arcen.AIW2.Core.LongRangePlanningData_PlanetFaction].GetItemForKey (Int32 Key) [0x00000] in <filename unknown>:0
  at Arcen.Universal.ArcenSparseLookup`2[System.Int32,Arcen.AIW2.Core.LongRangePlanningData_PlanetFaction].get_Item (Int32 key) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.External.SpecialFaction_AI+<>c__DisplayClass8_0.<Helper_RetreatThreat>b__0 (Arcen.AIW2.Core.Planet neighbor) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.Planet.DoForLinkedNeighbors (Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.External.SpecialFaction_AI.Helper_RetreatThreat (Boolean tracing, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Collections.Generic.List`1 threatShipsNotAssignedElsewhere, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.External.SpecialFaction_AI.DoLongRangePlanning_Subclass (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.External.BaseSpecialFaction.DoLongRangePlanning (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenLongTermPlanningContext Context) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.SpecialFactionPlanning.Execute () [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x00000] in <filename unknown>:0

   at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.LogException(System.Exception e, System.String message, Verbosity verbosity)
   at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun()

BadgerBadger

Feb 2, 2018 5:41 pm

manager  

BadgerBadger

Feb 2, 2018 8:54 pm

manager   ~0046840

This seems to have been essentially resolved by 19351. I've reloaded that save game and I don't see the problem anymore.

Michael

Feb 3, 2018 10:43 am

administrator   ~0046846

Okay. This looks like it's ready to close, but I'm changing the status to "Feedback" until more people weigh in on it. Putting the Trello card on Limbo list.

keith.lamothe

Feb 7, 2018 1:49 pm

administrator   ~0046896

It's honestly looking fine to me, in this specific case at least. Feel free to re-open with something that fails (balance-absurd or performance-absurd) in 0.706+ :)

Issue History

Date Modified Username Field Change
Sep 18, 2017 11:45 pm BadgerBadger New Issue
Sep 18, 2017 11:45 pm BadgerBadger File Added: sidebar.jpg
Sep 18, 2017 11:45 pm BadgerBadger File Added: gianthack~#CI#474087313#3141#hack#Vanilla#Normal.save.gz
Sep 18, 2017 11:46 pm BadgerBadger Note Added: 0046470
Jan 24, 2018 11:09 am BadgerBadger Note Added: 0046703
Jan 25, 2018 10:24 am Michael Assigned To => keith.lamothe
Jan 25, 2018 10:24 am Michael Status new => assigned
Feb 2, 2018 5:41 pm BadgerBadger File Added: aboutToHack~#SP#338668664#3668#spiraltest#Vanilla#Difficulty 5.save
Feb 2, 2018 8:54 pm BadgerBadger Note Added: 0046840
Feb 3, 2018 10:43 am Michael Status assigned => feedback
Feb 3, 2018 10:43 am Michael Note Added: 0046846
Feb 7, 2018 1:49 pm keith.lamothe Status feedback => resolved
Feb 7, 2018 1:49 pm keith.lamothe Resolution open => fixed
Feb 7, 2018 1:49 pm keith.lamothe Fixed in Version => 0.706
Feb 7, 2018 1:49 pm keith.lamothe Note Added: 0046896