[1.10] Excpetion when loading previous version saves

Moderator: Vic

Post Reply
ZygfrydDeLowe
Posts: 91
Joined: Wed Sep 10, 2014 6:11 am

[1.10] Excpetion when loading previous version saves

Post by ZygfrydDeLowe »

Hi,

I'm getting the exception below, when trying to load a save made on the previous version (bu the game itself started long before that)

Code: Select all

System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at WindowsApplication1.CustomBitmapClass.DrawHex(Int32 cx, Int32 cy, Int32 cmap, Boolean InfoMode, Boolean NoShader, Boolean ispredrawing, Graphics tempg, Int32 tx, Int32 ty, Int32 counteralpha, Int32 Zoom, Boolean UseRegimeColoring, Boolean neverusehistory, Boolean combatSetup, Bitmap& gBitmap, Boolean& tFromMapPopup) in G:\VR\VRDevelopment\WindowsApplication1\GUI\GraphicsAndSounds\Se1_CustomBitmapClass.vb:line 8173
    at WindowsApplication1.CustomBitmapClass.MakeMiniMap(Bitmap tempBmp, Int32 bwidth, Int32 bheight, Boolean alsounits, Boolean realhex, Boolean alsoshading, Boolean predrawn, Int32 humanplayer, Boolean showflag, Boolean alsoHQ, Int32 highlightTempvar4, Boolean useTempVar3asAlpha, Boolean useTempAi2, Boolean useTempZones, Int32 specialMode1) in G:\VR\VRDevelopment\WindowsApplication1\GUI\GraphicsAndSounds\Se1_CustomBitmapClass.vb:line 3313
    at WindowsApplication1.GameLoopMainWindowClass2.FixMiniMaps() in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\se1_GameLoopWindowClass2.vb:line 1269
    at WindowsApplication1.GameLoopMainWindowClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Windows\Se1_Windows\se1_GameLoopWindowClass2.vb:line 1156
    at WindowsApplication1.GameLoopScreenClass2.HandleMouseClick(Int32 x, Int32 y, Int32 b) in G:\VR\VRDevelopment\WindowsApplication1\GUI\Screens\Se1_Screens\se1_GameLoopScreenClass2.vb:line 57
    at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e) in G:\VR\VRDevelopment\WindowsApplication1\Form1.vb:line 1548
    at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
    at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at WindowsApplication1.ImmoveableForm.WndProc(Message& m) in G:\VR\VRDevelopment\WindowsApplication1\ImmoveableForm.vb:line 68
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

Happens on fresh installation, without any mods.
User avatar
Vic
Posts: 9955
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: [1.10] Excpetion when loading previous version saves

Post by Vic »

could you mail the save game to vic@vrdesigns.net ? with a link to this thread.

would be much appreciated!

best wishes,
Vic
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
ZygfrydDeLowe
Posts: 91
Joined: Wed Sep 10, 2014 6:11 am

RE: [1.10] Excpetion when loading previous version saves

Post by ZygfrydDeLowe »

Save file sent

Best regards,
ZDL
User avatar
Vic
Posts: 9955
Joined: Mon May 17, 2004 2:17 pm
Contact:

RE: [1.10] Excpetion when loading previous version saves

Post by Vic »

Thanks. Bug found.
Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics
ZygfrydDeLowe
Posts: 91
Joined: Wed Sep 10, 2014 6:11 am

RE: [1.10] Excpetion when loading previous version saves

Post by ZygfrydDeLowe »

Fix worked like a charm, thank you.
Post Reply

Return to “Tech Support”