Hi so made a new district mod but the icon and text are not uploading. I don't understand what's wrong.
Edit: so specifically I'm confused as to why the datbase logs gives me an ERROR: no such table: IconDefinitions and ERROR: no such table: LocalizedText. These tables are definitely a part of the game. I tried reverifying the integrity of the files but still same error.
The Database logs show:
[1634493.188] [Localization]: StartupErrorMessages.xml
[1634493.189] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[1634496.117] [Localization]: Validating Foreign Key Constraints...
[1634496.117] [Localization]: Passed Validation.
[1634496.130] [Configuration]: Validating Foreign Key Constraints...
[1634496.130] [Configuration]: Passed Validation.
[1634497.573] [FullTextSearch]: Initializing FullTextSearch
[1634498.328] [Gameplay]: Validating Foreign Key Constraints...
[1634498.340] [Gameplay]: Passed Validation.
[1634499.222] [Configuration]: Validating Foreign Key Constraints...
[1634499.222] [Configuration]: Passed Validation.
[1634500.397] [HallofFame]: Database found. Checking versions...
[1634500.400] [HallofFame]: Database is up-to-date!
[1634514.967] [FullTextSearch]: FTS - Creating Context
[1634532.068] [Gameplay] ERROR: no such table: IconDefinitions
[1634532.068] [Gameplay]: In Query - insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);
[1634532.068] [Gameplay]: In XMLSerializer while updating table IconDefinitions from file Icons.xml.
[1634532.070] [Gameplay] ERROR: no such table: LocalizedText
[1634532.070] [Gameplay]: In Query - insert into LocalizedText('Tag', 'Language', 'Text') values (?, ?, ?);
[1634532.070] [Gameplay]: In XMLSerializer while updating table LocalizedText from file Text.xml.
[1634532.422] [Gameplay]: Validating Foreign Key Constraints...
[1634532.445] [Gameplay]: Passed Validation.
[1634541.200] [FullTextSearch]: FTS - Creating Context
[1634541.200] [FullTextSearch]: FTS - Creating Context
[1634541.534] [FullTextSearch]: FTS - Creating Context
[1634541.852] [FullTextSearch]: FTS - Creating Context
[1634543.018] [FullTextSearch]: FTS - Creating Context
[1634600.383] [Configuration]: Validating Foreign Key Constraints...
[1634600.383] [Configuration]: Passed Validation.
[1634601.283] [FullTextSearch]: FTS - Creating Context
[1634607.304] [FullTextSearch]: FTS - Creating Context
[1634656.302] [Configuration]: Validating Foreign Key Constraints...
[1634656.303] [Configuration]: Passed Validation.
[1634687.092] [Gameplay] ERROR: no such table: IconDefinitions
[1634687.092] [Gameplay]: In Query - insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);
[1634687.092] [Gameplay]: In XMLSerializer while updating table IconDefinitions from file Icons.xml.
[1634687.092] [Gameplay] ERROR: no such table: LocalizedText
[1634687.092] [Gameplay]: In Query - insert into LocalizedText('Tag', 'Language', 'Text') values (?, ?, ?);
[1634687.092] [Gameplay]: In XMLSerializer while updating table LocalizedText from file Text.xml.
[1634687.144] [Gameplay] ERROR: UNIQUE constraint failed: BuildingModifiers.BuildingType, BuildingModifiers.ModifierId
[1634687.144] [Gameplay] ERROR: UNIQUE constraint failed: BuildingModifiers.BuildingType, BuildingModifiers.ModifierId
[1634687.441] [Gameplay]: Validating Foreign Key Constraints...
[1634687.468] [Gameplay]: Passed Validation.
[1634696.193] [FullTextSearch]: FTS - Creating Context
[1634696.194] [FullTextSearch]: FTS - Creating Context
[1634696.542] [FullTextSearch]: FTS - Creating Context
[1634696.849] [FullTextSearch]: FTS - Creating Context
[1634697.951] [FullTextSearch]: FTS - Creating Context
Edit: so specifically I'm confused as to why the datbase logs gives me an ERROR: no such table: IconDefinitions and ERROR: no such table: LocalizedText. These tables are definitely a part of the game. I tried reverifying the integrity of the files but still same error.
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- ICONS -->
<!-- Author: WOLF -->
<!-- DateCreated: 5/29/2020 10:54:01 AM -->
<GameInfo>
<!-- For simplicity, reuse an existing icon. -->
<IconDefinitions>
<!--Production Districts-->
<Row Name="ICON_DISTRICT_FORESTY" Atlas="ICON_ATLAS_DISTRICTS" Index="9"/>
<Row Name="ICON_DISTRICT_MASONRY" Atlas="ICON_ATLAS_DISTRICTS" Index="9"/>
</IconDefinitions>
</GameInfo>
Code:
<GameInfo>
<LocalizedText>
<Row Tag="LOC_DISTRICT_DISTRICT_FORESTRY_NAME" Language="en_US">
<Text>Forestry</Text>
</Row>
<Row Tag="LOC_DISTRICT_FORESTRY_DESCRIPTION" Language="en_US">
<Text>District that provides production for forest.</Text>
</Row>
<Row Tag="LOC_DISTRICT_DISTRICT_MASONRY_NAME" Language="en_US">
<Text>Masonry</Text>
</Row>
<Row Tag="LOC_DISTRICT_MASONRY_DESCRIPTION" Language="en_US">
<Text>District that provides production for mines and quarries.</Text>
</Row>
</LocalizedText>
</GameInfo>
The Database logs show:
[1634493.188] [Localization]: StartupErrorMessages.xml
[1634493.189] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[1634496.117] [Localization]: Validating Foreign Key Constraints...
[1634496.117] [Localization]: Passed Validation.
[1634496.130] [Configuration]: Validating Foreign Key Constraints...
[1634496.130] [Configuration]: Passed Validation.
[1634497.573] [FullTextSearch]: Initializing FullTextSearch
[1634498.328] [Gameplay]: Validating Foreign Key Constraints...
[1634498.340] [Gameplay]: Passed Validation.
[1634499.222] [Configuration]: Validating Foreign Key Constraints...
[1634499.222] [Configuration]: Passed Validation.
[1634500.397] [HallofFame]: Database found. Checking versions...
[1634500.400] [HallofFame]: Database is up-to-date!
[1634514.967] [FullTextSearch]: FTS - Creating Context
[1634532.068] [Gameplay] ERROR: no such table: IconDefinitions
[1634532.068] [Gameplay]: In Query - insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);
[1634532.068] [Gameplay]: In XMLSerializer while updating table IconDefinitions from file Icons.xml.
[1634532.070] [Gameplay] ERROR: no such table: LocalizedText
[1634532.070] [Gameplay]: In Query - insert into LocalizedText('Tag', 'Language', 'Text') values (?, ?, ?);
[1634532.070] [Gameplay]: In XMLSerializer while updating table LocalizedText from file Text.xml.
[1634532.422] [Gameplay]: Validating Foreign Key Constraints...
[1634532.445] [Gameplay]: Passed Validation.
[1634541.200] [FullTextSearch]: FTS - Creating Context
[1634541.200] [FullTextSearch]: FTS - Creating Context
[1634541.534] [FullTextSearch]: FTS - Creating Context
[1634541.852] [FullTextSearch]: FTS - Creating Context
[1634543.018] [FullTextSearch]: FTS - Creating Context
[1634600.383] [Configuration]: Validating Foreign Key Constraints...
[1634600.383] [Configuration]: Passed Validation.
[1634601.283] [FullTextSearch]: FTS - Creating Context
[1634607.304] [FullTextSearch]: FTS - Creating Context
[1634656.302] [Configuration]: Validating Foreign Key Constraints...
[1634656.303] [Configuration]: Passed Validation.
[1634687.092] [Gameplay] ERROR: no such table: IconDefinitions
[1634687.092] [Gameplay]: In Query - insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);
[1634687.092] [Gameplay]: In XMLSerializer while updating table IconDefinitions from file Icons.xml.
[1634687.092] [Gameplay] ERROR: no such table: LocalizedText
[1634687.092] [Gameplay]: In Query - insert into LocalizedText('Tag', 'Language', 'Text') values (?, ?, ?);
[1634687.092] [Gameplay]: In XMLSerializer while updating table LocalizedText from file Text.xml.
[1634687.144] [Gameplay] ERROR: UNIQUE constraint failed: BuildingModifiers.BuildingType, BuildingModifiers.ModifierId
[1634687.144] [Gameplay] ERROR: UNIQUE constraint failed: BuildingModifiers.BuildingType, BuildingModifiers.ModifierId
[1634687.441] [Gameplay]: Validating Foreign Key Constraints...
[1634687.468] [Gameplay]: Passed Validation.
[1634696.193] [FullTextSearch]: FTS - Creating Context
[1634696.194] [FullTextSearch]: FTS - Creating Context
[1634696.542] [FullTextSearch]: FTS - Creating Context
[1634696.849] [FullTextSearch]: FTS - Creating Context
[1634697.951] [FullTextSearch]: FTS - Creating Context
Last edited: