The International Simutrans Forum

 

Author Topic: Weird passenger behaviour  (Read 5527 times)

0 Members and 1 Guest are viewing this topic.

Offline Lord Vetinari

  • *
  • Posts: 125
Weird passenger behaviour
« on: November 01, 2009, 05:04:47 PM »
Simutrans map:



And, since the screenshot is a little bit messy, lines scheme (I made this for fun on another forum):



There are passengers in A that want to go to C or D.
What I expected them to do is to go to B and change on either the dark green line or the second branch of the light green line for C, and to E and change on the yellow line (that has both CW and CCW services) to D.
What they actually do is go to F and there change for C, and go all the way to G and then change on the yellow line for D.

To make it brief, it seems that when there is more than one transfer option between two lines, the passengers always choose the longest trip available.
I experienced the same behaviour in most lines of this game (F, for example, is a major hub and there are thousands of passengers waiting to be picked up even if they could choose a more convenient transfer outside the big city. I won't list all the examples of this behaviour as they are all the same story).

I started this particular map with the latest nightly (Windows version) and pak 128.britain, but, as I said, I already saw the same bug before, with different versions and paks.

(EDIT: I'm not dead, I'll release that birdge for the pack soon)
« Last Edit: November 01, 2009, 05:54:21 PM by Lord Vetinari »

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18239
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Weird passenger behaviour
« Reply #1 on: November 01, 2009, 05:41:02 PM »
In Simutrans-Standard, routing for passengers and goods always chooses the route with the fewest transfers; or rather, it always chooses a route with the fewest transfers. If there is more than one route with the same number of transfers, which it chooses is completely random.

In Simutrans-Experimental, routing is based on the lowest overall journey time, so this problem should not occur.

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Weird passenger behaviour
« Reply #2 on: November 01, 2009, 05:48:40 PM »
I remember reading a lot of time ago that the numbers of stops was taken in account.
Thanks anyway.
Maybe I'm very unlucky with random mechanisms, but I've never seen passengers choosing a transfer different than the farthest one.

By the way, can I load the savegame on Experimental or a new game is required for the changes to take place?
« Last Edit: November 01, 2009, 06:04:41 PM by Lord Vetinari »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9383
  • Languages: De,EN,JP
Re: Weird passenger behaviour
« Reply #3 on: November 01, 2009, 08:31:44 PM »
The problem is, that the number of intermediate stops is not (yet) taken into account in standard. Tahat is a project, which will come someday, hopefully.

Offline Spike

  • *
  • Posts: 1361
  • First Simutrans Developer and Graphics Artist
Re: Weird passenger behaviour
« Reply #4 on: November 01, 2009, 09:53:21 PM »
...  it always chooses a route with the fewest transfers. If there is more than one route with the same number of transfers, which it chooses is completely random.

Not random. It chooses the first which is found (this depends on the internal sort order of data and is not really predictable to the player, but it's not random. Unless the sort order changes, it will always be the same route).

Offline colonyan

  • Devotee
  • *
  • Posts: 526
  • Full and Warm
Re: Weird passenger behaviour
« Reply #5 on: November 01, 2009, 11:42:03 PM »
The problem is, that the number of intermediate stops is not (yet) taken into account in standard. Tahat is a project, which will come someday, hopefully.
Even if it is future project, it is good to hear. I shall wait.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9383
  • Languages: De,EN,JP
Re: Weird passenger behaviour
« Reply #6 on: November 10, 2009, 09:25:58 PM »
It should work as expected in the latest nightlies.

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Weird passenger behaviour
« Reply #7 on: November 16, 2009, 01:36:06 PM »
Great, thanks! ;D  I'm downloading it.

Just one question, to understand how things work: the number of stops is considered for every route or only for trasfers?
I mean, is it worthy to build both directions of a cirlce line before it is connected to the rest of the network, for example?
If I set an express line will passengers choose it instead of the local one?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9383
  • Languages: De,EN,JP
Re: Weird passenger behaviour
« Reply #8 on: November 16, 2009, 02:13:14 PM »
In the curretn system, the first possible transfer point is considered which results in the lowest toal number of transfers. Intermediate stops are still pending, since this would imply changes to the loading routines of vehicles.

Offline iranair787

  • *
  • Posts: 44
Re: Weird passenger behaviour
« Reply #9 on: December 10, 2009, 09:24:18 AM »
Just to sidetrack, how did you make that map underneath your maiin image?

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Weird passenger behaviour
« Reply #10 on: December 11, 2009, 10:37:05 AM »
With Photoshop, pencil or line tool, size 8 pixel.
Then the circle selection tool to make stations and curves. I looked at the London Tube Map for curves radii, proportions between line and stations, etc.

I make a full set of pieces (straight, curves, diagonals, stations) before I work on the actual map, then I just paste together copies of the pieces where needed. I put the screenshot on the base level of the picture as reference.
« Last Edit: December 11, 2009, 01:30:30 PM by Lord Vetinari »