Need Help cm_forest_maintenance

General discussion about Life is Feudal MMO and Life is Feudal: Your Own, The main section and backbone of the forums.

Konrad-II
 
Posts: 64
Joined: 01 Mar 2015, 11:51

Need Help cm_forest_maintenance

Post by Konrad-II » 25 Mar 2017, 20:44

<TreeAgingSpeed>9</TreeAgingSpeed>

example Biomes:
<terrain id="450"> <!-- ???????? ??? -->
<BiomesCount>16</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>2200</AgeDeathBorder>
<MaxAge>6000</MaxAge>
<Substance name="forestsoil">
<tree density="0.14" mean="0.8" maxBiomeOvergrowth="0.4">pine</tree>
<tree density="0.02" mean="0.8" maxBiomeOvergrowth="0.2">juniper</tree>
<tree density="0.04" mean="0.8" maxBiomeOvergrowth="0.1">birch</tree>
<!--summ 0.2-->
</Substance>
</terrain>

The server is absolutely bald!

What do I have to change to sprout trees again?

Is there a console command to sprout trees?


Girdian
True Believer
 
Posts: 56
Joined: 05 Mar 2015, 07:50

Re: Need Help cm_forest_maintenance

Post by Girdian » 25 Mar 2017, 21:47

I have not found anything for sprouting trees but my server has had the same issue with the trees disappearing. I have changed a few things to make the trees last longer and grow back a little. It just takes a while to get it back.

I changed several things in the cm_forest_maintenance file. First, I increased the max biome density. My server currently has all biomes at .95 density. I increased the agedeathborder to 9999 along with the maxage to the same number. This makes the trees last virtually forever. I also increased the tree densities of trees I wanted while dropping the densities of juniper and spinny. I increased the tree density to as high as .4 for trees like oak. I increased the maxbiomeovergrowth to as high as .9. I set the juniper and spinny to .05 and maxbiomeovergrowth to .1. I am hoping this will help get trees back to the server. I only did this yesterday so I am waiting to the trees to plant and grow to see the effects. If the biomes become unbalanced in terms of trees other than juniper and undergrowth then I will edit the densities for those trees.

I hope this helps.
Owner/Admin of The Great Kingdom


Konrad-II
 
Posts: 64
Joined: 01 Mar 2015, 11:51

Re: Need Help cm_forest_maintenance

Post by Konrad-II » 26 Mar 2017, 08:16

<?xml version="1.0" encoding="utf-8"?>
<ForestMaintenance>
<TreeAgingSpeed>9</TreeAgingSpeed> <!-- Determines how many age units a tree will gain after a single maintenance run. Allows to speed up tree growth by making them age faster. To keep the forest in a balanced state increased values of this variable will result in more trees being planted and killed during each maintenance (which also means increased database load). Values of 1..10 should work as intended, greater values will likely result in inability to reach the balanced forest state -->

<terrain id="442"> <!-- ДУБОВАЯ РОЩА С ВЯЗОМ И ШЕЛКОМ -->
<BiomesCount>6</BiomesCount> <!-- Amount of biomes per terrain. Minimal allowed value is 1 -->
<MaxBiomeDensity>0.9</MaxBiomeDensity> <!-- 0..1 value that determines maximum amount of trees (of all types in total) allowed on a specific substance type (the same value applies to every substance type separately). Aimed to regulate the existance of too dense forest regions for every tree type and soil type at once, to achieve more preferable performance and has nothing to do with how the forest actually looks -->
<AgeDeathBorder>9900</AgeDeathBorder> <!-- At this age (and above it) trees will have a non-zero death probability chance during maintenance (note that the number of deaths is capped by ChangeLimit setting). Speed at which this age will be reached is affected by TreeAgingSpeed -->
<MaxAge>9900</MaxAge> <!-- At this age (and above it) tree death probability chance will be 1 (note that the number of deaths is capped by ChangeLimit setting). Speed at which this age will be reached is affected by TreeAgingSpeed -->
<Substance name="forestsoil"> <!-- A block that describes forest settings for a single substance -->
<!-- 'density' setting determines how much cells of the target soil type will be covered by trees of the target type on the target terrain -->
<!-- For any soil type, total sum of densities for all tree types should be less than 1 -->
<!-- 'mean' is the 0..1 mean value of beta distribution used for choosing tree qualities -->
<!-- 'maxBiomeOvergrowth' is the 0..1 value that indicates how much denser then 'density' ANY forest biome can be compared to the whole forest on the target terrain (since biome size in most cases is smaller then a single terrain, this can be used to create forests that are more evenly spread across terrain (lower 'maxBiomeOvergrowth' value) or with bigger number of small areas that are denser then average) -->
<!-- In the single 'tree' node several tree types may be stated, separated by a space character. Each of these tree types will be assigned with the given 'density', 'mean' and 'maxBiomeOvergrowth' (these parameters will NOT be equally split among the specified tree types) -->
<tree density="0.009" mean="0.4" maxBiomeOvergrowth="0.05">oak elm</tree>
<tree density="0.002" mean="0.4" maxBiomeOvergrowth="0">apple</tree>
<tree density="0.012" mean="0.4" maxBiomeOvergrowth="0.5">mulberry</tree>
<!--summ 0.032-->
</Substance>
</terrain>

<terrain id="443"> <!-- ЮЖНЫЙ ЛЕС -->
<BiomesCount>4</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.0125" mean="0.4" maxBiomeOvergrowth="0.05">mulberry maple</tree>
<tree density="0.005" mean="0.4" maxBiomeOvergrowth="0">apple</tree>
<tree density="0.045" mean="0.4" maxBiomeOvergrowth="0">hazel</tree>
<tree density="0.055" mean="0.4" maxBiomeOvergrowth="0">spinny</tree>
<!--summ 0.13-->
</Substance>
</terrain>

