Ore spread bug
Description
Create a 50×50 blank map. Cover the map with a small amount of ore. 创建一张50x50的空白地图然后覆盖少量矿石。
Under normal ore spread conditions, the ore will spread to cover the entire map. 在正常的矿石蔓延条件下,矿石会覆盖整个地图。
However, if any cell on the map has 2 trees in its adjacent positions, once the ore spreads to that cell, the entire ore spread across the map will halt. After the ore in each cell reaching full maturity, it will trigger FE after several minutes(under high FPS). 然而如果矿石蔓延到某个与2棵树相邻的单元格上,全图的矿石蔓延就会停止。之后地图上的每个单元格上的矿石成长至饱满后,再过几分钟(高帧率下)会发生FE。低帧率这个过程可能需要几十分钟。
However, planting trees on stone will not block the ore spread.
而在石头上种树并不会阻止矿石蔓延。
This also happened in YR without any extension. 纯净的尤里复仇也会发生这种FE。
Conditions to reproduce
No response
INI code
Steps to reproduce
1.Set 800x600 resolution, frame rate above 4200. 2.Cover the map with a small amount of ore. 3.Plant 2 adjacent trees on the map. 4.Wait several minutes.
Expected behaviour
the ore will propagate to cover the entire map.
Actual behaviour
if any cell on the map has 2 trees in its adjacent positions, once the ore spreads to that cell, the entire ore spread across the map will halt. After the ore in each cell reaching full maturity, it will trigger FE after a period of time.
Additional context
EIP:007225F3、007226D7、007226B0、005AD8AC
Checklist
- [x] The issue is not introduced by Phobos or any other engine extension, such as Ares, Kratos etc.
- [x] The issue wasn't fixed in the most recent version of Ares/Phobos yet.
- [x] I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
- [x] I added a very descriptive title to this issue.
- [x] I used the GitHub search and read the issue list to find a similar issue and didn't find it.
- [ ] I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).
if destroy this tree will cause FE
Perhaps this is the cause of this crash?
BTW, does the ore stops spreading if it reaches a ramp? I remember tiberium might cause a crash if trying to spread on a ramp, and it wouldn't surprise me if that and this tree crash were one and the same issue.
Perhaps this is the cause of this crash?
BTW, does the ore stops spreading if it reaches a ramp? I remember tiberium might cause a crash if trying to spread on a ramp, and it wouldn't surprise me if that and this tree crash were one and the same issue.
Ramp do not cause this issue.
I should have worded it differently, because unless i misunderstood, the crash was supposed to happen on slopes and sloped tiles, not on cliffs. Ramps indeed do not cause the crash, but i don't think they were an issue.
You should have made a new post, i wouldn't know you tested it for slopes if i didn't check. But indeed, it looks like slopes do not cause crashes or stop ore growth.
You should have made a new post, i wouldn't know you tested it for slopes if i didn't check. But indeed, it looks like slopes do not cause crashes or stop ore growth.
I have to admit I didn't handle this part well. Additionally, when ore occupies most of the grid cells on the map and spreads to two eligible adjacent trees, FE will occur quite rapidly.