Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Server crash #184

Closed
aerozoic opened this issue Sep 19, 2016 · 3 comments
Closed

Server crash #184

aerozoic opened this issue Sep 19, 2016 · 3 comments

Comments

@aerozoic
Copy link
Member

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}

🔶

@Lymkwi Lymkwi self-assigned this Sep 21, 2016
Lymkwi added a commit that referenced this issue Sep 21, 2016
 - Check whether or not a is nil
@Lymkwi
Copy link
Member

Lymkwi commented Sep 21, 2016

It shouldn't happen any more.
e20d64e

@Lymkwi Lymkwi closed this as completed Sep 21, 2016
@aerozoic
Copy link
Member Author

aerozoic commented Sep 26, 2016

@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'

🔶

@aerozoic
Copy link
Member Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants