moretrees:date_palm_sapling generate date palm trees with 11th part of trunk missing #7760

Open
opened 2024-11-30 05:58:11 +01:00 by GIuseppe · 12 comments

Date palm has a missing trunk block and seems also no more dates production.

Date palm has a missing trunk block and seems also no more dates production.
GIuseppe changed title from dtae palm tree to date palm tree 2024-11-30 05:59:46 +01:00
Member

daydream reports a bug:

the date palm tree has a missing node (11th up from ground) so it can't be chopped with choppy

daydream reports a bug: > the date palm tree has a missing node (11th up from ground) so it can't be chopped with choppy
whosit changed title from date palm tree to date palm tree generates with 11th part of trunk missing 2024-11-30 09:42:07 +01:00
AliasAlreadyTaken was assigned by whosit 2024-11-30 09:42:11 +01:00
whosit changed title from date palm tree generates with 11th part of trunk missing to moretrees:date_palm_sapling generate date palm trees with 11th part of trunk missing 2024-11-30 09:43:26 +01:00
Member

This also seems to be 5.10 issue - switching back to 5.8 makes palms grow correctly.

The node missing is the one that flowers shold be attached to, from what I can see.

This also seems to be 5.10 issue - switching back to 5.8 makes palms grow correctly. The node missing is the one that flowers shold be attached to, from what I can see.
Member

maybe this one broke it? Did not test.
60810c2d37

I found a quite useful tool to debug this: https://content.luanti.org/packages/Wuzzy/ltool/
Playing around with it I noticed, that the R-Rule only seems to place air now

image

Found out that the normal palm is using the R-Rule too, so I planted a 🌴. It's missing a the fruit node too :/

maybe this one broke it? Did not test. https://github.com/minetest/minetest/commit/60810c2d375a8c63e096669dd6c6cd791f2c5075 I found a quite useful tool to debug this: https://content.luanti.org/packages/Wuzzy/ltool/ Playing around with it I noticed, that the `R`-Rule only seems to place air now ![image](/attachments/1123bd6a-cc1f-4b91-ba0d-ee1af7df7f0e) Found out that the normal palm is using the `R`-Rule too, so I planted a 🌴. It's missing a the fruit node too :/
1.1 MiB
Member
https://github.com/minetest/minetest/issues/15506 Let's see what we get...
whosit added the
1. kind/bug
3. source/engine
labels 2024-12-04 16:28:56 +01:00
Member

made a pr against yl_commons with a "fix" (not sure if a hack like that can be called fix), so the bugtracker isn't spammed with reports until the next engine update happens :-)

made a pr against yl_commons with a "fix" (not sure if a hack like that can be called fix), so the bugtracker isn't spammed with reports until the next engine update happens :-)
Member

tour wrote in the PR:

(I think it should be possible to bring this patch to main using //lua or snippets)

Tried changing those values on test without server restart - it works, trunks and fruits are there.

Are any other trees affected? Apples are there, cones too...
UPD: checked as tour has suggested below: don't see anymore R rules used. Thanks tour :)

tour wrote in the [PR](https://gitea.your-land.de/your-land/yl_commons/pulls/30): > (I think it should be possible to bring this patch to main using //lua or snippets) Tried changing those values on test without server restart - it works, trunks and fruits are there. ~~Are any other trees affected? Apples are there, cones too...~~ UPD: checked as tour has suggested below: don't see anymore R rules used. Thanks tour :)
Member

I actually applied it as auto running snippet called temp_fix_moretrees_date_palms...
Idk if there's even need to add it to yl_commons, but maybe Alias will decide that is better.

I actually applied it as auto running snippet called `temp_fix_moretrees_date_palms`... Idk if there's even need to add it to yl_commons, but maybe Alias will decide that is better.
Member

Are any other trees affected? Apples are there, cones too...

I think no. If you want to be really sure, you can follow the steps I did to come to this conclusion :-)

grep for "axiom" to find the mods that make use of ltrees. In my local mods folder only moretrees seems to do so. But I don't have all mods YL has.

Go into the files where the Axioms are defined and see if there is an axiom with the R-key. If there is one and fruit_chance = 0/nil in the same treedef, then the tree is affected and needs fixing too...

I actually applied it as auto running snippet called temp_fix_moretrees_date_palms...

lol, did not know it works like that :-) Feel free to close if there is no need

> Are any other trees affected? Apples are there, cones too... I think no. If you want to be really sure, you can follow the steps I did to come to this conclusion :-) grep for "axiom" to find the mods that make use of ltrees. In my local mods folder only moretrees seems to do so. But I don't have all mods YL has. Go into the files where the Axioms are defined and see if there is an axiom with the `R`-key. If there is one and `fruit_chance = 0/nil` in the same treedef, then the tree is affected and needs fixing too... > I actually applied it as auto running snippet called temp_fix_moretrees_date_palms... lol, did not know it works like that :-) Feel free to close if there is no need
Member

It got fixed in the engine :-)
https://github.com/minetest/minetest/pull/15513

Is there a 5.11 Milestone already?

It got fixed in the engine :-) https://github.com/minetest/minetest/pull/15513 Is there a 5.11 Milestone already?
Member

Is there a 5.11 Milestone already?

Not yet, but it already feels like there should be at least 5.10.1 :p

Also, thanks :)

> Is there a 5.11 Milestone already? Not yet, but it already feels like there should be at least 5.10.1 :p Also, thanks :)

It got fixed in the engine :-)
https://github.com/minetest/minetest/pull/15513

Is there a 5.11 Milestone already?

https://github.com/minetest/minetest/milestone/25

> It got fixed in the engine :-) > https://github.com/minetest/minetest/pull/15513 > > Is there a 5.11 Milestone already? https://github.com/minetest/minetest/milestone/25
AliasAlreadyTaken added this to the luanti 5.11.0 milestone 2024-12-17 22:07:02 +01:00

The issue appears fixed, but only due to yl_commons and snippets. Contrary to what /status says, we are not on 5.11.0 yet. See your-land/administration#226

The issue appears fixed, but only due to yl_commons and snippets. Contrary to what /status says, we are not on 5.11.0 yet. See your-land/administration#226
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#7760
No description provided.