Jump to content

Crash on telelocating Pearl: attempt to index field 'health' (a nil value)


Aztronat
  • Fixed

Crash log:

LUA ERROR stack traceback:
scripts/componentutil.lua:969 in (global) LightningStrikeAttack (Lua) <961-978>
inst = 106994 - hermitcrab (valid:true)
wetness_mult = 0
damage = 10
scripts/componentutil.lua:1006 in (global) StrikeLightningAtPoint (Lua) <993-1018>
strike_prefab = lightning
hit_player = false
x = 708.74304199219
y = 2.1936790162158e-008
z = 600.49530029297
data = table: 0000000014800A00
ents = table: 0000000014800370
_ = 1
ent = 106994 - hermitcrab (valid:true)
scripts/components/weather.lua:725 in (local) fn (Lua) <629-729>
src = 100029 - world (valid:true)
pos = (708.74, 0.00, 600.50)
closest_generic = nil
closest_rod = nil
closest_blocker = nil
ents = table: 0000000014800640
blockers = nil
strike_position = (708.74, 0.00, 600.50)
prefab_type = lightning
SetStrikePositionAndPrefab = function - scripts/components/weather.lua:665
hit_player = false
scripts/entityscript.lua:1238 in (method) PushEvent_Internal (Lua) <1225-1254>
self (valid:true) =
GUID = 100029
tile_id_conversion_map = table: 0000000014449410
inlimbo = false
Pathfinder = Pathfinder (0000000031809580)
worldstatewatching = table: 000000000E426730
spawntask = function - scripts/components/squidspawner.lua:146
worldprefab = forest
spawnwaveyjones = function - scripts/components/shadowhandspawner.lua:274
ismastershard = true
CreateTilePhysics = function - scripts/prefabs/world.lua:365
OnRemoveEntity = function - scripts/prefabs/world.lua:354
pendingtasks = table: 000000000E422E50
GetPocketDimensionContainer = function - scripts/prefabs/world.lua:388
state = table: 0000000017068B30
watchingcycles = true
spawntime = 0
SetPocketDimensionContainer = function - scripts/prefabs/world.lua:384
shard = 100033 - shard_network (valid:true)
net = 100032 - forest_network (valid:true)
minimap = 100030 - minimap (valid:true)
hideminimap = false
moonstormwindowovertask = PERIODIC 100029: 0.000000
cancrossbarriers_flying = true
persists = false
PocketDimensionContainers = table: 0000000014D61F90
generated = table: 000000000A97B620
event_listening = table: 0000000017087580
checkwaveyjonestarget = function - scripts/components/shadowhandspawner.lua:258
PostInit = function - scripts/prefabs/world.lua:332
lower_components_shadow = table: 0000000017087940
has_ocean = true
entity = Entity (00000000317BB470)
removewaveyjonestarget = function - scripts/components/shadowhandspawner.lua:268
prefab = world
updatecomponents = table: 000000000C941E90
GroundCreep = GroundCreep (0000000031809160)
reservewaveyjonestarget = function - scripts/components/shadowhandspawner.lua:264
Transform = Transform (0000000031809040)
CanFlyingCrossBarriers = function - scripts/prefabs/world.lua:392
meta = table: 000000000A3A6430
actioncomponents = table: 00000000170879E0
event_listeners = table: 0000000017088480
name = The World
tile_physics_init = function - scripts/prefabs/forest.lua:581
ismastersim = true
Map = Map (0000000031809310)
WaveComponent = WaveComponent (000000003180B7A0)
replica = table: 0000000017087CB0
topology = table: 000000000CD61C90
components = table: 0000000017088660
SoundEmitter = SoundEmitter (00000000318092E0)
event = ms_sendlightningstrike
data = (708.74, 0.00, 600.50)
immediate = false
listeners = table: 000000001A2F8520
tocall = table: 0000000014800230
i = 1
fn = function - scripts/components/weather.lua:629
scripts/entityscript.lua:1257 in (method) PushEvent (Lua) <1256-1258>
self (valid:true) =
GUID = 100029
tile_id_conversion_map = table: 0000000014449410
inlimbo = false
Pathfinder = Pathfinder (0000000031809580)
worldstatewatching = table: 00000
[00:26:48]: [string "scripts/componentutil.lua"]:969: attempt to index field 'health' (a nil value)
LUA ERROR stack traceback:
scripts/componentutil.lua:969 in (global) LightningStrikeAttack (Lua) <961-978>
scripts/componentutil.lua:1006 in (global) StrikeLightningAtPoint (Lua) <993-1018>
scripts/components/weather.lua:725 in (local) fn (Lua) <629-729>
scripts/entityscript.lua:1238 in (method) PushEvent_Internal (Lua) <1225-1254>
scripts/entityscript.lua:1257 in (method) PushEvent (Lua) <1256-1258>
scripts/prefabs/staff.lua:341 in (upvalue) teleport_start (Lua) <296-363>
scripts/prefabs/staff.lua:388 in (field) spell (Lua) <371-389>
scripts/components/spellcaster.lua:136 in (method) CastSpell (Lua) <134-142>
scripts/actions.lua:3204 in (field) fn (Lua) <3185-3210>
scripts/bufferedaction.lua:26 in (method) Do (Lua) <22-36>
scripts/entityscript.lua:1611 in (method) PerformBufferedAction (Lua) <1593-1626>
scripts/stategraphs/SGwilson.lua:14943 in (field) fn (Lua) <14933-14944>
scripts/stategraph.lua:678 in (method) UpdateState (Lua) <646-690>
scripts/stategraph.lua:716 in (method) Update (Lua) <709-735>
scripts/stategraph.lua:128 in (method) Update (Lua) <109-146>
scripts/update.lua:288 in () ? (Lua) <224-298>

 


Steps to Reproduce

use telestaff on hermitcrab




User Feedback


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.


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...