View Issue Details

IDProjectCategoryLast Update
0026784AI War 2Bug - OtherApr 2, 2022 8:11 pm
Reporterhabakuk Assigned ToNRSirLimbo  
Severityminor 
Status resolvedResolutionfixed 
Product Version4.007 Balance And Tuning 
Fixed in Version4.010 Iconucopia 
Summary0026784: Error pop-ups from autobuild
DescriptionIn my latest session I had two errors popping up. In either case there was al lot of fighting going in at the moment of the error. I didn't notice any problem and the game continued flawlessly.
TagsNo tags attached.

Relationships

related to 0026807 resolvedNRSirLimbo error, debug log included 

Activities

habakuk

Mar 25, 2022 6:52 pm

reporter  

ArcenDebugLog.txt (3,366,897 bytes)
ArcenDebugLog2.txt (3,368,287 bytes)

BadgerBadger

Apr 2, 2022 3:14 pm

manager   ~0065674

3/25/2022 10:55:07 PM 4.007 SINGLEP DELAYED2 TID7 Hit exception during HandleAutobuildForSpecificFaction debugCode 2330 on faction NASA System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1+Enumerator[T].MoveNext () [0x0001b] in <3944a499c51d49f0b88c49d4e1fb4bc8>:0
  at Arcen.AIW2.Core.Fleet.DoForMemberGroupsSorted_NonSim (Arcen.AIW2.Core.FleetMembership+ProcessorDelegate Processor) [0x000d7] in <72de9acad00d4fa29bc98e7c2e116a08>:0
  at Arcen.AIW2.External.PlayerAutobuilding+<>c__DisplayClass11_1.<HandleAutobuild_ForSpecificFaction>b__0 (Arcen.AIW2.Core.GameEntity_Squad commandStation) [0x002e2] in <c2f8620c29194ba58cfed6464017c366>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00068] in <72de9acad00d4fa29bc98e7c2e116a08>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <72de9acad00d4fa29bc98e7c2e116a08>:0
  at Arcen.AIW2.External.PlayerAutobuilding.HandleAutobuild_ForSpecificFaction (Arcen.AIW2.Core.Faction aPlayerFaction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00256] in <c2f8620c29194ba58cfed6464017c366>:0

BadgerBadger

Apr 2, 2022 3:14 pm

manager   ~0065675

Last edited: Apr 2, 2022 3:15 pm

Limbo, this looks related to your changes for Autobuild.
I'm not a huge fan of code like currentType = AutoBuildingSettings[i].Item2[j]; either, for what that's worth

NRSirLimbo

Apr 2, 2022 8:11 pm

developer   ~0065688

* Padded a potential out-of-range exception in the autobuilding code.
** Thanks to habakuk for reporting.
* While testing, found and fixed a bug where autobuilding counts from a previous entity type could transfer over to the current setting (i.e. if the player only has 5 tritium sniper turrets, but 10 spider turrets, then the code would built only 5 of each and live the remaining 5 spider turrets unbuilt).

Issue History

Date Modified Username Field Change
Mar 25, 2022 6:52 pm habakuk New Issue
Mar 25, 2022 6:52 pm habakuk File Added: ArcenDebugLog.txt
Mar 25, 2022 6:52 pm habakuk File Added: ArcenDebugLog2.txt
Apr 2, 2022 3:14 pm BadgerBadger Note Added: 0065674
Apr 2, 2022 3:14 pm BadgerBadger Assigned To => NRSirLimbo
Apr 2, 2022 3:14 pm BadgerBadger Status new => assigned
Apr 2, 2022 3:14 pm BadgerBadger Note Added: 0065675
Apr 2, 2022 3:15 pm BadgerBadger Note Edited: 0065675
Apr 2, 2022 3:19 pm BadgerBadger Summary Error pop-ups => Error pop-ups from autobuild
Apr 2, 2022 3:33 pm BadgerBadger Relationship added related to 0026807
Apr 2, 2022 8:11 pm NRSirLimbo Status assigned => resolved
Apr 2, 2022 8:11 pm NRSirLimbo Resolution open => fixed
Apr 2, 2022 8:11 pm NRSirLimbo Fixed in Version => 4.010 Iconucopia
Apr 2, 2022 8:11 pm NRSirLimbo Note Added: 0065688