Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

I can't use the 0.4 version of the mod... Minetest says that it couldn't load... :( PLEASE SOMEONE HELP ME!
I use minetest-0.4.dev-20111209

Sorry for possible language mistakes

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

@rahonejm I can't help if you don't post the error message minetest is throwing

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

ModError: Failed to load and run C:\Documents and Settings\Marcelino\My Documents\Downloads\minetest-0.4.dev-20111209-1-win32.....

I can't read the rest of the message, but it only appears after installing your mod =/

Sorry for possible language mistakes

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

This message doesn't help, post the message that appears in the Console

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

I have had that too. WIN7 ULTIMATE.

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

@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:1227: 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:1227: 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

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

for me it says ..\data\mods\animals\init.lua:1227: attempt to call field 'get_modpath' (a nil value)

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

MrThebuilder3 wrote:

for me it says ..\data\mods\animals\init.lua:1227: attempt to call field 'get_modpath' (a nil value)

For ME the answer was to [re]compile newest minetest from github.

My game: RTMG
GENTOO USER

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

Hackeridze wrote:
MrThebuilder3 wrote:

for me it says ..\data\mods\animals\init.lua:1227: attempt to call field 'get_modpath' (a nil value)

For ME the answer was to [re]compile newest minetest from github.

i'll try that

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

nope:(

36 (edited by sapier 2011-12-29 00:26:11)

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

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

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

Sugestion: we should be able to capture animals without killing them, so we can make a little "farm". Only getting the meat after cooking them on the furnace! It would be awesome!

Sorry for possible language mistakes

38 (edited by sapier 2011-12-29 17:46:29)

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

@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.

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

fixed bug animals disapearing if another animal at the same pos is harvested/transformed

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

I really like this Mod! :D
The only thing is it seems to make the map load slower with dead block data areas (like MineCraft).
Might just be me though.

I plan to include this in my texture pack on the next update:
http://i.imgur.com/avYvQ.jpgp
http://i.imgur.com/AEkhf.jpg
http://i.imgur.com/CwsQH.jpg

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

Gaming4JC wrote:

http://i.imgur.com/CwsQH.jpg

I swear, that looks EXACTLY like the sheep face from minecraft 0.o

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

Looks great, really like it.

You'll have to add some more graphics as of 0.6.0 as it now supports different looking directions ;-)

43 (edited by jordan4ibanez 2012-01-03 02:47:05)

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

wait..now you can make the entity point towards the player :D and other directions...so now you can have 3d entities!

I give up on the politics, look for me in Minecraftforum! I'll be doing some basic mods.

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

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.

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

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

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

i think he means to make it so that his mod not only powers regular animals, but also the ones we have so far

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

how do you get 20120103?

48 (edited by sdzen 2012-01-03 22:30:11)

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

oh but if not ill rough him up!

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

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

Here's a mod to help remove all animals from the current world if you want to uninstall the Animals mod for any reason:

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,
            }

        )

It's some repetitive and hackish code, but I'm still learning Lua so bear with me :).

The Mesecons Laboratory, a site dedicated to the art of Mesecons circuitry!

Latest article: Mesecons Basics.

Re: [Mod] MOB Framework [2.1.2] [mobf] self defence?

Yes it's inteded to replace them by animals powered by this mod. NOT to remove them ;-)

@temperest although I'd prefere people not to remove animals mod I'm going to add your idea to my mod if you don't mind ;-)