Arcen Games

General Category => AI War Classic => AI War Classic - Technical Support => Topic started by: SyberSmoke on August 08, 2014, 07:12:07 pm

Title: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 08, 2014, 07:12:07 pm
I guess I went and bought this at the wrong time but hey, that is life.  After seeing it on RPS it sounded like something I would like.  Bought the full pack through steam and downloaded finished.  I got to play for 70 minutes...and now I am getting a crash after Init Load of:

The exception Breakpoint
A breakpoint has been reached.
(0x80000003) occured in the application at location 0x7781805d.

I have done much of what has been suggested, Avast has Steam directory as an exception.  Heck I even turned Avast off...nope.  Compatibility mode...nope.  Elevation to Administrator...It gets to the title then crashes.  So...the low hanging fruit have been picked and it is time to use the forum ladder.

Attached are copies of my DxDiag and the crash log from inside the RuntimeData folder.  If more is needed I will be watching.

Edit: Tried the Beta of Steam...nope.
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 08, 2014, 08:57:18 pm
Sorry for the inconvenience :(  This sounds anti-virus related but I guess not if you've already turned it off.  Sometimes antivirus's interpret "turn off" as "be even stricter", but maybe that's an older generation of antivirus. 

I've let Chris know since he's been making various changes to the render pipeline and such for compatibility with the new version of unity and also with linux, so he might have some ideas.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 08, 2014, 09:03:32 pm
Yeah Avast was the first thing, first creating an exception for the Steam Directory and then just turning it off completely.  Right now I am trying re-download and install.  I did download the stand alone version on your site and that works fine...catch is for some reason steam can not give me the CD key.  It is stuck at "Requesting Key", what fun it is today.

Any way may be steam will get their act together for at least the keys.  And I hope that this issue will help solve some problems.
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 08, 2014, 09:05:20 pm
Oh, the standalone version works?  Well, this might be simpler than I thought: go into the AIW directory in your steam library, and run AIWar.exe directly.  You won't get the steam overlay, but it should run and not be in trial mode.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 08, 2014, 09:19:47 pm
I tried that actually...it got to the title screen...then a split second after the fade crashed.
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 08, 2014, 09:37:10 pm
I tried that actually...it got to the title screen...then a split second after the fade crashed.
Sigh.  Ah well, worth a try.

Could you try copying your steam AIW's RuntimeData directory over the RuntimeData directory of your non-steam install?  That should snap that one out of trial mode.  Obviously the steam copy should work too, but playing is better than not playing.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 08, 2014, 10:27:05 pm
Ok, after a complete reinstall it still bombs in the same way...interesting.  I will transfer the files...does that folder include the DLC in the $16 pack?

Huh...still wants a Cd key including those for the DLC.  And steam is still showing me a "Requesting Key..." from the AI War: Fleet Command CD Key menu.  Interesting...well back to minecraft I guess.  :-D
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 08, 2014, 10:29:04 pm
does that folder include the DLC in the $16 pack?
Yep :)  It's in RuntimeData/Expansions/ , with one subfolder for each expansion.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 08, 2014, 10:37:17 pm
Well I am not sure what to do.  Steam is not giving me keys, so where does steam get the keys from.  AND could steams inability to supply keys cause a crash in the steam version of the game?
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 08, 2014, 10:41:47 pm
Well I am not sure what to do.  Steam is not giving me keys, so where does steam get the keys from.  AND could steams inability to supply keys cause a crash in the steam version of the game?
It actually doesn't need to give you keys for the steam version to work anymore, since we moved to a license-key-less approach.

Did copying the RuntimeData stuff over to the non-steam copy help make that one not trial mode?
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 08, 2014, 10:43:34 pm
And the keys thing shouldn't have anything to do with the game once it's running, as the game doesn't use any of steam's DRM, etc.
Title: Re: Crash on start, suggestions tried and died.
Post by: x4000 on August 09, 2014, 02:39:15 pm
Hi there, sorry about the troubles.

Can you look in your RuntimeData folder and post any error logs from there after you run the new version that is now released?  And also, can you look in your AIWar_Data folder and post your output.log?

Additionally, I've now released 7.059, so there's a chance your issue may be fixed in there regardless.  Release notes: http://arcengames.com/mediawiki/index.php?title=AI_War_-_Current_Post-7.000_Beta#Prerelease_7.059

You can restart steam to force an update.

Additionally, I think this thread on various Last Federation crashes and how people worked around them (what other programs were interfering) may be useful: http://steamcommunity.com/app/273070/discussions/0/558753803782716565/  It may be that some things that were previously not affecting AI War because of the old graphics pipeline now are, I'm not sure.

Specifically of interest are that windowblinds causes issues, and apparently msi afterburner.

Hope this helps!

---

As an aside, about the keys, that is all working properly.  It's not supposed to be giving you a key at all, but steam's server just kind of sits there requesting for some reason, though, rather than telling you that.  Our current website version is on a much much older version of AI War.

There is a new beta version in steam called oldgfxpipeline that will take you back to the version that was previously working for you, which you can use in the meantime if your issue persists.  That will at least let you play while we try to resolve your issue on the main release path, if that is something that isn't either already fixed or an interaction with some other program that objects to the new graphics pipeline.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 09, 2014, 03:17:07 pm
Updated through Steam...Check
Logs purged before start...Check
Application starts properly...Fail, Breakpoint reached
Uploading new logs...Check

:-D Gotta have  my fun some how.


Edit:
Achievement Get:  Head-Scratch Moment - After the first crash games starts...subsequent starts...the game crashes.  Such a tease.  It let me put in a profile name that one start after the first crash.  I exited out to see if it would do it again.  It now crashes again with either a Breakpoint error or nothing at all.  Logs are after the nothing at all crash.

And please pardon the Minecraft reference, I play it a lot.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 09, 2014, 07:57:28 pm
Hurm...So it is specifically something in the settings.  Default settings do not crash...so with out the settings.dat file the game starts.  Tried setting to windowed...no joy there.  Interesting what is going on...also turned off Auto Update check...nope still crashed.

Or not...it is odd since it is intermittent.  Some times it goes...most of the time it is a no go.  Strong in the ways of stubborn this one is...Yes.
Title: Re: Crash on start, suggestions tried and died.
Post by: x4000 on August 09, 2014, 08:32:35 pm
Thanks for the log files.  That is super odd that it is sometimes happening and sometimes not, and that the default settings seem okay. :/

There is one other guy also with this problem intermittently, if you want to compare any notes: http://www.arcengames.com/mantisbt/view.php?id=15650


A new version 7.060 is now out, hopefully that helps. There were some errors in your logs that made it seem very likely that automatic update checks were getting killed by some form of antivirus.  Some people have said Avast continues to still run and randomly kill games even when disabled, from what I've heard.  Not just our games; it's been kind of nutty.

Anyway, I should have mentioned this before, but in your settings.dat file inside your RuntimeData folder, you can add/change the following line:

AutomaticallyCheckForUpdates:1

to

AutomaticallyCheckForUpdates:0

That would prevent the crash if it is indeed update-check-related.  One way or another, even if Avast is still killing the game, that would stop it for sure, because Avast would only be killing it because of the call out to amazon to see if there are new updates or not.  With that off, Avast would be fine with the game.

You can restart steam to force a new update.

No problem on the minecraft reference, I also love it. :)
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 09, 2014, 08:50:24 pm
The interesting thing for me is that avast has had no issues with any other unity game I have.  Kerbal and many others run flawlessly.  So...may be avast is just being picky.  I will see what the update offers, but yeah some times it works, some times it does not...for what ever reason.

Autoupdate check is off.

Ok, interesting tidbit.  I am getting three distinct crashes, and after the third, the game will run...once.

First Crash:
Fatal Error in GC
DuplicateHandle failed

Second Crash:
Breakpoint Exception: Breakpoint has been reached.  Same error as is OP.

Third Crash:
Nothing...no notice...just a CTD and that is that.

After CTD, the game will start once...then it begins again for a while.  All three logs from the will be added.  It is odd because if I rapid fire the launches, I get those three crashes...but after a couple starts...it starts.  Hope this is helping.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 09, 2014, 09:13:52 pm
Hurm...may have put that in another post...oh well.  Not sure if you watch for post updates or not.
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 09, 2014, 10:52:44 pm
We don't get email notifications of a post edit, so if you're trying to get our attention with new information then a new post is better than an edit, yes :)

On the three crashes and then it working... totally bizarre.  I've seen some/all of those error types individually, but it not being consistent about them is new to me.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 09, 2014, 11:06:04 pm
If there is anything I could run, or may be a debug version that would give you more insight into what is happening I would be open to running it.  I know stuff happens and things on my system may not be as clear.  So if I can help in some added way I would be very happy to.
Title: Re: Crash on start, suggestions tried and died.
Post by: x4000 on August 11, 2014, 09:58:10 am
Okay, so basically AVAST is being a complete jerk and doesn't stop killing AI War until AVAST is uninstalled, according to the other guy: http://www.arcengames.com/mantisbt/view.php?id=15650

