Author Topic: need help URGENT unhandle issue  (Read 1888 times)

Offline danando

  • Sr. Member
  • ****
  • Posts: 254
  • NIGHTCORE FTW
need help URGENT unhandle issue
« on: May 28, 2010, 02:51:35 pm »
i need help it comes up with this:
28/05/2010 19:48:22 (3.1.5.0Trial)
-----------------------------------Application_ThreadException-----------------------------------System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\VistaOSX\Sounds'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 137
   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)
[img width= height=]http://s11.postimage.org/qg9dneyrn/sig.jpg[/img]
>>one does not simply listen to nightcore and stop<<

Offline danando

  • Sr. Member
  • ****
  • Posts: 254
  • NIGHTCORE FTW
Re: need help URGENT unhandle issue
« Reply #1 on: May 28, 2010, 02:54:51 pm »
the game  reverted back to trial :@ sorting this now but what was this error anyway?
[img width= height=]http://s11.postimage.org/qg9dneyrn/sig.jpg[/img]
>>one does not simply listen to nightcore and stop<<

Offline wyvern83

  • Sr. Member Mark II
  • ****
  • Posts: 398
Re: need help URGENT unhandle issue
« Reply #2 on: May 28, 2010, 03:13:39 pm »
the game  reverted back to trial :@ sorting this now but what was this error anyway?

So you fixed it?

What exactly happened?

I've seem to recall hearing about games reverting to trial before but I haven't had any luck looking for it on the forums.

Offline danando

  • Sr. Member
  • ****
  • Posts: 254
  • NIGHTCORE FTW
Re: need help URGENT unhandle issue
« Reply #3 on: May 28, 2010, 03:15:51 pm »
i went to play game then came up with trial version :/ and that msg i had to use my key for both thegame and ZR expansion
[img width= height=]http://s11.postimage.org/qg9dneyrn/sig.jpg[/img]
>>one does not simply listen to nightcore and stop<<

Offline wyvern83

  • Sr. Member Mark II
  • ****
  • Posts: 398
Re: need help URGENT unhandle issue
« Reply #4 on: May 28, 2010, 03:31:43 pm »
Entering the product keys brought it out of trial mode then right?

Still strange of course. Did you do any registry or file cleaning recently?  That's about the extent of what I can come up with.
I'm not certain its been addressed either since the fix is easy enough and I don't think it was very common and/or easy to track down; x4000 or keith should know though.

Thanks for answering my question, I just found your error to be curious and was hoping I'd remember what I thought I heard about a similar occurrence. I wish I could have found where I heard of it before as it might have helped you sooner.

Offline Sizzle

  • Full Member Mark II
  • ***
  • Posts: 189
Re: need help URGENT unhandle issue
« Reply #5 on: May 28, 2010, 05:15:03 pm »
Entering the product keys brought it out of trial mode then right?

Still strange of course. Did you do any registry or file cleaning recently?  That's about the extent of what I can come up with.
I'm not certain its been addressed either since the fix is easy enough and I don't think it was very common and/or easy to track down; x4000 or keith should know though.

Thanks for answering my question, I just found your error to be curious and was hoping I'd remember what I thought I heard about a similar occurrence. I wish I could have found where I heard of it before as it might have helped you sooner.

Registry cleaning wouldn't have done anything since AI War doesn't use the registry if I recall correctly.

Now messing around with files could have done something like that.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: need help URGENT unhandle issue
« Reply #6 on: May 29, 2010, 10:17:07 am »
If there was some bug introduced by a recent prerelease into the code that loads the settings.dat file this sort of thing will happen.  On the other hand from the OP it looks like something system-specific as it's unable to find a directory it needed.
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 x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: need help URGENT unhandle issue
« Reply #7 on: June 01, 2010, 09:18:14 am »
Actually, it looks like your VistaOSX program is causig the launch directory to not be the proper directory of the program. So it was looking for files in some totally wrong folder, including the settings.dat file. I would have responded to this sooner, but the forums didn't notify me for some reason.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!