MinetestForFun / server-minetestforfun-skyblock

Repository of the subgame and mods of "MinetestForFun Skyblock" server
https://www.xorhub.com
6 stars 3 forks source link

[whoison] is crashing the server ! #168

Closed BetterToAutomateTheWorld closed 8 years ago

BetterToAutomateTheWorld commented 8 years ago
2016-08-26 10:41:21: ACTION[Main]: IRC: Disconnected.
2016-08-26 10:41:21: ERROR[Main]: ServerError: Lua: Runtime error from mod 'whoison' in callback on_joinplayer(): ...n/../games/minetestforfun_skyblock/mods/whoison/init.lua:61: attempt to index field 'lastseen' (a nil value)
2016-08-26 10:41:21: ERROR[Main]: Stack Traceback
2016-08-26 10:41:21: ERROR[Main]: ===============
2016-08-26 10:41:21: ERROR[Main]: (2) Lua field 'updateFormat' at file '/home/quentinbd/mff-skyblock/bin/../games/minetestforfun_skyblock/mods/whoison/init.lua:61'
2016-08-26 10:41:21: ERROR[Main]:       Local variables:
2016-08-26 10:41:21: ERROR[Main]:        name = string: "Gilberte8876"
2016-08-26 10:41:21: ERROR[Main]:        (*temporary) = C function: type
2016-08-26 10:41:21: ERROR[Main]:        (*temporary) = nil
2016-08-26 10:41:21: ERROR[Main]:        (*temporary) = Lua function 'stmt' (defined at line 806 of chunk .../minetestforfun_skyblock/mods/mysql_auth/mysql/mysql.lua)
2016-08-26 10:41:21: ERROR[Main]:        (*temporary) = string: "attempt to index field 'lastseen' (a nil value)"
2016-08-26 10:41:21: ERROR[Main]: (3) Lua field 'updateStats' at file '/home/quentinbd/mff-skyblock/bin/../games/minetestforfun_skyblock/mods/whoison/init.lua:55'
2016-08-26 10:41:21: ERROR[Main]:       Local variables:
2016-08-26 10:41:21: ERROR[Main]:        name = string: "Gilberte8876"
2016-08-26 10:41:21: ERROR[Main]: (4) Lua field 'createFile' at file '/home/quentinbd/mff-skyblock/bin/../games/minetestforfun_skyblock/mods/whoison/init.lua:15'
2016-08-26 10:41:21: ERROR[Main]:       Local variables:
2016-08-26 10:41:21: ERROR[Main]:        loopit = boolean: false
2016-08-26 10:41:21: ERROR[Main]:        file = file (0x7fde9c05d7f0)
2016-08-26 10:41:21: ERROR[Main]:        (for generator) = C function: builtin#6
2016-08-26 10:41:21: ERROR[Main]:        (for state) = table: 0x4d3063f8  {1:userdata: 0x4d305188}
2016-08-26 10:41:21: ERROR[Main]:        (for control) = number: 1
2016-08-26 10:41:21: ERROR[Main]:        _ = number: 1
2016-08-26 10:41:21: ERROR[Main]:        player = userdata: 0x4d305188
2016-08-26 10:41:21: ERROR[Main]:        name = string: "Gilberte8876"
2016-08-26 10:41:21: ERROR[Main]: (5) Lua function '(anonymous)' at file '/home/quentinbd/mff-skyblock/bin/../games/minetestforfun_skyblock/mods/whoison/init.lua:70' (best guess)
2016-08-26 10:41:21: ERROR[Main]:       Local variables:
2016-08-26 10:41:21: ERROR[Main]:        player = userdata: 0x4d305188
2016-08-26 10:41:21: ERROR[Main]: (6) Lua function 'core' at file '/home/quentinbd/mff-skyblock/bin/../builtin/game/register.lua:369' (best guess)
2016-08-26 10:41:21: ERROR[Main]:       Local variables:
2016-08-26 10:41:21: ERROR[Main]:        callbacks = table: 0x40a2c620  {1:function: 0x40a1a800, 2:function: 0x4010bca8, 3:function: 0x41611f40, 4:function: 0x4161df90, 5:function: 0x4012adc0, 6:function: 0x416feac0, 7:function: 0x41707b20, 8:function: 0x41e59128, 9:function: 0x4012e020, 10:fu
2016-08-26 10:41:21: ERROR[Main]: ction: 0x418bac00, 11:function: 0x41deac20, 12:function: 0x4acff828, 13:function: 0x4b985d60, 14:function: 0x4b99e308, 15:function: 0x4ba293b8, 16:function: 0x4bb268c8, 17:function: 0x4bb3f278, 18:function: 0x4bb42420, 19:function: 0x4bb5a318, 20:function
2016-08-26 10:41:21: ERROR[Main]:  0x4bb967f0, 21:function: 0x4bba1d28, 22:function: 0x40fefaf0, 23:function: 0x4bbe88f8}
2016-08-26 10:41:21: ERROR[Main]:        mode = number: 0
2016-08-26 10:41:21: ERROR[Main]:        cb_len = number: 23
2016-08-26 10:41:21: ERROR[Main]:        ret = nil
2016-08-26 10:41:21: ERROR[Main]:        (for index) = number: 5
2016-08-26 10:41:21: ERROR[Main]:        (for limit) = number: 23
2016-08-26 10:41:21: ERROR[Main]:        (for step) = number: 1
2016-08-26 10:41:21: ERROR[Main]:        i = number: 5
2016-08-26 10:41:21: ERROR[Main]:        origin = table: 0x4012ae30  {name:register_on_joinplayer, mod:whoison}

I deleted this mod in the server side for the moment, because the server needs to be online. :)

This mod doesn't crash on the other servers.

BetterToAutomateTheWorld commented 8 years ago

Because of the lastseen file above 40 000+ entries, this file is deleted, the server is booting.