Author Topic: [Solved] Sound not found  (Read 2325 times)

Offline liq3

  • Sr. Member
  • ****
  • Posts: 320
[Solved] Sound not found
« on: September 20, 2009, 07:59:07 am »
9/20/2009 9:57:39 PM (1.999A)
-----------------------------------Application_ThreadException-----------------------------------System.Exception: Could not find sound 'ShotMissileA'
   at AIWar.GameForm.PlaySound(String Filename, SoundType Type) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 2057
   at AIWar.ForegroundObject.FireAtObject(ForegroundObject ObjectToFireAt, Int32 OffsetAmount, FInt OffsetAngle) in C:\vcprojs\AIWar\Framework\ForegroundObject.cs:line 7408
   at AIWar.ForegroundObject.TryAttack(Boolean CanSearchForNewTargets) in C:\vcprojs\AIWar\Framework\ForegroundObject.cs:line 6855
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 1060
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 220
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 252
   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)

Self explanatory?
« Last Edit: September 25, 2009, 09:16:25 am by Fiskbit »

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Sound not found
« Reply #1 on: September 20, 2009, 08:33:25 am »
Do you have ShotMissileA?

It's present in my sounds directory (game version 1.301).
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 x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Sound not found
« Reply #2 on: September 20, 2009, 09:21:25 am »
How did you update?  Looks like it was not completely updated, whatever the method...
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 liq3

  • Sr. Member
  • ****
  • Posts: 320
Re: Sound not found
« Reply #3 on: September 21, 2009, 03:15:49 am »
How did you update?  Looks like it was not completely updated, whatever the method...
Downloaded the zip, copied them all from the zip to the folder. It does preserve the folder structure.

Checking 1.202R and 1.999A, neither of the zips have a "ShotMissileA" in them.

PS. I see. I don't generally checked the news section, so I missed 1.301. Surprised AI War didn't notify me of the update.
« Last Edit: September 21, 2009, 03:19:28 am by liq3 »

Offline Fiskbit

  • Arcen Games Contractor
  • Master Member Mark III
  • *****
  • Posts: 1,752
Re: Sound not found
« Reply #4 on: September 21, 2009, 03:34:34 am »
The game doesn't automatically check for updates; you have to tell it to do this yourself. I wonder if the game should have a setting to check for updates upon startup?

As for 1.999A, prereleases build upon the last release version, so you need 1.301 first to apply 1.999A.

Anyway, glad to hear this is resolved. :)
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 x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Sound not found
« Reply #5 on: September 21, 2009, 10:48:53 am »
Checking for updates requires the game to close, so having it check for updates on startup would cause something of an infinite loop.  But, at some point in the future I hope to have a better process for these updates in general.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!