if ai doesnt make factory tech addon ,
check the number of barracks's tech addon
on sc2 buildings can share their addons.
so, if the number of barracks addon is 2 then, 
number of factory addon must more than barracks.
 
wrong coding
 
AISetStock( player, 2, c_TB_Barracks );
AISetStock( player, 2, c_TB_BarracksTechLab );
AISetStock( player, 2, c_TB_Factory);
AISetStock( player, 2, c_TB_FactoryTechLab);
 
right coding
 
AISetStock( player, 2, c_TB_Barracks );
AISetStock( player, 2, c_TB_BarracksTechLab );
AISetStock( player, 2, c_TB_Factory);
AISetStock( player, 4, c_TB_FactoryTechLab); 
			
			
			
				Thanks Yuna_Q! Much appreciated.
			
			
			
				Thank you. This is really tricky.
Is it a bug at all? since the starport tech lab could built properly. I expect either they all share the same tech lab or all count individually.
			
			
			
				Quote from: siman on March 04, 2010, 03:21:17 AM
Thank you. This is really tricky.
Is it a bug at all? since the starport tech lab could built properly. I expect either they all share the same tech lab or all count individually.
only barraks and factory, not starport 
			
 
			
			
				yes, but if tech-lab is an addon shared by all terran buildings, shouldn't all the tech-lab count together? 
now it is confusing that the tech lab of barrack and factory count together, while the starport does not. 
			
			
			
				I have not had that problem, seems wierd. sorry i can't be more helpful