[mod] Animalia [0.6] [animalia]

pivert
Member
Posts: 33
Joined: Sun Oct 03, 2021 23:33
In-game: Pivert

Re: [mod] Animalia [0.5] [animalia]

by pivert » Post

Noticed a recent update from the 6th: creatura_14961.zip
Seems fine for now. I'll check on the longer run.
minetestserver on 3 K8S nodes with cloudnative-pg backend

pivert
Member
Posts: 33
Joined: Sun Oct 03, 2021 23:33
In-game: Pivert

[Fixed] Re: [mod] Animalia [0.5] [animalia]

by pivert » Post

Nope. Unfortunately. 2 crashes in 2 minutes... Creatura now.

Code: Select all

Nov 09 12:49:45 minetest minetestserver[36486]:          __.               __.                 __.
Nov 09 12:49:45 minetest minetestserver[36486]:   _____ |__| ____   _____ /  |_  _____  _____ /  |_
Nov 09 12:49:45 minetest minetestserver[36486]:  /     \|  |/    \ /  __ \    _\/  __ \/   __>    _\
Nov 09 12:49:45 minetest minetestserver[36486]: |  Y Y  \  |   |  \   ___/|  | |   ___/\___  \|  |
Nov 09 12:49:45 minetest minetestserver[36486]: |__|_|  /  |___|  /\______>  |  \______>_____/|  |
Nov 09 12:49:45 minetest minetestserver[36486]:       \/ \/     \/         \/                  \/
Nov 09 12:49:45 minetest minetestserver[36486]: 2022-11-09 12:49:45: ACTION[Main]: World at [/opt/minetest/minetestsrc/bin/../worlds/world]
Nov 09 12:49:45 minetest minetestserver[36486]: 2022-11-09 12:49:45: ACTION[Main]: Server for gameid="minetest" listening on xxx.xxx.xxx.xxx:30000.
Nov 09 12:49:45 minetest minetestserver[36486]: 2022-11-09 12:49:45: ACTION[Server]: Announcing start to servers.minetest.net
Nov 09 12:49:46 minetest minetestserver[36486]: Unified Inventory. inventory size: 3145
Nov 09 12:49:48 minetest minetestserver[36486]: 2022-11-09 12:49:48 [Biome Lib]: All mapgen registrations completed.
Nov 09 12:49:48 minetest minetestserver[36486]: 2022-11-09 12:49:48 [Biome Lib]: Total items/actions to handle manually: 18 (0 without air checks)
Nov 09 12:49:51 minetest minetestserver[36486]: 2022-11-09 12:49:48 [Biome Lib]: Total surface types to handle manually: 4
Nov 09 12:49:51 minetest minetestserver[36486]: 2022-11-09 12:49:48 [Biome Lib]: Items sent to the engine's decorations handler: 0
Nov 09 12:49:51 minetest minetestserver[36486]: 2022-11-09 12:49:48 [Biome Lib]: Elevation range: -16 to +50 meters.
Nov 09 12:49:51 minetest minetestserver[36486]: 2022-11-09 12:49:48: WARNING[Server]: [monitoring] globalstep took 3316698 us in mod *builtin*
Nov 09 12:49:52 minetest minetestserver[36486]: 2022-11-09 12:49:52: WARNING[Server]: [monitoring] globalstep took 501602 us in mod *builtin*
Nov 09 12:55:09 minetest minetestserver[36486]: 2022-11-09 12:55:09: WARNING[Server]: [monitoring] globalstep took 341543 us in mod monitoring
Nov 09 12:55:28 minetest minetestserver[36486]: 2022-11-09 12:55:28: ACTION[Server]: Pivert [xxx.xxx.xxx.xxx] joins game. List of players: Pivert
Nov 09 12:55:28 minetest minetestserver[36486]: 2022-11-09 12:55:28: WARNING[Server]: 3d_armor[set_player_armor]: Detached armor inventory is nil
Nov 09 12:55:28 minetest minetestserver[36486]: 2022-11-09 12:55:28: WARNING[Server]: 3d_armor: Detached armor inventory is nil
Nov 09 12:55:28 minetest minetestserver[36486]: 2022-11-09 12:55:28: WARNING[Server]: Call to deprecated function 'get_player_velocity', please use 'get_velocity' at ...minetestsrc/bin/../mods/techage_modpack/stamina/init.lua:336
Nov 09 12:57:34 minetest minetestserver[36486]: 2022-11-09 12:57:34: WARNING[ConnectionSend]: con(4/1) Packet quota used up for peer_id=5, was 512 pkts
Nov 09 12:57:35 minetest minetestserver[36486]: 2022-11-09 12:57:35: WARNING[ConnectionSend]: con(4/1) Packet quota used up for peer_id=5, was 512 pkts
Nov 09 12:57:35 minetest minetestserver[36486]: 2022-11-09 12:57:35: WARNING[ConnectionSend]: con(4/1) Packet quota used up for peer_id=5, was 512 pkts
Nov 09 12:57:51 minetest minetestserver[36486]: 2022-11-09 12:57:51: ACTION[Server]: PlayerZ [xxx.xxx.xxx.xxx] joins game. List of players: Pivert PlayerZ
Nov 09 12:57:51 minetest minetestserver[36486]: 2022-11-09 12:57:51: WARNING[Server]: 3d_armor[set_player_armor]: Detached armor inventory is nil
Nov 09 12:57:51 minetest minetestserver[36486]: 2022-11-09 12:57:51: WARNING[Server]: Undeclared global variable "far_from_group" accessed at ...etest/minetestsrc/bin/../mods/animalia/api/behaviors.lua:748
Nov 09 12:58:04 minetest minetestserver[36486]: 2022-11-09 12:58:04: ACTION[Server]: PlayerZ damaged by 6 hp at (-393.271,2.525,-1188.3)
Nov 09 12:58:50 minetest minetestserver[36486]: 2022-11-09 12:58:50: ACTION[Server]: [Creatura] Spawned a animalia:chicken at (-327,32,-1295)
Nov 09 12:58:50 minetest minetestserver[36486]: 2022-11-09 12:58:50: ACTION[Server]: [Creatura] Spawned a animalia:chicken at (-324,33,-1293)
Nov 09 12:58:50 minetest minetestserver[36486]: 2022-11-09 12:58:50: ACTION[Server]: [Creatura] Spawned a animalia:chicken at (-322,33,-1290)
Nov 09 12:58:50 minetest minetestserver[36486]: 2022-11-09 12:58:50: ACTION[Server]: [Creatura] Spawned a animalia:chicken at (-322,34,-1291)
Nov 09 12:58:50 minetest minetestserver[36486]: 2022-11-09 12:58:50: ACTION[Server]: [Creatura] Spawned a animalia:chicken at (-329,32,-1298)
Nov 09 12:59:14 minetest minetestserver[36486]: 2022-11-09 12:59:14: ACTION[Main]: Server: Shutting down
Nov 09 12:59:14 minetest minetestserver[36486]: 2022-11-09 12:59:14: ACTION[Server]: [doc] Wrote player data into /opt/minetest/minetestsrc/bin/../worlds/world/doc.mt.
Nov 09 12:59:14 minetest minetestserver[36486]: 2022-11-09 12:59:14: ACTION[Server]: Pivert leaves game. List of players:
Nov 09 12:59:14 minetest minetestserver[36486]: 2022-11-09 12:59:14: ACTION[Main]: [doc] Server shuts down. Player data is about to be saved.
Nov 09 12:59:14 minetest minetestserver[36486]: 2022-11-09 12:59:14: ACTION[Main]: [doc] Wrote player data into /opt/minetest/minetestsrc/bin/../worlds/world/doc.mt.
Nov 09 12:59:14 minetest minetestserver[36486]: minecart shutdown finished!!!
Nov 09 12:59:14 minetest minetestserver[36486]: 2022-11-09 12:59:14: ACTION[Main]: [Hyperloop] Store data...
Nov 09 12:59:14 minetest minetestserver[36486]: 2022-11-09 12:59:14: ACTION[Main]: [Hyperloop] Data stored
Nov 09 12:59:15 minetest minetestserver[36486]: 2022-11-09 12:59:15: ACTION[Server]: [doc] Wrote player data into /opt/minetest/minetestsrc/bin/../worlds/world/doc.mt.
Nov 09 12:59:15 minetest minetestserver[36486]: 2022-11-09 12:59:15: ACTION[Server]: PlayerZ leaves game. List of players:
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'animalia' in callback luaentity_Step(): /opt/minetest/minetestsrc/bin/../mods/creatura/mob_meta.lua:1021: attempt to call field 'func' (a nil value)
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]: stack traceback:
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]:         /opt/minetest/minetestsrc/bin/../mods/creatura/mob_meta.lua:1021: in function 'move_to'
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]:         /opt/minetest/minetestsrc/bin/../mods/creatura/methods.lua:360: in function 'action'
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]:         /opt/minetest/minetestsrc/bin/../mods/creatura/mob_meta.lua:1151: in function '_execute_utilities'
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]:         /opt/minetest/minetestsrc/bin/../mods/creatura/mob_meta.lua:864: in function 'func'
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]:         .../minetestsrc/bin/../builtin/profiler/instrumentation.lua:107: in function 'old_on_step'
Nov 09 12:59:37 minetest minetestserver[36486]: 2022-11-09 12:59:37: ERROR[Main]:         ...t/minetestsrc/bin/../mods/monitoring/builtin/on_step.lua:17: in function <...t/minetestsrc/bin/../mods/monitoring/builtin/on_step.lua:15>
Nov 09 12:59:37 minetest systemd[1]: minetestserver.service: Main process exited, code=exited, status=1/FAILURE
Nov 09 12:59:37 minetest systemd[1]: minetestserver.service: Failed with result 'exit-code'.
Nov 09 12:59:37 minetest systemd[1]: minetestserver.service: Consumed 43.663s CPU time.
Nov 09 12:59:37 minetest systemd[1]: minetestserver.service: Scheduled restart job, restart counter is at 2.
Nov 09 12:59:37 minetest systemd[1]: Stopped Minetest Server.
Nov 09 12:59:37 minetest systemd[1]: minetestserver.service: Consumed 43.663s CPU time.
## Update 2022126
It was due to one of the component not up to date (animalia, draconis, creatura). In my case animalia.
Last edited by pivert on Tue Dec 06, 2022 06:59, edited 1 time in total.
minetestserver on 3 K8S nodes with cloudnative-pg backend

