Page 1 of 1

mob_miner: attempt to perform arithmetic on field 'maxlevel'

PostPosted: Sun Mar 27, 2016 05:06
by kylx
Hi,

I'm a newbie in this forum, please be gentle with me. I tried to find this specific error on the forum but did not quite find the right thread. If this error's solution already exists please point me to the right thread.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-03-27 12:31:26: ERROR[main]: ServerError: Lua: Runtime error from mod 'mob_miner' in callback luaentity_Step(): ....minetest/mods/animals_modpack-2.5.0/mob_miner/utils.lua:49: attempt to perform arithmetic on field 'maxlevel' (a nil value)
2016-03-27 12:31:26: ERROR[main]: stack traceback:
2016-03-27 12:31:26: ERROR[main]:    ....minetest/mods/animals_modpack-2.5.0/mob_miner/utils.lua:49: in function 'mob_miner_calc_digtime'
2016-03-27 12:31:26: ERROR[main]:    .../.minetest/mods/animals_modpack-2.5.0/mob_miner/init.lua:234: in function 'update_digpos'
2016-03-27 12:31:26: ERROR[main]:    .../.minetest/mods/animals_modpack-2.5.0/mob_miner/init.lua:320: in function 'custom_on_step_handler'
2016-03-27 12:31:26: ERROR[main]:    .../games/.minetest/mods/animals_modpack-2.5.0/mobf/init.lua:316: in function <.../games/.minetest/mods/animals_modpack-2.5.0/mobf/init.lua:314>
2016-03-27 12:31:26: ERROR[main]:    .../games/.minetest/mods/animals_modpack-2.5.0/mobf/mobf.lua:704: in function <.../games/.minetest/mods/animals_modpack-2.5.0/mobf/mobf.lua:610>
2016-03-27 12:31:26: ACTION[ServerThread]: singleplayer leaves game. List of players:


desktop: Debian
minetest: 0.4.13 from Jessie-backports
mod: animals_modpack-2.5.0.zip

Given orders to mine to a couple of miners

Thanks

Re: mob_miner: attempt to perform arithmetic on field 'maxle

PostPosted: Wed Mar 30, 2016 00:19
by MineYoshi
You can do this:

-Post this error in the respective topic of the mod.

-Report issue on Github.

-Download the mod again and try to repeat the error, if still happen' with the new version, then do the first of the list.

You should ask the mod creator because he is who should fix it!

https://forum.minetest.net/viewtopic.php?t=629