The International Simutrans Forum

 

Author Topic: Goods traveling wrong way  (Read 3117 times)

0 Members and 1 Guest are viewing this topic.

Offline chicken

  • *
  • Posts: 62
Goods traveling wrong way
« on: May 18, 2012, 02:00:01 AM »
Playing with some goods I setup a supply chain between two pubs, a brewery and an orchard. All use piece goods transport.


Pub -------- Brewery
 |                     |
 |                     |
Orchard ------ Pub


(see also in attached image).


Sometimes it works. But other times I notice goods traveling the wrong way around the circle. It's much longer that way. Is this a bug? How can I prevent this/debug this?


(game too large to attach)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #1 on: May 18, 2012, 08:07:03 AM »
Can you upload a saved game to files.simutrans-germany.com?

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Goods traveling wrong way
« Reply #2 on: May 18, 2012, 06:10:12 PM »
Jamespetts & chicken
The website files.simutrans-germany.com have a bug the upload from files they are biger than 7,5Mb not work!

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #3 on: May 18, 2012, 11:36:18 PM »
Ahh, in that case, can you try to upload it somewhere else? It is very difficult to diagnose without a saved game, unfortunately.

Offline chicken

  • *
  • Posts: 62
Re: Goods traveling wrong way
« Reply #4 on: May 19, 2012, 03:04:56 AM »
Doing this in 2 posts with RAR.


Offline chicken

  • *
  • Posts: 62
Re: Goods traveling wrong way
« Reply #5 on: May 19, 2012, 03:05:22 AM »
Check out Brownport pub -- it's got beer destined for Duckworth pub -- the long way around.


Thanks.


Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #6 on: May 19, 2012, 10:13:12 AM »
Having looked at this, this is not a bug. Look at Brownport Brewery Dock: the waiting time there for goods travelling to Duckworth Pub Dock is just over eleven hours. This means that, taking into account the waiting time, it is faster for goods to take the convoluted route that they do in fact take in the game. You need to increase the service frequency between Brownport Brewery Dock and Duckworth Pub Dock.

Offline chicken

  • *
  • Posts: 62
Re: Goods traveling wrong way
« Reply #7 on: May 19, 2012, 02:17:50 PM »
The other route involves a long boat ride too, though, going through Brownport Orchard Dock with "unknown" waiting time. How does Simutrans-ex treat "unknown" waiting time when calculating shortest route?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #8 on: May 19, 2012, 02:27:09 PM »
It assumes a waiting time of two minutes for an "unknown" waiting time.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: Goods traveling wrong way
« Reply #9 on: May 19, 2012, 02:36:57 PM »
Jamespetts
It´s Possible to create own waiting Time for goods,mail and passenger?
I know Places in germany there comes only one Bus on Day.
In Germany comes on Sunday no Mail but it gives Places how you can be give up Mails on Sunday.
The Mailservice at my Job it silly:
On Monday goes mail from Tuesday to the Post Office.
On Tuesday goes mail from Wednesday to the Post Office.
On Wednesday goes mail from Thursday to the Post Office.
On Thursday goes mail from Friday to the Post Office.
The Mail from Friday goes than on Monday to the Post Office.
« Last Edit: May 19, 2012, 03:08:29 PM by greenling »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #10 on: May 19, 2012, 03:07:30 PM »
What do you mean exactly by creating one's own waiting time? The waiting time is the time recorded that goods/passengers/mail actually wait to board their convoy.

Offline Carl

  • Devotee
  • *
  • Posts: 1599
    • Website
  • Languages: EN
Re: Goods traveling wrong way
« Reply #11 on: May 19, 2012, 03:46:09 PM »
It assumes a waiting time of two minutes for an "unknown" waiting time.

Now that the connection is being used, of course, a waiting time will eventually be registered -- and then the goods will be in a better position to pick the genuinely fastest route.

Offline chicken

  • *
  • Posts: 62
Re: Goods traveling wrong way
« Reply #12 on: May 19, 2012, 05:59:32 PM »
The route in question has a 100% load order, could that be leading to the "unknown" wait time? Because I have run this scenario many years into the future and it still has an "unknown" waiting time on that route.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #13 on: May 19, 2012, 06:21:53 PM »
If the convoy never reaches 100% and therefore never leaves, that would indeed cause it to register no waiting times.

Offline chicken

  • *
  • Posts: 62
Re: Goods traveling wrong way
« Reply #14 on: May 19, 2012, 06:24:27 PM »
It does leave however, it even has a travel time.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #15 on: May 19, 2012, 06:27:30 PM »
In which case, there is no reason in principle why a 100% load would prevent waiting times from accumulating.

Offline chicken

  • *
  • Posts: 62
Re: Goods traveling wrong way
« Reply #16 on: May 19, 2012, 07:19:30 PM »
I removed the 100% load orders on the two ships that serve Brownport Orchard. I have run the simulation for several in-game years but it still says that waiting times are "unknown."

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #17 on: May 19, 2012, 10:32:18 PM »
Hmm - further investigation has revealed a more serious issue with docks, wherein boats do not properly register waiting or departure times because they do not actually stop on a tile which, when looked up, gives a handle to the halt in question. I shall have to fix this.

Offline chicken

  • *
  • Posts: 62
Re: Goods traveling wrong way
« Reply #18 on: May 19, 2012, 10:34:09 PM »
Thanks for checking into this. I should also note that the one boat which did have a waiting time listed was at a Canal Quay, not a dock.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18740
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Goods traveling wrong way
« Reply #19 on: May 21, 2012, 10:48:57 AM »
I think that I have fixed the above identified error on the -devel branch. With the test save, waiting times are now registered in Brownport Orchard Dock, whereas they were not before.