1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

[Vanilla] Mod Issues

Discussion in 'Mod Creation Help' started by Kessler, Mar 1, 2018.

  1. Kessler

    Kessler Chieftain

    Joined:
    Mar 1, 2018
    Messages:
    3
    Gender:
    Male
    I am having a few issues with my mod, the art does not show up for the icon, or for the leader, and I keep getting booted back to main menu after selecting it. I went through the Database.log and Modding.log files but I can't figure out which files are causing the issues. I will add that I used an existing mod as a base, so that may be the cause of the issues.

    Database.log:
    Code:
    [3759213.355] [Localization]: StartupErrorMessages.xml
    [3759213.355] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
    [3759223.023] [Localization]: Validating Foreign Key Constraints...
    [3759223.024] [Localization]: Passed Validation.
    [3759223.033] [Configuration]: Validating Foreign Key Constraints...
    [3759223.033] [Configuration]: Passed Validation.
    [3759228.987] [FullTextSearch]: Initializing FullTextSearch
    [3759229.872] [Gameplay]: Validating Foreign Key Constraints...
    [3759229.884] [Gameplay]: Passed Validation.
    [3759231.298] [Configuration]: Validating Foreign Key Constraints...
    [3759231.299] [Configuration]: Passed Validation.
    [3759323.050] [FullTextSearch]: FTS - Creating Context
    [3759332.026] [Gameplay] ERROR: table Units has no column named Moves
    [3759332.026] [Gameplay]: In Query - insert into Units('TraitType', 'UnitType', 'Moves', 'Cost', 'AdvisorType', 'BaseSightRange', 'ZoneOfControl', 'Domain', 'FormationClass', 'Name', 'Description', 'PurchaseYield', 'PromotionClass', 'Maintenance', 'Combat', 'MandatoryObsoleteTech', 'PrereqTech') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
    [3759332.026] [Gameplay]: In XMLSerializer while updating table Units from file Mexico_Units.xml.
    [3759332.028] [Gameplay] ERROR: FOREIGN KEY constraint failed
    [3759332.028] [Gameplay] ERROR: FOREIGN KEY constraint failed
    [3759332.028] [Gameplay]: Validating Foreign Key Constraints...
    [3759332.034] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "REQUIRES_OPPONENT_IS_BARBARIAN" does not exist in RequirementSets
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.037] [Gameplay] ERROR: Invalid Reference on TraitModifiers.TraitType - "TRAIT_CIVILIZATION_HIGH_LABORERS" does not exist in Traits
    [3759332.040] [Gameplay]: Failed Validation.
    [3759332.066] [Gameplay]: Validating Foreign Key Constraints...
    [3759332.078] [Gameplay]: Passed Validation.
    [3759333.583] [Configuration]: Validating Foreign Key Constraints...
    [3759333.584] [Configuration]: Passed Validation.
    [3759334.119] [FullTextSearch]: FTS - Creating Context
    [3759338.558] [FullTextSearch]: FullTextSearch - Shutting down
    
    Modding.log:
    Code:
    [3759228.992] Initializing Modding Framework.
    [3759228.992] C:/Users/Black/OneDrive/Documents/My Games/Sid Meier's Civilization VI/Mods.sqlite
    [3759228.992] Connected to modding database!
    [3759228.992] Ensuring Foreign Key support is enabled and set to initially deferred.
    [3759228.992] Checking database version...
    [3759228.992] Modding database is up-to-date!
    [3759228.992] Loading Stored Procedures...
    [3759228.993] Checking required procedures exist...
    [3759228.993] Initializing database queries...
    [3759228.993] Initializing Services...
    [3759228.993] Component Discovery Service initialized.
    [3759228.993] File Service initialized.
    [3759228.993] Localization Service initialized.
    [3759228.993] Mod Association Service initialized
    [3759228.994] Mod Discovery Service initialized.
    [3759228.994] Mod Loader Service initialized.
    [3759228.994] Mod Selection Service missing. Skipping.
    [3759228.994] Ownership Service initialized.
    [3759228.994] Properties Service initialized.
    [3759228.995] Subscription Service - Detected 13 subscriptions
    [3759228.995] Subscription Service - Subscription 1298403974 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.995] Subscription Service - Subscription 871861883 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.995] Subscription Service - Subscription 870768749 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.995] Subscription Service - Subscription 889162746 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 882664162 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 872275263 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 960134738 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 1308751267 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 1306876592 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 1306841085 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 1285055322 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 894221062 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service - Subscription 1242041178 - Installed? 1, Downloading? 0, DownloadPending? 0
    [3759228.996] Subscription Service initialized.
    [3759228.996] User Data Service missing. Skipping.
    [3759228.996] Services initialized!
    [3759228.996] Modding Framework is initialized.
    [3759228.996] Initializing Modding Framework took - 4ms.
    [3759228.998] Verifying enabled mods can coexist.
    [3759228.998] Discovering new mods...
    [3759229.091] Mod timestamps do not match.  Will reload the mod.
    [3759229.109] Loading Mod - C:/Users/Black/OneDrive/Documents/My Games/Sid Meier's Civilization VI/Mods/NKK Civilizations/NKK Civilizations.modinfo
    [3759229.540] Finished Discovery.
    [3759229.540] Discovery Summary:
    [3759229.540] Deleted 1 mods.
    [3759229.540] Discovered 1 mods.
    [3759229.540] New/Reloaded Mods:
    [3759229.674] eb76005c-0dd9-47e2-9a82-a65769c429ee (Nere, Kessler, Katsup Civilizations)
    [3759229.674] Discovering Mods took - 676ms.
    [3759229.676] Verifying enabled mods can coexist.
    [3759229.677] Bootstrapping game content
    [3759229.677] Loading Vanilla DLL.
    [3759229.679] Building gameplay database.
    [3759229.862] Updating gameplay database with embedded GameCore data.
    [3759229.872] Updated gameplay database with GameCore data.
    [3759229.884] Initializing Vanilla DLL.
    [3759229.964] Instantiate GameCore UI Manager.
    [3759229.964] Saving a debug version of the gameplay database.
    [3759230.981] Successfully bootstrapped game content.
    [3759230.993] Mod Art Files - Loading Nere, Kessler, Katsup Civilizations.dep
    [3759231.292] SteamCallback - SteamUGCQueryCompleted_t - 1
    [3759231.293] Configuring game content
    [3759231.293] Enabled Mods (in no particular order):
    [3759231.293] No active mods.
    [3759231.293] Target Mods (in the order they will be applied):
    [3759231.293] eb76005c-0dd9-47e2-9a82-a65769c429ee (Nere, Kessler, Katsup Civilizations)
    [3759231.293] Game configuration needs to change to match target config.
    [3759231.293] Performing pre-configure processing.
    [3759231.293] Rebuilding configuration database.
    [3759231.293] Localization database unchanged, no rollback needed.
    [3759231.293] Configuration database unchanged, no rollback needed.
    [3759231.293] Applying settings.
    [3759231.293] Modding Framework - Apply Settings
    [3759231.294] ModdingUpdateConfigurationDatabase - Loading Mexico/NerebearMexico_Config.xml
    [3759231.295] UpdateIcons - Loading Mexico/Mexico_Icons.xml
    [3759231.295] Creating database save point.
    [3759231.295] LocalizedText - Loading Text/MexicoText.xml
    [3759231.296] LocalizedText - Loading Text/NerebearDiploText.xml
    [3759231.297] Successfully released save point.
    [3759231.298] UISettingHandler - Loading Nere, Kessler, Katsup Civilizations.dep
    [3759231.298] Modding Framework - Finished Apply Settings
    [3759231.799] Successfully reconfigured game.
    [3759331.771] ************************************************************
    [3759331.771] Updating game content
    [3759331.771] ************************************************************
    [3759331.771] Applied in-game actions (in order of application):
    [3759331.771] No active mods.
    [3759331.774] Target in-game actions (in order of application):
    [3759331.774] eb76005c-0dd9-47e2-9a82-a65769c429ee (Nere, Kessler, Katsup Civilizations)
    [3759331.774]  * NewAction (UpdateDatabase)
    [3759331.774]  * NewAction (UpdateIcons)
    [3759331.774]  * NewAction (UpdateText)
    [3759331.774]  * NewAction (UpdateArt)
    [3759331.775] Game content needs to change to match target config.
    [3759331.775] Performing pre configure processing.
    [3759331.785] Unloading Gameplay DLL.
    [3759331.791] Reloading Gameplay DLL.
    [3759331.793] Reverted Localization database to its original state.
    [3759331.793] Rebuilding gameplay database.
    [3759331.989] Reverted Gameplay database to its original state.
    [3759331.989] Updating gameplay database with embedded GameCore data.
    [3759331.999] Updated gameplay database with GameCore data.
    [3759331.999] Applying mod components.
    [3759331.999] Modding Framework - Applying Components
    [3759332.021] Applying Component - NewAction (UpdateDatabase)
    [3759332.021] UpdateDatabase - Loading Mexico/Mexico_GameDefines.xml
    [3759332.024] UpdateDatabase - Loading Mexico/Mexico_Improvement.xml
    [3759332.025] UpdateDatabase - Loading Mexico/Mexico_Units.xml
    [3759332.026] Warning: UpdateDatabase - Error Loading XML.
    [3759332.026] UpdateDatabase - Loading Mexico/Nerebear_GameDefines.xml
    [3759332.027] UpdateDatabase - Loading Resources/Cocaine.xml
    [3759332.028] ERROR: Failed to release save point.
    [3759332.040] Warning: Error when calling IComponentHandler::ApplyComponent.
    [3759332.041] Applying Component - NewAction (UpdateIcons)
    [3759332.041] UpdateIcons - Loading Mexico/Mexico_Icons.xml
    [3759332.041] Applying Component - NewAction (UpdateText)
    [3759332.042] Creating database save point.
    [3759332.042] LocalizedText - Loading Text/MexicoText.xml
    [3759332.042] LocalizedText - Loading Text/NerebearDiploText.xml
    [3759332.043] Successfully released save point.
    [3759332.043] Applying Component - NewAction (UpdateArt)
    [3759332.044] ModArtLoader - Loading Nere, Kessler, Katsup Civilizations.dep
    [3759332.066] Modding Framework - Finished Apply Components
    [3759332.066] ERROR: Failed to apply enabled components.
    [3759332.120] Localization database has been updated.  Caching data.
    [3759332.402] Initializing Gameplay DLL.
    [3759332.487] Reloading Tuner states.
    [3759332.488] Saving a debug version of the gameplay database.
    [3759333.308] Performing post configure processing.
    [3759333.538] Warning: There were issues reconfiguring the game.
    [3759333.570] Configuring game content
    [3759333.570] Enabled Mods (in no particular order):
    [3759333.570] eb76005c-0dd9-47e2-9a82-a65769c429ee (Nere, Kessler, Katsup Civilizations)
    [3759333.570] Target Mods (in the order they will be applied):
    [3759333.570] eb76005c-0dd9-47e2-9a82-a65769c429ee (Nere, Kessler, Katsup Civilizations)
    [3759333.571] Game configuration needs to change to match target config.
    [3759333.571] Performing pre-configure processing.
    [3759333.571] Rebuilding configuration database.
    [3759333.571] Reverted Localization database to its original state.
    [3759333.579] Reverted Configuration database to its original state.
    [3759333.579] Applying settings.
    [3759333.579] Modding Framework - Apply Settings
    [3759333.580] ModdingUpdateConfigurationDatabase - Loading Mexico/NerebearMexico_Config.xml
    [3759333.580] UpdateIcons - Loading Mexico/Mexico_Icons.xml
    [3759333.581] Creating database save point.
    [3759333.581] LocalizedText - Loading Text/MexicoText.xml
    [3759333.581] LocalizedText - Loading Text/NerebearDiploText.xml
    [3759333.582] Successfully released save point.
    [3759333.583] UISettingHandler - Loading Nere, Kessler, Katsup Civilizations.dep
    [3759333.583] Modding Framework - Finished Apply Settings
    [3759334.046] Successfully reconfigured game.
    [3759338.544] Modding Framework - Shutting down framework.
    [3759338.544] Releasing Modding Framework Services...
    [3759338.545] Services released!
    [3759338.545] Releasing Modding Framework database queries...
    [3759338.545] Queries released!
    
     
  2. isau

    isau Warlord

    Joined:
    Jan 15, 2007
    Messages:
    2,750
    Code:
    ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "REQUIRES_OPPONENT_IS_BARBARIAN" does not exist in RequirementSets

    REQUIRES_OPPONENT_IS_BARBARIAN is a Requirement. You need to pass a RequirementSet as the SubjectRequirementSetId. Try REQUIREMENTS_OPPONENT_IS_BARBARIAN.
     
  3. Kessler

    Kessler Chieftain

    Joined:
    Mar 1, 2018
    Messages:
    3
    Gender:
    Male
    Thank you, that did fix one of my errors.
     
  4. isau

    isau Warlord

    Joined:
    Jan 15, 2007
    Messages:
    2,750
    Also check where your INSERT to the Units table. It looks like you referenced a field named Moves. The name of this field is actually BaseMoves.
     
  5. LeeS

    LeeS Imperator

    Joined:
    Jul 23, 2013
    Messages:
    5,555
    Location:
    Illinois, USA
    Code:
    [3759332.026] [Gameplay] ERROR: table Units has no column named Moves
    [3759332.026] [Gameplay]: In Query - insert into Units('TraitType', 'UnitType', 'Moves', 'Cost', 'AdvisorType', 'BaseSightRange', 'ZoneOfControl', 'Domain', 'FormationClass', 'Name', 'Description', 'PurchaseYield', 'PromotionClass', 'Maintenance', 'Combat', 'MandatoryObsoleteTech', 'PrereqTech') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
    [3759332.026] [Gameplay]: In XMLSerializer while updating table Units from file Mexico_Units.xml.
    The correct name of the column is BaseMoves. This error causes the game to ignore anything within the same file from that point onward. If file Mexico_Units.xml is part of your mod, this error is very possibly to blame for all the other errors reported in Database.log. If this file is not part of your mod, find the mod it is from and disable that mod since it is merely creating problems.

    ----

    [edit]I see where @isau already pointed you to that error.
     

Share This Page

Ebates: Get Paid to Shop