Crash When Re-claiming / Self Destructing

Crash When Re-claiming / Self Destructing

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
StyxAlpha
Posts: 3
Joined: 11 Jul 2009, 19:09

Crash When Re-claiming / Self Destructing

Post by StyxAlpha »

Hi, I had a search however I couldn't find a post relating to the bug I have found. The bug is whenever I try to re-claim or self destruct something the game crashes instantaneously. I've attached the info log that it creates and have listed my system specs below;

Operating system: Windows XP SP2
Graphics card: Nvidia Geforce 9800 GT, 512 MB
cpu: AMD 2.6 Dual Core, total of 5.2 GHZ
ram: 2046MB DDR2

I also have up to date Graphics Card and DX drivers.

I've also tried reinstalling Spring however that doesn't fix the problem.

Thanks,
Styx
Attachments
infolog.txt
(21.32 KiB) Downloaded 13 times
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Crash When Re-claiming / Self Destructing

Post by hoijui »

if you played a game agasint AAI, try the version you find here:
http://springrts.com/phpbb/viewtopic.ph ... 35#p360235

if not, this is most likely a threading error, and we can not help you wiht only the infolog.

Edit:
sorry, did not look carefully enough at your infolog (saw you did use AAI) ...
in adition to using the AAI version i linked you to, have a look at the error message you get at the start of the game. it clearly states that AAI faield to initialize, and that you should have a look at its log file.
the most likely case for this is a missing config file for the mod you try to play.
StyxAlpha
Posts: 3
Joined: 11 Jul 2009, 19:09

Re: Crash When Re-claiming / Self Destructing

Post by StyxAlpha »

I'm not sure what the log says but I don't receive an error message when launching the game. Only after the game has crashed, saying that it has.

I completely re-installed the game and downloaded the mod again to check there where no missing files. I also downloaded the AAI update from the thread you linked, then coped it to C:\Program Files\Spring\AI\Skirmish\AAI\0.9 however the game still crashes in exactly the same way.

FYI: the mod was downloaded from Spring-Portal.

It might also be a good idea to mention that it is BA V6.95 that I'm running. I just tried to run Complete Annihilation Stable-3322 however that crashed as soon as the map loaded.

EDIT: I've just found out that Spring also crashes when I attempt to build a perimeter defence wall.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Crash When Re-claiming / Self Destructing

Post by hoijui »

when you launch the game, you see this message (otherwise it would not be in the log, which it is):

Code: Select all

SkirmishAI0: Failed to initialize AAI! Please view ai log for further information and check if AAI supports this mod
and to stress it again, you need config files for AAI for the mods you play. the new version of AAI should print out the abstract path to the log file (i think, not sure). it is under AI/Skimrish/AAI/0.9/log/, and the config fiels of the mods are under AI/Skimrish/AAI/0.9/cfg/mod/.

the problem wiht current release of spring is, that it does not turn of an AI if it fails to initialize, and then of course the AI may crash at random events. in future versions, AIs will be shut off when failing to initialize.
-> no crash, but you will be disapointed when you porced half the map just to find hte AI not doing anything, as you did not check the error message at the start ;-)
StyxAlpha
Posts: 3
Joined: 11 Jul 2009, 19:09

Re: Crash When Re-claiming / Self Destructing

Post by StyxAlpha »

Alright, so I need to import the AAI settings for the mod that I am playing into Springs core AAI files? If that is correct, how can I do that?

I know I sound lazy asking all these questions however to put it simply I've never altered game files and what not so I'm a complete newbie at this.

I've tried copying the contents of AAIA10 from "Mod" into AAI_log_team_0 in "Log" however that didn't work.

The original contents of "AAI_log_team_0" is;

AAI 0.9 running mod BA695.sd7

Mod config file AI\Skirmish\AAI\0.9\cfg\mod\BA695.cfg not found


Thanks for the help so far, much appreciated :)
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Crash When Re-claiming / Self Destructing

Post by hoijui »

:D
you dont have to alter the log file. the log file can tell you what is wrong.. and it does so in this case.

the mod config file it can not find (AI\Skirmish\AAI\0.9\cfg\mod\BA695.cfg) has to be there for AAI to work with this mod. as a hint, the name of the file is equal to the mod file under mod, but with the extension cfg.
so.. for mods that change a lot (like CA and S44) you will have problems creating these config files. but for BA it is very easy, as it stays practically the same inbetween releases, you can just copy/rename old config files.
go to AI\Skirmish\AAI\0.9\cfg\mod\. there you should have some BA*.cfg file(s) already. copy the latest of them to BA695.cfg.
That's it, you should now be able to run AAI with BA.
when a new version of BA is released, you have to do the same again.
The other AIs currently working with BA (KAIK nad RAI) do not need (manually maintained) config files, do they should always work with BA (and some other mods).
Post Reply

Return to “Help & Bugs”