Author Topic: Unhandled Errors: different  (Read 1918 times)

Offline ductape

  • Newbie
  • *
  • Posts: 2
Unhandled Errors: different
« on: April 14, 2010, 04:47:38 am »
I bought AI War on Steam a while back, right around when it first went on Steam. I was able to play no problem.

Recently, I decided I really wanted to play again, and consider buying the update. I downloaded and tried to run it. I got the pasted below errors when trying to run it for the first time:

4/14/2010 1:35:51 AM (3.0.6.0Trial)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------SlimDX.DirectSound.DirectSoundException: Unknown: n/a (-2004287480)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.DirectSound.SoundBuffer.Play(Int32 priority, PlayFlags flags)
   at AIWar.GameMusic.DataTransferActivity() in C:\vcprojs\AIWar\DX\GameMusic.cs:line 215
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
4/14/2010 1:36:11 AM (3.0.6.0Trial)
-----------------------------------Application_ThreadException-----------------------------------System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Kjs.AppLife.Update.Controller.UpdateController'.
   at Kjs.AppLife.Update.Controller.UpdateController.i()
   at Kjs.AppLife.Update.Controller.UpdateController.b(Boolean A_0)
   at Kjs.AppLife.Update.Controller.UpdateController.CheckForUpdateAsync()
   at AIWar.Windows.Updates.CheckAllUpdates() in C:\vcprojs\AIWar\Windows\Updates.cs:line 72
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 258
   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)


thanks. awesome game.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Unhandled Errors: different
« Reply #1 on: April 14, 2010, 09:20:51 am »
Hey there,

Sorry to hear of your trouble, but glad you've been enjoying the game.  From the error you are posting, it appears that there is an internal error in DirectSound.  It could be that one of the sound files is corrupt, but honestly it should recover from something like that and the error would usually be different.  So you can try using Steam to verify that all your files downloaded correctly, but most likely that is not it.

Doing a quick search on the directsound error 2004287480, and it seems that the problem is general corruption in the DirectX9 DirectSound implementation.  Potentially if you have only been playing really recent FPS-type games, they were using DirectX10 XAudio, and so this problem went unnoticed until you loaded up something that uses DirectX9 (we do so for the sake of backwards compatibility with older hardware).  Generally the solution is to install the latest DirectX Redistributable, which should fix any issues in any of your components of directx.

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 ductape

  • Newbie
  • *
  • Posts: 2
Re: Unhandled Errors: different
« Reply #2 on: April 14, 2010, 04:04:19 pm »
worked, thank you!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Unhandled Errors: different
« Reply #3 on: April 14, 2010, 04:05:47 pm »
Wonderful -- my pleasure!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!