[Modpack] Animals Modpack [2.5] -- 2.6 approaching
@sfan5 you mean this one?
13:56:25: ERROR[main]: [LUA]
13:56:25: ERROR[main]: [LUA] ...v-20111209-1-win32\bin\..\data\mods\animals\init.lua attempt to call field 'get_modpath' (a nil value)
13:56:25: ERROR[main]: stack traceback:
13:56:25: ERROR[main]: ...v-20111209-1-win32\bin\..\data\mods\animals\init.lua in main chunk
13:56:25: ERROR[main]: [LUA]
13:56:25: ERROR[main]: Server: Failed to load and run C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\data\mods\animals\init.lua
BanManager: saving to C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\world\ipban.txt
AuthManager: saving to C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\world\auth.txt
13:56:25: ERROR[main]: ModError: Failed to load and run C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\data\mods\animals\init.lua
13:56:25: ERROR[main]: error_message = ModError: Failed to load and run C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\data\mods\animals\init.lua
13:56:25: ERROR[main]: Check debug.txt for details.
13:56:25: ERROR[main]: [LUA]
13:56:25: ERROR[main]: [LUA] ...v-20111209-1-win32\bin\..\data\mods\animals\init.lua attempt to call field 'get_modpath' (a nil value)
13:56:25: ERROR[main]: stack traceback:
13:56:25: ERROR[main]: ...v-20111209-1-win32\bin\..\data\mods\animals\init.lua in main chunk
13:56:25: ERROR[main]: [LUA]
13:56:25: ERROR[main]: Server: Failed to load and run C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\data\mods\animals\init.lua
BanManager: saving to C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\world\ipban.txt
AuthManager: saving to C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\world\auth.txt
13:56:25: ERROR[main]: ModError: Failed to load and run C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\data\mods\animals\init.lua
13:56:25: ERROR[main]: error_message = ModError: Failed to load and run C:\Documents and Settings\Marcelino\Meus documentos\Downloads\minetest-0.4.dev-20111209-1-win32\bin\..\data\mods\animals\init.lua
13:56:25: ERROR[main]: Check debug.txt for details.
Sorry for possible language mistakes
- MrThebuilder3
- Member
- Posts: 104
- Joined: Sat Nov 19, 2011 18:26
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
For ME the answer was to [re]compile newest minetest from github.MrThebuilder3 wrote:for me it says ..\data\mods\animals\init.lua attempt to call field 'get_modpath' (a nil value)
My game: RTMG
GENTOO USER
GENTOO USER
- MrThebuilder3
- Member
- Posts: 104
- Joined: Sat Nov 19, 2011 18:26
- MrThebuilder3
- Member
- Posts: 104
- Joined: Sat Nov 19, 2011 18:26
Sorry my fault, the init.lua file you are using is automaticaly created from the modular files, normaly I remove the lines 1227 - 1234 manualy seems i forgot it this time.
pleas comment out lines
local animals_modpath = minetest.get_modpath("animals")
dofile (animals_modpath .. "/generic_functions.lua")
dofile (animals_modpath .. "/movement_gen.lua")
dofile (animals_modpath .. "/harvesting.lua")
dofile (animals_modpath .. "/fighting.lua")
dofile (animals_modpath .. "/spawn_algorithms.lua")
dofile (animals_modpath .. "/management_functions.lua")
or take 0.4.1 comming soon
current git version should at least give a different error
pleas comment out lines
local animals_modpath = minetest.get_modpath("animals")
dofile (animals_modpath .. "/generic_functions.lua")
dofile (animals_modpath .. "/movement_gen.lua")
dofile (animals_modpath .. "/harvesting.lua")
dofile (animals_modpath .. "/fighting.lua")
dofile (animals_modpath .. "/spawn_algorithms.lua")
dofile (animals_modpath .. "/management_functions.lua")
or take 0.4.1 comming soon
current git version should at least give a different error
Last edited by sapier on Thu Dec 29, 2011 00:26, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
(c) sapier all rights reserved
@rahonejm good idea I'm going to add a rope to catch animals
EDIT1: Meat already present in animals mod is raw meat only. I don't intend to add cooking recipes to animals mod. In my opinion cooking would be better done in a separate mod eg baking.
EDIT1: Meat already present in animals mod is raw meat only. I don't intend to add cooking recipes to animals mod. In my opinion cooking would be better done in a separate mod eg baking.
Last edited by sapier on Thu Dec 29, 2011 17:46, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
(c) sapier all rights reserved
- IPushButton2653
- Member
- Posts: 666
- Joined: Wed Nov 16, 2011 22:47
- Location: Mississippi
- Contact:
- jordan4ibanez
- Member
- Posts: 1923
- Joined: Tue Sep 27, 2011 18:44
- GitHub: jordan4ibanez
- IRC: jordan4ibanez
- In-game: jordan4ibanez
wait..now you can make the entity point towards the player and other directions...so now you can have 3d entities!
Last edited by jordan4ibanez on Tue Jan 03, 2012 02:47, edited 1 time in total.
hello, am program. do language in rust. make computer do. okay i go now.
Sorry jordan4ibanez it's just sprites that do support it by now.
And I'm sad to tell celeron doesn't like having to many 3d-objects within minetest. I'll have a try to persuade him later, first I'll improove animals mod to the point it's capable of replacing rats, fireflys oerkkis and dungeon masters.
There's still some work to do to achieve this.
And I'm sad to tell celeron doesn't like having to many 3d-objects within minetest. I'll have a try to persuade him later, first I'll improove animals mod to the point it's capable of replacing rats, fireflys oerkkis and dungeon masters.
There's still some work to do to achieve this.
DON'T mention coding style!
(c) sapier all rights reserved
(c) sapier all rights reserved
I love those fireflys and rats and all the other mobs how dare regular animals come into the mix and try to replace these glorious things! correct me if I misunderstood you
Zen S.D.
The next generation of tranquility!malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
- MrThebuilder3
- Member
- Posts: 104
- Joined: Sat Nov 19, 2011 18:26
oh but if not ill rough him up!
Last edited by sdzen on Tue Jan 03, 2012 22:30, edited 1 time in total.
Zen S.D.
The next generation of tranquility!malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
Here's a mod to help remove all animals from the current world if you want to uninstall the Animals mod for any reason:
It's some repetitive and hackish code, but I'm still learning Lua so bear with me .
Code: Select all
minetest.register_entity(":animals:sheep",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:sheep_naked",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:deer",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:cow",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
minetest.register_entity(":animals:big_red",
{
physical = true,
collisionbox = {-0.5,-0.5,-0.5, 0.5,0.5,0.5},
visual = "sprite",
visual_size = {x=4,y=4},
textures = {"wieldhand.png"},
spritediv = {x=6,y=1},
initial_sprite_basepos = {x=0, y=0},
on_step = function(self, dtime)
self.object:remove()
end,
on_punch = function(self, hitter) end,
on_rightclick = function(self, clicker) end,
on_activate = function(self,staticdata) end,
}
)
WorldEdit 1.0 released
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
Who is online
Users browsing this forum: No registered users and 24 guests