[1.10.05] Crash on end of turn

Moderator: Vic

Post Reply
User avatar
Voker57
Posts: 290
Joined: Sat Sep 19, 2020 9:00 am

[1.10.05] Crash on end of turn

Post by Voker57 »

Code: Select all

Unhandled Exception:
 System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at WindowsApplication1.EventRelatedClass.TradeStartTurn () [0x00da2] in <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.EventRelatedClass.ExecMakeStartTurn (System.Int32 dat1, System.Int32 dat2, System.Int32 dat3, System.Int32 dat4, System.String datastring) [0x01f7f] in <fb480a5cf3454df1b43b9efc0a6b14a4>: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) [0x035da] in <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.EventRelatedClass.ExecuteExec (System.Int32 enr, System.Int32 linenr) [0x0023d] in <fb480a5cf3454df1b43b9efc0a6b14a4>: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 <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.EventRelatedClass.DoCheckEvents (System.Int32 checkMode) [0x0016a] in <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.GameLoopClass2.handleTimer () [0x00f54] in <fb480a5cf3454df1b43b9efc0a6b14a4>: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.EventRelatedClass.TradeStartTurn () [0x00da2] in <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.EventRelatedClass.ExecMakeStartTurn (System.Int32 dat1, System.Int32 dat2, System.Int32 dat3, System.Int32 dat4, System.String datastring) [0x01f7f] in <fb480a5cf3454df1b43b9efc0a6b14a4>: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) [0x035da] in <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.EventRelatedClass.ExecuteExec (System.Int32 enr, System.Int32 linenr) [0x0023d] in <fb480a5cf3454df1b43b9efc0a6b14a4>: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 <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.EventRelatedClass.DoCheckEvents (System.Int32 checkMode) [0x0016a] in <fb480a5cf3454df1b43b9efc0a6b14a4>:0 
   at WindowsApplication1.GameLoopClass2.handleTimer () [0x00f54] in <fb480a5cf3454df1b43b9efc0a6b14a4>: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/3PryZ66XG ... jWfWFw.se1

Problem does not reproduce if end turn is clicked immediately, but something else triggers it.
User avatar
Vic
Posts: 9955
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: [1.10.05] Crash on end of turn

Post by Vic »

Big thanks for reporting. I could reproduce this and it will be fixed for the upcoming new open beta!
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
Post Reply

Return to “Tech Support”