<terrain id="444"> <!-- СМЕШАННЫЙ ШИРОКОЛИСТВЕННЫЙ ЛЕС -->
<BiomesCount>4</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.01" mean="0.4" maxBiomeOvergrowth="0.25">oak apple maple</tree>
<tree density="0.055" mean="0.4" maxBiomeOvergrowth="0.4">birch willow</tree>
<tree density="0.06" mean="0.4" maxBiomeOvergrowth="0">spinny</tree>
<!--summ 0.2-->
</Substance>
</terrain>

<terrain id="445"> <!-- ШИРОКОЛИСТВЕННЫЙ ЛЕС -->
<BiomesCount>4</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.0075" mean="0.4" maxBiomeOvergrowth="0.25">elm oak apple maple</tree>
<tree density="0.045" mean="0.4" maxBiomeOvergrowth="0">hazel</tree>
<tree density="0.055" mean="0.4" maxBiomeOvergrowth="0">spinny</tree>
<!--summ 0.13-->
</Substance>
</terrain>

<terrain id="446"> <!-- СМЕШАННЫЙ ЛЕС -->
<BiomesCount>4</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.07" mean="0.4" maxBiomeOvergrowth="0.25">spruce birch pine</tree>
<tree density="0.04" mean="0.4" maxBiomeOvergrowth="0">spinny</tree>
<tree density="0.005" mean="0.4" maxBiomeOvergrowth="0">apple</tree>
<!--summ 0.255-->
</Substance>
</terrain>

<terrain id="447"> <!-- КИСЛЫЙ ЛЕС -->
<BiomesCount>8</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.025" mean="0.4" maxBiomeOvergrowth="0.36">birch pine</tree>
<tree density="0.1" mean="0.4" maxBiomeOvergrowth="0.36">willow</tree>
<tree density="0.01" mean="0.4" maxBiomeOvergrowth="0.12">spruce</tree>
<tree density="0.1" mean="0.4"maxBiomeOvergrowth="0">spinny</tree>
<tree density="0.005" mean="0.4" maxBiomeOvergrowth="0">apple</tree>
<!--summ 0.265-->
</Substance>
</terrain>

<terrain id="448"> <!-- ТАЙГА -->
<BiomesCount>4</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.03" mean="0.4" maxBiomeOvergrowth="0.3">pine juniper spruce birch</tree>
<tree density="0.14" mean="0.4" maxBiomeOvergrowth="0">spinny</tree>
<!--summ 0.26-->
</Substance>
</terrain>

<terrain id="449"> <!-- ТАЙГА -->
<BiomesCount>4</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.03" mean="0.4" maxBiomeOvergrowth="0.3">pine juniper spruce birch</tree>
<tree density="0.14" mean="0.4" maxBiomeOvergrowth="0">spinny</tree>
<!--summ 0.26-->
</Substance>
</terrain>

<terrain id="450"> <!-- СОСНОВЫЙ БОР -->
<BiomesCount>16</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>
<Substance name="forestsoil">
<tree density="0.14" mean="0.4" maxBiomeOvergrowth="0.4">pine</tree>
<tree density="0.02" mean="0.4" maxBiomeOvergrowth="0.2">juniper</tree>
<tree density="0.04" mean="0.4" maxBiomeOvergrowth="0.1">birch</tree>
<!--summ 0.2-->
</Substance>
</terrain>

</ForestMaintenance>


Nothing spreads no fucking trees -.-


Konrad-II
 
Posts: 64
Joined: 01 Mar 2015, 11:51

Re: Need Help cm_forest_maintenance

Post by Konrad-II » 26 Mar 2017, 17:38

No new trees are generated.
What do I need to do if the server generates trees again?


Konrad-II
 
Posts: 64
Joined: 01 Mar 2015, 11:51

Re: Need Help cm_forest_maintenance

Post by Konrad-II » 27 Mar 2017, 14:53

<AgeDeathBorder>9900</AgeDeathBorder>
<MaxAge>9900</MaxAge>

Is to mutch!

999 is max it works bye

User avatar
Arrakis
 
Posts: 5455
Joined: 25 Oct 2013, 14:11
Location: Space

Re: Need Help cm_forest_maintenance

Post by Arrakis » 28 Mar 2017, 01:42

We are already investigating the issue with forest algorithms. It would help if you'd send a DB export of your server to helpme@lifeisfeudal.com

Thank you.


Konrad-II
 
Posts: 64
Joined: 01 Mar 2015, 11:51

Re: Need Help cm_forest_maintenance

Post by Konrad-II » 28 Mar 2017, 04:29

There is no longer a problem.
The mistake was, that I had four instead of three inputs at the maximum age of the trees and the agedeathborder.

<MaxAge>1234</MaxAge> no new trees generatet
<MaxAge>123</MaxAge> So everything works out perfectly
<AgeDeathBorder>1234</AgeDeathBorder> no new trees generatet
<AgeDeathBorder>123</AgeDeathBorder> So everything works out perfectly


<AgeDeathBorder>1234</AgeDeathBorder>
<MaxAge>1234</MaxAge>
or
<AgeDeathBorder>1234</AgeDeathBorder>
<MaxAge>123</MaxAge>
or
<AgeDeathBorder>123</AgeDeathBorder>
<MaxAge>1234</MaxAge>
no new trees generatet

<AgeDeathBorder>123</AgeDeathBorder>
<MaxAge>123</MaxAge>
So everything works out perfectly

The database is there nothing to bring the error is that the maximum age can not be set larger, but the border was not clear

Return to General Discussion