User avatar
SaKeL
Member
Posts: 743
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [mod] Animalia [0.5] [animalia]

by SaKeL » Post

Hi, is there a way how to get the following from entity class/object, animalia or creatura API?
* current damage - how much damage was caused
* current health - what is the current health (not the max health when was the entity added)
* cause of death - player ?

I have looked through the creatura API and animalia entity but damage always comes back as zero, health always comes back as max health (or whatever health the entity had when it spawned) and no cause of death. This is contrary to the minetest API implementation where, e.g. on_punch we should get at least the damage back but still comes back as zero.

Any advice on this would be helpful so I can add support for this mod to x_enchanting.

User avatar
SaKeL
Member
Posts: 743
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [mod] Animalia [0.5] [animalia]

by SaKeL » Post

figured out on what I need, using `death_func`

Hessed
New member
Posts: 4
Joined: Tue Dec 06, 2022 06:22

Re: [mod] Animalia [0.5] [animalia]

by Hessed » Post

Hi
Thanks you soo much for this mod! I really enjoy how much "live" i get in my world now.
but when i punch some animals, only the ones that animalia add (like birds or turkeys), the game crash with this error.
AsyncErr: Lua: Runtime error from mod '??' in callback luaentity_Punch(): ...\bin\..\games\mineclone2\mods\HUD\mcl_inventory\init.lua:201: bad argument #1 to 'get_player_by_name' (string expected, got userdata)
stack traceback:
[C]: in function 'get_player_by_name'
...\bin\..\games\mineclone2\mods\HUD\mcl_inventory\init.lua:201: in function 'is_creative_enabled'
...\minetest-5.6.1-win64\bin\..\mods\creatura/api.lua:448: in function 'basic_punch_func'
...\minetest-5.6.1-win64\bin\..\mods\animalia/api/api.lua:569: in function <...\minetest-5.6.1-win64\bin\..\mods\animalia/api/api.lua:568>
is because the mod inst compatible with mineclone?

