View Issue Details

IDProjectCategoryLast Update
0027205AI War 2Crash/ExceptionApr 28, 2022 8:51 pm
ReporterMatt Dyer Assigned To 
Status newResolutionopen 
Product Version5.005 Threat Properly Threatens 
Summary0027205: Squad CalculateSpeed exception
DescriptionWhile bruteforcing a warden eye.
TagsNo tags attached.

Activities

Matt Dyer

Apr 28, 2022 8:11 pm

reporter  

ArcenDebugLog.txt (1,166,741 bytes)
when error happened.save (343,236 bytes)
when error happened.savemet (116 bytes)   
UK
87417741
6209
Spire Redux
<color=#ffe066>Moderate </color> Aggressor
Difficulty 7
0
<color=#318ce7>Eriaku</color>
when error happened.savemet (116 bytes)   

BadgerBadger

Apr 28, 2022 8:51 pm

manager   ~0066535

4/28/2022 8:09:06 PM 5.005 SINGLEP DELAYED2 TID35 Squad CalculateSpeed exception at debugStage 8500, exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Arcen.Universal.List`1[T].get_Item (System.Int32 index) [0x00071] in <fc3e0f2d026640178846e4463071e5ac>:0
  at Arcen.AIW2.Core.GameEntity_Squad.CalculateSpeed (System.Boolean IncludeSpeedGroupOverrides) [0x00512] in <075f848f3a464f70ac682eb1d5668751>:0

Here's the code:

                if ( this.CurrentEngineStunSeconds > 0 && !isDecolliding )
                {
                    debugStage = 8500;
                    if ( this.CurrentEngineStunSeconds >= ExternalConstants.Instance.EngineStunMultipliersByStunSeconds.Count )
                        return 0; //fully stunned
                    else //partially stunned
                        multiplier *= ExternalConstants.Instance.EngineStunMultipliersByStunSeconds[this.CurrentEngineStunSeconds];
                }

Seems like the ExternalConstants.Instance.EngineStunMultipliersByStunSeconds array is subject to races? This seems problematic.

Issue History

Date Modified Username Field Change
Apr 28, 2022 8:11 pm Matt Dyer New Issue
Apr 28, 2022 8:11 pm Matt Dyer File Added: ArcenDebugLog.txt
Apr 28, 2022 8:11 pm Matt Dyer File Added: when error happened.save
Apr 28, 2022 8:11 pm Matt Dyer File Added: when error happened.savemet
Apr 28, 2022 8:51 pm BadgerBadger Note Added: 0066535