饥荒联机版

饥荒联机版

Mass Tree Planting
 此主题已被置顶,因此可能具有重要性
Parusoid  [开发者] 2018 年 12 月 22 日 上午 10:42
Crash/Bug Reports
Here is a place where you can report issues with the mod.
< >
正在显示第 1 - 15 条,共 40 条留言
noxoris 2018 年 12 月 30 日 下午 9:07 
it does
:steamfacepalm:
Parusoid  [开发者] 2018 年 12 月 30 日 下午 10:14 
It does what?
Parusoid  [开发者] 2023 年 8 月 22 日 下午 6:17 
The issue has been identified and the fix will be applied in next version
mentalist 2023 年 8 月 23 日 上午 5:50 
thank you very much❤
nil 2023 年 8 月 25 日 上午 6:30 
I've had the same issue as K1llComma1d's, Container Widget problem. But it seems the cause pointed out, thank you!!! ❤
Parusoid  [开发者] 2023 年 8 月 25 日 上午 9:19 
引用自 Void
I've had the same issue as K1llComma1d's, Container Widget problem. But it seems the cause pointed out, thank you!!! ❤

I tried to address that issue in the recent version, hopefully it does not occur anymore, do let me know if it does :DSTwilson:
nil 2023 年 8 月 26 日 上午 9:14 
IDK if it's appropriate 2 talk about dis at da community forum. But I saw yr src code, and u wan pass "
container_params
" constructor directly 2 "
containers.widgetsetup(c, p, d)
" as "d" param.
'N' IDK if it's correct... The below ↓ is a parta most other Mods(around 20 I subbed) define their custom slot.
local params = {} local containers_widgetsetup_base = containers.widgetsetup --↓ ↓ redefine the function? function containers.widgetsetup(container, prefab, data, ...) local t = params[prefab or container.inst.prefab] if t ~= nil then sth. else containers_widgetsetup_base(container, prefab, data, ...) end end params.foo = --← ← ← ←their constructor seems different from yours. { widget = { slotpos = {blah}, blahblah }, usespecificslotsforitems = true, blahblah }
They write like this ↑ instead of yours. 'N' only yours write like dat.(I don't mean to blame anything.)
When I use mods that have their own container together, this mod crashes like this. ↓

[string "scripts/widgets/containerwidget.lua"]:30: attempt to index local 'widget' (a nil value) LUA ERROR stack traceback: scripts/widgets/containerwidget.lua:30 in (method) Open (Lua) <25-155> scripts/screens/playerhud.lua:362 in (upvalue) OpenContainerWidget (Lua) <347-368> scripts/screens/playerhud.lua:376 in (method) OpenContainer (Lua) <370-378> scripts/components/container.lua:400 in (method) Open (Lua) <380-429> ../mods/workshop-1598356658/scripts/prefabs/pinestaff.lua:247 in (field) onequipfn (Lua) <241-255> scripts/components/equippable.lua:95 in (method) Equip (Lua) <87-102>

And the last stack is:
[string "scripts/widgets/containerwidget.lua"]:30: attempt to index local 'widget' (a nil value) LUA ERROR stack traceback: scripts/widgets/containerwidget.lua:30 in (method) Open (Lua) <25-155> self = callbacks = table: 0000000062A843C0 slotsperrow = 3 inst = 163028 - (valid:true) focus = false children = table: 0000000062A84320 focus_flow_args = table: 0000000062A85720 focus_target = false isopen = false owner = 146116 - wilson (valid:true) open = false can_fade_alpha = true inv = table: 0000000062A85770 parent = name = Container bgimage = Image - : focus_flow = table: 0000000062A85D10 enabled = true bganim = UIAnim shown = true container = 162632 - pinestaff(LIMBO) (valid:true) doer = 146116 - wilson (valid:true) widget = nil ← ← ← ← Here

Maybe it's rude to use slang term, but I want to be looked less infomation by others.
Could you please take into account of this?
最后由 nil 编辑于; 2023 年 8 月 26 日 上午 9:24
nil 2023 年 8 月 26 日 上午 9:18 
They're doing it like they rewrite the
containers.widgetsetup(c, p, d)
part in order to avoid collision(?mayb, idk)...
Parusoid  [开发者] 2023 年 8 月 26 日 下午 1:28 
引用自 Void
this mod crashes like this

You're saying mod crashes again? On what occasion?
nil 2023 年 8 月 26 日 下午 10:26 
引用自 Parusoid

You're saying mod crashes again? On what occasion?

Sadly, yes, and I'm sorry for that. And I've already fixed. This is why I've posted my vision for this problem in this post. ↓ I think I've said "not sure I can determine the root cause was by this mod". This is why I wrote this post ↓ for if I can get any advice from you.

引用自 Void
Could you please take into account of this?
最后由 nil 编辑于; 2023 年 8 月 26 日 下午 10:29
Parusoid  [开发者] 2023 年 8 月 27 日 上午 4:08 
引用自 Void

While using it with other mods which have custom slot modded.

On what occasion? What is the event that leads to crash?
nil 2023 年 8 月 27 日 上午 5:54 
From that dst's log I posted above, that's "every time some actions make player operate 'onequipfn' under components/equipable.lua path". That's it.
Many event would trigger this onequipfn function.
< >
正在显示第 1 - 15 条,共 40 条留言
每页显示数: 1530 50