[Modpack] Animals Modpack [2.5] -- 2.6 approaching

User avatar
onpon4
Member
 
Posts: 517
Joined: Thu Mar 21, 2013 01:54

by onpon4 » Wed Mar 27, 2013 17:41

You know, I've been wondering: what are the feathers for? Is there a crafting recipe you can use them in?
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Sat Mar 30, 2013 16:01

currently feathers are not good for anything there's a changeset to make wool from them but it's not added ... most likely it'll be added for 2.1
DON'T mention coding style!
(c) sapier all rights reserved
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Sun Mar 31, 2013 12:37

After the last update this mod don't is working any more, some problem with animalmaterial, init.lua, line 312.
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Mon Apr 01, 2013 22:16

@deivan already fixed in git as well as another bug
DON'T mention coding style!
(c) sapier all rights reserved
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Tue Apr 02, 2013 00:03

Nice. :D
 

korkut
New member
 
Posts: 4
Joined: Tue Apr 02, 2013 02:13

by korkut » Tue Apr 02, 2013 02:23

Recent Minetest (I got 0.4.5) changed damage algorithm and made the mobs indestructable. I got pretty annoyed while trying to kill a chicken with a mese sword until I decided to just look up git commits and figure out what's wrong.

In api.lua, I found this function and added a workaround until a proper fix is in place.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
...
function mobf_add_mob(mob)

    --workaround for new damage algorithm for 0.4.5
    --armour_groups are no longer group rating but percentage
    if mob.generic.armor_groups then
        local old_armor_groups={30,50,100,133}
        for k,v in pairs(mob.generic.armor_groups) do
            mob.generic.armor_groups[k]=old_armor_groups[v]
        end
    end
...


Hopefully others won't lose some sleep trying to figure this out.
 

dove_g
New member
 
Posts: 6
Joined: Wed Apr 03, 2013 08:41

by dove_g » Wed Apr 03, 2013 08:43

I added mobf to my local server, mod is succesfully loaded, but there is no animals? Nothing? How to get them, how to find them etc...
Do I need to add something to conf?

Tnx.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Wed Apr 03, 2013 11:47

dove_g wrote:I added mobf to my local server, mod is succesfully loaded, but there is no animals? Nothing? How to get them, how to find them etc...
Do I need to add something to conf?

Tnx.

MOBs will only appear in newly generated areas. This means either going farther from origin in your current map, or creating a new map from scratch.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Wed Apr 03, 2013 11:47

About this question from dove_g, here I see rats jumping to skies and sheeps invisible... :-/
 

kamarajitsu
Member
 
Posts: 20
Joined: Tue Apr 02, 2013 04:20

by kamarajitsu » Wed Apr 03, 2013 17:33

I try download it from the primary site and when it's almost finished, my computer blocks it saying that it contains a virus, spyware, etc. And I don't know how to download from the second site.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Wed Apr 03, 2013 17:39

kamarajitsu wrote:I try download it from the primary site and when it's almost finished, my computer blocks it saying that it contains a virus, spyware, etc. And I don't know how to download from the second site.


Second link: click on the ZIP tab.
 

kamarajitsu
Member
 
Posts: 20
Joined: Tue Apr 02, 2013 04:20

by kamarajitsu » Wed Apr 03, 2013 17:52

Topywo wrote:
kamarajitsu wrote:I try download it from the primary site and when it's almost finished, my computer blocks it saying that it contains a virus, spyware, etc. And I don't know how to download from the second site.


Second link: click on the ZIP tab.


Thanks, the second link worked problem free
 

kamarajitsu
Member
 
Posts: 20
Joined: Tue Apr 02, 2013 04:20

by kamarajitsu » Wed Apr 03, 2013 17:54

Scratch that, error comes up that says "ModError: Failed to load and run"
 

oxenfreedan
Member
 
Posts: 218
Joined: Tue Jan 22, 2013 01:39

by oxenfreedan » Thu Apr 04, 2013 01:37

