[1.1.37] oil field shows as three disjoint oil fields on hover
[1.1.37] oil field shows as three disjoint oil fields on hover
1. Load the attached savefile.
2. Open the map view.
3. Hover over the north-east-east oil field.
- Attachments
-
- to_thousand_directly.zip
- (5.44 MiB) Downloaded 83 times
-
- factorio-current.log
- (15.22 KiB) Downloaded 87 times
Re: [1.1.37] oil field shows as three disjoint oil fields on hover
Thanks for the report however this isn't a bug. There is a minimum distance from one oil field to the next in order for them to be counted as a "field". These are simply too far apart.
If you want to get ahold of me I'm almost always on Discord.
Re: [1.1.37] oil field shows as three disjoint oil fields on hover
You presumably mean maximum, but this is demonstrably false considering the three in a roughly diagonal line at the south west.
The cause appears related to chunk boundaries. It seems two oil fields in diagonally-connected chunks always appear as separate, unless there is a field close enough in the chunk adjacent to both to "link" them together.
Re: [1.1.37] oil field shows as three disjoint oil fields on hover
I loaded up the save and drove over to look. The chunk boundaries don't entirely explain what's happening.
The two oil fields in the southwest are in one chunk. The two in the west are in another chunk. The bulk of the rest of the oil fields are in yet another chunk. Yet of that large set of oil fields, there's at least one oil field that's in a different chunk, yet is still considered part of the same oil field.
The two oil fields in the southwest are in one chunk. The two in the west are in another chunk. The bulk of the rest of the oil fields are in yet another chunk. Yet of that large set of oil fields, there's at least one oil field that's in a different chunk, yet is still considered part of the same oil field.
Re: [1.1.37] oil field shows as three disjoint oil fields on hover
After a bit more playing around I think the extent of a field is based on searching the four adjacent, but not diagonal, groups of 16x16 tiles (dividing each chunk into four). Marking the 16x16 groups from _hash's map that contain oil wells shows the "three" fields (I removed cliffs and trees for clarity):