Don't Starve Together

Don't Starve Together

Status Announcements
Aaron 8 Sep, 2023 @ 5:10pm
Crash
My game is crashing when trying to announce item with this error log:
[00:04:16]: [string "../mods/workshop-343753877/scripts/statusan..."]:283: attempt to call field 'getArticle' (a nil value) LUA ERROR stack traceback: =(tail call):-1 in () (tail) <-1--1> scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> self = Close = function - ../mods/workshop-836583293/modmain.lua:191 callbacks = table: 00000000145972C0 slotsperrow = 3 onitemlosefn = function - scripts/widgets/containerwidget.lua:112 inst = 104503 - (valid:true) focus = true onrefreshfn = function - scripts/widgets/containerwidget.lua:118 children = table: 0000000014597040 container = 102196 - icebox (valid:true) focus_flow_args = table: 0000000014598260 focus_target = false onitemgetfn = function - scripts/widgets/containerwidget.lua:115 isopen = true parent = owner = 100103 - wortox (valid:true) open = false can_fade_alpha = true inv = table: 0000000014596F00 Open = function - ../mods/workshop-836583293/modmain.lua:181 name = Container bgimage = Image - ../mods/workshop-728459184/images/container.xml:container.tex focus_flow = table: 0000000014598170 enabled = true bganim = UIAnim shown = true control = 29 down = true k = ItemSlot v = ItemSlot scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> self = enabled = true focus_target = false shown = true can_fade_alpha = true parent = focus_flow_args = table: 0000000087C18500 inst = 101022 - (valid:true) focus = true focus_flow = table: 0000000087C18CD0 name = children = table: 0000000087C18320 callbacks = table: 0000000087C192C0 control = 29 down = true k = Container v = Container scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> self = enabled = true focus_target = false shown = true can_fade_alpha = true parent = Controls focus_flow_args = table: 0000000090C24140 inst = 100199 - (valid:true) focus = true focus_flow = table: 0000000090C24500 name = children = table: 0000000090C44DF0 callbacks = table: 0000000090C44E40 control = 29 down = true k = v = scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> self = teamstatus = TeamStatusBars saving = Saving chat_queue_root = clock = Clock right_root = right_scale_root craftingmenu = CraftingMenuHUD SetHUDSize = function - ../mods/workshop-842702425/modmain.lua:70 waypoint = Waypoint networkchatqueue = ChatQueue bottom_root = bottom_scale_root inv = Inventory focus_flow = table: 0000000090C41F60 containerroot = callbacks = table: 0000000090C402A0 iteminfo_equip_manager = ItemInfoEquipManager playeractionhint_itemhighlight = followtext focus = true secondary_status = Status hover = HoverText skilltree_notification = SkillTreeToast owner = 100103 - wortox (valid:true) left_root = left_scale_root votedialog = VoteDialog waypoint_icon = BUTTON containers = table: 0000000087C13A50 top_root = top_scale_root _scrnh = 1080 shown = true epichealthbar = EpicHealthbar ShowMap = function - ../mods/workshop-1951468597/modmain.lua:1 status = Status toastlocations = table: 0000000049284CE0 OnUpdate = function - ../mods/workshop-842702425/modmain.lua:36 yotb_notification = YotbToast containerroot_side_behind = containerroot_side_behind mapcontrols = Map Controls name = Controls sidepanel = sidepanel crafttabs = CraftingMenuHUD minimapwidget = MiniMapWidget seasonclock = SeasonClock rope_bridge_hud = RopeBridgeHUD desync = Desync parent = root HideStatusNumbers = function - ../mods/workshop-1185229307/modmain.lua:42 ghost_button = GhostButton ShowStatusNumbers = [00:04:16]: [string "../mods/workshop-343753877/scripts/statusan..."]:283: attempt to call field 'getArticle' (a nil value) LUA ERROR stack traceback: =(tail call):-1 in () (tail) <-1--1> scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> scripts/widgets/widget.lua:129 in (method) OnControl (Lua) <123-137> scripts/widgets/widget.lua:129 in (field) OnControl (Lua) <123-137> scripts/screens/playerhud.lua:1092 in () ? (Lua) <1091-1275> =(tail call):-1 in () (tail) <-1--1> scripts/frontend.lua:426 in (method) OnControl (Lua) <410-474> scripts/input.lua:165 in (method) OnControl (Lua) <162-169> scripts/input.lua:422 in () ? (Lua) <421-423>
< >
Showing 1-5 of 5 comments
rezecib  [developer] 8 Sep, 2023 @ 8:18pm 
Hm, the only way I can think of that happening is if you have another mod that is overwriting that table. Or maybe if something went wrong in the downloading of the mod? But it would have to go wrong in a very specific way to not just crash immediately.
Aaron 9 Sep, 2023 @ 12:33am 
I had enabled Bug Tracker mod and it showed that "Show Cooldown Time" was mentioned somewhere in crashlog, so i disabled it. After that tried once again and it still crashed.

Previously i only copied "english.lua" file to translate it to Polish and nothing much, and im also using Polish Translation mod (at least one of two avaiable on workshop).
Aaron 9 Sep, 2023 @ 12:35am 
Only i can try to track each Mod ID fron crash log and try to point out which mods causes that
rezecib  [developer] 9 Sep, 2023 @ 2:51am 
Originally posted by Aaron:
I had enabled Bug Tracker mod and it showed that "Show Cooldown Time" was mentioned somewhere in crashlog, so i disabled it. After that tried once again and it still crashed.

Previously i only copied "english.lua" file to translate it to Polish and nothing much, and im also using Polish Translation mod (at least one of two avaiable on workshop).

If you copied the file and are using that copied version for your strings, then you may be missing the function as well. Try comparing it to the current versions of the language files? iirc Polish doesn't have articles, so the function should be just `return ""`, like in russian.lua.
Last edited by rezecib; 9 Sep, 2023 @ 2:52am
Aaron 9 Sep, 2023 @ 3:01am 
Welp, i found that Visual Code saved wrongly and deleted important line of code, oh well, i will check if this fixes problem now
< >
Showing 1-5 of 5 comments
Per page: 1530 50