[1.05b7b] Crash when selecting Strategram

Moderator: Vic

Post Reply
User avatar
Clux
Posts: 449
Joined: Sat Sep 15, 2018 9:00 pm
Location: Mexico

[1.05b7b] Crash when selecting Strategram

Post by Clux »

I was mid turn changing the posture of an OHQ and when I selected the strategram "Fluid Defense" I got this error message

Code: Select all

************** Texto de la excepción **************
 System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
    en WindowsApplication1.CustomBitmapClass.DrawUnitBig(Int32 nr, Boolean forcehighlight, Graphics toG, Int32 tx, Int32 ty, Boolean ShowAttacker, Int32 OverruleHis, Int32 OverrulePower, Int32 OverruleRegime, Boolean FullRecon, Boolean mostlyHidden) en G:\VR\VRDevelopment\WindowsApplication1\GUI\GraphicsAndSounds\Se1_CustomBitmapClass.vb:línea 5505
    en WindowsApplication1.UDSPartClass.DrawElement(Int32 i, Graphics& g, Boolean firstCall, Boolean high) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:línea 995
    en WindowsApplication1.UDSPartClass.MakeBitmap() en G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:línea 714
    en WindowsApplication1.UDSPartClass..ctor(GameClass tgame, Int32 twidth, Int32 theight, String tTexty, Bitmap& tbackbitmap, Int32 bbx, Int32 bby, Boolean talwaysBlockScrollBar, Boolean tJustCheckHeight, Boolean tAllGray, Boolean tAlwaysShowBackground, Boolean tNoBackground, Boolean noBitmapDraw) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:línea 120
    en WindowsApplication1.TabCardsWindowClass2.dostuff() en G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_TabCardsWindow2.vb:línea 2036
    en WindowsApplication1.TabCardsWindowClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_TabCardsWindow2.vb:línea 2882
    en WindowsApplication1.PlayScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:línea 430
    en WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) en G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:línea 1402
    en System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
    en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
    en System.Windows.Forms.Control.WndProc(Message& m)
    en System.Windows.Forms.Form.WndProc(Message& m)
    en WindowsApplication1.ImmoveableForm.WndProc(Message& m) en G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:línea 67
    en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

2nd crash message

Code: Select all

************** Texto de la excepción **************
 System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
    en WindowsApplication1.CustomBitmapClass.DrawUnitBig(Int32 nr, Boolean forcehighlight, Graphics toG, Int32 tx, Int32 ty, Boolean ShowAttacker, Int32 OverruleHis, Int32 OverrulePower, Int32 OverruleRegime, Boolean FullRecon, Boolean mostlyHidden) en G:\VR\VRDevelopment\WindowsApplication1\GUI\GraphicsAndSounds\Se1_CustomBitmapClass.vb:línea 5505
    en WindowsApplication1.UDSPartClass.DrawElement(Int32 i, Graphics& g, Boolean firstCall, Boolean high) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:línea 995
    en WindowsApplication1.UDSPartClass.MakeBitmap() en G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:línea 714
    en WindowsApplication1.UDSPartClass..ctor(GameClass tgame, Int32 twidth, Int32 theight, String tTexty, Bitmap& tbackbitmap, Int32 bbx, Int32 bby, Boolean talwaysBlockScrollBar, Boolean tJustCheckHeight, Boolean tAllGray, Boolean tAlwaysShowBackground, Boolean tNoBackground, Boolean noBitmapDraw) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Subparts\NewSubparts\UDSPartClass.vb:línea 120
    en WindowsApplication1.TabCardsWindowClass2.dostuff() en G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_TabCardsWindow2.vb:línea 2036
    en WindowsApplication1.TabCardsWindowClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\Se1_TabCardsWindow2.vb:línea 2882
    en WindowsApplication1.PlayScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) en G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\NewScreens\PlayScreenClass2.vb:línea 430
    en WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) en G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:línea 1402
    en System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
    en System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
    en System.Windows.Forms.Control.WndProc(Message& m)
    en System.Windows.Forms.Form.WndProc(Message& m)
    en WindowsApplication1.ImmoveableForm.WndProc(Message& m) en G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:línea 67
    en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




I tried to play the turn almost identical and I got the crash again, I tried a third time writing down the steps but I couldn't repeat it anymore :(
Amateurs talk about strategy. Professionals talk about logistics!
User avatar
Nachtjager
Posts: 71
Joined: Fri Mar 02, 2018 4:17 am

RE: [1.05b7b] Crash when selecting Strategram

Post by Nachtjager »

No idea if the cause is remotely similar, but it sounds similar to the crash I had in this thread: https://www.matrixgames.com/forums/tm.asp?m=4894423

I also crashed twice in a row while trying to play stratagems after playing the turn the same, but the third time I couldn't repeat it.
Post Reply

Return to “Tech Support”