[Mod] More Trees! [git][moretrees]

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Tue Jan 31, 2017 17:27

If someone provides a suitable pull request, or at least a tree model and biome info, I might add it.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
burli
Member
 
Posts: 1641
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] More Trees! [git][moretrees]

by burli » Mon Feb 20, 2017 08:30

I don't get any tree, neither in v6 nor in v7. Also saplings don't grow

I use the daily build from launchpad for Ubuntu. No other mod installed

Edit: it seems that I needed to upgrade biome_lib. Now it works
 

User avatar
Chibi ghost
Member
 
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] More Trees! [git][moretrees]

by Chibi ghost » Mon Feb 20, 2017 20:33

that was my mistake when I first added this mod

ps some nice cherry trees would be nice
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Wed Mar 15, 2017 00:40

I've updated this mod to use the minetest_game leafdecay API, since the game doesn't use ABMs anymore for this.

Of particular note to server owners/admins/moderators, and perhaps players in general: this leaf decay API only works if you *dig* a trunk, because it needs to set decay timers on the trees' leaves, so if you need to use Worldedit to bulk-remove a tree's trunk to trigger the leaves to decay, you need to use something like this:

Code: Select all
//luatransform if minetest.get_node(pos).name == "moretrees:willow_trunk" then minetest.dig_node(pos) end


You could still `//replace <trunk> air` if you want to, but then you'll need to //replace the leaves and any "fruit" items as well.

Replace the "moretrees:willow_trunk" with the name you actually want to delete, of course. This also has the side effect of causing fruit items (including pine cones, acorns, etc) to drop out as items as they and the leaves decay, in addition to the occasional sapling.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
Peppy
Member
 
Posts: 34
Joined: Sun Nov 06, 2016 07:34
Location: France
IRC: Peppy
In-game: Peppy

Re: [Mod] More Trees! [git][moretrees]

by Peppy » Wed Mar 15, 2017 11:16

Hi,

Updating the mod, Minetest 0.4.15 stable exits throwing :

Code: Select all
node_defs.lua:271: attempt to call field 'register_leafdecay' (a nil value)


Is 0.4.15 Dev now required ?
 

User avatar
burli
Member
 
Posts: 1641
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] More Trees! [git][moretrees]

by burli » Wed Mar 15, 2017 12:01

You need the latest Minetest Game. But for the latest MTG you need Minetest 0.15-dev
 

User avatar
Peppy
Member
 
Posts: 34
Joined: Sun Nov 06, 2016 07:34
Location: France
IRC: Peppy
In-game: Peppy

Re: [Mod] More Trees! [git][moretrees]

by Peppy » Wed Mar 15, 2017 12:16

ok, fortunately, I kept the old mod version, just in case ;)

As it will break things for many users, might this be added to the dependencies in the first post ?
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Wed Mar 15, 2017 17:13

Good call. Fixed in the first post. In any case, just get the latest development build from sfan5's site, https://minetest.kitsunemimi.pw/builds/ if you're on Windows, or build it from git sources and fetch the latest minetest_game if you're on Linux.

Development builds usually run better than stable builds once you get far enough out from the last stable release.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

EdShouldBeInBed
Member
 
Posts: 48
Joined: Sun Feb 22, 2015 16:03
In-game: EdShdBInBed

Re: [Mod] More Trees! [git][moretrees]

by EdShouldBeInBed » Thu Mar 16, 2017 12:58

Vanessa, is there a way to get every world generated by a subgame to use the same moretrees settings? Say I always want beech instead of the default trees.
I'm a writer who tinkers with code on occasion. I play minetest when insomnia makes the writing hard.
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Thu Mar 16, 2017 16:52

This would require ditching the moretrees config file (which is per-world), and instead putting its settings in minetest.conf. That's easily done, but I never saw a point in doing so. If you really need this, edit "default_settings.txt".
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

EdShouldBeInBed
Member
 
Posts: 48
Joined: Sun Feb 22, 2015 16:03
In-game: EdShdBInBed

Re: [Mod] More Trees! [git][moretrees]

by EdShouldBeInBed » Thu Mar 16, 2017 18:42

VanessaE wrote:This would require ditching the moretrees config file (which is per-world), and instead putting its settings in minetest.conf. That's easily done, but I never saw a point in doing so. If you really need this, edit "default_settings.txt".


Hmm. Edited default_settings.txt, still getting default trees and full trees rather than saplings. New world.

EDIT: Ignore the brain-fogging writer, the trees in question were another mod's products. All your trees are wonderful and obey the setting, thus proving your continued awesome.
I'm a writer who tinkers with code on occasion. I play minetest when insomnia makes the writing hard.
 

joint007
Member
 
Posts: 12
Joined: Fri Jan 20, 2017 09:25
Location: Czech Republic
In-game: milan

Re: [Mod] More Trees! [git][moretrees]

by joint007 » Thu Mar 30, 2017 15:44

Im sorry, i have some of problem and problem is on my side.:))))
 

dotconfig
Member
 
Posts: 14
Joined: Mon May 08, 2017 13:34

Re: [Mod] More Trees! [git][moretrees]

by dotconfig » Mon May 08, 2017 13:38

