Jump to content

[string "scripts/components/grottowaterfallsoundcont..."]:44: attempt to index local 'pool2' (a nil value)


Viktor234
  • Pending

[00:39:44]: [string "scripts/components/grottowaterfallsoundcont..."]:44: attempt to index local 'pool2' (a nil value)
LUA ERROR stack traceback:
scripts/components/grottowaterfallsoundcontroller.lua:44 in () ? (Lua) <43-45>
   pool1 = table: 5DA56BF8
   pool2 = nil
=[C]:-1 in (field) sort (C) <-1--1>
scripts/components/grottowaterfallsoundcontroller.lua:66 in (upvalue) get_pools_close_to_player_dsqsorted (Lua) <49-69>
   px = -520
   py = 0
   pz = 485
   pools_with_dist = table: 5DA56C20
scripts/components/grottowaterfallsoundcontroller.lua:125 in (field) fn (Lua) <117-155>
scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
   self =
      running = table: 1A98E058
      waitingfortick = table: 1A98DFE0
      tasks = table: 1A98E260
      waking = table: 5DA555C8
      attime = table: 1A98E0A8
      hibernating = table: 1A98E1E8
   tick = 3304
   k = PERIODIC 100027: 0.166667
   v = true
   already_dead = nil
scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
   tick = 3304
scripts/update.lua:185 in () ? (Lua) <164-243>
   dt = 0.033333335071802
   tick = 3304
   i = 3304

[00:39:44]: [string "scripts/components/grottowaterfallsoundcont..."]:44: attempt to index local 'pool2' (a nil value)
LUA ERROR stack traceback:
    scripts/components/grottowaterfallsoundcontroller.lua:44 in () ? (Lua) <43-45>
    =[C]:-1 in (field) sort (C) <-1--1>
    scripts/components/grottowaterfallsoundcontroller.lua:66 in (upvalue) get_pools_close_to_player_dsqsorted (Lua) <49-69>
    scripts/components/grottowaterfallsoundcontroller.lua:125 in (field) fn (Lua) <117-155>
    scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
    scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
    scripts/update.lua:185 in () ? (Lua) <164-243>


Steps to Reproduce

I was just exploring the caves, teleporting around with the help of the console when suddenly that error came up.




User Feedback


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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...