Don't Starve Together

Don't Starve Together

Wirra the Wild Child
ɅµЋƵƵ 19 Jan, 2023 @ 12:45am
Wirra crashes server, not client, when struck by lightning?
Noticed this excerpt after crashing in my logs for the server:

[01:35:08]: [string "scripts/components/inventory.lua"]:617: attempt to index field 'isexternallyinsulated' (a nil value)
LUA ERROR stack traceback:
scripts/components/inventory.lua:617 in (method) IsInsulated (Lua) <610-618>
scripts/components/playerlightningtarget.lua:3 in (field) onstrikefn (Lua) <1-19>
scripts/components/playerlightningtarget.lua:41 in (method) DoStrike (Lua) <39-43>
scripts/components/weather.lua:613 in (local) fn (Lua) <538-630>
scripts/entityscript.lua:1152 in (method) PushEvent (Lua) <1139-1166>
scripts/components/weather.lua:932 in (method) OnUpdate (Lua) <773-941>
scripts/update.lua:257 in () ? (Lua) <219-293>

I can only presume that this means there is either a confliction with one of the following mods:
Additional Equipslots, More Inventory, More Storage, or Simple Stacks

Or Wirra actually crashes when struck by lightning, as the only other player on the server was a Wendy surrounded by two lightning rods, thus making her unable to be the source of the crash.

Additionally, it's also possible that lightning wasn't the source of the crash, but that's just my only guess as a slightly educated Lua coder.
< >
Showing 1-5 of 5 comments
Furry Eskimo  [developer] 21 Jan, 2023 @ 1:15pm 
Thanks for reporting this. We’ll address this as soon as possible. My laptop broke and is currently being repaired, so please be patient with us, we’re doing all we can to ensure the mod works.
The sad vanilla 20 Mar, 2023 @ 5:19am 
you had an issue with being struck by lightning? i wonder if its potentially a compelling mod because ive played with wirra, got all the way past spring while getting struck a decent amount of times with no issue
Furry Eskimo  [developer] 20 Mar, 2023 @ 4:18pm 
Sorry for the delay. I looked into this and it seems that a mod was using 'isexternallyinsulated' incorrectly and caused your game to crash. I never use this variable, so I'm confident that it was not this mod which caused the error. I hope you were able to resolve this.
ɅµЋƵƵ 21 Mar, 2023 @ 6:23am 
That's odd, the only mods installed appear to be stuff relating to the inventory, I'll probably do some white-box level testing by just starting a server with each mod one by one and striking the poor pup with lightning over and over again until I crash to figure out what mod does it, then redirect the report to them.

EDIT: (Due not this is AFTER I learned way more about lua coding) After 2 seconds of, not testing, I found the source of the error and I will be redirecting the report, it seems strange that the mod changes lightning at all, or that it specifically doesn't work for wirra, but it does for other modded character, but:

"scripts/components/inventory.lua"

Is obviously not the wirra mod. It'd be the "More Inventory" mod.
Last edited by ɅµЋƵƵ; 21 Mar, 2023 @ 6:25am
Furry Eskimo  [developer] 21 Mar, 2023 @ 2:16pm 
@Target Practice
How strange! Well I’m glad it wasn’t our mod which caused your game to crash. Feel free to let us know if you learn anything more; we do what we can to ensure Wirra is compatible with other mods.
< >
Showing 1-5 of 5 comments
Per page: 1530 50