johnnylump Posted March 3, 2014 Share Posted March 3, 2014 (edited) Been working on modding for more than a year now and still discovering things ... In ... Documents\My Games\XCOM - Enemy Within\XComGame\Logs is a file launch.log. After a recent CTD, I found this at the bottom: [0022.64] Log: === Critical error: ===Unknown code token 31XGExaltSimulation Command1.TheWorld:PersistentLevel.XGExaltSimulation_0Function XComStrategyGame.XGExaltSimulation:GetPanicMod:00F9Script call stack:Function XComStrategyGame.XGGeoscape:TickFunction XComStrategyGame.XGGeoscape:GameTickFunction XComStrategyGame.XGGeoscape:UpdateShipsFunction XComStrategyGame.XGShip_UFO:OnArrivalFunction XComStrategyGame.XGAlienObjective:NotifyOfSuccessFunction XComStrategyGame.XGStrategyAI:LogUFORecordFunction XComStrategyGame.XGCountry:AddPanicFunction XComStrategyGame.XGExaltSimulation:GetPanicMod The CTD was in fact caused by an error in local offset f9 in XGExaltSimulation.GetPanicMod. Also found feedback on bad ini entries: [0003.08] Error: Error, ImportText (ArmorKitPackageInfo): Missing closing parenthesis: (KitType=eKit_Deco_Kevlar4,ArchetypeName="Kit_LMG_I_Medium.ARC_LMG_I_Medium"")[0003.13] Error: Error, ImportText (Maps): Missing closing parenthesis: ( MapFamily="URB_TrainStation", Name="DLC1_2_CnfndLight", DisplayName="DLC1_2_CnfndLight (Guciomir variant)", MissionType=eMission_Abduction, bInRotation=True, TimeOfDay=eMissionTime_Night, ShipType=eShip_NoneERegion=eMissionRegion_Asia, CouncilType=eFCMType_None, NewMap=False, InitialChance=20, InitialGain=1.05, DynamicAliens[0]=eChar_None, StreamingMaps[0]=(MapName=CIN_DropshipIntros, Loc=(X=0,Y=0,Z=0), Rot=(Yaw=0)))[0003.16] Error: Error, ImportText (SoldierPerkTrees): Property import failed for Lieutenant1 in: (SoldierType=14, Squaddie=0, Corporal1=ePerk_CloseCombatSpecialist, Sergeant1=ePerk_Grenadier, Lieutenant1=ePerk_KillerInstict, Captain1=CloseAndPersonal,Major=ePerk_BringEmOn, Colonel1=ePerk_XenobiologyOverlays )[0003.16] Error: Error, ImportText (SoldierPerkTrees): Property import failed for Major in: (SoldierType=44, Squaddie=ePerk_PlasmaBarrage,Corporal1=ePerk_RifleSuppression_DEPRECATED, Sergeant1=ePerk_ShockAbsorbentArmor,Lieutenant1=ePerk_XenobiologyOverlays, Captain1=ePerk_Medal_UrbanB,Major=ePerk_AbsorptionField, Colonel1=ePerk_RapidFire )[0003.34] Error: Error, ImportText (Weapons): Missing closing parenthesis: ( strName="", iType=eItem_HeavyLaser, ABILITIES[0]=eAbility_ShotStandard, ABILITIES[1]=eAbility_Overwatch ABILITIES[2]=0, ABILITIES[3]=0, ABILITIES[4]=0, ABILITIES[5]=0, Properties[0]=eWP_Support, Properties[1]=0, Properties[2]=0, Properties[3]=0, Properties[4]=0, Properties[5]=0, iDamage=9, iEnvironmentDamage=40, iRange=27, iReactionRange=27, iReactionAngle=200, iRadius=0, iCritical=0, iOffenseBonus=5, iSuppression=805, iSize=eItemSize_Large, iHPBonus=0, iWillBonus=0 ); Heavy Laser[0003.49] Error: Error, ImportText (ItemBalance_Normal): Missing closing parenthesis: (eItem=eItem_MecElectroPulse iCash=180, iElerium=15015, iAlloys=15, iTime=14, iEng=35) Very, very handy for debugging. EDIT:It doesn't look like every CTD generates the critical error text, which may explain why I've not seen it before. Sometimes the log appears to cut off in the middle of a report. Edited March 3, 2014 by johnnylump Link to comment Share on other sites More sharing options...
Recommended Posts