[0.18.31] Construction bots never completing long-distance travel

Things that has been reported already before.
Post Reply
phyreskull
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Jun 13, 2020 6:17 pm
Contact:

[0.18.31] Construction bots never completing long-distance travel

Post by phyreskull »

The bug:
Construction bots given distant jobs with no roboports in a straight-line path to the job get stuck reaching the edge of their recharge range, turn back, recharge, and try again forever.

To reproduce:
• Starting from the same point, build a long vertical line of roboports and two long horizontal lines at each end, forming a large "C" shape. Make the top arm longer. I went for about 12-16 roboports at max distance for each arm.
• Put resources at the tip of the shorter arm of the C, and construct something with those resources around the other tip of the C.

Expected results

One of:
a. Bots continue at minimum speed towards their target if they can't find a roboport that would charge them and get them closer.
b. Bots realise they're stuck and can't get there directly, so release the job to give nearer bots (if any) the chance to take the job.
c. Bots realise they're stuck and can't get there directly, so pathfind along the roboport chain to get there.

Actual results:
• Bots get stuck going to the limit of their recharge range and returning to the nearest roboport.

In the capture below (taken from the savefile), bots are attempting to build dragon's teeth on the top-right tip of the roboport "C", and the walls are in a passive provider chest in the bottom-right tip.
factorio_bug.gif
factorio_bug.gif (273.79 KiB) Viewed 1138 times
Because they don't get close to any other roboports on the way (as might happen if the locations were reversed), they just reach their range limit and keep returning to a nearby roboport to recharge.

I encountered this while expanding my defences either side of a large lake. While it could be fixed with landfill and roboports across the lake, it would be nice not to have to do that :-)
Attachments
factorio-current.log
(15.08 KiB) Downloaded 59 times
Bug attempt.zip
(2.21 MiB) Downloaded 68 times

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2252
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.31] Construction bots never completing long-distance travel

Post by boskid »

Not a bug

37124
46862
84119

User avatar
MEOWMI
Filter Inserter
Filter Inserter
Posts: 311
Joined: Wed May 22, 2019 12:21 pm
Contact:

Re: [0.18.31] Construction bots never completing long-distance travel

Post by MEOWMI »

The best way is to keep your roboport networks relatively small and condensed. Use chests and inserters on boundaries to transfer items between networks, or for longer distances, use trains and belts.

It's just simply designed that way. Bots have no regard for what's closest let alone do any planning for where roboports are.

phyreskull
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Jun 13, 2020 6:17 pm
Contact:

Re: [0.18.31] Construction bots never completing long-distance travel

Post by phyreskull »

Yikes, sorry. I thought I'd been a good poster and read all of the known issues first, yet I missed the most obvious :-( Thanks for being gentle about it, and sorry for the noise!

User avatar
invisus
Filter Inserter
Filter Inserter
Posts: 284
Joined: Fri Sep 21, 2018 5:33 pm
Contact:

Re: [0.18.31] Construction bots never completing long-distance travel

Post by invisus »

phyreskull wrote:
Sun Jun 14, 2020 3:34 pm
Yikes, sorry. I thought I'd been a good poster and read all of the known issues first, yet I missed the most obvious :-( Thanks for being gentle about it, and sorry for the noise!
For what it's worth, your report was well formed, clear, and descriptive, and even contained supporting data. So, good on ya.

*hattip*

Post Reply

Return to “Duplicates”