[2.0.72] Bots getting confused trying to build curved rail from mixed HP rail

Things that has been reported already before.
naahuc
Inserter
Inserter
Posts: 21
Joined: Thu Dec 03, 2020 8:33 pm
Contact:

[2.0.72] Bots getting confused trying to build curved rail from mixed HP rail

Post by naahuc »

We were talking about bot building edge cases and I remembered a scenario where curved rails can confuse bots when the exact amount of rails are present, but have different HP stacks.

What did you do?
  1. Load the attached save
  2. Pick up the contents of either of the wooden chests (only one)
  3. enable the personal roboport
What happened?
The personal bots will cycle going forever into and out of the player trying to build with different HP rails, giving up and trying again over and over.

It's a 3 rail curved rail segment, it causes issues when split in 1-2 or 2-1 damaged/full hp rail.
If you have either 3 damaged or 3 full hp rails it will build correctly.

What did you expect to happen instead? It might be obvious to you, but do it anyway!
I would have expected for the curved rail segment to be built with the average of the hp of all 3 constituent rails
Attachments
bug_report_rail_bots.zip
(2.38 MiB) Downloaded 16 times
Post Reply

Return to “Duplicates”