MinetestForFun / server-minetestforfun-skyblock

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

Server crash #184

Closed aerozoic closed 8 years ago

aerozoic commented 8 years ago
2016-09-19 04:35:42: ERROR[Main]: ServerError: Lua: Runtime error from mod 'skyblock_levels' in callback on_playerReceiveFields(): ...stforfun_skyblock/mods/skyblock_levels/register_misc.lua:48: attempt to index local 'a' (a nil value)
2016-09-19 04:35:42: ERROR[Main]: Stack Traceback
2016-09-19 04:35:42: ERROR[Main]: ===============
2016-09-19 04:35:42: ERROR[Main]: (2) Lua global 'compare_items' at file '/home/quentinbd/mff-skyblock/bin/../games/minetestforfun_skyblock/mods/skyblock_levels/register_misc.lua:48'
2016-09-19 04:35:42: ERROR[Main]:   Local variables:
2016-09-19 04:35:42: ERROR[Main]:    a = nil
2016-09-19 04:35:42: ERROR[Main]:    b = string: "default:cobble"
2016-09-19 04:35:42: ERROR[Main]:    (*temporary) = Lua function 'core' (defined at line 138 of chunk /home/quentinbd/mff-skyblock/bin/../builtin/game/misc.lua)
2016-09-19 04:35:42: ERROR[Main]:    (*temporary) = string: "default:cobble"
2016-09-19 04:35:42: ERROR[Main]:    (*temporary) = number: 18
2016-09-19 04:35:42: ERROR[Main]:    (*temporary) = nil
2016-09-19 04:35:42: ERROR[Main]:    (*temporary) = number: 17
2016-09-19 04:35:42: ERROR[Main]:    (*temporary) = string: "attempt to index local 'a' (a nil value)"
2016-09-19 04:35:42: ERROR[Main]: (3) Lua function '(anonymous)' at file '/home/quentinbd/mff-skyblock/bin/../games/minetestforfun_skyblock/mods/skyblock_levels/register_misc.lua:256' (best guess)
2016-09-19 04:35:42: ERROR[Main]:   Local variables:
2016-09-19 04:35:42: ERROR[Main]:    player = userdata: 0x52e1ef88
2016-09-19 04:35:42: ERROR[Main]:    formname = string: ""
2016-09-19 04:35:42: ERROR[Main]:    fields = table: 0x5ec622a0  {craft_max:Max}
2016-09-19 04:35:42: ERROR[Main]:    inv = userdata: 0x50d97e70
2016-09-19 04:35:42: ERROR[Main]:    inv = userdata: 0x50d97e98
2016-09-19 04:35:42: ERROR[Main]:    outstack = table: 0x50d97ed0  {metadata:, count:1, name:farming:hoe_stone, wear:0}
2016-09-19 04:35:42: ERROR[Main]:    craftgrid = table: 0x50d97f60  {1:table: 0x50d97ff0, 2:table: 0x50d98018, 3:table: 0x50d98040}
2016-09-19 04:35:42: ERROR[Main]:    stacks = table: 0x50d98068  {1:table: 0x50d98540}
2016-09-19 04:35:42: ERROR[Main]:    multiplier = number: 1
2016-09-19 04:35:42: ERROR[Main]:    cnt = number: 1
2016-09-19 04:35:42: ERROR[Main]:    all_possible_recipes = table: 0x50d98608  {1:table: 0x50d98648, 2:table: 0x50d987d8}
2016-09-19 04:35:42: ERROR[Main]:    our_recipe = nil
2016-09-19 04:35:42: ERROR[Main]:    recpamntfound = number: 2
2016-09-19 04:35:42: ERROR[Main]:    (for generator) = C function: next
2016-09-19 04:35:42: ERROR[Main]:    (for state) = table: 0x50d98608  {1:table: 0x50d98648, 2:table: 0x50d987d8}
2016-09-19 04:35:42: ERROR[Main]:    (for control) = number: nan
2016-09-19 04:35:42: ERROR[Main]:    _ = number: 1
2016-09-19 04:35:42: ERROR[Main]:    recipe = table: 0x50d98648  {type:normal, width:3, output:farming:hoe_stone, items:table: 0x50d98670}
2016-09-19 04:35:42: ERROR[Main]:    valid = boolean: true
2016-09-19 04:35:42: ERROR[Main]:    (for index) = number: 1
2016-09-19 04:35:42: ERROR[Main]:    (for limit) = number: 3
2016-09-19 04:35:42: ERROR[Main]:    (for step) = number: 1
2016-09-19 04:35:42: ERROR[Main]:    y = number: 1
2016-09-19 04:35:42: ERROR[Main]:    (for index) = number: 1
2016-09-19 04:35:42: ERROR[Main]:    (for limit) = number: 3
2016-09-19 04:35:42: ERROR[Main]:    (for step) = number: 1
2016-09-19 04:35:42: ERROR[Main]:    x = number: 1
2016-09-19 04:35:42: ERROR[Main]:    stack = table: 0x50d98270  {metadata:, count:1, name:default:cobble, wear:0}
2016-09-19 04:35:42: ERROR[Main]: (4) Lua function 'core' at file '/home/quentinbd/mff-skyblock/bin/../builtin/game/register.lua:369' (best guess)
2016-09-19 04:35:42: ERROR[Main]:   Local variables:
2016-09-19 04:35:42: ERROR[Main]:    callbacks = table: 0x402423c8  {1:function: 0x4cbe1980, 2:function: 0x4cbe5170, 3:function: 0x4cbe4d78, 4:function: 0x4cbe4618, 5:function: 0x4cbe4210, 6:function: 0x4c46b2e8, 7:function: 0x4cbe3540, 8:function: 0x4cbe30b8, 9:function: 0x4cbe2ca8, 10:fu
2016-09-19 04:35:42: ERROR[Main]: ction: 0x4cbe2868, 11:function: 0x4cbe2410, 12:function: 0x4cbe1fd0, 13:function: 0x4cbdbb50, 14:function: 0x4cbe1548, 15:function: 0x4cbe1000, 16:function: 0x4cbdce68, 17:function: 0x4cbdc958, 18:function: 0x4cbdc4e8, 19:function: 0x4cbdc0a8, 20:function
2016-09-19 04:35:42: ERROR[Main]:  0x4cbc3940, 21:function: 0x4cbc6450, 22:function: 0x4cbbe560, 23:function: 0x4cb588d0, 24:function: 0x4cb1a8a8, 25:function: 0x4cacbf20, 26:function: 0x4c4ac9f0, 27:function: 0x4c482cd0, 28:function: 0x4c46af70, 29:function: 0x4170e638, 30:function: 0x42
2016-09-19 04:35:42: ERROR[Main]: 5a0f8, 31:function: 0x426a31b0, 32:function: 0x425b5ce8, 33:function: 0x400be3b0, 34:function: 0x40344be0, 35:function: 0x4033c360, 36:function: 0x41b77fb8}
2016-09-19 04:35:42: ERROR[Main]:    mode = number: 5
2016-09-19 04:35:42: ERROR[Main]:    cb_len = number: 36
2016-09-19 04:35:42: ERROR[Main]:    ret = nil
2016-09-19 04:35:42: ERROR[Main]:    (for index) = number: 23
2016-09-19 04:35:42: ERROR[Main]:    (for limit) = number: 36
2016-09-19 04:35:42: ERROR[Main]:    (for step) = number: 1
2016-09-19 04:35:42: ERROR[Main]:    i = number: 23
2016-09-19 04:35:42: ERROR[Main]:    origin = table: 0x4cb588f0  {name:register_on_player_receive_fields, mod:skyblock_levels}

:large_orange_diamond:

Lymkwi commented 8 years ago

It shouldn't happen any more. https://github.com/MinetestForFun/server-minetestforfun-skyblock/commit/e20d64eed73bc763f632fb5055730e004f9baf6f

aerozoic commented 8 years ago

@Darcidride Hasn't been merged yet...

2016-09-26 23:39:34: ERROR[Main]: (2) Lua global 'compare_items' at file '/home/quentinbd/mff-skyblock/bin/../games/minetestforfun_skyblock/mods/skyblock_levels/register_misc.lua:48'

:large_orange_diamond:

aerozoic commented 8 years ago

@LeMagnesium I was told by a player that this is caused by trying to craft wood stairs with the max button. :large_orange_diamond: