Don't Starve

Don't Starve

Monster Healthbars
int_ua 14 Nov, 2020 @ 10:26pm
Crashes on trying to journey to a Hamlet world from a SW world: attempt to perform arithmetic on local 'w0' (a nil value)
Traceback:

scripts/widgets/image.lua:61: attempt to perform arithmetic on local 'w0' (a nil value) LUA ERROR stack traceback: scripts/widgets/image.lua:61 in (method) ScaleToSize (Lua) <59-64> self = enabled = true focus_target = false atlas = images/ui.xml shown = true callbacks = table: 0x3c046660 focus_flow_args = table: 0x3c046d20 inst = 120125 - (valid:false) focus = false focus_flow = table: 0x3c046b20 name = Image children = table: 0x3c046610 texture = bg_plain.tex w = 320 h = 18 w0 = nil h0 = nil ../mods/workshop-598691420/scripts/widgets/progressbar.lua:57 in (method) InternalUpdate (Lua) <55-59> self = label = Text - Doydoy [ 100 / 100 ] callbacks = table: 0x3c0457c0 inst = 120123 - (valid:false) focus = false children = table: 0x3c045770 focus_flow_args = table: 0x3c045cb0 focus_target = false owner = RPGMonsterInfoContainer barimage = Image - images/ui.xml:bg_plain.tex width = 320 shown = true enabled = true name = ProgressBar height = 18 focus_flow = table: 0x3c045ab0 bgimage = Image - images/ui.xml:bg_plain.tex percent = 100 sublabel = Text - Friendly Animal width = 320 ../mods/workshop-598691420/scripts/widgets/progressbar.lua:40 in (method) SetPercent (Lua) <38-41> self = label = Text - Doydoy [ 100 / 100 ] callbacks = table: 0x3c0457c0 inst = 120123 - (valid:false) focus = false children = table: 0x3c045770 focus_flow_args = table: 0x3c045cb0 focus_target = false owner = RPGMonsterInfoContainer barimage = Image - images/ui.xml:bg_plain.tex width = 320 shown = true enabled = true name = ProgressBar height = 18 focus_flow = table: 0x3c045ab0 bgimage = Image - images/ui.xml:bg_plain.tex percent = 100 sublabel = Text - Friendly Animal val = 100 ../mods/workshop-598691420/scripts/monsterhealthbar.lua:155 in (field) fn (Lua) <66-190> inst = 116774 - doydoy (valid:true) player = 100018 - wx78 (valid:true) playerPos = (1997.71, 0.00, 6.11) monsterPos = (1998.05, 0.00, -1.06) dist = 7.1869686503199 hp = 100 maxHP = 100 name = Doydoy text = Doydoy [ 100 / 100 ] percent = 100 scripts/scheduler.lua:195 in (method) OnTick (Lua) <169-226> self = running = table: 0xe80b500 waitingfortick = table: 0xe80b530 tasks = table: 0xe80b4b0 waking = table: 0xb374940 attime = table: 0xe80b5c0 hibernating = table: 0xe80b590 tick = 439 k = PERIODIC 120128: 0.000000 v = true already_dead = nil scripts/scheduler.lua:402 in (global) RunScheduler (Lua) <400-408> tick = 439 scripts/update.lua:105 in () ? (Lua) <90-191> dt = 0.033333335071802 tick = 439 i = 439 [00:02:04]: Last called Lua: luaUpdate [00:02:04]: CURL ERROR: <url> malformed [00:02:04]: scripts/mainfunctions.lua(960,1) LUA ERROR stack traceback: scripts/mainfunctions.lua(960,1) [00:02:04]: scripts/mainfunctions.lua(961,1) scripts/widgets/image.lua:61: attempt to perform arithmetic on local 'w0' (a nil value) LUA ERROR stack traceback: scripts/widgets/image.lua:61 in (method) ScaleToSize (Lua) <59-64> ../mods/workshop-598691420/scripts/widgets/progressbar.lua:57 in (method) InternalUpdate (Lua) <55-59> ../mods/workshop-598691420/scripts/widgets/progressbar.lua:40 in (method) SetPercent (Lua) <38-41> ../mods/workshop-598691420/scripts/monsterhealthbar.lua:155 in (field) fn (Lua) <66-190> scripts/scheduler.lua:195 in (method) OnTick (Lua) <169-226> scripts/scheduler.lua:402 in (global) RunScheduler (Lua) <400-408> scripts/update.lua:105 in () ? (Lua) <90-191> [00:02:04]: scripts/frontend.lua(773,1) SCRIPT ERROR! Showing error screen