Sid Meier's Civilization VI

Sid Meier's Civilization VI

[GS-2022] Expansion Leader For Civ China - SunQuan
 This topic has been pinned, so it's probably important
神羅大帝  [developer] 9 Sep, 2019 @ 7:35pm
[IMPORTANT·重要]Bug report and reply·模组故障反馈和回复
Thanks for you fellows interest my works and report problems of the mods.

Overlapping definition is quite a common bug type that causes mods fail to load, and so does my mod suffer from such problem as it runs well in my civ6 while dumps in yours.

To better fix conflicts and bugs you suggest more efficiently, this post serves as collection of bug details and fix replies. And it will bother you guys with bit trouble of submitting your error records from your civ6 game log files with a brief description of the problem you met, to help me accurate fix works.

Here's a brief guide on Locating and submitting your game records:
1. Your civ6 log folder shall be here as default settings:
User\Documents\My Games\Sid Meier's Civilization VI\Logs

2. Locate file ''Database.log" and "Modding.log" in the log folder.

3. Launch Civ6, start a new game with the mod has problem, wait for the mod error in game.

4. When the game shows 'mod error', you shall find ''Database.log" and "Modding.log" are newly changed just as the game reports the error, with 'F5'(refresh) in the folder browser.

5.Now, open these files, ''Database.log" and "Modding.log", cast Ctrl+A,Ctrl+C and Ctrl+V on their contents on your latest started game, and post these contents to this post as your bug details.

ATTENTION

1.The Civ6 log files will be flushed each time you shut down the game process.
2.During a single Civ6 game process living time, the ''Database.log" and "Modding.log" are incremental with each start or load operation, thus, the latest records are ALWAYS at the bottom of them.

So you shall fetch game logs under a living game process with fresh mod error.

Reference Reading
If you still get puzzled and do not know how, refer to links below:

How to get the log files before reporting a bug[forums.civfanatics.com]

Modding Files and Tools[civilization.fandom.com]

Thanks for your patience.
Last edited by 神羅大帝; 9 Sep, 2019 @ 7:57pm
< >
Showing 1-13 of 13 comments
神羅大帝  [developer] 9 Sep, 2019 @ 7:51pm 
中文版指南:

由于每个人的文明安装了不同的模组,不同的运行环境中,模组间出现内容冲突是很常见的事情,也是导致模组加载失败的主要原因。
为了精确地排除故障,需要大家提供MOD出现加载失败时详细的游戏日志文件,这样我才能有的放矢,更好更快地纠正MOD中的不妥之处。