note: i manually unistall and reinstall both, creatura and animalia mods.

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: [mod] Animalia [0.5] [animalia]

by runs » Post

moty.png
moty.png (470.16 KiB) Viewed 3912 times
Congratulations, you are a happy SAMMY AWARDS winner!

Participate to get your prize.

Joltemon135
New member
Posts: 1
Joined: Wed Jan 11, 2023 05:35

Re: [mod] Animalia [0.5] [animalia]

by Joltemon135 » Post

I'm not sure if this is the right place to ask but me and my friends have been trying for hours to tame and ride horses and we're still don't know how to place the saddles on them. Right clicking doesn't work and there doesn't seem to be a way to put the saddle on in the inventory?

Papang
Member
Posts: 19
Joined: Sun Jul 10, 2022 17:28
IRC: Papang
In-game: Papang

Re: [mod] Animalia [0.5] [animalia]

by Papang » Post

Hello,
I don't understand this error :

Code: Select all

AsyncErr: Lua: Runtime error from mod 'animalia' in callback luaentity_Step(): /home/me/.minetest/mods/animalia/api/behaviors.lua:502: attempt to call field 'get_boid_dir' (a nil value)
stack traceback:
	/home/me/.minetest/mods/animalia/api/behaviors.lua:502: in function 'action'
	/home/me/.minetest/mods/creatura/mob_meta.lua:1230: in function '_execute_utilities'
	/home/me/.minetest/mods/creatura/mob_meta.lua:890: in function </home/me/.minetest/mods/creatura/mob_meta.lua:855>
