Europa Universalis IV

Europa Universalis IV

Large City and Largest City
ItsBenter  [开发者] 2022 年 6 月 26 日 下午 4:55
LCLC: Bugs and Suggestions
To keep track of them
最后由 ItsBenter 编辑于; 2022 年 6 月 26 日 下午 4:55
< >
正在显示第 1 - 4 条,共 4 条留言
Eragon55 2022 年 5 月 24 日 上午 9:20 
Potential bug/error in code
First of all, sorry for making a separate discussion here, I can't find the way to comment on the mod, so I had to make it this way.
The problem I'm having is, around 1550s, the game freezes, then crashes unexpectedly, without any war starting or anything, it just happens after a few days. I looked up in error.log, last entry is
[effectimplementation.cpp:12573]: Variable division with zero attempted for variable "LCLC_supposed_num_of_large_city_var". Dividing by 0.001 instead.
So i commented in LCLC_largest_city_scripted_effects.txt every function in the code, and it seems to work afterwards. Again, I'm not that skilled with modding, and this might be accident, but it worked for me so far, but still I want to write it here in case it's actually a bug from the mod itself.
Sorry again for writing here, hopefully it will be useful to both author and the others
ItsBenter  [开发者] 2022 年 5 月 25 日 上午 5:18 
Thanks for detailed report!

I didn't take into account ongoing save when adding feature on last update (1.0.5). I'll post a fix later.

Before the update, you can open the Large and Largest: Mod Options in decision then set the Number of Large City in the Region (default is 10). I think it should be empty now in your save. On fresh save, the variable is set on initial event. On ongoing save it is not set, leading to a ctd because the game divide by zero.
Eragon55 2022 年 5 月 25 日 上午 5:21 
I'll look into it, thanks for answering. If anything similar happens again I'll try to report again
ItsBenter  [开发者] 2022 年 5 月 25 日 上午 5:28 
Just updated the mod. Do share if you encountered any issue with it.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50