[Modpack] Plantlife [rolling release] [plantlife_modpack]

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Thu Nov 20, 2014 16:17

Thanks for catching these (my copy of Minetest isn't up-to-date). Fixed all three, in git.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Fritigern
Member
 
Posts: 43
Joined: Mon Sep 29, 2014 11:01
In-game: Fritigern

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by Fritigern » Thu Nov 20, 2014 22:36

Does the fact that you didn't correct my fixes mean that i did it right? I that's the case then wowsers! I'm sure you remember me telling you that i am a Lua noob, and "noob" is a mild description of it ;-)
--
This is NOT a sig.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Fri Nov 21, 2014 00:12

Yup, pretty much :) I did "correct" one of them by uncommenting one of those lines in bushes though (better to choose a valid default than to go with 0 - paranoia).
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Fritigern
Member
 
Posts: 43
Joined: Mon Sep 29, 2014 11:01
In-game: Fritigern

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by Fritigern » Fri Nov 21, 2014 02:40

Ah, good to know. I keep learning daily! ;-)
--
This is NOT a sig.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Tue Nov 25, 2014 05:28

A few updates went in today to fix some bugs that happen with the latest -dev builds of Minetest (due mostly to changes in how the plantlike draw type is handled, as well among other things). Mostly focusing on plants that seemed to "float" in mid-air.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

gumangel
Member
 
Posts: 23
Joined: Thu Jan 01, 2015 21:44
In-game: LaA

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by gumangel » Mon Jan 05, 2015 14:33

do those auto-generate only on a new map? or it can use my already created map aswell?
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Mon Jan 05, 2015 17:12

For the most part, plantlife only generates on newly explored areas of a map (regardless of the map's overall age), except for one or two items in the modpack such as mushrooms, which will spring up in old areas also.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

gumangel
Member
 
Posts: 23
Joined: Thu Jan 01, 2015 21:44
In-game: LaA

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by gumangel » Tue Jan 06, 2015 13:42

VanessaE wrote:For the most part, plantlife only generates on newly explored areas of a map (regardless of the map's overall age), except for one or two items in the modpack such as mushrooms, which will spring up in old areas also.

Thank you really much! God bless u!
 

Scheiker
New member
 
Posts: 3
Joined: Fri Jan 09, 2015 17:55

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by Scheiker » Fri Jan 09, 2015 18:06

Maybe it is just me, but can anyone confirm that the bushes from bushes_classic are being generated? I can't seem to find them unless I spawn them myself.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Sat Jan 10, 2015 06:45

They always seemed to work for me? However I deliberately made them rare.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Sun Jan 25, 2015 20:10

Update: the bushes from the bushes_classic mod have been turned into mesh nodes. Better appearance, probably a bit more accurate to the spirit of the original textures, but in 3d ;-)

EDIT: did the baskets (full and empty), too.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
vitaminx
Member
 
Posts: 49
Joined: Tue Dec 30, 2014 15:08
GitHub: vitaminx

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by vitaminx » Tue Jan 27, 2015 13:15

Hi, First of all, I really love this mod!

I have a little problem with hay. Sometimes when hay generates at some places, it "overwrites" nodes that I already placed there before. E.g. I've placed a wooden bench under a tree and after some days there was only half of the bench left with hay instead of the left side of the bench. Somehow it got generated there. Now I can't even remove the other side of the bench, I can't aim at it anymore with the pickaxe!
The same happened with the barbeque node, now there's a haystack instead of the BBQ I've put there some weeks ago. Unfortunately the "meat" of the BBQ node still floats in the air with no apparent way to remove it.

So I guess that makes two bugs in one:
1) hay generation shouldn't interfere with other nodes
2) if it does, remove the node properly and not only half of it

I hope you can fix this soon, thanks!

EDIT: I've added some screenshots :)
Attachments
bug_bench.png
bug_bench.png (546.69 KiB) Viewed 5433 times
bug_bbq.png
bug_bbq.png (613.45 KiB) Viewed 5433 times
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Tue Jan 27, 2015 18:02

The half benches and floating meat is a side effect of Home Decor using two nodes for the bench and grill objects. Those and most other two-node objects will be made into single-object mesh nodes soon, which will solve that issue. For now, use worldedit to delete them.

That said, to my knowledge, there is no "hay" in plantlife modpack, and certainly no after-mapgen nodes that would spawn without checking for air/buildable_to. You've got some other mod supplying that.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
vitaminx
Member
 
