Jump to content

Wall missing lootdropper component


MF99K
  • Fixed

I accidentally spawned one of each type of wall in the same place, so I can't determine which wall for sure, but I believe either the grass or  moon rock wall or the thulecite wall is missing the loot dropper component. If I try to hammer it or blow it up with gunpowder the game crashes. 

the only wall I know as a fact isn't causing a problem is the wooden wall.

looking at the log.txt, it looks like there may also be an unrelated issue with the twiggy tree

 

Quote

[00:09:30]: failed to regrow    twiggytree    
[00:09:39]: [string "scripts/prefabs/brokenwalls.lua"]:23: attempt to index field 'lootdropper' (a nil value)
LUA ERROR stack traceback:
scripts/prefabs/brokenwalls.lua:23 in (field) onfinish (Lua) <19-34>
   inst = 113634 - brokenwall_hay (valid:true)
   worker = 114178 - gunpowder (valid:true)
   num_loots = 1
   i = 1
scripts/components/workable.lua:128 in (method) WorkedBy (Lua) <114-134>
   self =
      onwork = function - scripts/prefabs/brokenwalls.lua:15
      lastworktime = 105.23333882168
      inst = 113634 - brokenwall_hay (valid:true)
      savestate = false
      destroyed = false
      _ = table: 0x2e0b8e60
      onfinish = function - scripts/prefabs/brokenwalls.lua:19
   worker = 114178 - gunpowder (valid:true)
   numworks = 10
scripts/components/explosive.lua:46 in (method) OnBurnt (Lua) <22-78>
   self =
      lightonexplode = true
      buildingdamage = 10
      inst = 114178 - gunpowder (valid:true)
      explosiverange = 3
      onexplodefn = function - scripts/prefabs/gunpowder.lua:20
      explosivedamage = 200
   stacksize = 1
   totaldamage = 200
   x = 13.19594669342
   y = -3.0311866794364e-08
   z = 356.56567382812
   ents = table: 0x2e1189c0
   i = 9
   v = 113634 - brokenwall_hay (valid:true)
scripts/components/burnable.lua:230 in (field) fn (Lua) <219-236>
   inst = 114178 - gunpowder (valid:true)
   self =
      task = PERIODIC 114178: 4.778109
      onextinguish = function - scripts/prefabs/gunpowder.lua:16
      fxdata = table: 0x2722a410
      inst = 114178 - gunpowder (valid:true)
      onignite = function - scripts/prefabs/gunpowder.lua:12
      burntime = 4.7781086758609
      flammability = 1
      fxchildren = table: 0x2722a5f0
      extinguishimmediately = true
      fxlevel = 2
      lightningimmune = false
      _ = table: 0x2722d5c0
scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225>
   self =
      running = table: 0x104966d0
      waitingfortick = table: 0x104966b0
      tasks = table: 0x10496690
      waking = table: 0x2e198b90
      attime = table: 0x10496380
      hibernating = table: 0x10496360
   tick = 3157
   k = PERIODIC 114178: 4.778109
   v = true
   already_dead = false
scripts/scheduler.lua:406 in (global) RunScheduler (Lua) <404-412>
   tick = 3157
scripts/update.lua:166 in () ? (Lua) <150-223>
   dt = 0.033333335071802
   tick = 3157
   i = 3157

[00:09:39]: [string "scripts/prefabs/brokenwalls.lua"]:23: attempt to index field 'lootdropper' (a nil value)
LUA ERROR stack traceback:
    scripts/prefabs/brokenwalls.lua:23 in (field) onfinish (Lua) <19-34>
    scripts/components/workable.lua:128 in (method) WorkedBy (Lua) <114-134>
    scripts/components/explosive.lua:46 in (method) OnBurnt (Lua) <22-78>
    scripts/components/burnable.lua:230 in (field) fn (Lua) <219-236>
    scripts/scheduler.lua:194 in (method) OnTick (Lua) <168-225>
    scripts/scheduler.lua:406 in (global) RunScheduler (Lua) <404-412>
    scripts/update.lua:166 in () ? (Lua) <150-223>
    
[00:09:40]: CURL ERROR: <url> malformed
 

 


Steps to Reproduce
spawn all walls in one place. hammer/gunpowder them



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