安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題








The information "bBarbMajorAllyExists" is not existing in my save, when you ask for it.
So dataobj.getValue(datastring) returns nil.
Could you expand that funtion by asking for the value to be non-empty?
If it is not,
- fill the SaveData with a default value and continue
If it is,
- continue
smt like that?
BarbariansEvolvedSharedFunctions.lua - Line 95:
function BEReportRead(dataobj, datastring)
retval = dataobj.GetValue(datastring)
if (retval == nil) then
retval = "-nil-"
end
print("READ: " .. datastring .. " [" .. retval .. "]")
(...)
end
This still produces a nil value, but it prints it now, isntead of crashing:
[3721.528] BarbariansEvolved: READ: bBarbMajorAllyExists [-nil-]
So there is still some issue with "bBarbMajorAllyExists" to be fixed...
Workaround ftw :D
Sorry about the slow reply - it's harder to see new discussion threads at a glance.
I can fix beReportRead to account for nils; I just never expected it to fail. Sloppy coding I guess.
The value wasnt nil the first 300 turns (or it should have crashed), so i think you actually delete the value somehow.
I also experienced a problem with loading saves while currently playing. I havent looked into it, but maybe there is something up with your value-saving.
Sloppy coding Happens to the best. :)