I don't know what I'm doing wrong. I have all the requirements in a single file. That file is given priority to load first. The requirements are listed as "RequirementSets", "RequirementSetRequirements", "Requirements", "RequirementArguments".
However, no matter what I do, it always fails to load. My database.log has pretty much every RequirementSet listed in Modifiers.SubjectRequirementSetId as not existing in RequirementSets.
I'm at a loss. The entire list of errors is below including one up top that I do not know how to find out.
However, no matter what I do, it always fails to load. My database.log has pretty much every RequirementSet listed in Modifiers.SubjectRequirementSetId as not existing in RequirementSets.
I'm at a loss. The entire list of errors is below including one up top that I do not know how to find out.
Code:
[1623781.184] [Gameplay] ERROR: UNIQUE constraint failed: RequirementSets.RequirementSetId
[1623781.195] [Gameplay] ERROR: UNIQUE constraint failed: RequirementSets.RequirementSetId
[1623781.268] [Gameplay] ERROR: 5 values for 6 columns
[1623781.328] [Gameplay] ERROR: FOREIGN KEY constraint failed
[1623781.328] [Gameplay] ERROR: FOREIGN KEY constraint failed
[1623781.328] [Gameplay]: Validating Foreign Key Constraints...
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_INCENSE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_SPICES" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_SPICES" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_IRON" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_HORSES" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_NITER" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_IRON" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_GYPSUM" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_MERCURY" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_COPPER" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_SILVER" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_GOLD" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_COPPER" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_MARBLE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_COAL" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_OIL" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_URANIUM" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_OIL" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_ALUMINUM" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_STRATEGIC_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "RESOURCE_IS_OIL" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_OASIS_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CIV_IS_MINOR_CIV_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_HARBOR_PLOT_IS_COAST" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "UNIT_IS_NAVAL_MELEE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "IMPROVEMENT_IS_MINE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "UNIT_IS_RELIGIOUS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_IS_IMPROVED_WINE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_COMMHUB_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_AERODROME_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "FEATURE_IS_RAINFOREST" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_PLAINS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_PLAINS_HILLS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_DESERT" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_DESERT_HILLS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "SUTAIO_CAVALRY_PLOT_IS_OPEN_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "FEATURE_IS_RAINFOREST" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLAYER_HAS_STRONG_NAVY" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLAYER_HAS_SMALL_NAVY" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLAYER_DIFFERENT_RELIGION" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "REQUIREMENTS_PLOT_HAS_COMMERCIALHUB" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "REQUIREMENTS_PLOT_HAS_HOLYSITE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "REQUIREMENTS_PLOT_HAS_HARBOR" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "REQUIREMENTS_PLOT_HAS_CAMPUS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "REQUIREMENTS_CITY_HAS_HOLYSITE_AND_CAMPUS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "IMPROVEMENT_IS_LUMBERMILL" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "IMPROVEMENT_IS_LUMBERMILL" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_IS_IMPROVED_JADE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_IS_IMPROVED_JADE" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_DESERT_HILLS_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLAYER_IS_AT_WAR_WITH_MAJOR" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "IMPROVEMENT_IS_FISHING_BOAT" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "NORWAY_HAS_COASTAL_CITY_REQUIREMENT" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_SNOW_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_SNOW_HILLS_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_STRATEGIC_REQUIREMENT" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_INDUSTRIAL_PLOT_IS_TUNDRA" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_INDUSTRIAL_PLOT_IS_TUNDRA_HILL" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "UNIT_IS_LIGHT_CAV" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_PALACE_REQUIREMENTS" does not exist in RequirementSets
[1623781.339] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_PALACE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_PALACE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_PALACE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PASTURE_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PASTURE_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CAMP_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CAMP_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "QUARRY_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "QUARRY_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "DISTRICT_IS_ENTERTAINMENT_COMPLEX" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "DISTRICT_IS_AQUEDUCT" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_FARM_TAG_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_FARM_TAG_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "HOLYSITE_IS_ADJACENT_TO_CITY_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "HOLYSITE_IS_ADJACENT_TO_CITY_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_MINE_TAG_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_MINE_TAG_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_MINE2_TAG_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_HAS_MINE2_TAG_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "HOLYSITE_IS_ADJACENT_TO_CAPITAL_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "HOLYSITE_IS_ADJACENT_TO_CAPITAL_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_ENCAMPMENT_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_CITY_CENTER_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_THEATER_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_NEIGHBORHOOD_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "UNIT_IS_MELEE" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_NEARBY_CAMPUS_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_NEARBY_COMMERCIAL_HUB_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_NEARBY_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_NEARBY_THEATER_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_NEARBY_AQUEDUCT_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_COMMERCIAL_HUB_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_HOLY_SITE_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_THEATER_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "PLOT_ADJACENT_TO_AQUEDUCT_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "CITY_HAS_SEWER_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "OPPONENT_IS_MELEE" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "LEGION_PLOT_IS_LEGION_REQUIREMENTS" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.OwnerRequirementSetId - "PLAYER_HAS_CAPITALISM_CIVIC" does not exist in RequirementSets
[1623781.340] [Gameplay] ERROR: Invalid Reference on Modifiers.OwnerRequirementSetId - "UNIT_IS_NAVAL_RANGED" does not exist in RequirementSets