[Client Crash] - Haunt Night Light Crash


Recommended Posts

Bug Submission:

Category: Client Crash

Issue Title: Haunt Night Light Crash

Issue Description: When you haunt the night light the game crashes (not entirely sure if only the client, only the server or both).

I believe this is due to a misspelling of inst as ints in the nightlight prefab.

Part of the log file:

[00:13:28]: [string "scripts/prefabs/nightlight.lua"]:62: variable 'ints' is not declared

LUA ERROR stack traceback:

=[C]:-1 in (global) error © <-1--1>

scripts/strict.lua:23 in () ? (Lua) <21-26>

t = table: 14013C28

n = ints

scripts/prefabs/nightlight.lua:62 in (field) onhaunt (Lua) <51-69>

inst = 114054 - nightlight (valid:true)

haunter = 111883 - wilson (valid:true)

ret = false

scripts/components/hauntable.lua:101 in (method) DoHaunt (Lua) <99-125>

self =

no_wipe_value = false

flicker = off

panictimer = 0

onhaunt = function - scripts/prefabs/nightlight.lua:51

inst = 114054 - nightlight (valid:true)

cooldowntimer = 0

usefx = true

cooldown_on_successful_haunt = true

_ = table: 1DA96BA8

panic = false

doer = 111883 - wilson (valid:true)

scripts/actions.lua:1048 in (field) fn (Lua) <1042-1051>

act = Haunt 114054 - nightlight (valid:true)

Steps to Reproduce: Build a Night Light.

Die (on a endless/survival server).

Haunt the Night Light as a ghost.

Link to comment
Share on other sites

Another thing I noticed is that Evergreens can no longer turn into Treeguards when chopped down and then haunted, however Birchnut Trees can still turn into 'Poison Birchnut Trees' (or whatever they are called) after being chopped down and then haunted. This looks weird as a stump suddenly turns into a full grown tree.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.