[1.10] Excpetion when loading previous version saves (Full Version)

All Forums >> [New Releases from Matrix Games] >> Shadow Empire >> Tech Support



Message


ZygfrydDeLowe -> [1.10] Excpetion when loading previous version saves (11/18/2021 4:32:06 PM)

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)
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.




Vic -> RE: [1.10] Excpetion when loading previous version saves (11/18/2021 8:46:10 PM)

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

would be much appreciated!

best wishes,
Vic




ZygfrydDeLowe -> RE: [1.10] Excpetion when loading previous version saves (11/18/2021 9:37:38 PM)

Save file sent

Best regards,
ZDL




Vic -> RE: [1.10] Excpetion when loading previous version saves (11/19/2021 10:26:39 AM)

Thanks. Bug found.




ZygfrydDeLowe -> RE: [1.10] Excpetion when loading previous version saves (11/19/2021 4:58:55 PM)

Fix worked like a charm, thank you.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.531006