Furnace trouble

Post Reply
User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

Furnace trouble

by Nubelite » Post

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.

User avatar
Menche
Member
Posts: 1001
Joined: Sat Jul 02, 2011 00:43
IRC: Menchers
In-game: Menche
Location: An island in a lava lake.

by Menche » Post

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.

User avatar
Nubelite
Member
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » 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.")

User avatar
sdzen
Member
Posts: 1170
Joined: Fri Aug 05, 2011 22:33
Location: Paradise (your not allowed)

by sdzen » Post

i just removed the message completely :)

Zen S.D.

The next generation of tranquility!
malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests