When Wendy try to assist a pipspook the game will crash.
And the problem seems to locate in line 68 of lost_toys.lua
[00:31:51]: [string "scripts/prefabs/lost_toys.lua"]:68: attempt to call field 'unpack' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/lost_toys.lua:68 in (field) fn (Lua) <47-94>
inst = 126690 - (valid:true)
entity_physics = Physics (000000003F28DD10)
scripts/mainfunctions.lua:333 in () ? (Lua) <322-364>
name = lost_toy_2
prefab = Prefab lost_toy_2 -
=[C]:-1 in (method) SpawnPrefab (C) <-1--1>
scripts/mainfunctions.lua:382 in (global) SpawnPrefab (Lua) <375-384>
name = lost_toy_2
skin = nil
skin_id = nil
creator = nil
scripts/prefabs/smallghost.lua:185 in (field) on_begin_quest (Lua) <160-223>
inst = 122424 - smallghost (valid:true)
doer = 124388 - wendy (valid:true)
ghost_position = (-44.40, 0.00, 25.07)
toy_center_offset = (124.20, 0.00, -14.13)
toy_count = 4.7036796355861
angle_increment = 1.3358010083136
initial_angle = 2.929504971314
chosen_toys = table: 000000000C3BFBD0
i = 1
I have done some research and I heard DST using lua 5.1, so it seems to use unpack() instead of table.unpack() ?
so changing line 68: inst.AnimState:SetMultColour(table.unpack(MIN_FADE_COLOUR)) may able to fix this problem?
I love this Wickerbottom refresh, thanks you guys
click mouse to assist a pipspook
1. Spawn smallghost from gravestone.
TUNING.GHOST_GRAVESTONE_CHANCE = 1
c_spawn("gravestone")
LongUpdate(30*16)
2. Assist the smallghost. Let it spawn a lost_toy.
3. Crash.
-
1
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now