crazyginger72 wrote:have you tried putting a mesecon or mese block between the firework and the delayer?
11:05:52: ERROR[main]: ServerError: .../wuzzy/.minetest/games/weird/mods/fireworks/init.lua:157: bad argument #2 to 'random' (interval is empty)
11:05:52: ERROR[main]: stack traceback:
11:05:52: ERROR[main]: [C]: in function 'random'
11:05:52: ERROR[main]: .../wuzzy/.minetest/games/weird/mods/fireworks/init.lua:157: in function 'fireworks_activate'
11:05:52: ERROR[main]: .../wuzzy/.minetest/games/weird/mods/fireworks/init.lua:64: in function 'on_rightclick'
11:05:52: ERROR[main]: /usr/share/minetest/builtin/game/item.lua:326: in function </usr/share/minetest/builtin/game/item.lua:319>
11:05:52: ERROR[main]: (tail call): ?
minetest.register_node("fireworks:"..colour, {
drawtype = "plantlike",
description = desc,
tiles = {"fireworks_"..colour..".png"},
light_source = 14,
sunlight_propagates = true,
walkable = false,
is_ground_content = true,
pointable = false,
groups = {cracky=3,not_in_creative_inventory=1},--, hot=1, igniter=3}, --<<<<to enable fire
sounds = default.node_sound_stone_defaults(),
})
if colour ~= "rainbow" then
minetest.register_node("fireworks:"..colour, {
drawtype = "plantlike",
description = desc,
tiles = {"fireworks_"..colour..".png"},
light_source = 14,
sunlight_propagates = true,
walkable = false,
is_ground_content = true,
pointable = false,
groups = {cracky=3,not_in_creative_inventory=1},--, hot=1, igniter=3}, --<<<<to enable fire
sounds = default.node_sound_stone_defaults(),
})
end
2015-11-22 07:20:20: ERROR[Main]: ServerError: Runtime error from mod 'mesecons' in callback environment_Step(): ...loads/minetest-master/bin/../mods/fireworks/init.lua:146: bad argument #2 to 'random' (interval is empty)
2015-11-22 07:20:20: ERROR[Main]: stack traceback:
2015-11-22 07:20:20: ERROR[Main]: [C]: in function 'random'
2015-11-22 07:20:20: ERROR[Main]: ...loads/minetest-master/bin/../mods/fireworks/init.lua:146: in function 'fireworks_activate'
2015-11-22 07:20:20: ERROR[Main]: ...loads/minetest-master/bin/../mods/fireworks/init.lua:60: in function 'action_on'
2015-11-22 07:20:20: ERROR[Main]: ...st-master/bin/../mods/mesecons/mesecons/internal.lua:189: in function '?'
2015-11-22 07:20:20: ERROR[Main]: ...master/bin/../mods/mesecons/mesecons/actionqueue.lua:90: in function 'execute'
2015-11-22 07:20:20: ERROR[Main]: ...master/bin/../mods/mesecons/mesecons/actionqueue.lua:84: in function '?'
2015-11-22 07:20:20: ERROR[Main]: ...ads/minetest-master/bin/../builtin/game/register.lua:355: in function <...ads/minetest-master/bin/../builtin/game/register.lua:335>
2015-11-22 07:20:20: WARNING[Server]: Assignment to undeclared global "player_name" inside a function at ...oads/minetest-master/bin/../mods/lightsaber/init.lua:15.
Users browsing this forum: No registered users and 21 guests