You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing all kinds of stupid things with canals and other things when one mail truck (Road Vehicle 1 in the .sav) got stuck driving circles around a town center (Grenhill), stacking up over 90 breakdowns before I spotted it. The route to the depot isn't long, just a bridge over a canal and a couple of corners. However, every time just before the truck reaches the intersection where it should choose the bridge leading to the depot, it switches its destination back to the other town's truck station and then right after the intersection, changes destination back to the depot.
Removing the shorter route to depot by e.g. demolishing the bridge fixes the situation by limiting the vehicle's route choices, but I think the real issue is that a vehicle shouldn't decide to suddenly go to the station instead of depot with 90+ breakdowns.
The issue is that the road vehicle code has some code to prevent vehicles wondering off to far for depots. In this case it checks whether the depot is closer than 12 tiles. If not it cancels the depot order.
The long drive around the back causes the vehicle to be more than 12 tiles from the depot, thus causing the order to be cancelled. Guess the only way to prevent this is not looking to the 'bird' distances, but the distance over the road.
laurijh opened the ticket and wrote:
Attachments
Reported version: 0.7.2-RC2
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/3057
The text was updated successfully, but these errors were encountered: