Furnace trouble
Furnace trouble
When someone fills the 4 boxes with items then tries to make something in the furnace with the other 2 boxes the game will crash and the map will no longer be usable. For servers it will crash the server and not let someone enter the server map when started again.
- Menche
- Member
- Posts: 1001
- Joined: Sat Jul 02, 2011 00:43
- IRC: Menchers
- In-game: Menche
- Location: An island in a lava lake.
I tested this and exactly what Nubelite described happened. The error message is this:
Code: Select all
17:00:38: ERROR[main]: ServerError: LuaError: error: ...est/bin/../games/minetest_game/mods/default/init.lua:1410: attempt to concatenate field 'item' (a userdata value)
An innocent kitten dies every time you top-post.
if you replace ln 1410 with print("Furnace is to full.") then the issue is resolved. The player just looses the fuel, but everything else stays.
Orginal line: print("Could not insert '"..cooked.item.."'")
Issue is cooked.item. I think when it tries to add it to the string in this instance it is trying to add a nil value. If that is the case i don't believe a nil value can be added to a string.
Optional replacement line: print("Furnace is to full.")
Orginal line: print("Could not insert '"..cooked.item.."'")
Issue is cooked.item. I think when it tries to add it to the string in this instance it is trying to add a nil value. If that is the case i don't believe a nil value can be added to a string.
Optional replacement line: print("Furnace is to full.")
Who is online
Users browsing this forum: No registered users and 3 guests