The International Simutrans Forum

 

Author Topic: [Bug] Vehicles can enter unsupported depot  (Read 275 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran jp

  • *
  • Posts: 659
  • Languages: ja
[Bug] Vehicles can enter unsupported depot
« on: January 25, 2020, 12:31:39 PM »
For example, EMU can enter the depot of a steam locomotive by setting another schedule just before entering the depot.

This saved game is a scene where EMU is about to make a trespass.
Several DMUs and EMUs have already entered that depot illegally.  ::-\
Especially some EMUs are stored and cannot escape from them forever because they are already ghosts. Depot says five vehicles are currently stored, but no one can see three of them...  ???
Also, that steam depot can't be destroyed due to the haunted ghost. Oh my pig, the depot is cursed! (´・ω・`)

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2906
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: [Bug] Vehicles can enter unsupported depot
« Reply #1 on: January 25, 2020, 03:06:28 PM »
In the depot you have the option to append/insert/upgrade/sell.  Switch to sell, and you should be able to get rid of those vehicles (and the depot subsequently)..  The fact that vehicles can enter the wrong depot is on purpose. Imagine you want to upgrade from steam to diesel or electric engines, but you want to preserve the carriages. How else would you do it? Send the steam engine to modern depot, sell the engine and use the carriages with modern engine.

However I would like to see one small change. Currently you can dispatch a non-matching vehicle from depot, as long as it is part of assembled convoy. Once you disassemble, you can only sell it. It would be nice to be able to use stored non-matching vehicles into a convoy and dispatch them. However it should be forbidden to buy them.

Offline Ranran jp

  • *
  • Posts: 659
  • Languages: ja
Re: [Bug] Vehicles can enter unsupported depot
« Reply #2 on: January 25, 2020, 04:20:15 PM »
Quote
In the depot you have the option to append/insert/upgrade/sell.  Switch to sell, and you should be able to get rid of those vehicles (and the depot subsequently)..
No, EMUs removed at Steam depot are not available for sale. Because Electric tab will not appear in the steam depot. It remains there forever. You can check it in that saved game.

Quote
Imagine you want to upgrade from steam to diesel or electric engines, but you want to preserve the carriages. How else would you do it? Send the steam engine to modern depot, sell the engine and use the carriages with modern engine.
At least it is currently infeasible. Maintaining convoy as you wish and switching to another engine cannot be done in the depot that is not compatible with the base convoy. Because if you remove it from the convoy, you can't select or sell it forever, but you can't change the formation without it. There is no way to sell only a selection of assembled convoys. Either sell them all or remove it from convoy before selling. The latter is not possible here. (The vehicle becomes a ghost.) If you sell convoy in bulk, it will no longer be maintained and will disappear.
However, it is possible to exchange engine type while maintaining the convoy with the replace dialog. But note that this raises another bug.

Offline Freahk

  • *
  • Posts: 577
  • Languages: DE, EN
Re: [Bug] Vehicles can enter unsupported depot
« Reply #3 on: January 25, 2020, 04:51:55 PM »
check the "show all" checkbox, so the other tabs will also be shown, I guess this way selling the trains should work.

Offline Ranran jp

  • *
  • Posts: 659
  • Languages: ja
Re: [Bug] Vehicles can enter unsupported depot
« Reply #4 on: January 25, 2020, 05:04:19 PM »
check the "show all" checkbox, so the other tabs will also be shown, I guess this way selling the trains should work.
I don't think so. Please check that saved game.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19273
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [Bug] Vehicles can enter unsupported depot
« Reply #5 on: January 25, 2020, 07:52:42 PM »
Thank you for the report.

I should be interested in players' views as to whether the correct fix for this would be not allowing vehicles to enter depots of a different traction type, or whether rather the correct fix would be to allow limited actions (e.g. selling) of vehicles which have an incompatible traction type.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2906
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: [Bug] Vehicles can enter unsupported depot
« Reply #6 on: January 25, 2020, 08:35:16 PM »
My opinion is that only buying and upgrading of incompatible vehicles should be forbidden. All other operations should be allowed.

Offline Rollmaterial fi

  • Devotee
  • *
  • Posts: 590
  • Languages: EN, FR, DE, FI, SE
Re: [Bug] Vehicles can enter unsupported depot
« Reply #7 on: January 25, 2020, 09:28:53 PM »
My opinion is that only buying and upgrading of incompatible vehicles should be forbidden. All other operations should be allowed.
I +1 that.

Offline Ranran jp

  • *
  • Posts: 659
  • Languages: ja
Re: [Bug] Vehicles can enter unsupported depot
« Reply #8 on: January 25, 2020, 10:22:56 PM »
My opinion is that only buying and upgrading of incompatible vehicles should be forbidden. All other operations should be allowed.
I agree. Upgrade operations such as replacing a steam engine with a diesel engine or replacing a diesel engine with an electric motor should be allowed if the depot support upgrade vehicle's engine type. I don't think there is a good reason to prohibit simply changing its order. Also it would be no problem to scrap it in an unsupported depot.


Offline Freahk

  • *
  • Posts: 577
  • Languages: DE, EN
Re: [Bug] Vehicles can enter unsupported depot
« Reply #9 on: January 26, 2020, 11:18:53 AM »
I agree with Vladki for now.
The "for now" is with planned vehicle availability/depot visit and overhaul in mind, which for sure should not be possible in the wrong depot type.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2906
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: [Bug] Vehicles can enter unsupported depot
« Reply #10 on: January 26, 2020, 11:26:08 AM »
Sure, planned overhauls should happen only in matching depot.
I thought also about making it impossible to destroy the last depot if you still have vehicles of that type. But realized it would just cause more troubles than necessary.

Offline Freahk

  • *
  • Posts: 577
  • Languages: DE, EN
Re: [Bug] Vehicles can enter unsupported depot
« Reply #11 on: January 26, 2020, 11:33:07 AM »
I thought also about making it impossible to destroy the last depot if you still have vehicles of that type.
Depots of a specific type should be availible up to a few years after the last vehicle of that type became obsolete imho.
I don't know if this currently is already the case.

Offline Ranran jp

  • *
  • Posts: 659
  • Languages: ja
Re: [Bug] Vehicles can enter unsupported depot
« Reply #12 on: January 29, 2020, 11:24:07 AM »
It turns out that we can use the "copy convoy" button to copy a type of convoy not supported by the depot.
That is, EMUs can be manufactured in the depot which only supports steam engine.   :::)