[PATCH] Loading pattern for multiple convoys to the same destination. October 02, 2010, 07:27:00 pm My answer to Loading pattern for multiple convoys to the same destination.Goods/p****engers will use one convoy if several is available. (A lot like loading queue). It works for each player separately.Github link Quote Selected
Re: [PATCH] Loading pattern for multiple convoys to the same destination. Reply #1 – October 23, 2010, 12:36:10 pm A question about this - will p****engers continue to pile into an overcrowded vehicle (thus compromising their comfort and therefore the player's profitability) if non-overcrowded vehicles are available? Also, what happens if, during loading of one convoy, another convoy arrives which will reach the destination faster? Perhaps this is of little relevance to p****engers in any event, as it is seldom sensible to set them to wait for a certain loading level; but perhaps overcrowding at least should be excluded from the loading queue? Quote Selected
Re: [PATCH] Loading pattern for multiple convoys to the same destination. Reply #2 – October 23, 2010, 02:20:03 pm Quote from: jamespetts – on October 23, 2010, 12:36:10 pmA question about this - will p****engers continue to pile into an overcrowded vehicle (thus compromising their comfort and therefore the player's profitability) if non-overcrowded vehicles are available?Yes, they will. ( convoi_t::hat_gehalten try load convoy up to its max capacity)QuoteAlso, what happens if, during loading of one convoy, another convoy arrives which will reach the destination faster?There was code to test this (see commented code in line 2362 of simhalt.cc, commit d5346d7c7a709c) but it was bad for some reason ( unwanted oscillations).QuotePerhaps this is of little relevance to p****engers in any event, as it is seldom sensible to set them to wait for a certain loading level; but perhaps overcrowding at least should be excluded from the loading queue?It is not queue, technically. It works like this: remember in connexion where we loading. And if said convoy is still here, skip loading in current convoy. Quote Selected
Re: [PATCH] Loading pattern for multiple convoys to the same destination. Reply #3 – October 23, 2010, 02:25:42 pm Hmm. Do you think that you could modify this so as not to continue loading an overcrowded convoy (or a convoy about to become overcrowded) when there is a non-overcrowded convoy available? Or alternatively, perhaps, just exclude p****engers from the loading queue system entirely (as p****engers are rarely that conveniently behaved)? Quote Selected
Re: [PATCH] Loading pattern for multiple convoys to the same destination. Reply #4 – October 23, 2010, 02:39:45 pm I'll try. But I need test map first. Quote Selected
Re: [PATCH] Loading pattern for multiple convoys to the same destination. Reply #5 – October 23, 2010, 02:48:31 pm Hmm, in the current released version of Pak128.Britain-Ex, most of the vehicles do not have overcrowded capacities, although I have uploaded versions to Github that do. Will this be a problem? Quote Selected
Re: [PATCH] Loading pattern for multiple convoys to the same destination. Reply #6 – October 23, 2010, 03:03:17 pm Github version is fine. But what repository? You have too many of them. Quote Selected
Re: [PATCH] Loading pattern for multiple convoys to the same destination. Reply #7 – October 23, 2010, 03:25:55 pm This one: http://github.com/jamespetts/simutrans-pak128.britain Quote Selected