Ghost Scanner

by Optera

Adds a combinator reading ghost requests from the logistic network it's placed in.

Content
1 year, 3 months ago
0.16 - 1.1
10.8K
Circuit network

b Ghost Scanner detects ghosts which logistics network can't see

4 years ago

https://i.imgur.com/GXT2Taq.jpg - logistics has 4.9k landfill, bots aren't moving it, and a visual check shows no landfill ghosts within its range.

https://i.imgur.com/PY1aEE0.png - ghost scanner however reports 79 landfill ghosts.

There are landfill ghosts immediately outside the logistics range (as the bots have already finished landfilling a section), but not within it.. Perhaps there's an off-by-one error somewhere?

https://we.tl/t-iEyhPWODdX - save file (1 week link validity)

PS: any hints on making LTN construction-requester stations less fragile would be awesome, these trains get stuck all the time even though the provider is carefully set up for loading the exact number of requested items. I don't want to use the LTN timeout because my depot/main base can't absorb tremendous amounts of excess items if the big trains get stuck.

4 years ago
(updated 4 years ago)

Thanks for finding this edge case. I never realized find_entities included entities where only the edge of the bounding box matches.
I've reduced the search area by just the tiniest amount to exclude tiles placed just outside.

As for LTN integration:
- use Logistic Provider & Requester for LTN 1.10.13 https://forums.factorio.com/viewtopic.php?p=297648#p297648
- connect a roboport, filtering all negative values, and a ghost scanner to the input
- in mod settings set the ghost scanner to report negative values and round up to next full stack
- set request stack threshold to 1

New response