[Not a bug] Two trains have 0 reliability and never go to train depot to get serviced

19 April 2023 15:23

I have a game in which two trains (out of 40+) have 0 reliability and never go to train depot to get serviced. Is this something that someone cal take a look at? Why might such a thing happen?

20 April 2023 00:55

I can take a look but you'll need to post your save file somewhere. Preferably on discord: https://discord.gg/tcqxzXsF

20 April 2023 11:23

@dP wrote:

I can take a look but you'll need to post your save file somewhere. Preferably on discord: https://discord.gg/tcqxzXsF

Hi. I tried discord but i'm not very familiar with it so here's a direct link to the file.

https://filetransfer.io/data-package/rHE4U25z#link

The problem is with trains #16 and #44. I tried opening the same save in normal OTTD and they have the same behavior, so there's a chance it's not related to CityMania Client. I also don't know when and why it started but i have older savegames, i could try and find the ones before/after i created the station and the trains if it helps...

20 April 2023 11:50

@Jubilee wrote:

... here's a direct link to the file.

Hmmm, now that i think of it, you will probably need the two newgrfs contained in this zip too:

https://filetransfer.io/data-package/6GPqZFaE#link

20 April 2023 14:06

Basically, your depots are too far from your route. I'm not sure how exactly the pathfinder penalty there exceeds the equivalent of 20 tiles but 90 degree turn on the entrance of the depot is a big part of it as it alone counts as 6 tiles afaict. After I smoothed out the entrance trains seem to be servicing just fine: https://i.imgur.com/h9xAXfK.png

21 April 2023 13:58

@dP wrote:

Basically, your depots are too far from your route. I'm not sure how exactly the pathfinder penalty there exceeds the equivalent of 20 tiles but 90 degree turn on the entrance of the depot is a big part of it as it alone counts as 6 tiles afaict. After I smoothed out the entrance trains seem to be servicing just fine: https://i.imgur.com/h9xAXfK.png

Wow! I certainly didn't expect that.

I did as you suggested and i've noticed that now the trains get serviced but not in the defined interval of 150 days. I let it play out in fast-forward mode and i saw that train #16 reached a 0% reliability and also some extra time passed after that, before it finally went to the depot for servicing. That happened in the original OTTD, not CityMania. For some reason, train 44 never dropped below 40%.

I think i'll report it as a bug. Something seems fishy here. I understand you can't be 100% sure but is there any possibility that the savegame has been affected by something from the CitiMania client that is causing this?

EDIT: Correction - after a while, both trains get serviced regularly but for some reason, only in the right depot! If i delete it and leave only the left depot there, they both reach 0% reliability and never get serviced. Strange.

21 April 2023 16:23

Even without 90 degree turns your depots seem to be right on the edge of max distance. So servicing just isn't very reliable and depends on fortunate timings. Try moving your depots closer to your line (max distance pretty much counts from last signal).

Chances of CityMania client affecting anything in this case are almost zero so if you can reproduce it in vanilla it's totally fine to report to vanilla devs. I don't really see a bug here though, servicing algorithm is just very confusing. It's one of the many reasons a lot of players disable breakdowns completely.

22 April 2023 11:51

@dP wrote:

Even without 90 degree turns your depots seem to be right on the edge of max distance. So servicing just isn't very reliable and depends on fortunate timings. Try moving your depots closer to your line (max distance pretty much counts from last signal).

OK, i'll try your suggestions. Thanks for your input on this and your time.