RFormica
Imperator Silvae


---Attached is the zipped file and logs---
---Leader art is a WIP. If anyone who sees this is a good artist and would like to help, please tell me!


Attachments
Last edited:
Gut tells me you didn't change playable leader and it's still jasper kitty. It will crash the game directly. Let me download and see if that's the case.I am making a mod that adds King Edward IV as an alternate leader to England. The game keeps crashing when I start a new game as Edward IV's England. I know it is a code issue that may be involving the leader trait, but I am not sure. Help!
---Attached is the zipped file---
---Leader art is a WIP. If anyone who sees this is a good artist and would like to help, please tell me!---
![]()
I was right.Gut tells me you didn't change playable leader and it's still jasper kitty. It will crash the game directly. Let me download and see if that's the case.
<ActionCriteria>
<Criteria id="LeaderCriteria">
<LeaderPlayable>StandardPlayers::LEADER_JASPER_KITTY</LeaderPlayable>
</Criteria>
</ActionCriteria>
And for your convenience in the future, you can edit your civ6proj file and find the same line, change and save. So that every time you build your project you don't have to change this line in modinfo file anymore.Thanks! Will test soon.
Then you need to upload the log files for us to troubleshoot.All right. Thanks. I just tested it and it still crashed, but that's one error down!![]()
Logs have been uploaded. Check the top.Then you need to upload the log files for us to troubleshoot.
<GameData>
<IconDefinitions>
<Row Name="ICON_CIVILIZATION_ENGLAND" Atlas="ICON_ATLAS_CIVILIZATIONS" Index="6"/>
[873645.928] [Database] ERROR: UNIQUE constraint failed: AtlasIcons.Name, AtlasIcons.Atlas
[873645.929] [Database]: While executing - 'insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);'
[873645.929] [Database]: In XMLSerializer while inserting row into table insert into IconDefinitions('Name', 'Atlas', 'Index') with values (ICON_CIVILIZATION_ENGLAND, ICON_ATLAS_CIVILIZATIONS, 6, ).
[873645.929] [Database]: In XMLSerializer while updating table IconDefinitions from file C:/Users/Webmaster/Documents/My Games/Sid Meier's Civilization VI/Mods/Edward IV/RFEdwardIVEngland_Icons.xml
[873645.929] [Database] ERROR: UNIQUE constraint failed: AtlasIcons.Name, AtlasIcons.Atlas
[873720.699] [Gameplay] ERROR: Database::XMLSerializer (RFEdwardIVEngland_Gameplay.xml): 'Row' or 'Delete' expected, got 'Traits'.
[873720.699] [Gameplay]: In XMLSerializer while updating table FavoredReligions from file RFEdwardIVEngland_Gameplay.xml.
<FavoredReligions>
<Row LeaderType="LEADER_RF_EDWARD_IV" ReligionType="RELIGION_CATHOLICISM"/>
<Traits>
<Row TraitType="TRAIT_LEADER_RF_IN_ALL_CHRISTENDOM" Name="LOC_TRAIT_LEADER_RF_IN_ALL_CHRISTENDOM" Description="LOC_TRAIT_LEADER_RF_IN_ALL_CHRISTENDOM_DESCRIPTION"/>
<Row TraitType="TRAIT_AGENDA_RF_METHOD_AND_ORDER" Name="LOC_TRAIT_AGENDA_RF_METHOD_AND_ORDER_NAME" Description="LOC_TRAIT_AGENDA_RF_METHOD_AND_ORDER_DESCRIPTION"/>
</Traits>
[873720.712] [Gameplay] ERROR: Invalid Reference on LeaderTraits.TraitType - "TRAIT_LEADER_RF_IN_ALL_CHRISTENDOM" does not exist in Traits
[Localization] ERROR: Database::XMLSerializer (RFEdwardIVEngland_Text.xml): Cannot parse file.
<Row Tag="LOC_PEDIA_LEADERS_PAGE_LEADER_RF_EDWARD_IV_CHAPTER_HISTORY_PARA_6" Language="en_US"
This information already exists in the game's base files:You cannot repeat information the game already has. Doing so causes a unique constraint error (see spoiler) and causes the game to stop reading anything from the file where the violation occurs.Code:<GameData> <IconDefinitions> <Row Name="ICON_CIVILIZATION_ENGLAND" Atlas="ICON_ATLAS_CIVILIZATIONS" Index="6"/>
<Row>
<ModifierId>MODIFIER_AGENDA_RF_METHOD_AND_ORDER_LARGE_ARMY</ModifierId>
<Name>SimpleModifierDescription</Name>
<Value>LOC_DIPLO_MODIFIER_RF_METHOD_AND_ORDER_LARGE_ARMY</Value>
</Row>
<Row>
<ModifierId>MODIFIER_AGENDA_RF_METHOD_AND_ORDER_LARGE_ARMY</ModifierId>
<Name>InitialValue</Name>
<Value>12</Value>
</Row>
<Row>
<ModifierId>MODIFIER_AGENDA_RF_METHOD_AND_ORDER_LARGE_ARMY</ModifierId>
<Name>StatementKey</Name>
<Value>LOC_DIPLO_KUDO_LEADER_RF_EDWARD_IV_REASON_ANY</Value>
</Row>
<Row>
<ModifierId>MODIFIER_AGENDA_RF_METHOD_AND_ORDER_LARGE_ARMY</ModifierId>
<Name>SimpleModifierDescription</Name>
<Value>LOC_DIPLO_MODIFIER_RF_METHOD_AND_ORDER_LARGE_ARMY</Value>
</Row>
<Modifiers>
<Row>
<ModifierId>FORESTRY_SERVICE_LRS_FOREST_CULTURE</ModifierId>
<ModifierType>MODIFIER_ALL_CITIES_ATTACH_MODIFIER</ModifierType>
<SubjectRequirementSetId>CITY_HAS_FORESTRY_SERVICE_LRS_REQUIREMENTS</SubjectRequirementSetId>
</Row>
</Modifiers>
<Requirements>
<Row>
<RequirementId>REQUIRES_CITY_HAS_FORESTRY_SERVICE_LRS</RequirementId>
<RequirementType>REQUIREMENT_CITY_HAS_BUILDING</RequirementType>
</Row>
</Requirements>
<RequirementArguments>
<Row>
<RequirementId>REQUIRES_CITY_HAS_FORESTRY_SERVICE_LRS</RequirementId>
<Name>BuildingType</Name>
<Value>BUILDING_FORESTRY_SERVICE_LRS</Value>
</Row>
</RequirementArguments>
<RequirementSets>
<Row>
<RequirementSetId>CITY_HAS_FORESTRY_SERVICE_LRS_REQUIREMENTS</RequirementSetId>
<RequirementSetType>REQUIREMENTSET_TEST_ALL</RequirementSetType>
</Row>
</RequirementSets>
<RequirementSetRequirements>
<Row>
<RequirementSetId>CITY_HAS_FORESTRY_SERVICE_LRS_REQUIREMENTS</RequirementSetId>
<RequirementId>REQUIRES_CITY_HAS_FORESTRY_SERVICE_LRS</RequirementId>
</Row>
</RequirementSetRequirements>
Exactly what I was about to say. Seems the new error message is about map which is not quite relevant to new leader MOD.did you read the error messages in the database.log file ?
did you fix the issue in the text file ?
are you running mods that are not 100% necessary to test out your mod?