game dies suddenly

game dies suddenly

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

Moderators: Moderators, Moderators

Post Reply
Gurkha
Posts: 81
Joined: 31 Aug 2004, 01:53

game dies suddenly

Post by Gurkha »

no error message, the process just stops and I find myself looking at SpringSP again.
Doesn't seem to be any correlation between what's going on and the crash happening.

Game settings were:
map: Aquatic Divide V2 (but happens on others)
mod: AA 2.11(F) (but happens on the (S) variant too
AI: NTAI XE9 RC22 (not used any others, so I can't provide data)

The file, infolog.txt contains:

Code: Select all

Number of damage types: 40
Using EXT_framebuffer_object
TA Spring 0.72b1
AI has enabled cheating.
GlobalAI1: :: NTai XE9RC22 by AF
GlobalAI1: :: Copyright (C) 2006 AF
GlobalAI1:  :: 
Switching to Total War style camera
Switching to rotatable overhead camera
Switching to FPS style camera
Switching to overhead (TA) style camera
GlobalAI1: error in Sc->UnitIdle
script.txt (presumably the game setting from SpringSP):

Code: Select all


[GAME]
{
	Mapname=Aquatic_Divide_TNM05-V2.smf;
	StartMetal=7500;
	StartEnergy=7500;
	MaxUnits=750;
	StartPosType=0;
	GameMode=0;
	GameType=AASF211.sdz;
	LimitDGun=1;
	DiminishingMMs=0;
	GhostedBuildings=0;

	HostIP=localhost;
	HostPort=8452;

	MyPlayerNum=0;

	NumPlayers=1;
	NumTeams=2;
	NumAllyTeams=2;

	[PLAYER0]
	{
		name=Player;
		Spectator=0;
		team=0;
	}


	[TEAM0]
	{
		TeamLeader=0;
		AllyTeam=0;
		Color=7;
		Side=CORE;
		Handicap=0;
	}

	[TEAM1]
	{
		TeamLeader=0;
		AllyTeam=1;
		Color=2;
		Side=ARM;
		Handicap=0;
		AIDLL=aidll\globalai\NTai.dll;
	}
	[ALLYTEAM0]
	{
		NumAllies=0;
	}
	[ALLYTEAM1]
	{
		NumAllies=0;
	}
	NumRestrictions=0;
	[RESTRICT]
	{
	}
}
The logfile from /ai/ntai/logs (abridged):

Code: Select all

 :: NTAI XE9RC22 Log File 
 :: Programmed and maintained by AF 
 :: Copyright (C) 2006 AF 
 :: Released under the GPL 2.0 Liscence 
 :: Game started: 22.8.2006  17:40:44

 :: Absolute Annihilation 2.11 (F)
 :: AA for Spring v2.11 Forged Mutator
 :: First instance of NTAI
[00:00] < Frame: 0 >Section game\player1 missing in file buffer
[00:00] < Frame: 0 >Section game\player2 missing in file buffer
[00:00] < Frame: 0 >Section game\player3 missing in file buffer
[00:00] < Frame: 0 >Section game\player4 missing in file buffer
[00:00] < Frame: 0 >Section game\player5 missing in file buffer
[00:00] < Frame: 0 >Section game\player6 missing in file buffer
[00:00] < Frame: 0 >Section game\player7 missing in file buffer
[00:00] < Frame: 0 >Section game\player8 missing in file buffer
[00:00] < Frame: 0 >Section game\player9 missing in file buffer
[00:00] < Frame: 0 >Section game\player10 missing in file buffer
[00:00] < Frame: 0 >Section game\player11 missing in file buffer
[00:00] < Frame: 0 >Section game\player12 missing in file buffer
[00:00] < Frame: 0 >Section game\player13 missing in file buffer
[00:00] < Frame: 0 >Section game\player14 missing in file buffer
[00:00] < Frame: 0 >Section game\player15 missing in file buffer
[00:00] < Frame: 0 >Section game\player16 missing in file buffer
 :: Player : player :: 0
 :: AI DLL's in game
[00:00] < Frame: 0 >Section game\team2 missing in file buffer
[00:00] < Frame: 0 >Section game\team3 missing in file buffer
[00:00] < Frame: 0 >Section game\team4 missing in file buffer
[00:00] < Frame: 0 >Section game\team5 missing in file buffer
[00:00] < Frame: 0 >Section game\team6 missing in file buffer
[00:00] < Frame: 0 >Section game\team7 missing in file buffer
[00:00] < Frame: 0 >Section game\team8 missing in file buffer
[00:00] < Frame: 0 >Section game\team9 missing in file buffer
[00:00] < Frame: 0 >Section game\team10 missing in file buffer
[00:00] < Frame: 0 >Section game\team11 missing in file buffer
[00:00] < Frame: 0 >Section game\team12 missing in file buffer
[00:00] < Frame: 0 >Section game\team13 missing in file buffer
[00:00] < Frame: 0 >Section game\team14 missing in file buffer
[00:00] < Frame: 0 >Section game\team15 missing in file buffer
[00:00] < Frame: 0 >Section game\team16 missing in file buffer
 :: aidll\globalai\NTai.dll : AI :: 1

[00:00] < Frame: 0 >logging started
KAI Metal Class by Krogothe
Metal Spots couldnt be loaded from file AI/NTai\MexData\Aquatic_Divide_TNM05-V2.Mv4
Time taken to generate spots: 31ms.
Metal Spots created and saved!
Metal Spots Found 22
 :: Found 22 Metal Spots
[00:00] < Frame: 0 >Order Router constructed
[00:00] < Frame: 0 >DTHandler constructed
[00:00] < Frame: 0 >RadarHandler constructed
[00:00] < Frame: 0 >Planning constructed
[00:00] < Frame: 0 >Assigner constructed
[00:00] < Frame: 0 >Scouter constructed
[00:00] < Frame: 0 >Economy constructed
[00:00] < Frame: 0 >Manufacturer constructed
[00:00] < Frame: 0 >Chaser constructed
[00:00] < Frame: 0 >Initialisising
 :: mod.tdf failed to load, assuming default values
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >abstract == true
[00:00] < Frame: 0 >values filled
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Arrays filled
 :: Using abstract buildtree

[00:00] < Frame: 0 >Loading unit data
 :: error loading file :: AI/NTai\learn\AAF.tdf
[00:00] < Frame: 0 >Unit data loaded
 :: Aquatic_Divide_TNM05-V2.smf
 :: AASF211.sdz
 :: map size 8 x 8
[00:00] < Frame: 0 >Assigner Init'd
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Planner Init'd
No MetaTags where defined
[00:00] < Frame: 0 >Manufacturer Init'd
[00:00] < Frame: 0 >Scouter Init'd
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >Chaser Init'd
[00:00] < Frame: 0 >CManufacturer::UnitFinished
[00:00] < Frame: 0 >CManufacturer::UnitFinished role set
[00:00] < Frame: 0 >loading buildtree for ARMCOM
[00:00] < Frame: 0 >Section tasklists missing in file 
[00:00] < Frame: 0 >loaded contents of  file :: AI/NTai\Default\commander.txt :: filling buildtree
[00:00] < Frame: 0 >Section ai missing in file 
[00:00] < Frame: 0 >CManufacturer::UnitFinished buildtree loaded
[00:00] < Frame: 0 >CManufacturer::UnitFinished builder pushed back
[00:00] < Frame: 0 >Section ai missing in file 

{lots of stuff removed}

[19:29] < Frame: 35088 >Section ai missing in file 
[19:29] < Frame: 35088 >error in Sc->UnitIdle

{file ends}
Is it an AI problem? Are there other logs that would be useful?

It also tends to happen if I pause the game, alt+tab out, go away and do something and then the screensaver kicks in. Almost guaranteed if I don't pause the game before I alt+tab out. Of course, those crashes could be unrelated.

Thanks

-Gurkha
0 x

User avatar
AF
AI Developer
Posts: 20671
Joined: 14 Sep 2004, 11:32

Post by AF »

Try with the emptyai.dll
0 x

Gurkha
Posts: 81
Joined: 31 Aug 2004, 01:53

Post by Gurkha »

these crashes seem to happen at random times (as you see, this recent one happened nearly 20 minutes in) They also don't always happen. Sitting around with emptyai for hours may still not produce useful data (but I will have a go at some point)

-Gurkha

edit: ok, tried it, I left it on overnight against emptyai and it was still working in the morning. I then build some stuff, got some units and took out the enemy commander to end the game. It didn't end, I don't know if that's supposed to happen or not, but the game never crashed after over 500 minutes.
0 x

User avatar
AF
AI Developer
Posts: 20671
Joined: 14 Sep 2004, 11:32

Post by AF »

youll have to wait for XE9.23 then so I can help you, but when thats coming is upto what you do and what happens with certain other conditions I wont go into...
0 x

Post Reply

Return to “Help & Bugs”

cron