Game crashing

Post bug reports and ask for tech support here. Post any Community Site Requests here as well.

Moderator: Vic

Post Reply
User avatar
Bombur
Posts: 3664
Joined: Fri Jul 02, 2004 4:50 am

Game crashing

Post by Bombur »

I´m making some changes in the GD1938 scenario, almost all of them related to items, SFT´s and researches. However, I´m getting a game crah in USA turn, whose message is as follows:

System.IndexOutOfRangeException: Index out of matrix limits

em WindowsApplication1.HandyFunctionsclass.GetProdPtsForLoc(Int32 locnr, Int32 slot, Boolean AddRem)

em WindowsApplication1.HandyFunctionsclass.GetEstimatedProduction(Int32 prodslot, Int32 locnr, Boolean withremainder, Boolean onlyremainder, Boolean dontshowregvar)

em WindowsApplication1.ProcessingClass.LocationProductionPrognosis()

em WindowsApplication1.EventRelatedClass.DoCheckSpecificEvent(Int32 enr, Int32 tv0, Int32 tv1, Int32 tv2, Int32 tv3, Int32 tv9, Int32 tv7, Int32 tv8, Int32 tv10)

em WindowsApplication1.EventRelatedClass.DoCheckEvents(Int32 checkMode)

em WindowsApplication1.GameLoopMainWindowClass.handleTimer()

em WindowsApplication1.ScreenClass.HandleTimer()

em WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e)

em System.Windows.Forms.Timer.OnTick(EventArgs e)

em System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
User avatar
ernieschwitz
Posts: 4246
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: Game crashing

Post by ernieschwitz »

Problem fixed :)

It was a location that had been overwritten by graphics. The location type had then been removed, and the item types it was producing likewise...

It seems the game crashes when you do that sort of thing.
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
Post Reply

Return to “Advanced Tactics Support”