Any help would be nice !

User avatar
ElCeejo
Member
Posts: 210
Joined: Thu Feb 28, 2019 23:29
GitHub: ElCeejo
In-game: ElCeejo
Location: Your Mother's house

Update 0.6 (Wednesday Update)

by ElCeejo » Post

It is Wednesday my Dudes!

Animalia 0.6 is now public with a lot of fixes and improvements

- Various crash fixes
- Fixed spawning for certain mobs
- Fixed sounds not playing for certain mobs
- Reduced memory usage
- Improved collision avoidance for Birds
- Improved wandering and interaction behaviors
- New animations for most mobs
- New visual assets for Song Birds

and of course, the new Frog variants!

Image

Tree Frogs replace the old Frogs, and behave the same as before.

Dart Frogs are more skittish and will poison the player when punched.

Bull Frogs (pictured above) are aggressive and will attack Players that get too close. Their favorite food is Rats, and you can gain their trust by feeding them.

Download

User avatar
mainspirit
Member
Posts: 16
Joined: Fri Mar 17, 2023 16:33
In-game: mainspirit

Re: [mod] Animalia [0.6] [animalia]

by mainspirit » Post

After the update, the server crashes when the fox spawns with an error:
2023-03-17 01:22:00: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'animalia' in callback luaentity_Step(): ...e/spirit/Games/minetest/bin/../builtin/common/vector.lua:197: attempt to index local 'a' (a number value)
2023-03-17 01:22:00: ERROR[Main]: stack traceback:
2023-03-17 01:22:00: ERROR[Main]: ...e/spirit/Games/minetest/bin/../builtin/common/vector.lua:197: in function '__sub'
2023-03-17 01:22:00: ERROR[Main]: .../spirit/Games/minetest/bin/../mods/animalia/mobs/fox.lua:133: in function 'get_score'
2023-03-17 01:22:00: ERROR[Main]: .../spirit/Games/minetest/bin/../mods/creatura/mob_meta.lua:1150: in function '_execute_utilities'
2023-03-17 01:22:00: ERROR[Main]: .../spirit/Games/minetest/bin/../mods/creatura/mob_meta.lua:937: in function <.../spirit/Games/minetest/bin/../mods/creatura/mob_meta.lua:902>

