安装 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(越南语)
Українська(乌克兰语)
报告翻译问题






IN: inventoryitem_replica.lua... an attempt to index field 'classified' (a nill value)
STACK TRACEBACK LUA ERROR:
scripts/components/inventoryitem_replica.lua:98 in (method) Setimage (Lua) <97-99>
scripts/components/inventoryitem.lua:6 in (field) ? (lua) <5-7>
scripts/class.lua:30 in () ? (Lua) <23-32>
scripts/components/inventoryitem.lua:306 in (method) ChangeImageName (Lua) <305-308>
scripts/prefabs/mininglantern.lua:108 in (upvalue) turnoff (lua) <91-110>
scripts/prefabs/mininglantern.lua:174 in (field) depleted (lua) <164-176>
scripts/components/fueled.lua:283 in (method) DoDelta (Lua) <270-288>
scripts/components/fueled.lua:224 in (method) SetPercent (Lua) <222-225>
I have another fixed version of this mod available here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2185752556
My change is a bit different than the other one posted, and I've added a patch for the trident. I also have the source on github and will provide more detailed change sets if there is a bug that needs fixing. This mod is mostly read only so it should (eventually) be compatible with most other mods.
go to your DST installation folder\mods\workshop-394172225\modmain.lua
find the line
components.fueled:SetPercent(value)
and replace it with
components.fueled.currentfuel = math.max(0, math.min(components.fueled.maxfuel, components.fueled.maxfuel * value) )
this disables any behaviour that run when the fuel gets depleted for the local duplicate item, and the crash is triggered by the local duplicate item attempting to change its image file but is invisible.
Took me a bit to figure out which mod was doing it. It's a server on day 40 (haven't tried on other servers yet) been using this mod on it from day 1, I am host. Other mod's i'm using with it and it will still crash: MiniMapHUD, Combined Status. Haven't tried it on it's own yet.
Unsubscribing until it is fixed..