Cities: Skylines

Cities: Skylines

[DEPRECATED] Tree Anarchy 1.3.6
Quistar  [developer] 11 Jul, 2021 @ 9:40am
Important information when using Forest Brush mod with this mod
Scenario: If you saved a game with the tree limit set to one million, the forest brush will use the buffer index provided in existing buffer to save precision information.
If you then shrink the buffer to 7 hundred thousand tree limit, my mod will repack as many of the trees into the existing buffer. This repacked buffer will cause Forest brush to cause array index out of range exception error.

The game should still load fine, and no noticeable problems would occur. Saving the game might re-index the Forest Brush precision data.

Solution: There's no solution for this as trees are randomly packed when tree limit is shrunk, thus make sure to keep using the same tree limit in a game save, and don't shrink it. Then everything should be fine. You can expand the limit to support more trees without issues.
Last edited by Quistar; 12 Jul, 2021 @ 8:40pm
< >
Showing 1-4 of 4 comments
ilcicci1983 18 May, 2022 @ 8:02am 
I've constantly have this error in the map i'm making when i'm triyng to run it (array index out of range) So following this guide, even if i've only painted 3k trees i've unsub forest brush. same error. everything works fine both in the editor and when i load the game. but after 20/30 days this error appears. seems "time related". If i unsub this mode, everything works fine in my test ( a part tress...only half of the 3000 ones appears) . But the map works fine. Do you have any suggestion?
ilcicci1983 18 May, 2022 @ 2:51pm 
System.IndexOutOfRangeException: Array index is out of range.
at TreeManager.FireSimulationStep (TreeManager/BurningTree+) <0x002a9>
at (wrapper dynamic-method) TreeManager.TreeManager.SimulationStepImpl_Patch0 (TreeManager,int) <0x002a4>
at SimulationManagerBase`2.SimulationStep (int) <0x0004c>
at TreeManager.ISimulationManager.SimulationStep (int) <0x00024>
at SimulationManager.SimulationStep () <0x00693>
at SimulationManager.SimulationThread () <0x0018a>
ilcicci1983 18 May, 2022 @ 2:52pm 
this is the error. appears after you run the simulation for some days. even try to delete all the trees on the map. make sure there aren't network with tree attached. nothing works
Quistar  [developer] 26 Jun, 2022 @ 8:51pm 
This is a bug unrelated to forest brush, but related to tree fires. I know about this bug, but haven't found time to look into it yet.
< >
Showing 1-4 of 4 comments
Per page: 1530 50