The International Simutrans Forum

 

Author Topic: Strange passenger numbers and loading behavior  (Read 2976 times)

0 Members and 1 Guest are viewing this topic.

Offline Jando

  • *
  • Posts: 476
Re: Strange passenger numbers and loading behavior
« Reply #35 on: December 12, 2017, 01:30:33 AM »
Jando - are you able to upload a saved game in which this can (even after a period of time) reliably be reproduced in a specific place and at a specific time?

Sadly not, James, I made a save when I noticed that behaviour but on loading that saved game everything was fine again. Forgot to make a screenshot before loading, sorry. I don't know what causes it but I had changed lines at that stop (let's call it stop A) a game-month or two earlier. Changed 1 line going from stop A to C to A-B-C, removed line A-B and made a new line A-D. Line A-E was unchanged and continued to work although E was not shown as destination in the stop's detail window too.

But it's just a wild guess that changing lines and routes caused the error. And I don't have a saved game from before the change, thus hard to reproduce. I'll make sure I have a saved game next time I rearrange some routes like that.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18555
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Strange passenger numbers and loading behavior
« Reply #36 on: December 12, 2017, 01:53:35 AM »
Jando - thank you for letting me know. This looks to be an unrelated bug. Unfortunately, I am not realistically likely to be able to investigate this without a means of being able to reproduce it reliably. If you find such a means, I should be grateful if you could post a bug report for it in a fresh thread.

I have, incidentally, pushed a further fix for a related issue, which should also be available in to-morrow's nightly build.

Offline wlindley us

  • Devotee
  • *
  • Posts: 961
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: Strange passenger numbers and loading behavior
« Reply #37 on: December 12, 2017, 02:40:39 AM »
Wlindley, could you upload the savegame with that bug, so I can look into it? On my testgame the bug doesnt exists, so I would be happy to have yours! :)

Savegame should be here, with example ship showing coal, grain, and woodchips under "long goods" instead of bulk:



Offline Ves

  • Devotee
  • *
  • Posts: 1655
  • Languages: EN, SV, DK
Re: Strange passenger numbers and loading behavior
« Reply #38 on: December 12, 2017, 02:46:23 PM »
Thanks Wlindley, that helped alot!
I believe I have fixed the issue now, it is available here: https://github.com/VictorErik/Simutrans-Experimental-Ves/tree/small-gui-fixes

There are some additional fixes in the push, but I will write about those in this thread: "Small GUI-adjustments" https://forum.simutrans.com/index.php?topic=17562.0

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18555
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Strange passenger numbers and loading behavior
« Reply #39 on: December 16, 2017, 02:17:21 AM »
Can I confirm that this issue is now fixed?

Offline zook2

  • *
  • Posts: 321
Re: Strange passenger numbers and loading behavior
« Reply #40 on: December 17, 2017, 07:15:00 AM »
I'm pretty sure it was buggy, but with today's version and some bug hunting, I've only spotted this behavior in ports which are served by multiple shipping lines.

For example: a port is served by two lines, one is passing through to the north, the other is a circle line with four ships on alternate directions. Only a few passengers of those with a particular destination board a ship, even if it's going directly to where they want to go. Obviously all the lines/ships have different trip times. Maybe it's just my lack of understanding of the routing system?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18555
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Strange passenger numbers and loading behavior
« Reply #41 on: December 17, 2017, 12:48:02 PM »
The way in which this works is that, for each trip from each stop to each other stop, there is a particular path stored by the game, which involves taking convoys of specific lines at each stop at which the passengers, mail and goods find themselves until reaching the final destination.

However, when any convoy arrives, the passengers/mail/goods check to see whether that convoy will get them to their next transfer (or, if it is a direct route, to their ultimate destination) faster than the next convoy of the line that the pre-set path dictates. If it does, they will board that convoy instead of that dictated by the pre-set path.

If you think that there is a specific situation in which this is not working correctly, this will be a completely separate bug from that reported here, and I should be grateful if you could post a separate bug report, complete with saved game in which this can reliably be reproduced in a specific location in that saved game.

Offline Junna

  • Devotee
  • *
  • Posts: 1081
Re: Strange passenger numbers and loading behavior
« Reply #42 on: December 17, 2017, 01:48:45 PM »
I'm getting passenger's overcrowidng beyond any limits on a lot of stage coaches once more with the latest nightly. Like 55 people in a stage coach and stuff, though it has no overcrowding defined at all now, as happened before.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18555
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Strange passenger numbers and loading behavior
« Reply #43 on: December 17, 2017, 02:06:04 PM »
I'm getting passenger's overcrowidng beyond any limits on a lot of stage coaches once more with the latest nightly. Like 55 people in a stage coach and stuff, though it has no overcrowding defined at all now, as happened before.

Can you let me know specifically where on the current server game that this is occurring so that I can find and fix the problem?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18555
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Strange passenger numbers and loading behavior
« Reply #44 on: January 08, 2018, 11:05:36 PM »
Can I check whether this is now fixed or whether any of these issues remain outstanding?

Offline Ves

  • Devotee
  • *
  • Posts: 1655
  • Languages: EN, SV, DK
Re: Strange passenger numbers and loading behavior
« Reply #45 on: January 29, 2018, 09:06:17 PM »
I pushed a fix to https://github.com/VictorErik/Simutrans-Experimental-Ves/tree/small-gui-fixes which should address the sort by wealth issues, that, when sorting by wealth and mail, but no passengers, was loaded, the entries was mixed up.

Can you confirm on your games, all who contributed to this thread, that the two sorth by wealth's is working correctly?