TenPlus1 wrote:lol, thanks ExeterDad... now we have a goat :) and I've reworked the KPGmobs to work with the api also which can be found here: https://forum.minetest.net/viewtopic.php?f=9&t=8798&start=50#p173539
23:14:28: ERROR[main]: ServerError: D:\Oyun\Kurulan\Minetest\bin\..\mods\mobs/api.lua:927: bad argument #1 to 'ipairs' (table expected, got nil)
23:14:28: ERROR[main]: stack traceback:
23:14:28: ERROR[main]: [C]: in function 'ipairs'
23:14:28: ERROR[main]: D:\Oyun\Kurulan\Minetest\bin\..\mods\mobs/api.lua:927: in function 'check_for_death'
23:14:28: ERROR[main]: D:\Oyun\Kurulan\Minetest\bin\..\mods\mobs/api.lua:281: in function 'do_env_damage'
23:14:28: ERROR[main]: D:\Oyun\Kurulan\Minetest\bin\..\mods\mobs/api.lua:289: in function <D:\Oyun\Kurulan\Minetest\bin\..\mods\mobs/api.lua:178>
TenPlus1 wrote:mahmutelmas06: going by the errors and line numbers you are not running the latest mobs redo api, so... what other mods are you running ? and what was happening in the world at the time of crash ?
minetest.register_node("testmod:cobblespwan", {
description = "Cobblespawn",
tiles = {"default_cobble.png"},
is_ground_content = true,
groups = {cracky=3, stone=2},
sounds = default.node_sound_stone_defaults(),
})
mobs:register_spawn("mobs:npc", {"testmod:cobblespawn"}, 20, 0, 1, 15, 31000)
mahmutelmas06 wrote:rat could attack to bunny
ExeterDad wrote:Although my nearly finished snake would like a bunny or rat snack.
Users browsing this forum: No registered users and 18 guests