Jump to content

waveyjones_hand attempted to index a nil value


Kova_
  • Fixed
[01:55:44]: [string "scripts/actions.lua"]:1760: attempt to index field 'fueled' (a nil value)
LUA ERROR stack traceback:
scripts/actions.lua:1760 in (field) fn (Lua) <1752-1763>
   act = Extinguish 103288 - meatrack (valid:true)
scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
   self (valid:true) =
      options = table: 0x1ccae3e0
      action = table: 0xbb61250
      doer = 175623 - waveyjones_hand (valid:true)
      onsuccess = table: 0x21167f20
      doerownsobject = false
      onfail = table: 0xad64bf0
      target = 103288 - meatrack (valid:true)
scripts/entityscript.lua:1318 in (method) PerformBufferedAction (Lua) <1305-1328>
   self (valid:true) =
      GUID = 175623
      Transform = Transform (0xca6c260)
      inlimbo = false
      actionreplica = table: 0x1797fa80
      event_listening = table: 0x1efffaf0
      brain = --brain--
sleep time: 0.00
Priority - RUNNING <RUNNING> (execute 1, eval in 0.05)>0.00
   >Sequence - RUNNING <RUNNING> (2)>0.00
   >   >not trapped - READY <READY> ()>0.00
   >   >Priority - RUNNING <RUNNING> (execute 1, eval in 0.05)>0.00
   >   >   >tinker - RUNNING <RUNNING> ()>0.00
   >   >   >StandStill - READY <READY> ()>0.00

      actioncomponents = table: 0x1f9e1960
      waveyjonestarget = 103288 - meatrack (valid:true)
      lower_components_shadow = table: 0x272f2b00
      ClearWaveyJonesTarget = function - scripts/prefabs/waveyjones.lua:162
      entity = Entity (0x101166d0)
      wallupdatecomponents = table: 0x194b0140
      prefab = waveyjones_hand
      handart = 175624 - waveyjones_hand_art (valid:true)
      arm = 175622 - waveyjones_arm (valid:true)
      Network = Network (0x1e4a9a70)
      Physics = Physics (0x1c783fd0)
      name = MISSING NAME
      brainfn = table: 0xf7a8f40
      pendingtasks = table: 0x1ecad470
      resetposition = function - scripts/prefabs/waveyjones.lua:169
      persists = false
      sg = sg="waveyjoneshand", state="short_action", time=0.60, tags = "canrotate,busy,"
      spawntime = 6769.9003530778
      event_listeners = table: 0x26e39c20
      replica = table: 0x267e0b10
      bufferedaction = Extinguish 103288 - meatrack (valid:true)
      components = table: 0x2124d720
      rotatearthand = function - scripts/prefabs/waveyjones.lua:182
   action_theme_music = false
scripts/stategraphs/SGwaveyjoneshand.lua:107 in () ? (Lua) <106-112>
   inst = 175623 - waveyjones_hand (valid:true)
=(tail call):-1 in ()  (tail) <-1--1>
scripts/stategraph.lua:402 in (method) HandleEvents (Lua) <396-416>
   self =
      tags = table: 0x27e65db0
      mem = table: 0x1e91f440
      statemem = table: 0x23fed7e0
      currentstate = table: 0x18120320
      timeinstate = 0
      sg = Stategraph : waveyjoneshand
      inst = 175623 - waveyjones_hand (valid:true)
      bufferedevents = table: 0x22b5bcf0
      timelineindex = 1
      lastupdatetime = 6841.6003568172
      laststate = table: 0x1fed43c0
      statestarttime = 6841.6003568172
   buff_events = table: 0x22b5bcf0
   k = 1
   event = table: 0x1b1ff520
scripts/stategraph.lua:150 in (method) Update (Lua) <109-153>
   self =
      updaters = table: 0xef8b1c0
      OnEnterNewState = function - scripts/stategraph.lua:27
      tickwaiters = table: 0xc8efb20
      haveEvents = table: 0x206e9910
      hibernaters = table: 0xc8efb50
      instances = table: 0xc8efaa0
   current_tick = 205266
   waiters = table: 0x1ec3b010
   updaters = table: 0x1f45d7e0
   evs = table: 0x2766c490
   k = sg="waveyjoneshand", state="short_action", time=0.60, tags = "canrotate,busy,"
   v = true
scripts/update.lua:233 in () ? (Lua) <164-243>
   dt = 0.033333335071802
   tick = 205266
   i = 205266

[01:55:44]: [string "scripts/actions.lua"]:1760: attempt to index field 'fueled' (a nil value)
LUA ERROR stack traceback:
    scripts/actions.lua:1760 in (field) fn (Lua) <1752-1763>
    scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
    scripts/entityscript.lua:1318 in (method) PerformBufferedAction (Lua) <1305-1328>
    scripts/stategraphs/SGwaveyjoneshand.lua:107 in () ? (Lua) <106-112>
    =(tail call):-1 in ()  (tail) <-1--1>
    scripts/stategraph.lua:402 in (method) HandleEvents (Lua) <396-416>
    scripts/stategraph.lua:150 in (method) Update (Lua) <109-153>
    scripts/update.lua:233 in () ? (Lua) <164-243>
    
[01:55:44]: 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?   
[01:55:44]: stack traceback:
    scripts/widgets/widget.lua:605 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:624 in (method) SetFocusFromChild (Lua) <602-627>
    scripts/widgets/widget.lua:656 in (method) SetFocus (Lua) <629-665>
    scripts/widgets/menu.lua:83 in (method) SetFocus (Lua) <74-85>
    scripts/widgets/scripterrorwidget.lua:109 in (method) OnUpdate (Lua) <102-119>
    scripts/update.lua:95 in () ? (Lua) <33-134>    

 


Steps to Reproduce

- Run the server 24/7 and let players play :)
- How to fix - see a bug report + add a condition for a nil value somewhere.




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...