Trees disappearing 1/2 of map along map borders

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

DrunkMunki
 
Posts: 8
Joined: 12 Jun 2017, 11:06

Trees disappearing 1/2 of map along map borders

Post by DrunkMunki » 20 Jul 2017, 11:30

Hey Guys and Gals,
im trying to find out the cause and fix where the bottom half of the map, the trees no longer spawn or grow unless physically placed.

Ignore it being winter, this happened well before the season came into effect.

screenshot.JPG
screenshot.JPG (90.86 KiB) Viewed 2477 times


i also have a video of it at
https://youtu.be/YFScJNO10zg
and one before winter https://youtu.be/5607Gxns3q4

i'm not game to test anything against the DB just now because i cant seem to get the duplicate server to work, even though everythings the same (except world ID)

i was considering using the Forrestry Script at https://terratool.nyuton.net but again would prefer to test on a duplicate server before touching players data.
Image


Gruber
 
Posts: 163
Joined: 28 Oct 2016, 23:12

Re: Trees disappearing 1/2 of map along map borders

Post by Gruber » 20 Jul 2017, 12:27

Using an old forest cleanup script or to high values in forest.xml often cause this problems.

User avatar
Nyuton
Mod Developer
 
Posts: 51
Joined: 01 Feb 2017, 10:51
Location: Berlin

Re: Trees disappearing 1/2 of map along map borders

Post by Nyuton » 20 Jul 2017, 13:46

please share your /data/cm_forest_maintenance.xml file.
your issue seems to be limited to certain terrain blocks, so there's probably a misconfiguration on those blocks.
My Blog | Custom Maps & Tools for LiF:YO server owners on FeudalTools


DrunkMunki
 
Posts: 8
Joined: 12 Jun 2017, 11:06

Re: Trees disappearing 1/2 of map along map borders

Post by DrunkMunki » 20 Jul 2017, 22:27

Gruber wrote:Using an old forest cleanup script or to high values in forest.xml often cause this problems.


Never touched the DB, was looking into that script but read with the new updates NOT to use it.

Nyuton wrote:please share your /data/cm_forest_maintenance.xml file.
your issue seems to be limited to certain terrain blocks, so there's probably a misconfiguration on those blocks.


file wouldn't attach, so heres the code

Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<ForestMaintenance>
   <TreeAgingSpeed>2</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.5</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>220</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>330</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>220</AgeDeathBorder>
      <MaxAge>330</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>220</AgeDeathBorder>
      <MaxAge>330</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 aspen</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>220</AgeDeathBorder>
      <MaxAge>330</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>220</AgeDeathBorder>
      <MaxAge>330</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>220</AgeDeathBorder>
      <MaxAge>330</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">aspen</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>220</AgeDeathBorder>
      <MaxAge>330</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>220</AgeDeathBorder>
      <MaxAge>330</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>220</AgeDeathBorder>
      <MaxAge>330</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>


Image

User avatar
Nyuton
Mod Developer
 
Posts: 51
Joined: 01 Feb 2017, 10:51
Location: Berlin

Re: Trees disappearing 1/2 of map along map borders

Post by Nyuton » 21 Jul 2017, 08:58

Nah this is the unchanged vanilla file. Should be working fine. And I'll assume you didn't do any crazy edits to the weather config or the dayCycle setting.

But in the video one can clearly see that i.e. terrain 445 is not spawning the tree types it's supposed to. So the issue can only be found in the DB I think.

Maybe there´s one more bug in the forest logic besides the known one (maxage > 1000). I tried to reproduce such issues a while ago but did not succeed. But maybe with an export of your database we can track down the issue. If you don't mind, please export your DB and share with me.

Besides that, you should also send it in to helpme@lifeisfeudal.com to the official bug report mail.
My Blog | Custom Maps & Tools for LiF:YO server owners on FeudalTools


DrunkMunki
 
Posts: 8
Joined: 12 Jun 2017, 11:06

Re: Trees disappearing 1/2 of map along map borders

Post by DrunkMunki » 21 Jul 2017, 09:05

Nyuton wrote:Besides that, you should also send it in to helpme@lifeisfeudal.com to the official bug report mail.


thanks, i have already submitted a ticket, dont expect a quick response

PM has been sent with DB
Image

User avatar
Nyuton
Mod Developer
 
Posts: 51
Joined: 01 Feb 2017, 10:51
Location: Berlin

Re: Trees disappearing 1/2 of map along map borders

Post by Nyuton » 21 Jul 2017, 09:56

Thanks. Will run some tests over the weekend.
My Blog | Custom Maps & Tools for LiF:YO server owners on FeudalTools


DrunkMunki
 
Posts: 8
Joined: 12 Jun 2017, 11:06

Re: Trees disappearing 1/2 of map along map borders

Post by DrunkMunki » 25 Jul 2017, 08:21

any luck Nyuton?
Image

User avatar
Nyuton
Mod Developer
 
Posts: 51
Joined: 01 Feb 2017, 10:51
Location: Berlin

Re: Trees disappearing 1/2 of map along map borders

Post by Nyuton » 25 Jul 2017, 11:24

Something appears to be terribly wrong in your database. I'm not even able to start the server with your DB. There is some inconsistent version numbering in the geo_patch table. I didn't have time to investigate it further yet.
My Blog | Custom Maps & Tools for LiF:YO server owners on FeudalTools


DrunkMunki
 
Posts: 8
Joined: 12 Jun 2017, 11:06

Re: Trees disappearing 1/2 of map along map borders

Post by DrunkMunki » 25 Jul 2017, 11:27

FFS :cry: nothing is ever easy
Image


DrunkMunki
 
Posts: 8
Joined: 12 Jun 2017, 11:06

Re: Trees disappearing 1/2 of map along map borders

Post by DrunkMunki » 17 Oct 2017, 20:47

So just an Update, ive decided to wipe and do a different map.
Image

Return to General Discussion

cron