Cài đặt Steam
Đăng nhập
|
Ngôn ngữ
简体中文 (Trung giản thể)
繁體中文 (Trung phồn thể)
日本語 (Nhật)
한국어 (Hàn Quốc)
ไทย (Thái)
Български (Bulgaria)
Čeština (CH Séc)
Dansk (Đan Mạch)
Deutsch (Đức)
English (Anh)
Español - España (Tây Ban Nha - TBN)
Español - Latinoamérica (Tây Ban Nha cho Mỹ Latin)
Ελληνικά (Hy Lạp)
Français (Pháp)
Italiano (Ý)
Bahasa Indonesia (Indonesia)
Magyar (Hungary)
Nederlands (Hà Lan)
Norsk (Na Uy)
Polski (Ba Lan)
Português (Tiếng Bồ Đào Nha - BĐN)
Português - Brasil (Bồ Đào Nha - Brazil)
Română (Rumani)
Русский (Nga)
Suomi (Phần Lan)
Svenska (Thụy Điển)
Türkçe (Thổ Nhĩ Kỳ)
Українська (Ukraina)
Báo cáo lỗi dịch thuật
Thank you for your kind explanation. I fixed it as you told me, can you check if the problem has been solved?
tries to get his current army with the line "local force = faction:faction_leader():military_force()"
If noctilus dosnt exist when the script runs then it fails.
the change i made checks if he dosnt exist or if he dosnt have an army and then just dosnt run the rest of the script instead of failing.
all you have to do is to replace the line "local force = faction:faction_leader():military_force()"
in the "script/campaign/mod/bad_legend_agent12_il_potente_granchio.lua" with this part:
"local leader = faction and faction:faction_leader()
if not leader or leader:is_null_interface() then
return -- Exit early if leader doesn't exist
end
local force = leader:military_force()
if not force or force:is_null_interface() then
return -- Exit early if force doesn't exist
end"
Sorry I don't know scripts very well so please explain more about what I should do. And even now, there should be no problem with gameplay itself. And where do you get the error message?
Maybe this will fix the error from occuring:
local faction = cm:get_faction("wh2_dlc11_cst_noctilus")
local leader = faction and faction:faction_leader()
if not leader or leader:is_null_interface() then
return -- Exit early if leader doesn't exist
end
local force = leader:military_force()
if not force or force:is_null_interface() then
return -- Exit early if force doesn't exist
end
That I didn't notice means a very minor update that you don't have to know. I made some modifications to the modeling of one of the characters.
Maybe mod conflict would have been resolved. But please ask the mod creator to delete the part related to 'merovech'.
@bstar
Maybe it's fixed. It won't interfere with gameplay anyway.
After the latest update, I'm getting a script error message for:
"[ string/"script/campaign/mod/bad_legend_agent12_il_potente_granchio.lua/" ]