This is a funny thought! Can anyone tell me how old the mod version i am running? The animals dont lift they're legs and just sort of skim over the surface.
My Awesome Map please try:
http://forum.minetest.net/viewtopic.php?id=5028
I've played minetest since 0.3.1 came out!
Mostly when on forums I'm using a uniden tablet!
 

dove_g
New member
 
Posts: 6
Joined: Wed Apr 03, 2013 08:41

by dove_g » Thu Apr 04, 2013 13:42

kaeza wrote:MOBs will only appear in newly generated areas. This means either going farther from origin in your current map, or creating a new map from scratch.


Tnx,
it works. I create new world, and there are all animals and vombies :).
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Thu Apr 04, 2013 13:56

Is possible make a spaw function to make some new spaws to old areas? My game is old and I have big areas without nothing...
About damages, I don't make damages in mobs and mobs don't make damage to me, I spaw a vombie and this one is doing damages, but still invincible. :-o
Last edited by deivan on Thu Apr 04, 2013 15:49, edited 1 time in total.
 

User avatar
MirceaKitsune
Member
 
Posts: 809
Joined: Sat May 21, 2011 22:31
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Thu Apr 04, 2013 14:11

Really hope this sill stop being laggy so it can be included in MineTest builtin. Still hearing mobs are pretty slow and that's why this is still a mod.
Last edited by MirceaKitsune on Thu Apr 04, 2013 14:11, edited 1 time in total.
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Thu Apr 04, 2013 15:52

If this is a hard coded (in the game core) will be fast and effective but with lua the performance is a problem.

I love if the game have some IA, ready to use like create_creature(...,IA_HUNTER) then my creature use the ready-to-use IA_HUNTER to seek-and-destroy your target. :D
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Thu Apr 04, 2013 16:40

IIRC you can activate spawning in already existing areas. There is an option for that somewhere.
A list of my mods can be found here.
 

kamarajitsu
Member
 
Posts: 20
Joined: Tue Apr 02, 2013 04:20

by kamarajitsu » Thu Apr 04, 2013 18:10

