Cities: Skylines

Cities: Skylines

[DEPRECATED] Tree Anarchy 1.3.6
Quistar  [开发者] 2021 年 7 月 11 日 上午 9:40
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.
最后由 Quistar 编辑于; 2021 年 7 月 12 日 下午 8:40
< >
正在显示第 1 - 4 条,共 4 条留言
ilcicci1983 2022 年 5 月 18 日 上午 8:02 
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 2022 年 5 月 18 日 下午 2:51 
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 2022 年 5 月 18 日 下午 2:52 
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  [开发者] 2022 年 6 月 26 日 下午 8:51 
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.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50