Author Topic: [Solved] Unhandled Error - "MISSING LOCALIZATION"  (Read 3569 times)

Offline CannonFodder100

  • Newbie
  • *
  • Posts: 2
[Solved] Unhandled Error - "MISSING LOCALIZATION"
« on: November 11, 2009, 05:22:08 pm »
Upon updating from a very early version (cannot remember the specific version), I began receiving a nasty error - here are the steps.

1.) Start the game, obviously.
2.) Enter game lobby.
3.) Enter "Game Options" tab on the game settings taskbar near the bottom.
This is where the game derails - under the AI Modifiers dropdown I get a nasty "MISSING LOCALIZATI" (the last couple letters are cut off), and after about a half second I get that oh-so-wonderful "An Unhandled Exception has Occurred" popup. It displays the following:

An Unhandled Exception Has Occurred:System.Exception
Details available in UnhandledErrors.txt in the folder:
...\Arcen Games, LLC\AI War\
The game will now close.


There is a large amount of data in the aforementioned file, but here is the data relevant to the crash:

-----------------------------------Application_ThreadException-----------------------------------System.Exception: LobbyAIModifier value MISSING LOCALIZATION:NoneMod not implemented.
   at AIWar.TipWindow.SetText(Tip Tip, TipSide Side, Control Source)
   at AIWar.ScheduledTipData.TryExecute()
   at AIWar.TipWindow.CheckScheduledDisplay()
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput)
   at AIWar.GameForm.gameLoop()
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e)
   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)


Sorry for the massive post.
« Last Edit: November 12, 2009, 05:39:30 pm by Fiskbit »

Offline Volatar

  • Hero Member Mark III
  • *****
  • Posts: 1,055
  • Patient as a rock
Re: Unhandled Error - "MISSING LOCALIZATION"
« Reply #1 on: November 11, 2009, 05:40:04 pm »
Did you install all the updates? Updating from, say, 1.013 to 2.0 will not work. You must upgrade from (if I recall correctly) 1.013 -> 1.201 -> 1.301 -> 2.0

I recommend downloading the 2.0 version and completely reinstalling.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Unhandled Error - "MISSING LOCALIZATION"
« Reply #2 on: November 11, 2009, 05:53:08 pm »
You can also just unzip this directly on top of your installation, if you prefer:  http://www.arcengames.com/share/AIWar1000To2000.zip

Hope that helps!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Unhandled Error - "MISSING LOCALIZATION"
« Reply #3 on: November 11, 2009, 07:11:23 pm »
Did you install all the updates? Updating from, say, 1.013 to 2.0 will not work. You must upgrade from (if I recall correctly) 1.013 -> 1.201 -> 1.301 -> 2.0

I recommend downloading the 2.0 version and completely reinstalling.

I thought all updates were cumulative, so you could stick 2.0 over 1.001, if you wanted.

This problem is likely caused by an issue with the MSI patcher that the game uses, where it doesn't copy over localization files properly. This is usually the case with users who have been using prereleases. Unzipping the 1.000->2.000 zip file that x4000 linked to into your AI War folder should fix it. Sorry for the inconvenience!
Have ideas or bug reports for one of our games?  Click here to get started with Mantis for Suggestions and Bug Reports.  Thanks for helping to make our games better!

Offline CannonFodder100

  • Newbie
  • *
  • Posts: 2
Re: Unhandled Error - "MISSING LOCALIZATION"
« Reply #4 on: November 12, 2009, 04:43:51 pm »
Speedy reply, thanks. Fixed the problem.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Unhandled Error - "MISSING LOCALIZATION"
« Reply #5 on: November 12, 2009, 04:45:13 pm »
No problem -- great!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!