Megaf wrote:18:38:55: ERROR[main]: ========== ERROR FROM LUA ===========
18:38:55: ERROR[main]: Failed to load and run script from
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/init.lua:
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/crafting.lua:456: unexpected symbol near '<'
18:38:55: ERROR[main]: stack traceback:
18:38:55: ERROR[main]: [C]: in function 'dofile'
18:38:55: ERROR[main]: /home/minetest/Server/bin/../mods/moreblocks/init.lua:28: in main chunk
18:38:55: ERROR[main]: ======= END OF ERROR FROM LUA ========
18:38:55: ERROR[main]: Server: Failed to load and run /home/minetest/Server/bin/../mods/moreblocks/init.lua
18:38:55: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/minetest/Server/bin/../mods/moreblocks/init.lua
minetest.register_craft({
type = "cooking", output = "moreblocks:tar", recipe = "default:gravel",
})
minetest.register_craft({
type = "cooking", output = "moreblocks:tar", recipe = "default:gravel",
})
dgm5555 wrote:Just updated more blocks a few minutes ago. Now it fails to run:-
10:46:55: ERROR[main]: ========== ERROR FROM LUA ===========
10:46:55: ERROR[main]: Failed to load and run script from
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/init.lua:
10:46:55: ERROR[main]: ...d/.minetest/mods/moreblocks/stairsplus/registrations.lua:39: attempt to index local 'ndef' (a nil value)
10:46:55: ERROR[main]: stack traceback:
10:46:55: ERROR[main]: ...d/.minetest/mods/moreblocks/stairsplus/registrations.lua:39: in main chunk
10:46:55: ERROR[main]: [C]: in function 'dofile'
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/stairsplus/init.lua:52: in main chunk
10:46:55: ERROR[main]: [C]: in function 'dofile'
10:46:55: ERROR[main]: /home/david/.minetest/mods/moreblocks/init.lua:25: in main chunk
10:46:55: ERROR[main]: ======= END OF ERROR FROM LUA ========
10:46:55: ERROR[main]: Server: Failed to load and run /home/david/.minetest/mods/moreblocks/init.lua
10:46:55: ERROR[main]: ModError: ModError: Failed to load and run /home/david/.minetest/mods/moreblocks/init.lua
Inocudom wrote:I... Guess this problem... Will never be fixed then... Never... Never... Never...
VanessaE wrote:The fix is actually as obvious as it seems :-)
After line 37 of registrations.lua, add if ndef then , and before line 57, add a corresponding end . Be sure to adjust the indentation accordingly.
This will stop stairsplus from trying to register a node that isn't actually defined by the current game.
[...]
if ndef then
local groups = {}
for k, v in pairs(ndef.groups)
-- Ignore wood and stone groups to not make them usable in crafting:
do if k ~= "wood" and k ~= "stone" then
groups[k] = v
end
end
local drop
if type(ndef.drop) == "string" then
drop = ndef.drop:sub(9)
end
stairsplus:register_all("moreblocks", name, nodename, {
description = ndef.description,
drop = drop,
groups = groups,
sounds = ndef.sounds,
tiles = ndef.tiles,
sunlight_propagates = true,
end
[...]
11:33:39: ERROR[main]: ========== ERROR FROM LUA ===========
11:33:39: ERROR[main]: Failed to load and run script from
11:33:39: ERROR[main]: /home/martin/.minetest/mods/moreblocks/init.lua:
11:33:39: ERROR[main]: ...n/.minetest/mods/moreblocks/stairsplus/registrations.lua:57: unexpected symbol near 'end'
11:33:39: ERROR[main]: stack traceback:
11:33:39: ERROR[main]: [C]: in function 'dofile'
11:33:39: ERROR[main]: /home/martin/.minetest/mods/moreblocks/stairsplus/init.lua:52: in main chunk
11:33:39: ERROR[main]: [C]: in function 'dofile'
11:33:39: ERROR[main]: /home/martin/.minetest/mods/moreblocks/init.lua:25: in main chunk
11:33:39: ERROR[main]: ======= END OF ERROR FROM LUA ========
addi wrote:Where do i find the current version?
is it on Github again? https://github.com/Calinou/moreblocks/
on notabug? https://notabug.org/calinou/moreblocks
or gitorious? https://gitorious.org/calinou/moreblocks/
schnico wrote:Hi calinou,
why does pinewood doesn't work with circular saw anymore?
We used it often on our server, but after updating your mod there were only ugly unknown nodes instead of pinewood slabs. :(
cheers, schnico
DoyleChris wrote:I tried increasing the amount of light the Super_glow_Glass.
I changed the light_source in Node.lua but it seems still to be the same amount.
I was looking to increase it to 2 times as bright.
Any idea how to do it.
Users browsing this forum: No registered users and 8 guests