Author Topic: [Solved in 3.016] Error when loading a savegame from previous release.  (Read 1395 times)

Offline HitmanN

  • Sr. Member
  • ****
  • Posts: 334
Saved a game in 3.0.0.0. Tried loading it in 3.0.1.5. Game plays as usual for a few seconds, then throws an unhandled exception. Not sure if the old saves are intended to work on a newer release as I only started playing AI War a week ago, but figured I'd report this anyways. Not an important save, so not really an inconvenience or anything.

[EDIT] Seems to happen with most of the savegames from that same game, except some of the earliest saves.


22.1.2010 17:21:08 (3.0.1.5)
-----------------------------------Application_ThreadException-----------------------------------System.NullReferenceException: Object reference not set to an instance of an object.
   at AIWar.ForegroundObject.SetPosition(Int32 X, Int32 Y) in C:\vcprojs\AIWar\Framework\ForegroundObject.cs:line 139
   at AIWar.ForegroundObject.set_LocationCenter(Point value) in C:\vcprojs\AIWar\Framework\ForegroundObject.cs:line 223
   at AIWar.ForegroundObject.RunCollisionDetection(Boolean IsForRedirection, Boolean CollidesWithWormholes, Boolean UseCollisionPriorities) in C:\vcprojs\AIWar\Framework\ForegroundObject.cs:line 7748
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 1089
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 246
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 275
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
« Last Edit: January 22, 2010, 11:04:48 am by x4000 »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Error when loading a savegame from previous release.
« Reply #1 on: January 22, 2010, 11:04:32 am »
Hi Hitman,

Thanks for the report.  This was actually a bug in 3.015 that would affect more than just a few isolated savegames -- quite a gaffe on my part, sorry about that.  At any rate, 3.016 is now out and fixes the issue.  Thanks for your support, and glad you are hopefully enjoying the game!  Saves are always forward-compatible, this was just a general crash bug.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!