Afforess
The White Wizard
In my XML logs, I am finding 1,000's of these similiar lines occurring in differing *.xml files.Code:[29978.228] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml [29978.244] info type NONE not found, Current XML file is: xml\Units/CIV4UnitInfos.xml
Can I replace the code below
withCode:<HolyCity>NONE</HolyCity> <ReligionType>NONE</ReligionType> <StateReligion>NONE</StateReligion> <PrereqReligion>NONE</PrereqReligion> <PrereqCorporation>NONE</PrereqCorporation>
this code ?Code:<HolyCity/> <ReligionType/> <StateReligion/> <PrereqReligion/> <PrereqCorporation/>
If you are doing an SDK mod, it's easier to comment out the part of the SDK that logs that info. See, what happens is that it searches in the info-table for NONE, and since it is not found, it returns a -1. A -1 is what you want, so nothing bad happens.
But yes, you can change those lines.