The International Simutrans Forum

 

Author Topic: Tool to resolve blockages  (Read 503 times)

0 Members and 1 Guest are viewing this topic.

Offline Andarix

  • *
  • Posts: 56
Tool to resolve blockages
« on: November 25, 2019, 06:41:29 AM »
It would be helpful to have a tool (like the block tool key b) to restart the route search on bucked vehicles.

With own vehicles it helps to open and close the schedule (also several times) to get the vehicle free. However, this is not possible with foreign vehicles (network game) if passwords are set.

[de] Im Netzwerkspiel gab es mehrmals Blockaden von Flugzeugen. Um diese aufzulösen hilft es den Fahrplan zu öffnen und wieder zu schließen ( ggf auch mehrmals ).
Bei fremden Fahrzeugen geht das nicht, wenn Passwörter gesetzt sind. Deshalb wäre ein Tool ( wie das Blocktool Taste b ) hilfreich, das die Routensuche eines ( fremden ) Fahrzeuges neu startet, um solche Blockaden aufzulösen. [/de]

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9595
  • Languages: De,EN,JP
Re: Tool to resolve blockages
« Reply #1 on: November 26, 2019, 02:19:50 AM »
Recalculate a route would not help here either.

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2748
  • Languages: EN
Re: Tool to resolve blockages
« Reply #2 on: November 26, 2019, 03:15:38 AM »
If the amount of time a vehicle is stuck at 1 tile could be logged then after 15-30 game minutes one could allow other companies to use a tool to help restart vehicles. What this would do is cause the target vehicle to recalculate schedule, as if the player opened and closed the vehicle schedule window. If that fails because it results in the vehicle being immediately stuck (same route as before) it then tries to order the vehicle to its previous stop or waypoint. If that fails for the same reason it then arbitrarily orders the vehicle to reverse towards the last intersection before ordering towards the original destination.

The idea of the tool would be a "try to unstuck another player road vehicle" button which cannot easily be abused. The target situation would mostly be when a player modifies their roads to fix a blockage but another company vehicles still remain stuck in part of it due to trying to take the old paths. An example of where this could happen is if a roundabout ends up stuck due to cyclic intersection dependencies and a player is trying to unstuck the roundabout section so that it can be converted to a single intersection or other less prone to degeneration layouts. Currently the only way to do this might be to wait for the other players who respond and order away or remove their vehicles from the roundabout section. So that the tool fits in with the style of the game, it could be called something like "Call traffic police".

Offline freddyhayward au

  • *
  • Posts: 73
  • Languages: EN
Re: Tool to resolve blockages
« Reply #3 on: November 26, 2019, 05:50:05 AM »
If the amount of time a vehicle is stuck at 1 tile could be logged then after 15-30 game minutes one could allow other companies to use a tool to help restart vehicles. What this would do is cause the target vehicle to recalculate schedule, as if the player opened and closed the vehicle schedule window. If that fails because it results in the vehicle being immediately stuck (same route as before) it then tries to order the vehicle to its previous stop or waypoint. If that fails for the same reason it then arbitrarily orders the vehicle to reverse towards the last intersection before ordering towards the original destination.

The idea of the tool would be a "try to unstuck another player road vehicle" button which cannot easily be abused. The target situation would mostly be when a player modifies their roads to fix a blockage but another company vehicles still remain stuck in part of it due to trying to take the old paths. An example of where this could happen is if a roundabout ends up stuck due to cyclic intersection dependencies and a player is trying to unstuck the roundabout section so that it can be converted to a single intersection or other less prone to degeneration layouts. Currently the only way to do this might be to wait for the other players who respond and order away or remove their vehicles from the roundabout section. So that the tool fits in with the style of the game, it could be called something like "Call traffic police".
This is a fantastic idea, and should extend to rail vehicles (perhaps permitting the 'clear reservation tool' on all reservations more than one month old regardless of player). On the bridgewater-brunel server, tens of thousands of passengers have been stranded in blocked trains for half a century with no end in sight. In a few more decades all people aboard will have been born and raised on these trains, knowing nothing of the outside world apart from tales from their parents and grandparents.

Offline Andarix

  • *
  • Posts: 56
Re: Tool to resolve blockages
« Reply #4 on: November 26, 2019, 06:24:04 AM »
Recalculate a route would not help here either.

In the picture, the airport is partially rebuilt to avoid the blockade.
__________________________________________

You can test it in the linked game. Click on a plane, open the schedule (switch to the corresponding player) and close it again. You will see how the plane becomes free and gradually the blockade dissolves.

https://simutrans-germany.com/files/upload/pak128.britain-Airport.sve


« Last Edit: November 26, 2019, 08:05:39 AM by Andarix »

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2735
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: Tool to resolve blockages
« Reply #5 on: November 26, 2019, 04:30:54 PM »
This is a fantastic idea, and should extend to rail vehicles (perhaps permitting the 'clear reservation tool' on all reservations more than one month old regardless of player).

IMHO for trains it would be enough if players could clear their own reservetions on anyone's track and, also clear any reservations on own track.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9595
  • Languages: De,EN,JP
Re: Tool to resolve blockages
« Reply #6 on: November 27, 2019, 11:53:22 AM »
A tool to trigger a new route search independently from the player is easy and does no harm. But it may not help work in many situations either.

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2748
  • Languages: EN
Re: Tool to resolve blockages
« Reply #7 on: November 27, 2019, 05:55:46 PM »
On the bridgewater-brunel server, tens of thousands of passengers have been stranded in blocked trains for half a century with no end in sight. In a few more decades all people aboard will have been born and raised on these trains, knowing nothing of the outside world apart from tales from their parents and grandparents.
This feature request is targeting standard and not extended. Extended has its own problems which is why a lot of these vehicles get stuck in the first place.

The main issue with bridgewater brunnel is that it is near impossible to join and play on the server due to the size. Hence people like myself may only fix the blockages every week or so.