Sokomine / handle_schematics

save, copy, place and rotate buildings; optionally replace materials with others
10 stars 10 forks source link

It Crashed #13

Open Lapis-Wolf opened 4 years ago

Lapis-Wolf commented 4 years ago

I tried to use this mod with mg_villages and there was an error before the world could load:

ModError: Failed to load and run script from /home/nissiel/.minetest/mods/handle_schematics/init.lua: Unknown node: beds:fancy_bed_top stack traceback: [C]: in function 'get_content_id' ...l/.minetest/mods/handle_schematics/mob_bed_detection.lua:14: in main chunk [C]: in function 'dofile' /home/nissiel/.minetest/mods/handle_schematics/init.lua:56: in main chunk Check debug.txt for details.

Seems like the above one happened with a colored beds mod enabled, but there's another one:

ModError: Failed to load and run script from /home/nissiel/.minetest/mods/handle_schematics/init.lua: Unknown node: doors:door_wood_b_1 stack traceback: [C]: in function 'get_content_id' /home/nissiel/.minetest/mods/handle_schematics/rotate.lua:55: in function 'add_mirrored_node_type' /home/nissiel/.minetest/mods/handle_schematics/rotate.lua:65: in main chunk [C]: in function 'dofile' /home/nissiel/.minetest/mods/handle_schematics/init.lua:75: in main chunk Check debug.txt for details.

HeyITGuyFixIt commented 4 years ago

I am getting the same kind of error but with the node stairs:stair_pine_wood:

ModError: Failed to load and run script from /home/csirolli/.minetest/mods/handle_schematics/init.lua:
Unknown node: stairs:stair_pine_wood
stack traceback:
    [C]: in function 'get_content_id'
    ....minetest/mods/handle_schematics/replacements_global.lua:128: in function 'set_node_is_ground'
    ...i/.minetest/mods/handle_schematics/replacements_wood.lua:153: in function 'add_material'
    ...i/.minetest/mods/handle_schematics/replacements_wood.lua:194: in function 'construct_wood_type_list'
    ...i/.minetest/mods/handle_schematics/replacements_wood.lua:293: in main chunk
    [C]: in function 'dofile'
    /home/csirolli/.minetest/mods/handle_schematics/init.lua:101: in main chunk
Check debug.txt for details.

I am also using the mg_villages mod.

HeyITGuyFixIt commented 4 years ago

This issue seems to be a duplicate of #12

SmallJoker commented 4 years ago

@Lapis-Wolf handle_schematics requires the bed mod from Minetest Game. Please check that your world is using that game, or has beds enabled as a regular mod.

@HeyITGuyFixIt Your issue is a duplicate of #12.

Sokomine commented 4 years ago

Please test the newest version. It ought to be fixed now.