View Issue Details

IDProjectCategoryLast Update
0023722AI War 2Crash/ExceptionSep 14, 2020 10:00 am
ReporterCRCGamer Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product Version2.500 Multiplayer Alpha Begins Now! 
Fixed in Version2.504 Clarity And Fair Play 
Summary0023722: Pop-up notification involving targeting logic and IComparer.
DescriptionSpire campaign run so high ship counts and lots of stuff dying very fast on those high AIP raids.

9/14/2020 4:52:26 AM
Error in targeting logic System.ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'System.Comparison`1[Arcen.AIW2.Core.GameEntity_Squad]'.
  at System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) [0x0000b] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) [0x0000c] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) [0x00012] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.AIW2.External.TargetListPlanning.ProcessShortlistIntoTargetRanking (Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Boolean IsStuffWithinANearRange, System.Boolean MustBeInRangeForFRD, System.Boolean IgnoreNonCombatantsForFRDChoices, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x000f3] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.External.TargetListPlanning.ProcessWorkingLists (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Boolean amIFreelyMovingNow, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x00522] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.External.TargetListPlanning.FindTopEntriesForSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x007b7] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing_SpecificSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x00009] in <69a1ea6c11a54b5bb7d61f08caa25113>:0

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f40626b7418f429f888e8f9fb65736e8>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f40626b7418f429f888e8f9fb65736e8>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f40626b7418f429f888e8f9fb65736e8>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing_SpecificSystem (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity, Arcen.AIW2.Core.EntitySystem AttackerSystem, System.Int32 SystemIndex, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x00000] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.External.TargetListPlanning.DoEntityFramePlanningLogic_TargetPrioritizing (Arcen.AIW2.Core.GameEntity_Squad AttackerEntity) [0x00000] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <5c19fdd8c58d41249acbc2f920d2c7b2>:0
  at Arcen.AIW2.External.TargetListPlanning.<Execute>b__11_0 (Arcen.AIW2.Core.Planet planet) [0x00000] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <5c19fdd8c58d41249acbc2f920d2c7b2>:0
  at Arcen.AIW2.Core.World_AIW2.DoForPlanets (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <5c19fdd8c58d41249acbc2f920d2c7b2>:0
  at Arcen.AIW2.External.TargetListPlanning.Execute () [0x00000] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <69a1ea6c11a54b5bb7d61f08caa25113>:0
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
TagsNo tags attached.

Activities

Chris_McElligottPark

Sep 14, 2020 10:00 am

administrator   ~0058485

Thanks!

* Fixed an issue that could cause exceptions in the target list sorting if ships died at just the wrong moment.

Issue History

Date Modified Username Field Change
Sep 14, 2020 9:40 am CRCGamer New Issue
Sep 14, 2020 10:00 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Sep 14, 2020 10:00 am Chris_McElligottPark Status new => resolved
Sep 14, 2020 10:00 am Chris_McElligottPark Resolution open => fixed
Sep 14, 2020 10:00 am Chris_McElligottPark Fixed in Version => 2.504 Clarity And Fair Play
Sep 14, 2020 10:00 am Chris_McElligottPark Note Added: 0058485