Don't Starve Together

Don't Starve Together

ActionQueue Reborn
ErDroid Apr 11, 2021 @ 9:01am
[Bug?] Possible bug found in actionqueuer.lua (Same in the Dont starve version)
In the file, inside the function ActionQueuer:OnUp(rightclick), line 428, there's this code:

local rotation = playercontroller.placer:GetRotation()

If i SHIFT CLICK with a structure (might not be the only case) in the ground, the throw exception might occurs (it happend to me in the DS version)

"attempt to call method 'GetRotation' (a nil value)"

It seems placer doesn't have GetRotation().. so instead of:

local rotation = playercontroller.placer:GetRotation()

should be ?

local rotation = playercontroller.placer.Transform:GetRotation()

It didnt crash in the DS version.
< >
Showing 1-1 of 1 comments
ErDroid Apr 11, 2021 @ 9:11am 
Another crash, but it is logged within the native data scripts stacktrace:

Steps to reproduce:

1- Select the crockpot and press SHIFT + DRAG CLICK in an area
2- The Player goes and deploys the crockPot
3- Immediately After building, the next crash with the throw exception occurs:

[01:07:49]: scripts/mainfunctions.lua(961,1) .../dont_starve/data/scripts/bufferedaction.lua:93: attempt to call local 'v' (a number value)
LUA ERROR stack traceback:
../dont_starve/data/scripts/bufferedaction.lua:93 in (method) Succeed (Lua) <91-99>
../dont_starve/data/scripts/bufferedaction.lua:24 in (method) Do (Lua) <16-32>
../dont_starve/data/scripts/entityscript.lua:996 in (method) PerformBufferedAction (Lua) <986-1009>
../dont_starve/data/scripts/stategraphs/SGwilson.lua:1814 in (field) ontimeout (Lua) <1811-1815>
../dont_starve/data/scripts/stategraph.lua:474 in (method) UpdateState (Lua) <460-504>
../dont_starve/data/scripts/stategraph.lua:531 in (method) Update (Lua) <523-551>
../dont_starve/data/scripts/stategraph.lua:124 in (method) Update (Lua) <107-148>
../dont_starve/data/scripts/update.lua:178 in () ? (Lua) <90-191>
< >
Showing 1-1 of 1 comments
Per page: 1530 50