Mod rebuild fails - CivilianAttackPriority

Dragon2

Chieftain
Joined
Nov 9, 2001
Messages
80
From the database log:

[37412.019] Validating Foreign Key Constraints...
[37412.643] Failure to check references for foreign key Units(CivilianAttackPriority).
[37412.643] no such table: CivilianAttackPriority
[37412.643] Failed Validation.

This happened with two mods that add new civilizations. Before rebuild, the mods failed because the text strings has disappeared. Now either mod produces a "texture not found" error.

Before patch 135, both these mods worked fine. I'm glad that I didn't upload them.
 
I found this new table added to CIV5Units.xml in the latest patch. It's curious that it's "CivilianAttackPriorities" here but "CivilianAttackPriority" in the error message.

<Table name="CivilianAttackPriorities">
<Column name="ID" type="integer" primarykey="true" autoincrement="true" />
<Column name="Type" type="text" notnull="true" unique="true" />
</Table>
 
I've got the same error on one of my saves. It crashes everytime at 101 turn. The windows log say something about a MSVCP90.dll file.

Anyone got a solution?
 
Back
Top Bottom