I like the mod much :)
But!
I think there is a mistake in code, that prevents listing all the items in inventory - I am unable to search all of them by name.
File: init.lua
Code: Select all
(((((SNIP)))))
minetest.register_node("lift:control_up", {
tiles = {"lift_control_top_and_bottom.png", "lift_control_top_and_bottom.png", "lift_control_up.png", "lift_control_up.png", "lift_control_up.png", "lift_control_up.png"},
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2},
description = "lift:control_up"
})
minetest.register_node("lift:control_down", {
tiles = {"lift_control_top_and_bottom.png", "lift_control_top_and_bottom.png", "lift_control_down.png", "lift_control_down.png", "lift_control_down.png", "lift_control_down.png"},
groups = {snappy=2, choppy=2, oddly_breakable_by_hand=2},
})
(((((SNIP)))))
Other control nodes (control_down, control_stop) should have
description = "lift:control_down" etc.
Also: When I add this mod my minetest (freshly compiled) keeps crashing soon after run with the following message:
Code: Select all
kociak@kociak_box:~/minetest/bin$ ./minetestserver --config /home/kociak/.minetest/minetest.conf --logfile /home/kociak/minetest/debug.txt
2015-08-24 21:55:43: ERROR[main]: The following mods could not be found: "builtin_item" "compassgps" "mesecons_compatibility"
[Sign] v1.0
pushable block 0.0.7 mod loaded
2015-08-24 21:55:43: ERROR[main]: ========== ERROR FROM LUA ===========
2015-08-24 21:55:43: ERROR[main]: Failed to load and run script from
2015-08-24 21:55:43: ERROR[main]: /home/kociak/minetest/bin/../games/minetest_game/mods/gauges/init.lua:
2015-08-24 21:55:43: ERROR[main]: /home/kociak/minetest/bin/../builtin/common/strict.lua:18: attempt to index global 'debug' (a boolean value)
2015-08-24 21:55:43: ERROR[main]: ======= END OF ERROR FROM LUA ========
2015-08-24 21:55:43: ERROR[main]: Server: Failed to load and run /home/kociak/minetest/bin/../games/minetest_game/mods/gauges/init.lua
2015-08-24 21:55:43: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/kociak/minetest/bin/../games/minetest_game/mods/gauges/init.lua
2015-08-24 21:55:43: ERROR[main]: Error from Lua:
2015-08-24 21:55:43: ERROR[main]: /home/kociak/minetest/bin/../builtin/common/strict.lua:18: attempt to index global 'debug' (a boolean value)
The following solves the problem:
Code: Select all
distance = 5 -- Operating range of connectors
local debug = true -- Print debug information, useful for reporting bugs
-- added word local here
Edit: If you post github URL I'll mirror it and do all the above.
Best regards, Kociak