User avatar
ElCeejo
Member
Posts: 210
Joined: Thu Feb 28, 2019 23:29
GitHub: ElCeejo
In-game: ElCeejo
Location: Your Mother's house

Patch 0.6.1

by ElCeejo » Post

Thanks for the report, this and a few other bugs have been fixed.

- Fixed indefinite death animation when punching a dead Animal
- Fixed Wolves and Horses not wandering
- Fixed crash when a player is near a Fox

Hessed
New member
Posts: 4
Joined: Tue Dec 06, 2022 06:22

Re: [mod] Animalia [0.5] [animalia]

by Hessed » Post

Hi
I still have this error.. is something that can be fixed in a future?
Regards :D
Hessed wrote:
Tue Dec 06, 2022 06:30
Hi
Thanks you soo much for this mod! I really enjoy how much "live" i get in my world now.
but when i punch some animals, only the ones that animalia add (like birds or turkeys), the game crash with this error.
AsyncErr: Lua: Runtime error from mod '??' in callback luaentity_Punch(): ...\bin\..\games\mineclone2\mods\HUD\mcl_inventory\init.lua:201: bad argument #1 to 'get_player_by_name' (string expected, got userdata)
stack traceback:
[C]: in function 'get_player_by_name'
...\bin\..\games\mineclone2\mods\HUD\mcl_inventory\init.lua:201: in function 'is_creative_enabled'
...\minetest-5.6.1-win64\bin\..\mods\creatura/api.lua:448: in function 'basic_punch_func'
...\minetest-5.6.1-win64\bin\..\mods\animalia/api/api.lua:569: in function <...\minetest-5.6.1-win64\bin\..\mods\animalia/api/api.lua:568>
is because the mod inst compatible with mineclone?

note: i manually unistall and reinstall both, creatura and animalia mods.

User avatar
mainspirit
Member
Posts: 16
Joined: Fri Mar 17, 2023 16:33
In-game: mainspirit

Re: [mod] Animalia [0.6] [animalia]

by mainspirit » Post

Hello dear ElCeejo.
The saddle is put on the horse at the same time, and remains in the hand. At the same time, I never managed to tame the horse. But now I have a lot of saddles, and I can open a store to sell them)

mezario
New member
Posts: 2
Joined: Sat Mar 25, 2023 16:31

Re: [mod] Animalia [0.6] [animalia]

by mezario » Post

Hello,

pigs and horse always escaped from my area.
i use mob fence but at a moment they disappear!

do you experience same problem?

mezario
New member
Posts: 2
Joined: Sat Mar 25, 2023 16:31

Re: [mod] Animalia [0.6] [animalia]

by mezario » Post

It's same with cows, wolfs or sheep.
Even with a lasso attached, when i come back they are disappeared. and the lasso too ...

Do you know why ?

Theremin
New member
Posts: 2
Joined: Wed May 03, 2023 21:06

Server Crash when Running Mod + Creatura

by Theremin » Post

Hello, I'm new to Minetest and I'm loving your mod in Singleplayer. However, I seem to be running into issues when I try to host the mod on a server.

