[kovarex] [0.16.41] Missing train path penalty

This subforum contains all the issues which we already resolved.
Post Reply
aaargha
Filter Inserter
Filter Inserter
Posts: 330
Joined: Wed Dec 07, 2016 8:35 am
Contact:

[kovarex] [0.16.41] Missing train path penalty

Post by aaargha »

Trains in the NO_SCHEDULE or NO_PATH state do not give any penalty to the score of a path (except for the regular occupied block penalty that is).

Savefile shows trains wanting to go through a path with trains in these states instead of a slightly longer one with no obstructions.

Treating them the same as MANUAL_CONTROL seems like a quick and sane fix :)

PATH_LOST and MANUAL_CONTROL_STOP also have no additional penalties but I'm not sure if that's as much of an issue.

EDIT: Issue discovered here.
Attachments
missing path penalty.png
missing path penalty.png (4.01 MiB) Viewed 4364 times
Missing path penalties.zip
(2.26 MiB) Downloaded 369 times

Meddleman
Inserter
Inserter
Posts: 47
Joined: Mon Jun 26, 2017 7:39 pm
Contact:

Re: [0.16.41] Missing train path penalty

Post by Meddleman »

Does the issue persist using a block signal instead of the look-ahead? Or will the left train simply tailgate the other on its path?

Currently not at home, or I'd test this myself.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.16.41] Missing train path penalty

Post by kovarex »

Hello, this makes sense.
I added path finding penalty of 1000 tiles to a block with train with no path.

Post Reply

Return to “Resolved Problems and Bugs”