News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

[r8293] Load passangers scheduled to go to depot

Started by HyperSim, September 25, 2017, 06:52:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HyperSim

Hello, everyone.

When you set line and insert "Depot" in the middle of schedule like this.



Passangers at stop A believe this bus will go to stop B but the bus will go to depot and passangers will disappear.


I saw the source code (r8293) and found this in simconvoy.cc (l.2890).
I think this part does not work well.


if(  grund_t *gr = welt->lookup( schedule->entries[wrap_i].pos )  ) {
if(  gr->get_depot()  ) {
// do not load for stops after a depot
break;
}
}


Thank you.

prissi

It works, but it will not affect already borded passengers.

Dwachs

We could unload the train at the last stop before going to the depot.
Parsley, sage, rosemary, and maggikraut.

Leartin

Quote from: Dwachs on September 25, 2017, 02:35:47 PM
We could unload the train at the last stop before going to the depot.

Just for them to disappear, or could they actually be transferred to the station, keeping their current routing?

HyperSim

Quote from: Leartin on September 25, 2017, 06:07:35 PM
Just for them to disappear, or could they actually be transferred to the station, keeping their current routing?

I think the latter way is better, but the current way is not so bad.
They should be unloaded at the last stop before depot if it is not so hard to fix.

Ters

Quote from: Leartin on September 25, 2017, 06:07:35 PM
Just for them to disappear, or could they actually be transferred to the station, keeping their current routing?

If they just disappear, they might as well disappear in the depot as they do already.