Dancing Hoskuld
Deity
I have a modular component which gives an error or warning every now and then. It does not stop or change game play it just causes one bit of text to be displayed or not.
The error from PythonDbg.log is:-
The game text file is
I can't see anything wrong here. Nor can I figure out why it will work fine one time and not the next.
The error from PythonDbg.log is:-
Code:
load_module UnitGrouper
08:52:33 WARN : getText - received Unicode key TXT_KEY_UNIT_SLAVE
08:52:33 DEBUG: BugUtil.getText - XML key TXT_KEY_UNIT_SLAVE not found
load_module SevoPediaUtil
The game text file is
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by XMLSPY 2004 Professional Ed. Release 2, Installed Multi + SMP for 3 users (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Game Text - New -->
<Civ4GameText xmlns="http://www.firaxis.com">
<TEXT>
<Tag>TXT_KEY_UNIT_SLAVE</Tag>
<English>Slave</English>
<French>Slave</French>
<German>Slave</German>
<Italian>Slave</Italian>
<Spanish>Slave</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_UNIT_SLAVE_PEDIA</Tag>
<English>[TAB]Slavery is a social-economic system under which certain personsknown as slavesare deprived of personal freedom and compelled to perform labour or services. The term also refers to the status or condition of those persons who are treated as the property of another person or household. This is referred to as "chattel slavery". Slaves are held against their will from the time of their capture, purchase, or birth, and are deprived of the right to leave, to refuse to work, or to receive compensation in return for their labour. As such, slavery is one form of unfree labour. Although outlawed in nearly all countries today slavery is still secretly practiced in many parts of the world. There are an estimated 27 million victims of slavery worldwide. In Mauritania alone it is estimated that up to 600,000 men, women and children, or 20% of the population, are enslaved, many of them used as bonded labour. Slavery in Mauritania was finally criminalized in August 2007. In Niger, slavery is also a current phenomenon; a Nigerian study has found that more than 800,000 people are still slaves, almost 8% of the population.</English>
</TEXT>
<TEXT>
<Tag>TXT_KEY_UNIT_SLAVE_STRATEGY</Tag>
<English>Slaves can use their labour as citizens in the city (+1 Production) and also can be converted to warriors ,archers, or workers. </English>
</TEXT>
</Civ4GameText>
I can't see anything wrong here. Nor can I figure out why it will work fine one time and not the next.