Page 1 of 1

[1.10.06b] Crash on end turn

Posted: Sat Feb 26, 2022 10:33 pm
by Voker57

Code: Select all

Unhandled Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at WindowsApplication1.Shadow_Economic_AI.SetKeyEconomicAIVariables (System.String logAddition, System.Int32 shqSlotNr) [0x01464] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.Helper_Advice () [0x011b0] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.ExecMakeLateStartTurn (System.Int32 dat1, System.Int32 dat2, System.Int32 dat3, System.Int32 dat4, System.String datastring) [0x0791b] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.DoExec (System.Int32 enr, System.Int32 t1, System.String val1, System.String val2, System.String val3, System.String val4, System.String datastring) [0x037ad] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.ExecuteExec (System.Int32 enr, System.Int32 linenr) [0x0023d] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent (System.Int32 enr, System.Int32 tv0, System.Int32 tv1, System.Int32 tv2, System.Int32 tv3, System.Int32 tv9, System.Int32 tv7, System.Int32 tv8, System.Int32 tv10, System.Boolean skipSettingTempVars) [0x00892] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.DoCheckEvents (System.Int32 checkMode) [0x0016a] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.GameLoopClass2.handleTimer () [0x01843] in <6261874310ec4561bfc69c2d10010252>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at WindowsApplication1.Shadow_Economic_AI.SetKeyEconomicAIVariables (System.String logAddition, System.Int32 shqSlotNr) [0x01464] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.Helper_Advice () [0x011b0] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.ExecMakeLateStartTurn (System.Int32 dat1, System.Int32 dat2, System.Int32 dat3, System.Int32 dat4, System.String datastring) [0x0791b] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.DoExec (System.Int32 enr, System.Int32 t1, System.String val1, System.String val2, System.String val3, System.String val4, System.String datastring) [0x037ad] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.ExecuteExec (System.Int32 enr, System.Int32 linenr) [0x0023d] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent (System.Int32 enr, System.Int32 tv0, System.Int32 tv1, System.Int32 tv2, System.Int32 tv3, System.Int32 tv9, System.Int32 tv7, System.Int32 tv8, System.Int32 tv10, System.Boolean skipSettingTempVars) [0x00892] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.EventRelatedClass.DoCheckEvents (System.Int32 checkMode) [0x0016a] in <6261874310ec4561bfc69c2d10010252>:0 
  at WindowsApplication1.GameLoopClass2.handleTimer () [0x01843] in <6261874310ec4561bfc69c2d10010252>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <bee01833bcad4475a5c84b3c3d7e0cd6>:0
Save: https://tinystash.undef.im/dl/2JESqJbVy ... T5fg1W.se1

Re: [1.10.06b] Crash on end turn

Posted: Mon Feb 28, 2022 12:28 pm
by Vic
Hi,
Thanks for reporting!
I did a lot of AI work i'll try to fix any new bugs ASAP.
Probably end of tuesday. Hold tight!
best wishes,
Vic