饥荒联机版

饥荒联机版

Upgradeable Chest -- 可升级箱子
CCappu  [开发者] 4 月 18 日 上午 2:53
Bug Report
Abstract:
If you face problem:
  1. Tell me:
    1.1 what you are doing at the time it happened
    1.2 what mod config you have modified, and what mod you are using
    1.3 the crash log
  2. Backup your game
  3. Wait until problem solve, rollback and continue the game OR Disable the mod and rollback, you can keep playing when I am fixing the issue
  4. Test your game with default mod config and without other mod enabled

If you encounter a bug, tell me what you are doing at that time will normal enough for me to figuring out the issue. Sometimes, I may need to know what mod config you have changed, and what other mods you are using. If you can provide me the crash log, it will help me a lots.

You can do the following:
Main menu → Host Game → right hand side, Manage World →
1. Duplicate World (as a backup)
2. Open World Folder → Master → server_log → crash log is normally at the bottom
(if you can't find it, simply tell me what you are doing at that time. Normally, it will be enough for me to figure out the issue)

Then, you can rollback to latest normal playing game. And you can choose to disable this mod and keep playing. If you disable the mod, the chest will become normal size and the item in excess will drop onto the ground. You are not suppose to lose any items because of disabling the mod.

Note that, if you choose to disable the mod, the chest will still be un-upgraded since the upgrade data has lost. You will have to upgrade again. Or rollback to the game when this mod is still enabling.

I will keep focusing the comment here after the mod has update for about half a hour so that I can response to the bug I did not figure out during testing. You are appreciated to tell me the bug at your earliest convenient. So that I can response fast to avoid more player encountering same issue.

If possible, you can "Duplicate World" as a testing server. You can test whether problem solve if you default the mod config. You can test whether the problem solved by disabling some mods. Tell me what you conclude will help me a lots.
< >
正在显示第 1 - 6 条,共 6 条留言
Shimmet 4 月 19 日 上午 10:22 
Happened on Lenovo Legion Go:

[00:00:00]: WARNING!

.../mods/workshop-2484725102/scripts/chestup...:104: attempt to index local 'item' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2484725102/scripts/chestupgrade_util.lua:104 in (upvalue) itemtest (Lua) <96-116>
../mods/workshop-2484725102/scripts/chestupgrade_util.lua:123 in (method) CanTakeItemInSlot (Lua) <121-124>
scripts/widgets/inventorybar.lua:1028 in (?) (Lua) <947-1129>
=(tail call):-1 in () (tail) <...>
scripts/widgets/inventorybar.lua:1231 in (?) (Lua) <1154-1232>
=(tail call):-1 in () (tail) <...>
../mods/workshop-2484725102/main/modules/inventorybar.lua:8 in (field) fn (Lua) <7-9>
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>


1. When i open chests, everything displays fine
2. When i move my selection of items (remember i dont use mouse, but a controller) to upgraded chest while on advanced selection tool (right trigger) game crashes instantly
3. Without advanced selection tool everything works fine
4. No mod configs changed

Please fix, thats one of my most favorite mods
Rey 9 月 4 日 下午 7:49 
Please help the bookcase upgrading for wickerbottom is not working
wixun 10 月 1 日 上午 2:53 
在用锯马批量制作木板时报错,打开着暗影切斯特和未升级的小偷包,遇到了空指针异常
[00:02:58]: [string "scripts/componentutil.lua"]:27: attempt to index local 'inst' (a nil value)
LUA ERROR stack traceback:
scripts/componentutil.lua:27 in (upvalue) GetStackSize (Lua) <26-29>
inst = nil
../mods/workshop-2484725102/main/modules/container.lua:167 in (method) GetCraftingIngredient (Lua) <103-179>
self =
opencount = 1
Close = function - ../mods/workshop-2484725102/main/modules/container.lua:211
GiveItem = function - ../mods/workshop-2484725102/main/modules/container.lua:184
slots = table: 000000005110D390
CreateItemList = function - ../mods/workshop-2484725102/main/modules/container.lua:69
inst = 110067 - shadow_container (valid:true)
itemlist = table: 0000000045C2FA90
GetCraftingIngredient = function - ../mods/workshop-2484725102/main/modules/container.lua:103
oldGetCraftingIngredient = function - scripts/components/container.lua:762
UpdateItemList = function - ../mods/workshop-2484725102/main/modules/container.lua:27
OnSave = function - ../mods/workshop-2484725102/main/modules/container.lua:221
ignoresound = false
OnLoad = function - ../mods/workshop-2484725102/main/modules/container.lua:231
RemoveItemBySlot = function - ../mods/workshop-2484725102/main/modules/container.lua:192
skipautoclose = true
openlist = table: 000000005110C620
onanyclosefn = function - scripts/prefabs/pocketdimensioncontainers.lua:13
ClearItemList = function - ../mods/workshop-2484725102/main/modules/container.lua:19
CanTakeItemInSlot = function - ../mods/workshop-2484725102/scripts/chestupgrade_util.lua:143
ignoreoverstacked = false
GetItemInSlot = function - ../mods/workshop-2484725102/main/modules/container.lua:202
_ = table: 000000005110D7A0
onanyopenfn = function - scripts/prefabs/pocketdimensioncontainers.lua:3
ingr = log
amount = 20
reverse_search_order = true
arg = nil
itemlist = table: 0000000045C2FA90
items = table: 0000000045C30670
crafting_items = table: 0000000046ED59B0
is_itemlist_dirty = true
last_slot = nil
last_item = nil
最后由 wixun 编辑于; 10 月 1 日 上午 2:54
wonder if my crashes are related with this mod:
[04:07:44]: [string "../mods/workshop-3548030233/modmain.lua"]:483: attempt to index local 'inventory' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-3548030233/modmain.lua:483 in (upvalue) OLD_Rebuild (Lua) <452-711>
self =
hudcompass = Hud Compass
shown = false
actionstringtitle = Text -
GetInventoryLists = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:100
hand_inv = hand_inv
Rebuild = function - ../mods/workshop-2973455580/containersort.lua:1760
OnUpdate = function - ../mods/workshop-2484725102/main/modules/inventorybar.lua:29
CursorDown = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:212
repeat_time = 0.2
bg = ThreeSlice
CursorUp = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:196
enabled = true
bottomrow = toprow
in_pos = (0.00, 102.00, 0.00)
actionstringtime = 10
root = root
bgcover = Image - ../mods/workshop-3173870597/images/hud/inventory_bg_cover.xml:inventory_bg_cover.tex
parent = bottom_scale_root
UpdateCursorText = function - ../mods/workshop-2189004162/scripts/uichanges/inventorybar.lua:118
inv = table: 000000001D6B00A0
autoanchor = PlayerDeathNotification
name = Inventory
newbg = Image - ../mods/workshop-3548030233/images/inventory_bg.xml:inventory_bg.tex
focus_flow = table: 000000012552AAD0
toprow = toprow
insightText = RichText - <null>
base_scale = 0.6
autopause_delay = 0
out_pos = (0.00, 68.00, 0.00)
autopaused = false
CursorRight = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:166
callbacks = table: 000000012552A670
RefreshRepeatDelay = function - ../mods/workshop-2484725102/main/modules/inventorybar.lua:14
integrated_backpack = true
force_single_drop = false
GetClosestWidget = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:119
skipcursorupd = true
inst = 100551 - (valid:true)
focus = false
equip = table: 000000001D6AF420
UpdateCursor = function - ../mods/workshop-2484725102/main/modules/inventorybar.lua:20
children = table: 000000012552AE40
integrated_backpackfor45slots = true
focus_flow_args = table: 000000012552A710
focus_target = false
CursorLeft = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:143
selected_scale = 0.8
controller_build = false
owner = 100138 - wx78 (valid:true)
actionstring = actionstring
can_fade_alpha = true
rebuild_pending = true
openhint = Text -
equipslotinfo = table: 000000012551AC70
OnControl = function - ../mods/workshop-3447280171/modmain.lua:841
backpackinv = table: 000000001D6AFCE0
hint_update_check = 1.9833332989365
actionstringbody = Text -
reps = 0
controller_attached = false
inventory = nil
../mods/workshop-2484725102/main/widgets/inventorybar.lua:234 in (upvalue) oldRebuild (Lua) <233-236>
self =
hudcompass = Hud Compass
shown = false
actionstringtitle = Text -
GetInventoryLists = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:100
hand_inv = hand_inv
Rebuild = function - ../mods/workshop-2973455580/containersort.lua:1760
OnUpdate = function - ../mods/workshop-2484725102/main/modules/inventorybar.lua:29
CursorDown = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:212
repeat_time = 0.2
bg = ThreeSlice
CursorUp = function - ../mods/workshop-2484725102/main/widgets/inventorybar.lua:196
enabled = true
bottomrow = toprow
in_pos = (0.00, 102.00, 0.00)
actionstringtime = 10
root = root
bgcover = Image - ../mods/workshop-3173870597/images/hud/inventory_bg_cover.xml:inventory_bg_cover.tex
parent = bottom_scale_root
UpdateCursorText = function - ../mods/workshop-2189004162/scripts/uichanges/inventorybar.lua:118

[04:07:44]: [string "../mods/workshop-3548030233/modmain.lua"]:483: attempt to index local 'inventory' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-3548030233/modmain.lua:483 in (upvalue) OLD_Rebuild (Lua) <452-711>
../mods/workshop-2484725102/main/widgets/inventorybar.lua:234 in (upvalue) oldRebuild (Lua) <233-236>
../mods/workshop-2973455580/containersort.lua:1761 in (method) Rebuild (Lua) <1760-1801>
scripts/widgets/inventorybar.lua:504 in (upvalue) oldOnUpdate (Lua) <455-588>
../mods/workshop-3548030233/modmain.lua:721 in () ? (Lua) <720-744>
=(tail call):-1 in () (tail) <-1--1>
scripts/frontend.lua:882 in (method) Update (Lua) <703-905>
scripts/update.lua:95 in () ? (Lua) <33-138>

[04:07:44]: [workshop-2189004162 (Insight)]: A crash has occured (THIS DOES NOT MEAN IT WAS INSIGHT, THIS IS JUST HERE FOR DEBUGGING PURPOSES)
[04:07:44]: [workshop-2189004162 (Insight)]: Title: WARNING![Client Error]
[04:07:44]: [workshop-2189004162 (Insight)]: Text: [string "../mods/workshop-3548030233/modmain.lua"]:483: attempt to index local 'inventory' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-3548030233/modmain.lua:483 in (upvalue) OLD_Rebuild (Lua) <452-711>
../mods/workshop-2484725102/main/widgets/inventorybar.lua:234 in (upvalue) oldRebuild (Lua) <233-236>
../mods/workshop-2973455580/containersort.lua:1761 in (method) Rebuild (Lua) <1760-1801>
scripts/widgets/inventorybar.lua:504 in (upvalue) oldOnUpdate (Lua) <455-588>
../mods/workshop-3548030233/modmain.lua:721 in () ? (Lua) <720-744>
=(tail call):-1 in () (tail) <-1--1>
scripts/frontend.lua:882 in (method) Update (Lua) <703-905>
scripts/update.lua:95 in () ? (Lua) <33-138>
CCappu  [开发者] 20 小时以前 
@Timedeus
Can you tell me how to reproduce it. Or what are you doing when the game crash.
Based on the error log, crashes from this mod.
I have check the line raise issue in that mod, but I can't find any clue. The crash log shows a weird case that it happens only when your inventory component "disappeared". Or in other words, the game can't find your inventory bar. In this case, your game will still crash even you disable all mods. So, there must be some problems we can't see from the crash log. Either some mod mistakenly "remove" the inventory, or some error in the game.
I travel to caves and it cause crash. sometimes i also crashed like this on boat i think?
I also remove a lot of mods that i think related to inventory like 45 slot and fast collect store mod.
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50