The International Simutrans Forum

 

Author Topic: [bug?] seatless vehicle is ignored in route search  (Read 252 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran jp

  • *
  • Posts: 445
  • Languages: ja
[bug?] seatless vehicle is ignored in route search
« on: July 01, 2019, 10:14:24 AM »
Asia is full of people unlike Western Europe, so sometimes there are vehicles without seats.
All people can stand and ride. That is, (seat) capacity = 0 but many overcrowded capacity.
I noticed that such vehicles are ignored in the route search, so if they consist only of such vehicles, the route will not be built but it seems unnatural. (´・ω・`)

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2647
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: [bug?] seatless vehicle is ignored in route search
« Reply #1 on: July 01, 2019, 03:08:46 PM »
In that case I would make the standing capacity to be the normal capacity and reduce comfort accordingly. Overcrowded capacities could be those riding on roof, bumpers, hanging out of windows, etc..

Offline DrSuperGood

  • Dev Team
  • Devotee
  • *
  • Posts: 2691
  • Languages: EN
Re: [bug?] seatless vehicle is ignored in route search
« Reply #2 on: July 01, 2019, 05:03:41 PM »
All people can stand and ride. That is, (seat) capacity = 0 but many overcrowded capacity.
That is not correct. If the vehicle is designed for standing room only then it is technically not overcrowded as it is within the designed capacity. For example cheap airline flights with standing room only (yes these exist or at least did a few years ago) are not overcrowded as one cannot legally overcrowd an aircraft for safety.

The correct implementation would be to have the standing capacity as some class but with very low comfort (e.g. 5 minutes or less of comfort). Additionally one could have a nominal amount of overcrowding capacity to represent when people are literally shoved in behind the doors and the vehicle has exceeded its designed standing capacity.

Offline Ranran jp

  • *
  • Posts: 445
  • Languages: ja
Re: [bug?] seatless vehicle is ignored in route search
« Reply #3 on: July 02, 2019, 12:27:55 PM »
I think the expression overcrowd is just a matter of naming.
Isn't it actually the distinction between standing and sitting?

The problem is that if you set comfort very low and let it be normal capacity, that vehicle will be used prior to other overcrowding capacities. That is, that vehicle is used before convoy gets crowded.

Also, according to the current specifications, it seems that vehicles with no seats can not get passengers, no matter how crowded. (´・ω・`)


This is jalapagos...

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2647
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: [bug?] seatless vehicle is ignored in route search
« Reply #4 on: July 02, 2019, 12:40:41 PM »
If I see correctly, there seem to be foldable seats for those who really need to sit down, or usable in off-peak times?

On similar note I thought about setting restaurant cars as 0 capacity with their seats being overcrowded capacity. As usually travellers wouldn't spend the whole journey in restaurant car, unless the train is full.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18619
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [bug?] seatless vehicle is ignored in route search
« Reply #5 on: July 02, 2019, 09:31:28 PM »
Thank you for your report. I believe that I have fixed this, but I have not tested this as there are no vehicles of this description in the pakset. I should be grateful if you could re-test with to-morrow's nightly build.


Offline Ranran jp

  • *
  • Posts: 445
  • Languages: ja
Re: [bug?] seatless vehicle is ignored in route search
« Reply #6 on: July 04, 2019, 05:27:16 PM »
Quote
If I see correctly, there seem to be foldable seats for those who really need to sit down, or usable in off-peak times?
Yes. Besides that, after WW2 GHQ restricted the production of vehicles and carried the passengers by freight cars as there were a significant shortage of vehicles. (´・ω・`)
However, such a scene seems to have been relatively common in Asia, such as China in the 20th century.


I believe that I have fixed this, but I have not tested this as there are no vehicles of this description in the pakset. I should be grateful if you could re-test with to-morrow's nightly build.
Thank you for working on fixing this issue.
I am sorry but your fix does not seem to have any effect.

I prepared pak for experiment. This is also an experiment on the reverse position issue of pak128.Britain-Ex.
The locations where pak-CS and britain-EX vehicles are rendered are almost the same. Only the heights of the rails are different. (I adjusted the height of the track for CS vehicles.)
Therefore the problem is not clear now... (´・ω・`)

Anyway, this experimental vehicle has no capacity and only overcrowded_capacity.
If you only run this vehicle, the route will not make a connection.

Please install the attached pak and open this saved game.