Page 1 of 1
[boskid][2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Mon Dec 23, 2024 12:29 am
by flomz
Setup
An asteroid chunk flies into collector area. Collector is in "working" state and has matching filter.
Expected
Chunk is picked up by collector
Actual
Sometimes (very rarely) chunk is ignored and flies past all collectors. If collector is deconstructed and re-built (ctrl-z) again in time, while chunk is in it's reach, chunk gets picked up. Other chunks are picked up by this collector as expected. I've encountered this bug twice, with different chunk types.
- ignored-chunk.PNG (1.48 MiB) Viewed 964 times
I've attached a save with ignored asteroid chunk. It is to the left of "Atlantis" platform for about 15 seconds after loading.
Also, just noticed that there is a shadow for this asteroid chunk (visible on screenshot). Shoud it really be there?
Re: [2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Mon Dec 23, 2024 9:18 am
by Arcus
Refer to
viewtopic.php?p=652937#p652937
Circuit-controlled asteroid collectors may miss some chunks if they change filters too frequently because we have to search all chunks on the surface to find new valid candidates - there is a 300-tick cooldown between full surface searches.
Re: [2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Mon Dec 23, 2024 9:50 am
by flomz
Arcus wrote: ↑Mon Dec 23, 2024 9:18 am
Refer to
viewtopic.php?p=652937#p652937
Circuit-controlled asteroid collectors may miss some chunks if they change filters too frequently because we have to search all chunks on the surface to find new valid candidates - there is a 300-tick cooldown between full surface searches.
An interesting topic, thanks. However, I don't think that problem here is due to 300-tick search cooldown, as this chunk is there for much longer than 5 seconds. Also, if I deconstruct and rebuild a collector before this particular chunk enters its area, it still gets ignored (circuit filters were not changed during that time).
Re: [2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Mon Dec 23, 2024 2:07 pm
by captain_wiggles
I've seen this happen when not using filters and no wire connections at all, the collector was not full. Unfortunately I don't have a repo / screen shot to back it up.
Re: [2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Tue Dec 24, 2024 4:35 pm
by teckno99
captain_wiggles wrote: ↑Mon Dec 23, 2024 2:07 pm
I've seen this happen when not using filters and no wire connections at all, the collector was not full. Unfortunately I don't have a repo / screen shot to back it up.
this is the reason i have been searching the forums no screen shot either but shouldnt need one if it is a bug
Re: [2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Wed Dec 25, 2024 3:37 am
by Muche
Re: [2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Sat Dec 28, 2024 2:38 am
by tinker9
I have a save, screenshot, and 2.0.28 reproduction for this.
What I did:
Change my "Calcite at Nauvis" platform from collecting just oxide chunks, to collecting all chunks.
1. Set a collector to just filter one type of chunk
2. Wait until a bunch of chunks are on the screen
3. Change the collector filters by pasting another collector over it with no filters
What I expected:
All chunks that are in flight and in range for 5+ seconds get collected.
What actually happened:
Most (all?) chunks that were already in flight when the filters were pasted over are ignored, even after 10 seconds or more.
The filters changed manually work as expected almost immediately.
Links to saves:
During/before pasting:
https://www.sendspace.com/file/jew3fi
https://www.sendspace.com/file/de8wma
Shortly after the paste, showing the bug in the screenshots:
https://www.sendspace.com/file/i3s0h3
Re: [2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Sun Jan 05, 2025 3:26 pm
by Cubickman
Hi
I have the same problem. [2.0.28]
My space science factory doesn't work well because the collectors let almost half of the chunk through ;(
- 2.PNG (594.73 KiB) Viewed 530 times
- 1.PNG (1.48 MiB) Viewed 530 times
In the past, I've reported a collector bug when platforms change speed (124493), but this time it's a stationary platform in orbit.
Re: [boskid][2.0.28] Asteroid chunk is sometimes ignored by collector
Posted: Tue Jan 07, 2025 3:04 pm
by boskid
Thanks for the report. Issue is now fixed for 2.0.30. Issue was that at some point that asteroid chunk was seen as "still too far to be interesting now" and was scheduled to be rechecked in 60 ticks (1 second), however there was a logic error causing the schedule of such chunks to not be revisited if there are no unrelated chunks nearby.