I've heard tell of this sort of thing with other games of both ours, and other developers.  AVAST lately isn't listening to folder exclusions OR being fully disabled, which are definitely kind of notable bugs in an antivirus.

I'm honestly not sure why AVAST is now picking on AI War when it was not previously, but it seems to be something related to simply being on the newer version of the unity engine, which isn't something we can really do anything about.

If you are feeling experimental, you might try uninstalling AVAST to make absolutely sure that's what the crashing is being caused by, but we and other developers have seen this before.  AVAST has gotten a number of complaints about that in some of their forums IIRC, and I haven't seen any movement on that issue. :/
Title: Re: Crash on start, suggestions tried and died.
Post by: Aklyon on August 11, 2014, 11:20:44 am
MSE is a relatively quick to install/free antivirus if you don't want to leave it with nothing if you decide to be experimental.
Title: Re: Crash on start, suggestions tried and died.
Post by: keith.lamothe on August 11, 2014, 11:41:48 am
Maybe AVAST has heard of the AI, and is attempting to defend humanity.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 11, 2014, 02:48:28 pm
Well as one report has put forward, antivirus tools are becomming less relevant due to the number of critters released each day.  Kind of funny really...we have viruses and root kits that infect the systems...why has no applied the same philosophy to cures...an antibody package that spreads across networks killing the bugs with out having to install bulky, bug riddled, and iffy tools.
Title: Re: Crash on start, suggestions tried and died.
Post by: x4000 on August 11, 2014, 02:52:18 pm
Yeah, I have to agree.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 11, 2014, 03:00:07 pm
Looks like it was Avast...well that sucks.  Eah may be I will just pony up the $50 to MalwareBytes and be done with it.  They have never steered me wrong at least.  Thanks for the help and I look forward to enjoying your game.

As a question, do you guys entertaining thoughts for games?  Like something for a new property?  I do like space games and am a graphic artist with a degree in Game Design.  Sadly it took me no where (stay at home father), but that does not stop me from thinking.
Title: Re: Crash on start, suggestions tried and died.
Post by: x4000 on August 11, 2014, 03:32:46 pm
Sorry to hear about Avast -- they have indeed really been on a roll lately with mucking with other programs for some reason. :/

Quote
As a question, do you guys entertaining thoughts for games?  Like something for a new property?  I do like space games and am a graphic artist with a degree in Game Design.  Sadly it took me no where (stay at home father), but that does not stop me from thinking.

Generally speaking not, although often people bring up things and we discuss them (typically in the Game Design or Off Topic forums).  We do take suggestions on additions for our existing games _quite_ frequently, though.  A lot of the expansion ideas for AI War ships and features and whatnot came from players, who were credited for them in the release notes.  And a lot of the features and whatnot in the games themselves, once we get to at least beta status.

But in terms of overall core entire ideas for games outright, the only time one of those has come from someone other than myself (with key assistance from other staff) is Tidalis, and that was from my good friend Lars Bull, another game designer.  That was a fun experience, but generally speaking I have to be really passionate about a project before I start investing hundreds of thousands of dollars into making it -- each one is a big risk, and even our cheapest games took tens of thousands to make.

I keep a document of game ideas that are possibilities for future titles, and there are several dozen on there right now, with more being added each year than we take off of it, heh.  So really, core game concepts are not in short supply, it's a matter of picking the ones that I can visualize the clearest and that I'm most interested in and that seem like they would have the most market potential.

But once a game is in motion and has found an identity, then I am all about collaboration in terms of helping to refine that and make it far better than I could have just by myself.
Title: Re: Crash on start, suggestions tried and died.
Post by: SyberSmoke on August 11, 2014, 03:48:49 pm
Yeah thoughts (Prefer to say thoughts...Ideas in my mind has a sense of mental attachment, a "good idea" is something people have died over) are a dime a dozen much of the time and you never know how they will play out until they are prototyped.  I have been a fan os space games for many years ever since I first saw Homeworld and said in my head "Holy Shit...F'n finally".

Any way if you would entertain a private discussion at some point I would not mind a different perspective from what is in my head.  I still have a book to edit (Table Top RPG) and I see no need to air the laundry in public right now.
Title: Re: Crash on start, suggestions tried and died.
Post by: Silver on August 22, 2014, 07:07:51 am
I was able to start the game after adding the entire directory (Program Files->AI War) to the exclusions list. You can find this via Avast tools-> scroll all the way down.

But yes, there is no excuse for the game still crashing while the shields are disabled.
Title: Re: Crash on start, suggestions tried and died.
Post by: x4000 on August 22, 2014, 09:45:12 am
Awesome, thank you for the tip on that with the entire-directory exclusion!  Very good to know.