Posts: 49
Joined: Tue Dec 30, 2014 15:08
GitHub: vitaminx

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by vitaminx » Tue Jan 27, 2015 23:01

Here the snippet of the code in plantlife/dryplants/init.lua that defines dryplants:hay and decays dryplants:grass to dryplants:hay over time:

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
126 -----------------------------------------------------------------------------------------------
127 -- Cut Grass becomes Hay over time
128 -----------------------------------------------------------------------------------------------
129 minetest.register_abm({
130     nodenames = {"dryplants:grass"},
131     interval = HAY_DRYING_TIME, --1200, -- 20 minutes: a minetest-day/night-cycle
132     chance = 1,
133     action = function(pos)
134         minetest.set_node(pos, {name="dryplants:hay"})
135     end,
136 })
137
138 -----------------------------------------------------------------------------------------------
139 -- Hay
140 -----------------------------------------------------------------------------------------------
141 minetest.register_node("dryplants:hay", {
142     description = "Hay",
143     inventory_image = "dryplants_hay.png",
144     wield_image = "dryplants_hay.png",
145     paramtype = "light",
146     sunlight_propagates = true,
147     tiles = {"dryplants_hay.png"},
148     drawtype = "nodebox",
149     node_box = {
150         type = "fixed",
151         fixed = {-0.5   , -0.5   , -0.5   ,   0.5   , -0.4375,  0.5   },
152     },
153     groups = {snappy=3, flammable=2},
154     sounds = default.node_sound_leaves_defaults(),
155 })


I have no idea what other mod could interfere.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Tue Jan 27, 2015 23:25

Wow, I'd completely forgotten about that. However, since it is directly overwriting the ABM-triggered node position with a replacement, this can't be the source of the problem.

I don't see anywhere in the code where hay is added by itself (outside of the above drying ABM), and only one place where dryplants:grass is being added to the map, but that is during map generation time (dryplants/meadowvariation.lua), and air-checking is enabled there (this is the default).
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
fireglow
Member
 
Posts: 72
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by fireglow » Mon Feb 09, 2015 14:37

Seeing this crash with latest git:
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
2015-02-09_12:15:52.49602 ERROR[main]: ERROR: An unhandled exception occurred: ...ods/plantlife_modpack/nature_classic/global_function.lua:47: attempt to compare number with nil
2015-02-09_12:15:52.49607 ERROR[main]: stack traceback:
2015-02-09_12:15:52.49609 ERROR[main]:        ...ods/plantlife_modpack/nature_classic/global_function.lua:47: in function 'grow_node'
2015-02-09_12:15:52.49611 ERROR[main]:        ...ods/plantlife_modpack/nature_classic/global_function.lua:12: in function <...ods/plantlife_modpack/nature_classic/global_function.lua:3>
2015-02-09_12:15:52.49613 ERROR[main]:        /srv/minetest/bin/../builtin/game/register.lua:341: in function </srv/minetest/bin/../builtin/game/register.lua:329>


at commit 581aee0570d2270e58848bfc9d3fd7f0cbe7e501
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Mon Feb 09, 2015 17:52

Odd crash. get_node_light() must somehow be returning nil for the grow target. Fix committed.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
fireglow
Member
 
Posts: 72
Joined: Fri Mar 28, 2014 11:36
IRC: fireglow
In-game: fireglow

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by fireglow » Mon Feb 09, 2015 19:00

Yep, crash is gone.
Thank you, VanessaE.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Tue Feb 10, 2015 20:08

Small update: mushrooms now use a nice meshnode instead of plantlike drawtype, model by jp/kilbith (with changes by me).
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

Scheiker
New member
 
Posts: 3
Joined: Fri Jan 09, 2015 17:55

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by Scheiker » Tue Feb 17, 2015 00:23

Scheiker wrote:Maybe it is just me, but can anyone confirm that the bushes from bushes_classic are being generated? I can't seem to find them unless I spawn them myself.


Nvm, I don't know what it was but after doing a rebuild of my GNU/LInux installation I can now see the bushes in places where I know I had looked before. Could of been a bad lua version or something, but at least it works now :)
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by VanessaE » Tue Feb 17, 2015 06:36