获取游戏日志文件,请遵照下步骤:
1. 你的文明6日志文件夹在默认情况下,应当位于此路径:
User\Documents\My Games\Sid Meier's Civilization VI\Logs
(此电脑\文档\My Games\Sid Meier's Civilization VI\Logs)

2. 在日志文件夹中找到 ''Database.log" 和 "Modding.log" 这两个文件。
注意:如果你没有启动游戏,它们可能不会存在,需要你开始新游戏或加载存档,它们才会产生。

3. 启动文明6,用出错的mod开始一个新游戏,等待游戏提示“模组错误”.

4. 当游戏返回“模组错误”的加载失败信息后,你应该能通过刷新操作发现 ''Database.log"和"Modding.log" 这两个文件,随着游戏中出现错误提示而发生了更新(修改时间变化)。

5.现在,打开''Database.log"和"Modding.log" 这两个文件,把里面有关最近一次加载的记录全部复制粘贴出来,然后加上具体bug的情况描述,发到这个帖子里。

特别注意

1.文明6的日志文件会随着游戏进程的终止而被清空。
2.在每个文明6游戏进程的完整生存周期内,每次开始新游戏或加载存档都会在''Database.log"和"Modding.log" 这两个文件的末尾追加新的记录信息, 所以,所有最近的游戏加载记录,都在这两个文件的最底部。

所以,你需要在文明6中得到一个mod错误的反馈后,保持游戏开启,才能获取错误日志。

扩展阅读
如果你看了上述说明仍有疑问,可以参考下述纯英文资料,很抱歉这些链接没有中文版本。

How to get the log files before reporting a bug[forums.civfanatics.com]

Modding Files and Tools[civilization.fandom.com]
A_T_M 10 Sep, 2019 @ 7:31pm 
[505592.947] [Localization]: StartupErrorMessages.xml
[505592.947] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[505602.888] [Localization]: Validating Foreign Key Constraints...
[505602.890] [Localization]: Passed Validation.
[505602.949] [Configuration]: Validating Foreign Key Constraints...
[505602.951] [Configuration]: Passed Validation.
[505618.106] [FullTextSearch]: Initializing FullTextSearch
[505640.617] [Gameplay]: Validating Foreign Key Constraints...
[505640.656] [Gameplay]: Passed Validation.
[505643.122] [Configuration]: Validating Foreign Key Constraints...
[505643.123] [Configuration]: Passed Validation.
[505648.340] [HallofFame]: Database found. Checking versions...
[505648.350] [HallofFame]: Database is up-to-date!
[505731.833] [FullTextSearch]: FTS - Creating Context
[505746.550] [FullTextSearch]: FTS - Creating Context
[505788.519] [Configuration]: Validating Foreign Key Constraints...
[505788.521] [Configuration]: Passed Validation.
[505832.606] [Configuration]: Validating Foreign Key Constraints...
[505832.607] [Configuration]: Passed Validation.
[505845.278] [Gameplay] ERROR: UNIQUE constraint failed: District_CitizenYieldChanges.DistrictType, District_CitizenYieldChanges.YieldType
[505845.278] [Gameplay]: While executing - 'insert into District_CitizenYieldChanges('DistrictType', 'YieldType', 'YieldChange') values (?, ?, ?);'
[505845.278] [Gameplay]: In XMLSerializer while inserting row into table insert into District_CitizenYieldChanges('DistrictType', 'YieldType', 'YieldChange') with values (DISTRICT_IKANDA, YIELD_GOLD, 2, ).
[505845.278] [Gameplay]: In XMLSerializer while updating table District_CitizenYieldChanges from file Expansion1_Districts_Major.xml.
[505845.278] [Gameplay] ERROR: UNIQUE constraint failed: District_CitizenYieldChanges.DistrictType, District_CitizenYieldChanges.YieldType
[505882.335] [Gameplay] ERROR: no such table: IconDefinitions
[505882.335] [Gameplay]: In Query - insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);
[505882.335] [Gameplay]: In XMLSerializer while updating table IconDefinitions from file Atelier_Projects.xml.
[505882.483] [Localization] ERROR: no such table: Players
[505882.483] [Localization]: In Query - insert into Players('Domain', 'CivilizationType', 'CivilizationName', 'CivilizationIcon', 'LeaderType', 'LeaderName', 'LeaderIcon', 'CivilizationAbilityName', 'CivilizationAbilityDescription', 'CivilizationAbilityIcon', 'LeaderAbilityName', 'LeaderAbilityDescription', 'LeaderAbilityIcon', 'Portrait') values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
[505882.483] [Localization]: In XMLSerializer while updating table Players from file Wallacefrog_Cfg.xml.
[505882.559] [Gameplay] ERROR: near "INSERT": syntax error
[505883.586] [Gameplay] ERROR: UNIQUE constraint failed: Adjacency_YieldChanges.ID
[505883.586] [Gameplay]: While executing - 'insert into Adjacency_YieldChanges('ID', 'Description', 'YieldType', 'YieldChange', 'TilesRequired', 'AdjacentImprovement') values (?, ?, ?, ?, ?, ?);'
[505883.586] [Gameplay]: In XMLSerializer while inserting row into table insert into Adjacency_YieldChanges('ID', 'Description', 'YieldType', 'YieldChange', 'TilesRequired', 'AdjacentImprovement') with values (Mine_Production, LOC_DISTRICT_MINE_PRODUCTION, YIELD_PRODUCTION, 1, 1, IMPROVEMENT_MINE, ).
[505883.586] [Gameplay]: In XMLSerializer while updating table Adjacency_YieldChanges from file Willow_District.xml.
[505883.586] [Gameplay] ERROR: UNIQUE constraint failed: Adjacency_YieldChanges.ID
[505883.866] [Gameplay] ERROR: no such table: TM_UserSettings
[505883.913] [Gameplay] ERROR: no such table: ImprovementModifier
[505883.913] [Gameplay]: In Query - insert into ImprovementModifier('ImprovementType', 'ModifierId') values (?, ?);
[505883.913] [Gameplay]: In XMLSerializer while updating table ImprovementModifier from file Data_Resource.xml.
[505883.974] [Gameplay] ERROR: UNIQUE constraint failed: TraitModifiers.TraitType, TraitModifiers.ModifierId
[505883.974] [Gameplay] ERROR: UNIQUE constraint failed: TraitModifiers.TraitType, TraitModifiers.ModifierId
[505885.936] [Gameplay] ERROR: FOREIGN KEY constraint failed
[505885.937] [Gameplay] ERROR: FOREIGN KEY constraint failed
[505885.937] [Gameplay]: Validating Foreign Key Constraints...
[505885.975] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "THK_SUNQUAN_PLAYER_HAS_LOW_NAVY" does not exist in RequirementSets
[505885.975] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "THK_SUNQUAN_DEPRESSION_REQUIREMENTS" does not exist in RequirementSets
[505885.975] [Gameplay] ERROR: Invalid Reference on Modifiers.SubjectRequirementSetId - "THK_SUNQUAN_ENLIGHTENED_REQUIREMENTS" does not exist in RequirementSets
[505885.976] [Gameplay] ERROR: Invalid Reference on Modifiers.OwnerRequirementSetId - "THK_PLAYER_HAS_CIVIC_MERCANTILISM_REQUIREMENTS" does not exist in RequirementSets
[505885.990] [Gameplay] ERROR: Invalid Reference on RequirementSetRequirements.RequirementId - "REQUIREMENT_UNIT_IS_ADMIRAL" does not exist in Requirements
[505885.990] [Gameplay] ERROR: Invalid Reference on RequirementSetRequirements.RequirementId - "REQUIREMENT_UNIT_IS_ADMIRAL" does not exist in Requirements
[505885.990] [Gameplay] ERROR: Invalid Reference on RequirementSetRequirements.RequirementId - "REQUIREMENT_UNIT_IS_ADMIRAL" does not exist in Requirements
[505885.990] [Gameplay] ERROR: Invalid Reference on RequirementSetRequirements.RequirementId - "REQUIREMENT_UNIT_IS_ADMIRAL" does not exist in Requirements
[505885.991] [Gameplay] ERROR: Invalid Reference on RequirementSetRequirements.RequirementId - "REQUIREMENT_UNIT_IS_ADMIRAL" does not exist in Requirements
[505885.991] [Gameplay] ERROR: Invalid Reference on RequirementSetRequirements.RequirementId - "REQUIREMENT_UNIT_IS_ADMIRAL" does not exist in Requirements
[505885.991] [Gameplay] ERROR: Invalid Reference on RequirementSetRequirements.RequirementId - "REQUIREMENT_UNIT_IS_ADMIRAL" does not exist in Requirements
[505886.026] [Gameplay]: Failed Validation.
[505895.662] [Configuration]: Validating Foreign Key Constraints...
[505895.663] [Configuration]: Passed Validation.
[505898.216] [FullTextSearch]: FTS - Creating Context
A_T_M 10 Sep, 2019 @ 7:32pm 
这样可以么 具体就是进游戏开不了 会说有一个模板有问题
神羅大帝  [developer] 10 Sep, 2019 @ 8:04pm 
Originally posted by A_T_M:
这样可以么 具体就是进游戏开不了 会说有一个模板有问题
嗯,很感谢你的反馈!

