The International Simutrans Forum

 

Author Topic: Bug: Vehicles stored in the depot will be charged twice monthly maintenance cost  (Read 7415 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 969
  • Languages: ja

As this image shows, this convoy has a maintenance cost of 170.20 ¢ per month while in the depot.



Disassembling this convoy and storing it in the depot will collect 340.40¢ maintenance cost every month.
It looks like it will be collected at the beginning of the month. And it will be collected again at the end of the month.  ::( ::( ::(
Also, Inf.maintenance seems to increase slightly. Why? ???

There are some related posts in this thread.
« Last Edit: July 12, 2019, 08:41:33 AM by Ranran »

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19819
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Thank you for the report: I believe that I have fixed this. I should be grateful if you could re-test with the next nightly build.

Offline Ranran

  • Devotee
  • *
  • Posts: 969
  • Languages: ja
Thank you for working on a bug fix.

I confirmed the today's nightly build.
It seems that being charged double fixed_maintenance is gone, but...

(New data is the last seven months.)

as you can see this graph, there is a difference in the timing of charging maintenance costs.
If you break up convoy and store it in the depot, the fixed cost will be collected at the beginning of the month.
If convoy is built, the fixed cost will be collected at the end of the month.


I posted a bug related to this issue here.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19819
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Thank you for your report. The issue was that the depot month update was called after and the convoy month update was called before the player month update. I have modified this so that both occur after the player update so that the fixed maintenance costs for the current month always appear in full in the player's current month graph display.

Offline Ranran

  • Devotee
  • *
  • Posts: 969
  • Languages: ja
I confirmed that the fixed_cost of the stored vehicle is now collected at the end of the month. (´・ω・`)b
Thank you for correspondence.