So I've set everything up (server-side) and clients can connect to it with the newest version (5.7.0). But after installing the mod with its dependency Creatura it seems to run into issues when fetching the textures (see attached, Minetest_errors).
Minetest_Errors.png
Minetest_Errors.png (1017.96 KiB) Viewed 3106 times
tl dr; The mobs appear but without any textures.

Also when I try to punch one of the mobs, the whole server crashes and the logs display the errors in the attached debug_log1 & debug_log2 (this one is the continuation of the 3rd line from the 1st screenshot).
debug_log1.png
debug_log1.png (40.43 KiB) Viewed 3106 times
debug_log2.png
debug_log2.png (6.74 KiB) Viewed 3106 times
I have tried installing different versions of the mods, or installing one mod at a time but it seems that the issue persists. Also there is no issue with the naming convention.

Since my LUA programming is a bit rusty, please let me know if anything stands out from what i've mentioned so far or in the pictures.

Thank you for taking the time to read through this :)

winterbraid
New member
Posts: 6
Joined: Fri Jun 09, 2023 00:39

Can't Feed/Breed as written

by winterbraid » Post

Animals are not accepting my wheat and seeds. I looked at the code and messed around a little, here's what I found:

sheep.lua line 73: follow = animalia.food_wheat,
turkey.lua line 51: follow = animalia.food_seeds,

for reference, wolf.lua lines 20-35 have follow lists containing your custom items (mutton etc) and work as written.

other animals (cows and reindeer for example) have the same issue.

since your craftitems.lua doesn't have an entry for wheat or seeds, and since they already exist elsewhere, I suggest the following fixes:

from https://content.minetest.net/packages/Liil/animalworld/, blackbird.lua lines 64-66 have a long but functional follow set for birds. I copied over Turkey.lua with it and bred a turkey.

for sheep, who only eat wheat, the fix is simpler:

sheep.lua line 73: follow = "farming:wheat",

using the default ID for wheat, I bred a sheep.

one last note: horse.lua has a solution in lines 7-17, but that block of code is not in the sheep file.

Since this mod seems to be in active development and I don't want to step on any toes, I reverted the changes to stay in sync with the official version. I just wanted to highlight the fix in case anyone else is having this issue.

BraveGrifter
New member
Posts: 3
Joined: Sun Apr 23, 2023 07:30

Re: [mod] Animalia [0.6] [animalia]

by BraveGrifter » Post

Can anyone point me in the direction to find a guide on how to tame Animalia mobs plzz ?

AsDaGo
New member
Posts: 2
Joined: Sat Jun 24, 2023 07:53
IRC: AsDaGo
In-game: AsDaGo

Re: [mod] Animalia [0.6] [animalia]

by AsDaGo » Post

Hi, I found a bug that causes the game to crash due to a call to math.random(a, b) with a > b. I'm not sure why no one noticed this before, maybe it's due to an API change or something? I should also mention that I'm using Animalia with MeseCraft, but I did write a simple test mod to test the behavior of math.random, and math.random(a, b) where a > b is still an error (even in Minetest Game). So I think we can rule out MeseCraft being the culprit.

Anyway the fix is simple and I wrote a patch. I don't have a GitHub account (and registering requires non-free javascript), so I'll just attach the patch here. Hope that's ok. You can apply it with

Code: Select all