孙权的MOD引用了来自波斯-马其顿DLC[civilization.fandom.com]的非标准内容,这导致了兼容性错误,我会立即纠正这个错误。

另外,你的文明6出了一些小问题,没有自动下载并启用三国系列mod的前置依赖项mod原版中华文明:三国系列扩展领袖支持包&原版中华文明特性调整,这导致了孙权的议程内容加载失败。你需要手动订阅下这个前置mod,这样修复版本更新后你应该就能进入游戏了。

bug修复后我会@你的~
感谢~
Last edited by 神羅大帝; 10 Sep, 2019 @ 8:05pm
A_T_M 10 Sep, 2019 @ 8:16pm 
感谢,我是订阅前置mod了的 不过我也感觉是有点问题 到时候我会重新订阅一下
951403483 10 Sep, 2019 @ 9:18pm 
我装了你的三国前置模组、孙曹刘三个领袖模组、还有
东北亚地图
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1803869779&searchtext=%E5%9C%B0%E5%9B%BE
领袖获取第二能力模组
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1520617700&searchtext=ability

我用曹操刘备+东北亚地图+第二能力这些模组创建新游戏是可以的,但是曹操刘备孙权+东北亚地图+第二能力就不能创建新游戏了。
神羅大帝  [developer] 10 Sep, 2019 @ 9:20pm 
Originally posted by 951403483:
我装了你的三国前置模组、孙曹刘三个领袖模组、还有
东北亚地图
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1803869779&searchtext=%E5%9C%B0%E5%9B%BE
领袖获取第二能力模组
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1520617700&searchtext=ability

