Author Topic: can't run  (Read 3841 times)

rubikscube

  • Guest
can't run
« on: February 17, 2010, 06:39:50 pm »
today, can't run the game even though i runned it before, says

AI War: Fleet Command has encountered a problem and needs to close.  We are sorry for the inconvenience.

send error report

I really didn't really want to ask for help but i'm super desperate to play the game right now

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: can't run
« Reply #1 on: February 17, 2010, 06:45:05 pm »
Please look in the game folder to see if an error was logged there in a text file like UnhandledExceptions.txt or similar.  If not, you are probably running Vista or Windows 7, in which case you need to look in C:\Users\YourWindowsUsername\AppData\Local\AIWar\ and it should be there.  You should also see a settings.dat file.

If you post the error files, then that will give us an idea of what has happened here -- if something corrupted part of the game, or a prerequisite on windows, or whatever.  While you are looking at this, also check to make sure that your settings.dat is larger than 0 kb.  If it is 0kb, then most likely that was corrupted for some reason and you should delete it and replace it with your settings.bak file from the same folder.  The recent beta versions of the game are set to do this automatically, but I don't know what version you are running.

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!

rubikscube

  • Guest
Re: can't run
« Reply #2 on: February 17, 2010, 06:50:40 pm »
thanks so much, i did find the unhandled errors, do i just copy it up here?

as for the data, it's over 0 kb.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: can't run
« Reply #3 on: February 17, 2010, 06:51:44 pm »
If you can just attach it, that is usually easiest, but pasting is also okay.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

rubikscube

  • Guest
Re: can't run
« Reply #4 on: February 17, 2010, 06:53:27 pm »
wish i knew how lol

2/4/2010 6:46:09 PM (3.0.2.7)
-----------------------------------Application_ThreadException-----------------------------------System.NullReferenceException: Object reference not set to an instance of an object.
   at AIWar.GameMusic.Dispose() in C:\vcprojs\AIWar\DX\GameMusic.cs:line 482
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 333
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 247
   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)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: can't run
« Reply #5 on: February 17, 2010, 06:55:14 pm »
wish i knew how lol

2/4/2010 6:46:09 PM (3.0.2.7)
-----------------------------------Application_ThreadException-----------------------------------System.NullReferenceException: Object reference not set to an instance of an object.
   at AIWar.GameMusic.Dispose() in C:\vcprojs\AIWar\DX\GameMusic.cs:line 482
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 333
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 247
   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)


That's a very old error, from 2/4/2010, that's not your error from today.  Is there anything else logged there?
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

rubikscube

  • Guest
Re: can't run
« Reply #6 on: February 17, 2010, 06:57:40 pm »
there's nothing else though

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: can't run
« Reply #7 on: February 17, 2010, 07:00:57 pm »
Okay, that is a much more serious error, then.  The application is not getting to run even a little bit; most likely .NET itself is corrupt, or the game executable, or something like that.  When you get the error message from windows, under "View problem details" what does it say?  Can you paste that here?
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

rubikscube

  • Guest
Re: can't run
« Reply #8 on: February 17, 2010, 07:08:21 pm »
there is only" what data does this error report contain"

clicked that, says" view contents of the rror report"

clicked that ,  shows a lot of stuff that's like full of numbers which i can't copy

Offline triggerman602

  • Sr. Member Mark II
  • ****
  • Posts: 366
Re: can't run
« Reply #9 on: February 17, 2010, 07:17:31 pm »
there is only" what data does this error report contain"

clicked that, says" view contents of the rror report"

clicked that ,  shows a lot of stuff that's like full of numbers which i can't copy

screenshot it

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: can't run
« Reply #10 on: February 17, 2010, 07:18:13 pm »
Okay... this isn't really giving me anything to go on, here.  Something is corrupt, but I don't know what.  If it was DirectX or SlimDX, I'd expect a more sensible error.  If the game executable itself was corrupt or if .NET was corrupt, this is more what I'd expect.  My suggestion would be to reinstall the last official version of the game into this same folder (or if you are on Steam or Impulse, have it "verify the integrity of the files" or whatever the wording is when you right-click the game in their client programs).  Assuming that it is the game that is corrupt, that should fix it, although you may need to temporarily rename your settings.dat to settings2.dat until you then upgrade back to the latest beta, then put that file back in place.

Also, one other thing that you could do is look under Control Panel in windows, then Administrative tools, then event viewer.  Then look under the Application section and see what has any errors in there -- odds are, the AI War error is there, though what details it will have I don't know.

You didn't recently uninstall some version of .NET or anything, right?  You might want to run a scan for viruses and spyware just to make sure nothing like that is after your stuff.  Might not be a bad idea to run a scandisk, too, if it seems it is something system-wide -- bad sectors on a hard disk can cause this sort of thing.

You could also temporarily try renaming settings.dat to settings2.dat and then run it again to make sure that there's not something really crazy going on with that file (though the latest versions of the game should failover even if so, and should give a vastly better error eitehr way.).

And if none of the above works, then that would be when it comes time to uninstall and reinstall .NET 3.5 (and/or 2.0, if that is there) -- that's a last resort, and hopefully not what you will need, and that would be definite evidence of either spyware/virus or hardware problems.

Hope that helps!
« Last Edit: February 17, 2010, 07:19:45 pm by x4000 »
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

rubikscube

  • Guest
Re: can't run
« Reply #11 on: February 17, 2010, 07:31:01 pm »
thx so much, turns out in event viewer it says net. 2.0 error, guess i'll uninstall that and reinstall

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: can't run
« Reply #12 on: February 17, 2010, 07:33:02 pm »
Cool stuff -- can you post the text from that, just so I can be sure?  Sometimes those can be a little misleading, and it's actually a problem with some .NET 2.0-based program, rather than .NET 2.0.  I'd hate to have you uninstall and reinstall .NET 2.0 when it was actually something else that got corrupted, for instance.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

rubikscube

  • Guest
Re: can't run
« Reply #13 on: February 17, 2010, 07:58:54 pm »
The description for Event ID ( 5000 ) in Source ( .NET Runtime 2.0 Error Reporting ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: clr20r3, aiwar.exe, 3.0.0.0, 4b59c9dd, aiwar, 3.0.0.0, 4b59c9dd, 6ca, 2d, system.io.filenotfoundexception, NIL.

but i deleted net . all of them, trying to reinstall


Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: can't run
« Reply #14 on: February 17, 2010, 08:06:01 pm »
system.io.filenotfoundexception

Okay, so that tells us something there.  There's a missing file, somewhere.  Most likely this is part of .NET, when the error is this far out (not through AI War reporting), that is almost always what it is.  And since this was so far out, probably that exempts DirectX and SlimDX from being the issue, too.  Good stuff!  This means it was probably .NET, so you're probably on the right track there.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!