zcat 0001-Fix-invalid-usage-of-math.random.patch.gz | git am
to create the commit (I compressed it because the forum wouldn't allow me to attach it otherwise) and

Code: Select all

git push
as usual.

Edit: I missed some calls, so I updated the patch.
Attachments
0001-Fix-invalid-usage-of-math.random.patch.gz
The patch for the commit (updated)
(1.08 KiB) Downloaded 32 times

User avatar
Blockhead
Member
Posts: 1622
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [mod] Animalia [0.6] [animalia]

by Blockhead » Post

AsDaGo wrote:
Sat Jun 24, 2023 21:32
Hi, I found a bug that causes the game to crash due to a call to math.random(a, b) with a > b. I'm not sure why no one noticed this before, maybe it's due to an API change or something?
Well-spotted. This is an implementation difference between the bundled PUC Lua that most Minetest builds ship with versus LuaJIT that a lot of people who self-compile Minetest usually use for better performance. It only causes a crash under PUC Lua. I know this because it was already an issue with Mineclone2 (or at least, a similar one to do with the implementation of math.random).
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

AsDaGo
New member
Posts: 2
Joined: Sat Jun 24, 2023 07:53
IRC: AsDaGo
In-game: AsDaGo

Re: [mod] Animalia [0.6] [animalia]

by AsDaGo » Post

Blockhead wrote:
Sun Jun 25, 2023 04:36
AsDaGo wrote:
Sat Jun 24, 2023 21:32
Hi, I found a bug that causes the game to crash due to a call to math.random(a, b) with a > b. I'm not sure why no one noticed this before, maybe it's due to an API change or something?
Well-spotted. This is an implementation difference between the bundled PUC Lua that most Minetest builds ship with versus LuaJIT that a lot of people who self-compile Minetest usually use for better performance. It only causes a crash under PUC Lua. I know this because it was already an issue with Mineclone2 (or at least, a similar one to do with the implementation of math.random).
Oh, interesting. I was using a Minetest build I compiled from source, but if I use the Minetest packaged in Debian (which is linked with LuaJIT), I can see the difference in math.random. That explains why it wasn't spotted before.

User avatar
LMD
Member
Posts: 1386
Joined: Sat Apr 08, 2017 08:16
GitHub: appgurueu
IRC: appguru[eu]
In-game: LMD
Location: Germany
Contact:

Re: [mod] Animalia [0.6] [animalia]

by LMD » Post

strictest should catch this at runtime, no matter whether you are testing on LuaJIT; it also catches a few other math.random quirks.
My stuff: Projects - Mods - Website

BlueTangs Rock
Member
Posts: 204
Joined: Sun Jul 10, 2016 05:00
Location: Under Le' Sea

Re: [mod] Animalia [0.6] [animalia]

by BlueTangs Rock » Post

Suggestion, could there be a crafting recipe for the bird nests? Perhaps a bird egg and some sticks could craft one.
Look at that, a signiture box! To bad I have nothing to put in i-... Wait...

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

Re: [mod] Animalia [0.6] [animalia]

by MirceaKitsune » Post

This is literally one of the best mods for Minetest in my book, by far the best mob system available! It got everything right: The attention to detail is formidable, I spent over an hour playing with this to see how everything works together... the birds and how they fly together is just beautiful and extraordinary, couldn't believe I'm seeing that in Minetest.

One thing I greatly appreciate is that you haven't used any models that break the style: Most mob models make exceptions for curved / deformed boxes and / or using textures at various resolutions which is immediately noticeable when you look close... not here where everything is a cube / rectangle and pixel density is consistent with 16x texturing by default!

There are definitely more creatures I'd love to see and hope you'll be including soon. The most obvious miss are rabbits... there's actually a common bunny model which is also style consistent, you can get it from the Mobs - Animal package. It would in fact be great to see all of the Mobs - Monsters characters ported to Creatura, same with villagers... of course those would be their own separate mods. I'd actually like to see crickets and bees and fireflies, given how successfully birds add natural ambiental noise that actually comes from a real creature not out of nowhere... Minetest Game already has butterflies but they're a fixed floating decoration, I'm kind of in favor for the mod including its own that actually animate and fly properly.

User avatar
TechnoWolfTV
Member
Posts: 65
Joined: Wed Jan 29, 2020 20:04
In-game: TechnoWolfTV
Location: Wisconsin, USA

Re: [mod] Animalia [0.6] [animalia]

by TechnoWolfTV » Post

Hello, I've recently posted a thread in "Problems" that turns out after testing to involve Animalia, here's the thread: viewtopic.php?f=6&t=29806.

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests