I have a player(Wendy) reporting that they left click on rocky turf in their inventory and that crashes their game. The error is shown below:
[string "scripts/components/placer.lua"]:45: calling 'SetPosition' on bad self (number expected, got no value)
LUA ERROR stack traceback:
=[C]:-1 in (method) SetPosition (C) <-1--1>
scripts/components/placer.lua:45 in (method) OnUpdate (Lua) <39-128>
self =
offset = 1
radius = 1
invobject = 101305 - turf_rocky (valid:true)
builder = 100079 - wendy (valid:true)
can_build = false
snap_to_tile = true
inst = 101723 - gridplacer (valid:true)
mouse_blocked = false
oncannotbuild = function - scripts/prefabs/gridplacer.lua:11
testfn = function - scripts/components/playercontroller.lua:1979
oncanbuild = function - scripts/prefabs/gridplacer.lua:6
linked = table: 8A46DC80
dt = 0
pt = (1806.75, -0.00, 1545.27)
scripts/components/playercontroller.lua:1986 in (method) OnUpdate (Lua) <1768-2209>
self =
deployplacer = 101723 - gridplacer (valid:true)
ondetachclassified = function - scripts/components/playercontroller.lua:155
isclientcontrollerattached = false
predictionsent = false
predictwalking = false
dragwalking = false
deploy_mode = true
controller_targeting_modifier_down = false
controller_targeting_lock_target = false
inst = 100079 - wendy (valid:true)
remote_vector = (1798.46, 3.00, 1551.22)
classified = 100049 - player_classified (valid:true)
map = Map (38358780)
HasItemSlots = function - scripts/components/playercontroller.lua:52
controller_target_age = 1.#INF
locomotor = table: 3A0DDD10
draggingonground = false
time_direct_walking = 1.0666667222977
ismastersim = false
handler = table: 81050ED8
directwalking = false
mousetimeout = 10
remote_controls = table: 38248CC0
controller_targeting_targets = table: 38248D38
is_hopping = false
dt = 0.033333335071802
isenabled = true
ishudblocking = nil
controller_mode = false
new_highlight = nil
new_highlight_guy = nil
placer_item = 101305 - turf_rocky (valid:true)
placer_name = gridplacer
placer_skin =
scripts/update.lua:202 in () ? (Lua) <159-238>
dt = 0.033333335071802
tick = 216
k = 100079
v = 100079 - wendy (valid:true)
cmp = table: 38248A40
[00:00:46]: [string "scripts/components/placer.lua"]:45: calling 'SetPosition' on bad self (number expected, got no value)
LUA ERROR stack traceback:
=[C]:-1 in (method) SetPosition (C) <-1--1>
scripts/components/placer.lua:45 in (method) OnUpdate (Lua) <39-128>
scripts/components/playercontroller.lua:1986 in (method) OnUpdate (Lua) <1768-2209>
scripts/update.lua:202 in () ? (Lua) <159-238>
[00:00:46]: Warning: Widget:SetFocusFromChild is happening on a widget outside of the screen/widget hierachy. This will cause focus moves to fail. Is ScriptErrorWidget not a screen?
[00:00:46]: stack traceback:
scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
scripts/widgets/scripterrorwidget.lua:107 in (method) OnUpdate (Lua) <102-119>
scripts/update.lua:90 in () ? (Lua) <33-129>
[00:00:46]: Force aborting...
The player (Wendy) tried to left click on the rocky turf in their inventory.
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