我用曹操刘备+东北亚地图+第二能力这些模组创建新游戏是可以的,但是曹操刘备孙权+东北亚地图+第二能力就不能创建新游戏了。

收到,我会使用你的模组进行测试来纠正兼容问题的,感谢反馈!
951403483 10 Sep, 2019 @ 9:27pm 
modding.log的内容貌似太长了发不上来
盘.百度.康姆/s/10wJ2P3eElihE8yQMWqfbfQ
希望有用,感谢。
Last edited by 951403483; 10 Sep, 2019 @ 9:30pm
神羅大帝  [developer] 10 Sep, 2019 @ 9:30pm 
Originally posted by 951403483:
modding.log的内容貌似太长了发不上来
{LINK REMOVED}

以下关键字是曹刘孙的mod信息头:
UpdateDatabase - Loading SQLs/CaoCao_
UpdateDatabase - Loading XMLs/CaoCao_

UpdateDatabase - Loading SQLs/LiuBei_
UpdateDatabase - Loading XMLs/LiuBei_

UpdateDatabase - Loading SQLs/SunQuan_
UpdateDatabase - Loading XMLs/SunQuan_


非常感谢网盘链接!
Last edited by 神羅大帝; 10 Sep, 2019 @ 9:32pm
神羅大帝  [developer] 10 Sep, 2019 @ 9:43pm 
Originally posted by 951403483:
modding.log的内容貌似太长了发不上来
盘.百度.康姆/s/10wJ2P3eElihE8yQMWqfbfQ
希望有用,感谢。

故障来自于孙权历史议程的文件语法错误,我会着手修正,感谢反馈!
951403483 10 Sep, 2019 @ 9:44pm 
我之前手动把Expansion1_GlobalParameters.xml和Expansion2_GlobalParameters.xml的忠诚度好像改为影响距离最大为3之类的,来适应我的拍脸铺城战狂打法:steamhappy:
这个不知道有没有影响,之前我用亚历山大一直流畅游戏
951403483 10 Sep, 2019 @ 9:46pm 
Originally posted by 红衣膜王:
Originally posted by 951403483:
modding.log的内容貌似太长了发不上来
盘.百度.康姆/s/10wJ2P3eElihE8yQMWqfbfQ
希望有用,感谢。

故障来自于孙权历史议程的文件语法错误,我会着手修正,感谢反馈!
太好了,期待更好的三国mod!
神羅大帝  [developer] 11 Sep, 2019 @ 1:15am 
Originally posted by A_T_M:
感谢,我是订阅前置mod了的 不过我也感觉是有点问题 到时候我会重新订阅一下


Originally posted by 951403483:
我装了你的三国前置模组、孙曹刘三个领袖模组、还有
东北亚地图
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1803869779&searchtext=%E5%9C%B0%E5%9B%BE
领袖获取第二能力模组
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1520617700&searchtext=ability

我用曹操刘备+东北亚地图+第二能力这些模组创建新游戏是可以的,但是曹操刘备孙权+东北亚地图+第二能力就不能创建新游戏了。

修补更新已经上线,你们反馈的问题应该得到解决了。
< >
Showing 1-13 of 13 comments
Per page: 1530 50