Can someone help with my problem? :(
 

deivan
Member
 
Posts: 452
Joined: Fri Feb 15, 2013 10:16

by deivan » Thu Apr 04, 2013 18:15

Seek more details of the fail in your log file.
 

kamarajitsu
Member
 
Posts: 20
Joined: Tue Apr 02, 2013 04:20

by kamarajitsu » Thu Apr 04, 2013 19:22

deivan wrote:Seek more details of the fail in your log file.


I couldnt read all of it but says \animals_modpack-master\animalmaterials\init.lua:
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

by Sokomine » Thu Apr 04, 2013 19:45

That's not enough information. Please provide what it says after "\animals_modpack-master\animalmaterials\init.lua:" because those lines might actually help us helping you.
A list of my mods can be found here.
 

sapier
Member
 
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Thu Apr 04, 2013 20:42

performance problems should be improved very much as soon as luajit is used, I've already done as much as possible within lua, but there are limits. Mobs need to do some calculations continously so they'll have some performance impact by definition.

I'm going to release first preview version of mobf this weekend so this is final call for feature request, everything not added until april 14th will be delayed until mobf 2.2.

Release date for mobf 2.1 is end of april.
Last edited by sapier on Thu Apr 04, 2013 20:43, edited 1 time in total.
DON'T mention coding style!
(c) sapier all rights reserved
 

legumev
Member
 
Posts: 52
Joined: Thu Feb 21, 2013 11:43

by legumev » Thu Apr 04, 2013 21:13

korkut wrote:Recent Minetest (I got 0.4.5) changed damage algorithm and made the mobs indestructable. I got pretty annoyed while trying to kill a chicken with a mese sword until I decided to just look up git commits and figure out what's wrong.

In api.lua, I found this function and added a workaround until a proper fix is in place.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
...
function mobf_add_mob(mob)

    --workaround for new damage algorithm for 0.4.5
    --armour_groups are no longer group rating but percentage
    if mob.generic.armor_groups then
        local old_armor_groups={30,50,100,133}
        for k,v in pairs(mob.generic.armor_groups) do
            mob.generic.armor_groups[k]=old_armor_groups[v]
        end
    end
...


Hopefully others won't lose some sleep trying to figure this out.



Thank you Korkut, great help!
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Thu Apr 04, 2013 21:33

kamarajitsu wrote:
deivan wrote:Seek more details of the fail in your log file.


I couldnt read all of it but says \animals_modpack-master\animalmaterials\init.lua:


Copy the ERRORS from your file: debug.txt into a post here.
 

kamarajitsu
Member
 
Posts: 20
Joined: Tue Apr 02, 2013 04:20

by kamarajitsu » Thu Apr 04, 2013 22:09

Topywo wrote:
kamarajitsu wrote:
deivan wrote:Seek more details of the fail in your log file.


I couldnt read all of it but says \animals_modpack-master\animalmaterials\init.lua:


Copy the ERRORS from your file: debug.txt into a post here.


Sorry I'm very new to minetest and not used to doing things like this.

But this is what it says:


18:07:18: ERROR[main]: ========== ERROR FROM LUA ===========
18:07:18: ERROR[main]: Failed to load and run script from
18:07:18: ERROR[main]: C:\Users\AMUN-RA\Desktop\minetest-0.4.5\bin\..\mods\minetest\animals_modpack-master\animalmaterials\init.lua:
18:07:18: ERROR[main]: ...4.5\bin\..\mods\minetest\animals_modpack-master\animalmaterials\init.lua:312: '}' expected (to close '{' at line 305) near ')'
18:07:18: ERROR[main]: =======END OF ERROR FROM LUA ========
18:07:18: ERROR[main]: Server: Failed to load and run C:\Users\AMUN-RA\Desktop\minetest-0.4.5\bin\..\mods\minetest\animals_modpack-master\animalmaterials\init.lua
18:07:18: ERROR[main]: ModError: Failed to load and run C:\Users\AMUN-RA\Desktop\minetest-0.4.5\bin\..\mods\minetest\animals_modpack-master\animalmaterials\init.lua
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Thu Apr 04, 2013 22:50

kamarajitsu wrote:18:07:18: ERROR[main]: ...4.5\bin\..\mods\minetest\animals_modpack-master\animalmaterials\init.lua:312: '}' expected (to close '{' at line 305) near ')'


No need to be sorry. You're doing fine.

Since you downloaded the animals-modpack from the github, you downloaded the most recent version. It is a little bit further than 2.0.5. (That version goes to line 300, making it easy for me to understand what went wrong).

The extra is the use of feathers to make wool. Solution for the error:

1) Open the file: mods/animals_modpack-master/animalmaterials/init.lua
2) go/jump to line 312 that has only: )
3) add in line 312 a } before the ) like this: })
4) Save and exit or close and save

Should work now (I tested it)
 

dove_g
New member
 
Posts: 6
Joined: Wed Apr 03, 2013 08:41

by dove_g » Fri Apr 05, 2013 07:19

Is there any manual how to use MOBF?

For example, my questions are:
1. how to catch vombie (hot to make vombie trap, what material is in middle?)
2. how to catch wolf?
3. what with animals, how to use them?
4. for what is used NET?

Tnx.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Fri Apr 05, 2013 10:54

dove_g wrote:Is there any manual how to use MOBF?
I couldn't find it, but that doesn't necessarily mean it doesn't exist.

For example, my questions are:
1. how to catch vombie (hot to make vombie trap, what material is in middle?)
{'default:wood', 'default:wood','default:wood'},
{'default:wood', "animalmaterials:scale_golden",'default:wood'},
{'default:wood','default:wood','default:wood'},


2. how to catch wolf?
As far as I know with a bone, it will be tamed

3. what with animals, how to use them?
You can shave sheeps with scissors, get milk from a cow with a glass get feathers from a chicken, get meat from animals, probably there are more possibilities.

4. for what is used NET?
As far as I know/tried, catching fish and the rat. The lasso is used to catch the bigger animals. With the saddle you can ride an ostrich

Tnx.


Generally you can get info by reading the lua files of the animal modpack. Here you can find crafting recipes and the code what entities (animals) or nodes/craft(ed) items are supposed to do.
Recommended init.lua's: animalmaterials, barn, trap
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 9 guests

cron