Page 1 of 1

[Lou][2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Mon Nov 18, 2024 10:32 pm
by SvenDaMan
I was using the cut tool (with the shortcut crtl+x) to move some walls and concrete a few tiles.

After that I wanted to remove the landfill under it (which I also did with the cut feature) which went well for most of the landfill, but 4 tiles (seemingly random to me) seem to have lost its tile data and cannot be removed anymore. Neither by hand nor by bots with any remove tool.

I expect that the landfill could be removed.

I tried to replicate it by using the cut tool on other pieces with seemingly no luck

My save file started on 2.0 and the landfill that's broken was placed in [2.0.15]

Re: [2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Tue Nov 19, 2024 2:33 pm
by SvenDaMan
And if anyone knows how to manually remove it with debug maybe let me know

Re: [2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Tue Nov 19, 2024 2:53 pm
by IsaacOscar
Here you go
(I ran `/editor`, then clicked the "tiles" button on the top-left, then pressed 'q' with my mouse of the water, then clicked on the landfill tiles).

(Also opening your save file gave me a bunch of steam achievements... so now I'm a cheater).

Re: [2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Tue Nov 19, 2024 10:12 pm
by morsk
SvenDaMan wrote: Tue Nov 19, 2024 2:33 pm And if anyone knows how to manually remove it with debug maybe let me know
If you don't want to disable achievements, you can try my mod Fix Old Landfill. It was intended for 1.1 landfill with missing data in 2.0, but should work on this.

Re: [2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Wed Nov 20, 2024 1:34 am
by morsk
I looked closer at this, and noticed 4 Landfill tiles with no hidden_tile.

But also 11 refined-hazard-concrete-left that have "refined-hazard-concrete-left" as their hidden_tile, and "landfill" as their double_hidden_tile. The hazard concrete has itself as its hidden_tile, suggesting all of this happened by placing hazard concrete on top of hazard concrete, which should be impossible.

(My mod does not know how to fix the 11 tiles, but if you delete the weird concrete twice you will get broken landfill tiles that the mod will fix correctly. So it works well enough.)

Re: [Lou][2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Wed Nov 20, 2024 3:00 pm
by Lou
Thank you for the report. These are the problematic tiles I found
factorio-run_jEG6IxzQJV.jpg
factorio-run_jEG6IxzQJV.jpg (252.45 KiB) Viewed 867 times
(fastest way to find those I found is switching to editor and super force deconstuct).

There were a few bugs (fixed both before and after 2.0.15) that could have lead to this state and I don't really know how to backstep to find the cause, so unless/untill you observe newly created undeconstructible landfill on 2.0.20 or later, I am gonna let this hang in Pending.

That being said, do you remember anything particular about building around those spots?

If needed, I can "fix" the tiles for you, but the mentioned mod should probably work just fine.

Re: [Lou][2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Wed Nov 20, 2024 7:30 pm
by SvenDaMan
There was nothing particular about those spots themselves, just an arbitrary spot in the lake. I might have fat-fingered the shift key, and reading Morsk say that I placed concrete on top of concrete might have something to do with the super-force-build mechanic.

Trying to replicate it like that on [2.0.20] still resulted in nothing though so it might be patched out already.

No need to help me fix it! Thank you for offering :)

Re: [Lou][2.0.15] Landfill seems to have lost tile data after using the cut tool and cannot be removed

Posted: Tue Nov 26, 2024 10:52 pm
by Lou
ref.: 122936