Page 1 of 1

Crash when I eat

PostPosted: Mon Oct 12, 2015 00:45
by Soudon
Ok friday I installed mobs redo, and hud_hunger friday all worked well no problems, now today I added 3d_armor and I get this error when I go to eat something. I have removed 3d_armor still happens.

    games/Minetest/mods/hud_hunger/hud/builtin.lua:41
    2015-10-11 20:40:52: ACTION[main]: .__ __ __
    2015-10-11 20:40:52: ACTION[main]: _____ |__| ____ _____/ |_ ____ _______/ |_
    2015-10-11 20:40:52: ACTION[main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
    2015-10-11 20:40:52: ACTION[main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
    2015-10-11 20:40:52: ACTION[main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
    2015-10-11 20:40:52: ACTION[main]: \/ \/ \/ \/ \/
    2015-10-11 20:40:52: ACTION[main]: World at [/home/icarion/.minetest/worlds/White]
    2015-10-11 20:40:52: ACTION[main]: Server for gameid="Minetest" listening on 0.0.0.0:58055.
    Unified Inventory. inventory size: 287
    2015-10-11 20:40:53: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game.
    2015-10-11 20:40:53: ACTION[ServerThread]: singleplayer joins game. List of players: singleplayer
    2015-10-11 20:40:56: ACTION[ServerThread]: singleplayer uses mobs:pork, pointing at [nothing]
    2015-10-11 20:40:56: ERROR[main]: ServerError: Lua: Runtime error from mod 'mobs' in callback item_OnUse(): .../games/Minetest/mods/hud_hunger/hunger/functions.lua:215: attempt to perform arithmetic on local 'hp_change' (a table value)
    2015-10-11 20:40:56: ERROR[main]: stack traceback:
    2015-10-11 20:40:56: ERROR[main]: .../games/Minetest/mods/hud_hunger/hunger/functions.lua:215: in function 'eat'
    2015-10-11 20:40:56: ERROR[main]: .../games/Minetest/mods/hud_hunger/hunger/functions.lua:200: in function <.../games/Minetest/mods/hud_hunger/hunger/functions.lua:198>
    2015-10-11 20:40:56: ERROR[main]: (tail call): ?
    2015-10-11 20:40:56: ACTION[ServerThread]: singleplayer leaves game. List of players:
    20:41:40: WARNING: Undeclared global variable "HUD_ENABLE_HUNGER" accessed at ...etest/games/Minetest/mods/hud_hunger/hud/builtin.lua:41

so far it only happens when eating pork if I eat a apple it works fine I have the mod mobs installed, looks like hunger for that mod but I still get this error.

Re: Crash when I eat

PostPosted: Mon Oct 12, 2015 08:10
by TenPlus1
Post your error in the actual hud/hunger thread so the developer will see it:
viewtopic.php?f=11&t=6342

Re: Crash when I eat

PostPosted: Mon Oct 12, 2015 17:27
by Soudon
ok I moved it over there. Wasn't sure if I should or not. Thats why I made a new thread.