FS#2955 - Depots on a YAPP Track won't be visited
Attached to Project:
OpenTTD
Opened by xZise (xZise) - Tuesday, 02 June 2009, 22:33 GMT
Last edited by Remko Bijker (Rubidium) - Sunday, 13 December 2009, 10:50 GMT
Opened by xZise (xZise) - Tuesday, 02 June 2009, 22:33 GMT
Last edited by Remko Bijker (Rubidium) - Sunday, 13 December 2009, 10:50 GMT
|
DetailsHi all, I have the problem, that the trains doesn't visit the depots by the track so they get easy to a very low status. I tested it with the r16504 and the Nightly from some days before and with the Infrastructure Sharing patch (prekompiled). All three games have this very annoying bug. I created a savegame with the r16504 where you can see that the last check was a year ago (more than 150 days).
Sincerely xZise |
This task depends upon
Closed by Remko Bijker (Rubidium)
Sunday, 13 December 2009, 10:50 GMT
Reason for closing: Won't fix
Additional comments about closing: The distance for going to a depot is governed by the pathfinder penalties. You can, since r18481, configure the maximum yourself. The problem has not much to do with YAPP, only that once a train has made a reservation it doesn't change them anymore. The not going to a depot is completely caused by the pathfinder distance to the depot from the place where it looked for a depot. But as I said you can increase that distance now.
Sunday, 13 December 2009, 10:50 GMT
Reason for closing: Won't fix
Additional comments about closing: The distance for going to a depot is governed by the pathfinder penalties. You can, since r18481, configure the maximum yourself. The problem has not much to do with YAPP, only that once a train has made a reservation it doesn't change them anymore. The not going to a depot is completely caused by the pathfinder distance to the depot from the place where it looked for a depot. But as I said you can increase that distance now.

Melheim Transport, 25. Apr 19...
First question that comes to mind: Why do red pbs signals give a penalty at all?
(Maybe there are more weird pathfinder costs involved)
Sincerely
xZise
Sincerely
xZise
For normal signals that is fine, as you do not want to block your mainline, when there is already a train entering the depot.
OTOH PBS signals are basically always red, so there the penalty is not useful. (The cost for crossing a reserved track is used instead to prevent trains from stockpiling in front of depots.)
With a branch and then a corner into a depot you easily have 3 45 degree turns.
For NPF the curve penalty is 1, which basically means 0 and thus it works better with NPF.
So basically this isn't a real bug but more a penalty issue. I suggest making the max-go-automatically-to-depot penalty configurable and maybe reduce the curve penalties for YAPF, increase them some for NPF and determine some sane default for the new variable.