Europa Universalis IV

Europa Universalis IV

Maid Universalis EN
Selvaria 7 月 10 日 上午 11:13
Mod breaks the 'Promote maid consort' option in the maid estate.
As said above, without the translation mod the option works fine but when you add this mod the consort dosn't spawn.
最后由 Selvaria 编辑于; 7 月 10 日 上午 11:14
< >
正在显示第 1 - 5 条,共 5 条留言
Djguy4  [开发者] 7 月 19 日 下午 10:11 
Thank you for the report, I'll check it out later. It is a very strange bug since I didn't override any trigger, but I'll do more testing.
Carlist 8 月 12 日 上午 5:34 
Hi there,
Thank you for maintaining the English translation for this great mod!
I encountered an issue where the "Promote a Consort" event is visible, but choosing an option does nothing. I checked the error.log and found a recurring parsing error:
code
Code
[persistent.cpp:88]: Parsing Error. File: "events/ms_evt_consort_choose.txt", Error: Unknown effect type. Key: ms_set_consort_effect, near line: 34
[persistent.cpp:88]: Parsing Error. File: "events/ms_evt_disaster.txt", Error: Unknown effect type. Key: ms_set_consort_effect, near line: 552
The game doesn't recognize the scripted effect ms_set_consort_effect, which is called in several event files. This is because the file that defines this effect in the English translation seems to be an older version and is missing the necessary definitions.
Solution:
The problem was completely resolved on my end by replacing the scripted effects file in the English translation's common/scripted_effects/ folder with the corresponding file from the latest version of the original (main) mod.
Including the updated scripted effects file in the next release of the translation patch should fix this bug.
Hope this helps, and keep up the great work!
Djguy4  [开发者] 9 月 21 日 上午 8:53 
Hello @Carlist and thank you for the help! I actually know which file you meant, it's the "ms_efx_1named.txt" file. I actually have already included the latest version of that file into my mod, so I'm actually confused if this is really the cause of the choose consort button not working. I will try testing this issue.
Djguy4  [开发者] 9 月 21 日 上午 9:57 
Hello @Carlist, so I managed to fix this decision not by adding the event files like you suggest.

The unknown key error appears because the "ms_efx_1named.txt" was saved using the wrong encoding for it, thus causing the engine to be unable to read the keys. Changing that file's encoding (and all files other than the localisation files) fixes the "Choose a consort" button and possibly other decisions/events as well.

But anyway, thank you very much for reminding me that error.log exists. It was really helpful in fixing the mod. :steamthumbsup:
Djguy4  [开发者] 9 月 21 日 上午 10:05 
Oh and @Selvaria, your issue is fixed in version 1.2.0. Please try it and let me know.
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50