Sign in to follow this  

[string "scripts/stats.lua"]:79: table index is nil


Kova_
  • Fixed

Server crashed. The tail of log:
 

[08:57:18]: Vote started by (KU_jntKIGDu) thefirecracker05: "regenerate" ()     
[08:57:21]: Vote received: (KU_jntKIGDu) Yes (1)    
[08:57:22]: Vote received: (KU_sbdBUMzZ) Yes (2)    
[08:57:25]: Vote received: (KU_xb1Ljg9Y) No (1) 
[08:57:29]: Vote received: (KU_6D6_M4cm) Yes (3)    
[08:57:30]: [DFTA] {"players":[{"flags":0,"name":"torgan333","userid":"KU_6D6_M4cm","netid":"76561199195642034","cave":false,"prefab":"wendy","age":5},{"flags":0,"name":"Timmy","userid":"KU_N6-DLmEM","netid":"76561198305835860","cave":false,"prefab":"wilson","age":1},{"flags":0,"name":"thefirecracker05","userid":"KU_jntKIGDu","netid":"76561198879813090","cave":false,"prefab":"webber","age":16},{"flags":0,"name":"Anonyfish user","userid":"KU_sbdBUMzZ","netid":"76561199106023618","cave":false,"prefab":"woodie","age":2},{"flags":1,"name":"Føxy","userid":"KU_xb1Ljg9Y","netid":"76561199121735952","cave":false,"prefab":"wortox","age":14}],"moonphase":"half","maxplayers":10,"phase":"night","season":"winter","day":26,"category":"newday","isCave":false,"remainingdaysinseason":10} 
[08:57:30]: [DFTA] {"phase":"day","category":"newphase"}    
[08:57:30]: [string "scripts/stats.lua"]:79: table index is nil
LUA ERROR stack traceback:
scripts/stats.lua:79 in (field) PrefabListToMetrics (Lua) <75-93>
   list = table: 0x20772b50
   metrics = table: 0x36afe290
   i = 7
   item = 159240 - (LIMBO) (valid:true)
scripts/components/worldoverseer.lua:179 in (method) DumpIndividualPlayerStats (Lua) <170-186>
   self =
      _daytime = 0.0012167612711588
      _cycles = 25
      inst = 100026 - world (valid:true)
      heartbeat_poll_counter = 255
      last_heartbeat_poll_time = 1629301435
      _seenplayers = table: 0x21c4b560
      data = table: 0x2ffdd250
      _v2_seenplayers = table: 0x237fa580
   stat = table: 0x752ef70
   event = heartbeat.player
   sendstats = table: 0x22aca600
scripts/components/worldoverseer.lua:191 in (method) DumpPlayerStats (Lua) <188-193>
   self =
      _daytime = 0.0012167612711588
      _cycles = 25
      inst = 100026 - world (valid:true)
      heartbeat_poll_counter = 255
      last_heartbeat_poll_time = 1629301435
      _seenplayers = table: 0x21c4b560
      data = table: 0x2ffdd250
      _v2_seenplayers = table: 0x237fa580
   playerstats = table: 0x343d37b0
   i = 6
   stat = table: 0x752ef70
scripts/components/worldoverseer.lua:356 in (method) Heartbeat (Lua) <355-358>
   self =
      _daytime = 0.0012167612711588
      _cycles = 25
      inst = 100026 - world (valid:true)
      heartbeat_poll_counter = 255
      last_heartbeat_poll_time = 1629301435
      _seenplayers = table: 0x21c4b560
      data = table: 0x2ffdd250
      _v2_seenplayers = table: 0x237fa580
scripts/components/worldoverseer.lua:21 in (field) fn (Lua) <21-21>
scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
   self =
      running = table: 0x68cdae0
      waitingfortick = table: 0x2f89db40
      tasks = table: 0x348fc560
      waking = table: 0x31dffb10
      attime = table: 0x546be80
      hibernating = table: 0x1a3d3400
   tick = 143984
   k = PERIODIC 100026: 300.000000
   v = true
   already_dead = nil
scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
   tick = 143984
scripts/update.lua:191 in () ? (Lua) <170-249>
   dt = 0.033333335071802
   tick = 143984
   i = 143984

[08:57:30]: [string "scripts/stats.lua"]:79: table index is nil
LUA ERROR stack traceback:
    scripts/stats.lua:79 in (field) PrefabListToMetrics (Lua) <75-93>
    scripts/components/worldoverseer.lua:179 in (method) DumpIndividualPlayerStats (Lua) <170-186>
    scripts/components/worldoverseer.lua:191 in (method) DumpPlayerStats (Lua) <188-193>
    scripts/components/worldoverseer.lua:356 in (method) Heartbeat (Lua) <355-358>
    scripts/components/worldoverseer.lua:21 in (field) fn (Lua) <21-21>
    scripts/scheduler.lua:177 in (method) OnTick (Lua) <155-207>
    scripts/scheduler.lua:371 in (global) RunScheduler (Lua) <369-377>
    scripts/update.lua:191 in () ? (Lua) <170-249>
    
[08:57:31]: Vote received: (KU_N6-DLmEM) Yes (4)    

 

crash_report (47).txt


Steps to Reproduce

Run server 24/7

Sign in to follow this  


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