ok I got over this problem by deleting references to partisans from the extrapillage code, I can now successfully compile the .dll, but I get 2 warnings:
1>CvUnit.cpp
1>CvUnit.cpp(4884) : warning C4101: 'iK' : unreferenced local variable
1>CvUnit.cpp(4884) : warning C4101: 'iJ' : unreferenced local variable
When I try to run the game with the new .dll I get a bunch of xml errors:
Could the 2 be related...any other thoughts on a solution?
The strange thing is that in the civilopedia (At Start Menu) The Units and Promotions are gone, but the leaders and their traits seen to display fine...?!?!?
1>CvUnit.cpp
1>CvUnit.cpp(4884) : warning C4101: 'iK' : unreferenced local variable
1>CvUnit.cpp(4884) : warning C4101: 'iJ' : unreferenced local variable
When I try to run the game with the new .dll I get a bunch of xml errors:
Spoiler :
failed loading XML file xml\Units/CIV4UnitClassINfos.xml.
LoadXML call failed for Units/CIV4UnitClassInfos.xml.
Tag: UNITCLASS_GREAT_PROTECTOR in Info class was incorrect
Current XML file is: xml\GameInfo/CIV4SpecialistInfos.xml
Tag: UNITCLASS_SCIENTIST in info class was incorrect
Current XML file is: xml\GameInfo/CIV4SpecialistInfos.xml
Then it goes through each of the specialist types, I am assuming that these are jsut from the broken file.
LoadXML call failed for Units/CIV4UnitClassInfos.xml.
Failed Loading XML file xml\Units/CIV4AnimationInfos.xml
Failed Loading XML file xml\Units/CIV4AnimationPathInfos.xml
LoadXML call failed for Units/CIV4AnimationPathInfos.xml.
Failed Loading XML file xml\Units/CIV4PromotionInfos.xml
LoadXML call failed for Units/CIV4PromotionInfos.xml.
Allocating zero or less memory in
CvXMLLoadUtility::SetVariableListTagPair
Current XML file is: xml\Civilizations/CIV4TraitInfos.xml
There are more siblings than memory allocated for them in
CvXMLLoadUtility::SetVariableListTagPair
Current XML file is: xml\Civilizations/CIV4TraitInfos.xml
then onto promotions and some other files, if you want the exhaustive list I can continue later.
Cheers guys
LoadXML call failed for Units/CIV4UnitClassInfos.xml.
Tag: UNITCLASS_GREAT_PROTECTOR in Info class was incorrect
Current XML file is: xml\GameInfo/CIV4SpecialistInfos.xml
Tag: UNITCLASS_SCIENTIST in info class was incorrect
Current XML file is: xml\GameInfo/CIV4SpecialistInfos.xml
Then it goes through each of the specialist types, I am assuming that these are jsut from the broken file.
LoadXML call failed for Units/CIV4UnitClassInfos.xml.
Failed Loading XML file xml\Units/CIV4AnimationInfos.xml
Failed Loading XML file xml\Units/CIV4AnimationPathInfos.xml
LoadXML call failed for Units/CIV4AnimationPathInfos.xml.
Failed Loading XML file xml\Units/CIV4PromotionInfos.xml
LoadXML call failed for Units/CIV4PromotionInfos.xml.
Allocating zero or less memory in
CvXMLLoadUtility::SetVariableListTagPair
Current XML file is: xml\Civilizations/CIV4TraitInfos.xml
There are more siblings than memory allocated for them in
CvXMLLoadUtility::SetVariableListTagPair
Current XML file is: xml\Civilizations/CIV4TraitInfos.xml
then onto promotions and some other files, if you want the exhaustive list I can continue later.
Cheers guys
Could the 2 be related...any other thoughts on a solution?
The strange thing is that in the civilopedia (At Start Menu) The Units and Promotions are gone, but the leaders and their traits seen to display fine...?!?!?