hey!
this and the plant life mod seem like good mods but i can't try them since everytime i try to enter the world it says it couldnt call field register_leafdecay (a nil value). it seems u have updated these lines a few days ago and when i revert the change in one file it loads but doesnt work really either, can u help me out?

i have loaded the biome lib btw and use a few mods like mesecons and moreores etc, nothing that should get in the way
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Mon May 08, 2017 15:08

Your copy of Minetest engine and minetest_game are too old. You'll need to do one of the following:

* downgrade plantlife, biome_lib, and whatever else, to the 0.4.15-stable copies (see first posts for those) and roll moretrees back to commit 471a11f9
* or update to a recent development build of Minetest and a corresponding minetest_game
* or wait for 0.4.16 to come out in a few weeks.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

dotconfig
Member
 
Posts: 14
Joined: Mon May 08, 2017 13:34

Re: [Mod] More Trees! [git][moretrees]

by dotconfig » Mon May 08, 2017 16:09

thanks! i downloaded the dev build and minetest_game. so in the stable version minetest_game is not included but will be in 0.4.16? thanks again for the quick answer, now everything works. no errors, yay :)
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Mon May 08, 2017 16:19

Yeah, it's just calling for a function that was introduced after 0.4.15-stable went out, that's all.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

tats
New member
 
Posts: 1
Joined: Fri Apr 28, 2017 08:39
IRC: tats
In-game: tats

Error: area volume exceeds allowed value of 551368

by tats » Sat Jul 08, 2017 23:01

I got the latest minetest version(0.4.16-dev) from Github, installed moretrees. I run into the following error:

Jul 09 07:35:13 insanity minetestserver[13098]: 2017-07-09 07:35:13: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'moretrees' in callback node_on_timer(): ....minetest/worlds/world/worldmods/moretrees/date_palm.lua:226: find_nodes_in_area(): area volume exceeds allowed value of 551368
Jul 09 07:35:13 insanity minetestserver[13098]: 2017-07-09 07:35:13: ERROR[Main]: stack traceback:
Jul 09 07:35:13 insanity minetestserver[13098]: 2017-07-09 07:35:13: ERROR[Main]: [C]: in function 'find_nodes_in_area'
Jul 09 07:35:13 insanity minetestserver[13098]: 2017-07-09 07:35:13: ERROR[Main]: ....minetest/worlds/world/worldmods/moretrees/date_palm.lua:226: in function 'find_fruit_trunks_near'
Jul 09 07:35:13 insanity minetestserver[13098]: 2017-07-09 07:35:13: ERROR[Main]: ....minetest/worlds/world/worldmods/moretrees/date_palm.lua:469: in function 'find_male_blossom'
Jul 09 07:35:13 insanity minetestserver[13098]: 2017-07-09 07:35:13: ERROR[Main]: ....minetest/worlds/world/worldmods/moretrees/date_palm.lua:543: in function <....minetest/worlds/world/worldmods/moretrees/date_palm.lua:522>

Please help

OS: debian jessie latest(amd64)
Minetest: 0.4.16-dev(from github)
 

User avatar
Peppy
Member
 
Posts: 34
Joined: Sun Nov 06, 2016 07:34
Location: France
IRC: Peppy
In-game: Peppy

0.4.16 (non-dev)

by Peppy » Mon Dec 11, 2017 11:39

Hi,

Because of breaking changes in the player model, I don't want to install 0.4.16-dev.

Is there an older version of moretrees / biomelib that would be compatible with 0.4.16 ?
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Sat Dec 16, 2017 03:25

The current git of moretrees should work fine with 0.4.16-release. Ditto for biome_lib.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
Peppy
Member
 
Posts: 34
Joined: Sun Nov 06, 2016 07:34
Location: France
IRC: Peppy
In-game: Peppy

Re: [Mod] More Trees! [git][moretrees]

by Peppy » Sat Dec 16, 2017 08:00

I found out what was wrong for me with 0.4.16-release.
I played too much with my minetest.conf and I had to comment this line again :

deprecated_lua_api_handling = legacy

---

Anyway, first post still says :

VanessaE wrote:Dependencies: Minetest development build and minetest_game from Feb. 25, 2017 or newer, and biome_lib.


(yes, I already had you changing this by the time you had to have a 0.4.15-dev build ;)

Have a good day.
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE

Re: [Mod] More Trees! [git][moretrees]

by VanessaE » Sat Dec 16, 2017 08:23

Oops, forgot about the first post. Fixed.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
 

User avatar
Chibi ghost
Member
 
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] More Trees! [git][moretrees]

by Chibi ghost » Wed Jun 06, 2018 13:37

er links pls I can't seem to find it at all
so I can't check for updates
 

User avatar
VanessaE
Moderator
 
Posts: 4469
Joined: Sun Apr 01, 2012 12:38
Location: Waynesville, NC
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaE
 

User avatar
Chibi ghost
Member
 
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] More Trees! [git][moretrees]

by Chibi ghost » Wed Jun 06, 2018 13:58

sorry I did look but couldn't see it for the life of me
 

PreviousNext

Return to Mod Releases



Who is online

Users browsing this forum: Google [Bot] and 4 guests