ProSkillPanda12
Chieftain
- Joined
- Nov 29, 2020
- Messages
- 2
I'm trying to do a school project, and doing a mod to make my own civilization. I'm following the instructions from
. When I start Civ, I am able to choose the new player, but when it goes to start the game, I get a dialog that says "ERROR STARTING GAME" "There was an error starting the game. We recommend disabling any mods and starting again."
from logs/Database, I'm getting the following:
[364279.255] [Configuration]: Passed Validation.
[364280.054] [Gameplay] ERROR: no such table: Players
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay]: Validating Foreign Key Constraints...
[364280.077] [Gameplay] ERROR: Invalid Reference on Buildings.TraitType - "TRAIT_CIVILIZATION_BUILDING_JRA_CUSTOM" does not exist in Traits
[364280.086] [Gameplay]: Failed Validation.
And from logs/Modding:
[364279.255] [Configuration]: Passed Validation.
[364280.054] [Gameplay] ERROR: no such table: Players
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay]: Validating Foreign Key Constraints...
[364280.077] [Gameplay] ERROR: Invalid Reference on Buildings.TraitType - "TRAIT_CIVILIZATION_BUILDING_JRA_CUSTOM" does not exist in Traits
[364280.086] [Gameplay]: Failed Validation.
But I can't figure out what this means. I do have the following in 'Joshs_Template_config.sql:
--==========================================================================================================================
-- CONFIG DATA
--==========================================================================================================================
-- Players
-------------------------------------
INSERT INTO Players
(CivilizationType, Portrait, PortraitBackground, LeaderType, LeaderName, LeaderIcon, LeaderAbilityName, LeaderAbilityDescription, LeaderAbilityIcon, CivilizationName, CivilizationIcon, CivilizationAbilityName, CivilizationAbilityDescription, CivilizationAbilityIcon)
VALUES ('CIVILIZATION_JRA_CIV_CUSTOM', 'LEADER_LEADER_CUSTOM_NEUTRAL.dds', 'LEADER_JOHN_CURTIN_BACKGROUND', 'LEADER_JRA_LEADER_CUSTOM', 'LOC_LEADER_JRA_LEADER_CIV_CUSTOM_NAME', 'ICON_LEADER_JRA_LEADER_CUSTOM', 'LOC_TRAIT_LEADER_JRA_LEADER_CUSTOM_ECO_NAME', 'LOC_TRAIT_LEADER_JRA_LEADER_CUSTOM_ECO_DESCRIPTION', 'ICON_LEADER_JRA_LEADER_CUSTOM', 'LOC_CIVILIZATION_JRA_CIV_CUSTOM_NAME', 'ICON_CIVILIZATION_JRA_CIV_CUSTOM', 'LOC_TRAIT_CIVILIZATION_JRA_GRIND_NAME', 'LOC_TRAIT_CIVILIZATION_JRA_GRIND_DESCRIPTION', 'ICON_CIVILIZATION_JRA_CIV_CUSTOM');
and there are not other references to the string "Players" in any of my files. Any ideas where to go from here?
Thanks
Kyle
from logs/Database, I'm getting the following:
[364279.255] [Configuration]: Passed Validation.
[364280.054] [Gameplay] ERROR: no such table: Players
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay]: Validating Foreign Key Constraints...
[364280.077] [Gameplay] ERROR: Invalid Reference on Buildings.TraitType - "TRAIT_CIVILIZATION_BUILDING_JRA_CUSTOM" does not exist in Traits
[364280.086] [Gameplay]: Failed Validation.
And from logs/Modding:
[364279.255] [Configuration]: Passed Validation.
[364280.054] [Gameplay] ERROR: no such table: Players
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay] ERROR: FOREIGN KEY constraint failed
[364280.075] [Gameplay]: Validating Foreign Key Constraints...
[364280.077] [Gameplay] ERROR: Invalid Reference on Buildings.TraitType - "TRAIT_CIVILIZATION_BUILDING_JRA_CUSTOM" does not exist in Traits
[364280.086] [Gameplay]: Failed Validation.
But I can't figure out what this means. I do have the following in 'Joshs_Template_config.sql:
--==========================================================================================================================
-- CONFIG DATA
--==========================================================================================================================
-- Players
-------------------------------------
INSERT INTO Players
(CivilizationType, Portrait, PortraitBackground, LeaderType, LeaderName, LeaderIcon, LeaderAbilityName, LeaderAbilityDescription, LeaderAbilityIcon, CivilizationName, CivilizationIcon, CivilizationAbilityName, CivilizationAbilityDescription, CivilizationAbilityIcon)
VALUES ('CIVILIZATION_JRA_CIV_CUSTOM', 'LEADER_LEADER_CUSTOM_NEUTRAL.dds', 'LEADER_JOHN_CURTIN_BACKGROUND', 'LEADER_JRA_LEADER_CUSTOM', 'LOC_LEADER_JRA_LEADER_CIV_CUSTOM_NAME', 'ICON_LEADER_JRA_LEADER_CUSTOM', 'LOC_TRAIT_LEADER_JRA_LEADER_CUSTOM_ECO_NAME', 'LOC_TRAIT_LEADER_JRA_LEADER_CUSTOM_ECO_DESCRIPTION', 'ICON_LEADER_JRA_LEADER_CUSTOM', 'LOC_CIVILIZATION_JRA_CIV_CUSTOM_NAME', 'ICON_CIVILIZATION_JRA_CIV_CUSTOM', 'LOC_TRAIT_CIVILIZATION_JRA_GRIND_NAME', 'LOC_TRAIT_CIVILIZATION_JRA_GRIND_DESCRIPTION', 'ICON_CIVILIZATION_JRA_CIV_CUSTOM');
and there are not other references to the string "Players" in any of my files. Any ideas where to go from here?
Thanks
Kyle