[Mod] Petz [DEPRECATED] [petz]

The next Petz will be...

Deer (Prince Of The Forest)
9
31%
Vulture (King of the Death)
9
31%
Armadillo (Master in the Defense)
11
38%
 
Total votes: 29

User avatar
MetaNomad
Member
Posts: 27
Joined: Sat Apr 10, 2021 09:58
In-game: MetaNomad

Re: [Mod] Petz [v20.1] [petz]

by MetaNomad » Post

runs wrote:
Sun Apr 11, 2021 21:53
Thanks for report. Check the last fixed version.
Still crashing the same way.
Sorry, last time I could not make extended testing about the others mods mentioned in the log, what I did now,

I made a copy of this world, and tried (always with petz enabled) :

- With mesetec and paleotest enabled : Crash the same way I reported before, with the same log

- With only mesetec enabled : Crash the same way, with this log :
Spoiler

Code: Select all

2021-04-12 12:22:58: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): Runtime error from mod 'petz' in callback item_OnPlace(): /home/{username}/.minetest/mods/mesetec/teleob.lua:2: attempt to index local 'placer' (a nil 
2021-04-12 12:22:58: ERROR[Main]: value)
2021-04-12 12:22:58: ERROR[Main]: stack traceback:
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/mesetec/teleob.lua:2: in function 'callback'
2021-04-12 12:22:58: ERROR[Main]: 	/app/share/minetest/builtin/game/item.lua:398: in function </app/share/minetest/builtin/game/item.lua:258>
2021-04-12 12:22:58: ERROR[Main]: 	[C]: in function 'place_node'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/bh_ant.lua:55: in function 'bh_lay_antegg'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/br_ant.lua:72: in function 'logic'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/mobkit/init.lua:847: in function 'stepfunc'
2021-04-12 12:22:58: ERROR[Main]: 	...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:128: in function <...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:127>
2021-04-12 12:22:58: ERROR[Main]: stack traceback:
2021-04-12 12:22:58: ERROR[Main]: 	[C]: in function 'place_node'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/bh_ant.lua:55: in function 'bh_lay_antegg'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/br_ant.lua:72: in function 'logic'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/mobkit/init.lua:847: in function 'stepfunc'
2021-04-12 12:22:58: ERROR[Main]: 	...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:128: in function <...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:127>
- With only paleotest enabled : No crash so far (waited for about 2 ingame days in the same area that was crashing, I usually don't have to wait more than 6 ingame hours to crash in the previous config)

- With both paleotest and mesetec disabled : No crash

So looks like it comes from "mesetec"
Anyway you are using a fork version of Petz, because:

/.minetest/mods/petz/petz/petz/ant_mobkit.lua:128: in function 'old_step'

That function does not exist in my code.
I installed the petz mod from ContentDB, ingame (Minetest 5.4)
I checked this file before updating (via contentDB) and the function didn't exist either
After updating, either
All looks like the same than what's in the Github repo

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

Re: [Mod] Petz [v20.2] [petz]

by runs » Post

....

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

Re: [Mod] Petz [v20.1] [petz]

by runs » Post

MetaNomad wrote:
Mon Apr 12, 2021 11:12
runs wrote:
Sun Apr 11, 2021 21:53
Thanks for report. Check the last fixed version.
Still crashing the same way.
Sorry, last time I could not make extended testing about the others mods mentioned in the log, what I did now,

I made a copy of this world, and tried (always with petz enabled) :

- With mesetec and paleotest enabled : Crash the same way I reported before, with the same log

- With only mesetec enabled : Crash the same way, with this log :
Spoiler

Code: Select all

2021-04-12 12:22:58: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'petz' in callback luaentity_Step(): Runtime error from mod 'petz' in callback item_OnPlace(): /home/{username}/.minetest/mods/mesetec/teleob.lua:2: attempt to index local 'placer' (a nil 
2021-04-12 12:22:58: ERROR[Main]: value)
2021-04-12 12:22:58: ERROR[Main]: stack traceback:
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/mesetec/teleob.lua:2: in function 'callback'
2021-04-12 12:22:58: ERROR[Main]: 	/app/share/minetest/builtin/game/item.lua:398: in function </app/share/minetest/builtin/game/item.lua:258>
2021-04-12 12:22:58: ERROR[Main]: 	[C]: in function 'place_node'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/bh_ant.lua:55: in function 'bh_lay_antegg'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/br_ant.lua:72: in function 'logic'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/mobkit/init.lua:847: in function 'stepfunc'
2021-04-12 12:22:58: ERROR[Main]: 	...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:128: in function <...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:127>
2021-04-12 12:22:58: ERROR[Main]: stack traceback:
2021-04-12 12:22:58: ERROR[Main]: 	[C]: in function 'place_node'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/bh_ant.lua:55: in function 'bh_lay_antegg'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/petz/petz/mobkit/br_ant.lua:72: in function 'logic'
2021-04-12 12:22:58: ERROR[Main]: 	/home/{username}/.minetest/mods/mobkit/init.lua:847: in function 'stepfunc'
2021-04-12 12:22:58: ERROR[Main]: 	...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:128: in function <...e/{username}/.minetest/mods/petz/petz/petz/ant_mobkit.lua:127>
- With only paleotest enabled : No crash so far (waited for about 2 ingame days in the same area that was crashing, I usually don't have to wait more than 6 ingame hours to crash in the previous config)

- With both paleotest and mesetec disabled : No crash

So looks like it comes from "mesetec"
Anyway you are using a fork version of Petz, because:

/.minetest/mods/petz/petz/petz/ant_mobkit.lua:128: in function 'old_step'

That function does not exist in my code.
I installed the petz mod from ContentDB, ingame (Minetest 5.4)
I checked this file before updating (via contentDB) and the function didn't exist either
After updating, either
All looks like the same than what's in the Github repo
I've investigated. It is not a petz fault.

You have to report a bug to the "mesetec" mod that catch the MInetest on_place handle:

"minetest.register_on_placenode" in the teleob.lua file.

A check for a nil placer has to be done. Because an antz is not a player!!! So any mob that would try to place a node will crash Minetest.

Specifically when:

local name=placer:get_player_name()

If placer an ant (not a player), crashes
Last edited by runs on Mon Apr 12, 2021 21:29, edited 2 times in total.

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

Re: [Mod] Petz [v20.2] [petz]

by runs » Post

I've sumited a issue to mesetec in github.

User avatar
MetaNomad
Member
Posts: 27
Joined: Sat Apr 10, 2021 09:58
In-game: MetaNomad

Re: [Mod] Petz [v20.2] [petz]

by MetaNomad » Post

runs wrote:
Mon Apr 12, 2021 21:24
I've sumited a issue to mesetec in github.
Thanks for doing it, I'm not very experienced with using GitHub
runs wrote:
Mon Apr 12, 2021 21:26
PD: For once the "Chinese" are not to blame for all the evils in the world. Of almost all, yes, hahaha
Haha, well, anyway, the rest of the world has amply proven that they absolutely don't need the Chinese to screw the fuck up by themselves ;-)

User avatar
Codesound
Member
Posts: 365
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Petz [v20.2] [petz]

by Codesound » Post

Hi,

how can I set that trains kill animals?

Thanks....

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

Re: [Mod] Petz [v20.2] [petz]

by runs » Post

Codesound wrote:
Sat May 01, 2021 14:53
Hi,

how can I set that trains kill animals?

Thanks....

This is an advtrains fault. Petz are entities perfectly pushables.

User avatar
Codesound
Member
Posts: 365
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Petz [v20.2] [petz]

by Codesound » Post

runs wrote:
Wed May 05, 2021 12:29
Codesound wrote:
Sat May 01, 2021 14:53
Hi,

how can I set that trains kill animals?

Thanks....

This is an advtrains fault. Petz are entities perfectly pushables.
Oh, thanks! And thanks also for all your mods!

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

Re: [Mod] Petz [v20.2] [petz]

by runs » Post

v20.3

- Fix: Pumpkin grenades check for the node protection. No more fire in protected nodes.

Minecheck
Member
Posts: 16
Joined: Mon Mar 29, 2021 08:33

Re: [Mod] Petz [v20.3] [petz]

by Minecheck » Post

We (my son and me) like to play on medieval servers. There are your ponies and much more of the Petz mod. It is funny to ride by the ponies and breed them. We breed just one rainbow. Great mod. But we missed a chance to get some draft or draught animal. May be a pony in front of a carriage or a joke of oxen. Would that be possible? Thank you for just thinking about.

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

Re: [Mod] Petz [v20.3] [petz]

by runs » Post

Minecheck wrote:
Sat Jun 12, 2021 11:55
We (my son and me) like to play on medieval servers. There are your ponies and much more of the Petz mod. It is funny to ride by the ponies and breed them. We breed just one rainbow. Great mod. But we missed a chance to get some draft or draught animal. May be a pony in front of a carriage or a joke of oxen. Would that be possible? Thank you for just thinking about.
Yes, a wagon. But first I have to know if Minetest allow a chain of atachments.

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

Re: [Mod] Petz [v20.3] [petz]

by LMD » Post

runs wrote:
Sat Jun 12, 2021 22:55
Yes, a wagon. But first I have to know if Minetest allow a chain of atachments.
It does.
My stuff: Projects - Mods - Website

Minecheck
Member
Posts: 16
Joined: Mon Mar 29, 2021 08:33

Re: [Mod] Petz [v20.3] [petz]

by Minecheck » Post

Cool. What do you think about the width of the wagon. One, two or three nodes? I asked, because I could start to build (or to plan) some roads now. And what about the height of the way? On node or one slab, I would prefer?

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

Re: [Mod] Petz [v20.3] [petz]

by runs » Post

1+1/2 width and 2 long. My idea is that the player would be sit on it. And also add the possibility of a chest to transport goods.

Minecheck
Member
Posts: 16
Joined: Mon Mar 29, 2021 08:33

Re: [Mod] Petz [v20.3] [petz]

by Minecheck » Post

That would be nice! I see myself sitting on that wagon now. And with the width 1+1/2 it should fit perfectly to the slopes of the cottages mod by Sokomine.

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

Re: [Mod] Petz [v20.3] [petz]

by runs » Post

v20.4 (thanks to snowyu)

- Fix: the wool can not regrow

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

Re: [Mod] Petz [v20.4] [petz]

by runs » Post

WARNING

Petz is not compatible with mesetec cause of an error still not solved. The author is missing.


https://github.com/AiTechEye/mesetec/issues/1

Bastrabun
Member
Posts: 210
Joined: Mon Nov 04, 2019 19:48

Re: [Mod] Petz [v20.4] [petz]

by Bastrabun » Post

A player of mine wondered:

When breaking a bottle with a moth inside, instead of a moth being released a butterfly appears instead?

Shouldn't that be a moth instead?

For my reference #702

The same player also found, that when capturing a moth in a bottle, the bottle in the inventory is not consumed. Is that intended?

For my reference #701
Whatever I say is CC0

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

Re: [Mod] Petz [v20.4] [petz]

by runs » Post

v20.5
- Fix: Capturing a moth does not decrease the bottle count.
- Fix: Crash a bottle with moth liberates a butterfly.
- Roosters can now spawn naturally in the map.
- Bats don't die with daylight.
- Moths can spawn at daylight too.
Last edited by runs on Sat Jul 17, 2021 22:01, edited 4 times in total.

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

Re: [Mod] Petz [v20.4] [petz]

by runs » Post

Bastrabun wrote:
Thu Jul 15, 2021 17:30
A player of mine wondered:

When breaking a bottle with a moth inside, instead of a moth being released a butterfly appears instead?

Shouldn't that be a moth instead?

For my reference #702

The same player also found, that when capturing a moth in a bottle, the bottle in the inventory is not consumed. Is that intended?

For my reference #701
Solved in the last release. Thanks for your reporting ;-)

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

Re: [Mod] Petz [v20.5] [petz]

by runs » Post

v20.6

- Fix regression of v20.5 Crash when bats try to spawn.

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

Re: [Mod] Petz [v20.6] [petz]

by runs » Post

v21 WAGONS

Image

- A cool animated One-Pony Open Wagon.
- Craft a wagon.
- Put a wagon on a pony (right click). To remove it: hit it to get it or use the shears to disconnect it from the pony.
- Mount the wagon (right click on the pony).
- Dismount the wagon (right click on the pony).
- Put the wagon on dirt (use it). Get again the wagon: Hit it.
Attachments
wagons.png
wagons.png (511.98 KiB) Viewed 3176 times

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

Re: [Mod] Petz [v21] [petz]

by LMD » Post

My stuff: Projects - Mods - Website

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

Re: [Mod] Petz [v21] [petz]

by runs » Post

LMD wrote:
Thu Jul 22, 2021 11:49
https://github.com/runsy/petz/issues/74
v21.1

- It removed all the unused files = 50% size package reduced from ContentDB.
- The Blender Models were moved to another repository: 'petz_raw'

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

Re: [Mod] Petz [v21] [petz]

by LMD » Post

runs wrote:
Thu Jul 22, 2021 12:39
LMD wrote:
Thu Jul 22, 2021 11:49
https://github.com/runsy/petz/issues/74
v21.1

- It removed all the unused files = 50% size package reduced from ContentDB.
- The Blender Models were moved to another repository: 'petz_raw'
Good job.
My stuff: Projects - Mods - Website

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests