Page 1 of 1

[kovarex] [0.16.41] Missing train path penalty

Posted: Wed May 09, 2018 7:55 am
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.

Re: [0.16.41] Missing train path penalty

Posted: Wed May 09, 2018 11:10 am
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.

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

Posted: Wed May 09, 2018 5:04 pm
by kovarex
Hello, this makes sense.
I added path finding penalty of 1000 tiles to a block with train with no path.