Significant update: bas080 has rewritten his vines mod and submitted it to plantlife. Said rewrite, which seems to perform better, has been merged in. :-)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: [Modpack] Plantlife [git rolling release][plantlife_modp

by Gael de Sailly » Tue Feb 17, 2015 13:56

Scheiker wrote:
Scheiker wrote:Maybe it is just me, but can anyone confirm that the bushes from bushes_classic are being generated? I can't seem to find them unless I spawn them myself.


Nvm, I don't know what it was but after doing a rebuild of my GNU/LInux installation I can now see the bushes in places where I know I had looked before. Could of been a bad lua version or something, but at least it works now :)

Bushes don't take part of mapgen. They are generated after, in an ABM (Active Block Modifier). So it's normal that you can't see any bush at first. But if you play a long time on the same place, you will see the bushes appearing slowly.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by VanessaE » Tue Feb 17, 2015 19:36

...and fixed a crash bug in git, due to a copy&paste error.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by VanessaE » Fri Feb 27, 2015 17:42

A new function was just added to Minetest master branch to condense the sort of surface-under-air search that my mod does into a single API call, which plants_lib now uses if available. If it's not available, the old search loop will be used (e.g. on 0.4.12 stable and older). So, speed improvements thanks to engine improvements. :-)

Also on the other side of the coin, I've added an on-shutdown hook to force plants_lib to play-out the rest of its mapgen log at shutdown. If you were busy spanking the mapgen, expect a few tens of seconds extra for the game to exit. This is to prevent those latent mapblocks from ending up unpopulated. If the mapgen was idle at the time of shutdown, then the log will be empty and of course nothing of consequence happens - this will be the usual state for most people I guess.

This latter change has no effect on normal gameplay -- only on the amount of time it takes a server to shut down.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by VanessaE » Sat Feb 28, 2015 05:50

Another small update: Instead of running at a max speed of one mapblock populate event per server step (usually 0.1 seconds), plants_lib will now try to play back as many such events as it can per step. It'll only start such a sequence if the server's step interval is less than 0.2 seconds (twice the usual time), and will only run that sequence for up 0.2 more seconds before releasing control back to the server.

This will result in less time spent populating the map, but shouldn't cause a significant increase in lag. Total increase in throughput depends on the speed of the machine and how much time the mod already took in each server step interval - a slower machine won't see a change, a fast machine might see a 3 or 4x increase. On my box, about twice as many events are played out per step as before, so around 2x.

Doesn't mean the code is any faster (maybe insignificantly so), it just uses a lot more CPU than before, and gets the job done in correspondingly less time. ;-)

EDIT: if you got the above update, get this morning's fix. I fixed a brain-o that caused the code to just spin at 100% CPU for no reason.

EDIT: fixed another glitch in the new code. If the map seemed to "pop into view" mostly-populated before, it won't now, because it was basically monopolizing the CPU. Now it works like it was supposed to in the first place. The above 2x/3x/4x commentary still applies.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

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

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by Sokomine » Tue Mar 17, 2015 17:28

The new baskets are fine, but...they kind of broke one of my houses :-)

A floor out of baskets did work well in the past. The baskets had a greyish upper part. Now...it does look slightly...odd :)
Image

The entire house as such does not look too bad, even with the new baskets:
Image

(Attachments added only so that I can link the images without having to use one of the non-working image hosters)
Attachments
screenshot_683950400.png
The entire house as such does not look too bad.
screenshot_683950400.png (128.01 KiB) Viewed 5430 times
screenshot_683706681.png
A floor out of baskets did work in the past. Now, it does look slightly...odd :)
screenshot_683706681.png (153.5 KiB) Viewed 5430 times
A list of my mods can be found here.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by VanessaE » Tue Mar 17, 2015 17:36

Sucks to be you for building something out of baskets ;-)

Facedir added in git, so the floor nodes can be flipped over with the screwdriver to show a flat side.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

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

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by Sokomine » Tue Mar 17, 2015 18:38

VanessaE wrote:Sucks to be you for building something out of baskets ;-)

They proved to be decorative and stable enough :) It's just with the changes that i started to stumble on that upper floor! Imagine having to walk on such a floor...

Thanks for the facedir update :-)
A list of my mods can be found here.
 

User avatar
jp
Member
 
Posts: 705
Joined: Wed Dec 18, 2013 09:03
GitHub: kilbith

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by jp » Thu Mar 26, 2015 21:51

Update : there is now sunflowers (made by kaeza) in Plantlife. They're sparingly spread over the lands.

Image
 

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

Re: [Modpack] Plantlife [rolling release] [plantlife_modpack

by Sokomine » Fri Mar 27, 2015 18:53

Nice sunflowers! I hope to encounter some in the game eventually.
A list of my mods can be found here.
 

PreviousNext

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 16 guests

cron