MantisBT - opensim
View Issue Details
0008351opensim[REGION] Specific OpenSim Modulepublic2018-08-05 20:302018-08-12 19:50
Datapanic 
 
normalminoralways
newopen 
OpenSim SeverFreeBSD11.2
0.9.0.1 
 
Grid (Multiple Regions per Sim)
ubODE
Mono / Linux64
5.x
Firestorm (latest)
0008351: TreePopulatorModule.cs No longer Reseeds and grows new trees
I have been using the Tree module in OpenSim since 0.8.2.0 and since 0.9.0.x it seems that trees do not respawn after reaching maturity. Instead of killing off mature trees and spawning new trees, the module grows trees to maturity and quits. With OpenSim 0.8.2.0, the Tree module could run forever, constantly growing new trees and keeping within tree_quantity - eventually spreading trees around all over a sim. This doesn't happen with 0.9.0.x.

Sample xml file:
<Copse>
  <m_name>Pine1-1</m_name>
  <m_frozen>false</m_frozen>
  <m_tree_type>Pine1</m_tree_type>
  <m_tree_quantity>25</m_tree_quantity>
  <m_treeline_low>21</m_treeline_low>
  <m_treeline_high>60</m_treeline_high>
  <m_seed_point>
    <X>64</X>
    <Y>64</Y>
    <Z>0</Z>
  </m_seed_point>
  <m_range>182</m_range>
  <m_initial_scale>
    <X>.1</X>
    <Y>.1</Y>
    <Z>.1</Z>
  </m_initial_scale>
  <m_maximum_scale>
    <X>5</X>
    <Y>5</Y>
    <Z>5</Z>
  </m_maximum_scale>
  <m_rate>
    <X>.05</X>
    <Y>.05</Y>
    <Z>.05</Z>
  </m_rate>
</Copse>

No tags attached.
Issue History
2018-08-05 20:30DatapanicNew Issue
2018-08-05 20:37DatapanicDescription Updatedbug_revision_view_page.php?rev_id=6613#r6613
2018-08-05 20:37DatapanicAdditional Information Updatedbug_revision_view_page.php?rev_id=6615#r6615
2018-08-05 20:40DatapanicDescription Updatedbug_revision_view_page.php?rev_id=6616#r6616
2018-08-06 18:44DatapanicNote Added: 0032846
2018-08-07 11:22BillBlightNote Added: 0032848
2018-08-09 18:59DatapanicNote Added: 0032851
2018-08-12 19:50DatapanicNote Added: 0032857

Notes
(0032846)
Datapanic   
2018-08-06 18:44   
I was able to drop the TreePopulatorModule.cs from version 0.8.2.0 into version 0.9.0.1 and recompile and the Trees properly grew, seeded and were killed off.

There are big differences in the source with growtrees(), seedtrees() and killtrees() in the 0.9.0.x source that are causing this issue.
(0032848)
BillBlight   
2018-08-07 11:22   
I do believe the format of the xml changed abit, there was a previous mantis on this, and I know it was tested and worked in .9
(0032851)
Datapanic   
2018-08-09 18:59   
Is there a # for the mantis on that? I searched and couldn't find anything.
(0032857)
Datapanic   
2018-08-12 19:50   
I suggest the fix for this is to revert to the 0.8.2.x version. It works and has no problems when compiled with the 0.9.0.x source