Gamnraa / -DST-EarthBound-Ness

Code from the Don't Starve Together mod EarthBound: Ness
GNU General Public License v3.0
0 stars 0 forks source link

Crash on Trunk Steak buff expiring #1

Closed Gamnraa closed 1 year ago

Gamnraa commented 1 year ago

"It seems I may have found another bug with this mod. It looks like sometimes when the game tries to trigger homesickness, the game crashes. I receive the following error when it does:

[string "../mods/workshop-2894441645/scripts/compone..."]:203: variable 'inst' is not declared LUA ERROR stack traceback: scripts/strict.lua:23 in () ? (Lua) <21-26> ../mods/workshop-2894441645/scripts/components/homesickness.lua:203 in (field) fn (Lua) <203-203> scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216> scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415> scripts/update.lua:235 in () ? (Lua) <219-293>

I have the same mods (both client and server) enabled as my previous bug report. Hope this helps!"

Gamnraa commented 1 year ago

The crash seems to be the result of eating Trunk Steak to get the homesickness debuff, then disconnecting while the debuff is still active. Upon rejoining the world, the server will crash when the debuff ends.