deanej
Deity
I'm having CTD problems with my Star Trek mod again. In the Deep Space Nine scenario, a CTD happens when the Breen enter the war. I have little idea what causes it; I only know that the following assert messages occur (in addition to a bunch that I've verified as seemingly harmless):
I think the problem is related to the last two, but I have no clue as to why. The war declaration method in the python used here is almost identical to the ones used for the other powers entering the war. There's a save here; just hit end turn and you should get the crash after a very long wait. The link to the mod is in my sig.
Also, on an unrelated note, do you have any idea how I can make it so that when the leader of a civ changes, the name changes as well? Currently the name won't change if the leader name is stored in a scenario file (easy to work around) or if the game was loaded from a save.
Spoiler :
Assert Failed
File: CvTeam.cpp
Line: 1835
Expression: !(AI_isSneakAttackPreparing((TeamTypes)iI))
Message:
----------------------------------------------------------
Assert Failed
File: CvGlobals.cpp
Line: 3493
Expression: strcmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type UNIT_GALOR not found, Current XML file is: xml\GameInfo/CIV4EspionageMissionInfo.xml
----------------------------------------------------------
Note: I also get similar messages about the Keldon and Hideki in addition to the Galor. Why would all the Cardassian units become linked to Civ4EspionageMissionInfo?
Assert Failed
File: CvPlayer.cpp
Line: 2122
Expression: eUnit != NO_UNIT
Message: Unit is not assigned a valid value
----------------------------------------------------------
Assert Failed
File: CvUnit.cpp
Line: 91
Expression: NO_UNIT != eUnit
Message:
----------------------------------------------------------
File: CvTeam.cpp
Line: 1835
Expression: !(AI_isSneakAttackPreparing((TeamTypes)iI))
Message:
----------------------------------------------------------
Assert Failed
File: CvGlobals.cpp
Line: 3493
Expression: strcmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message: info type UNIT_GALOR not found, Current XML file is: xml\GameInfo/CIV4EspionageMissionInfo.xml
----------------------------------------------------------
Note: I also get similar messages about the Keldon and Hideki in addition to the Galor. Why would all the Cardassian units become linked to Civ4EspionageMissionInfo?
Assert Failed
File: CvPlayer.cpp
Line: 2122
Expression: eUnit != NO_UNIT
Message: Unit is not assigned a valid value
----------------------------------------------------------
Assert Failed
File: CvUnit.cpp
Line: 91
Expression: NO_UNIT != eUnit
Message:
----------------------------------------------------------
I think the problem is related to the last two, but I have no clue as to why. The war declaration method in the python used here is almost identical to the ones used for the other powers entering the war. There's a save here; just hit end turn and you should get the crash after a very long wait. The link to the mod is in my sig.
Also, on an unrelated note, do you have any idea how I can make it so that when the leader of a civ changes, the name changes as well? Currently the name won't change if the leader name is stored in a scenario file (easy to work around) or if the game was loaded from a save.