ติดตั้ง 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 (เวียดนาม)
Українська (ยูเครน)
รายงานปัญหาเกี่ยวกับการแปลภาษา
I think it's due to the random improvement function of the mod. The same turn that Player 1 got a free Fishery at his capital Player 2 had a splash of vision there and meeting. Oddly enough it doesn't seem to happen for human player 1, only additional human players because P2 also had an unexpected meeting with an AI player previously but nothing happened with P1 in that event.
This appeared during an autoplay session, so I can't really pinpoint what exactly was happening when it occurred. However, there was no crash, and the log indicates that other reward(s) were successfully granted before and after this occurred. Upon examining the line in question, I'm guessing there's an issue when the Player ID returned by Events.GoodyHutReward is -1, nil, or otherwise invalid.
With this code present, the error has not manifested in several subsequent autoplay sessions. However, the following error has occasionally appeared, usually following a random unit reward:
Runtime Error: bad argument #1 to 'func' (integer expected, got nil) --> \Sailor_Goodies_Scripts.lua:453: in function 'Sailor_Goody_RandomUnit'
The line in question is:
Within said file, iNumberWaterTiles only appears in this line.
- Reloaded a save game.
- Closed the game, deleted the database cache, and reloaded a save game.
In both cases, the changes persisted. While your issue may very well be occurring (and sucks if so), it isn't one I can reproduce.