The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: wlindley on March 29, 2013, 10:25:41 PM

Title: Vehicles cannot cross bridges at all
Post by: wlindley on March 29, 2013, 10:25:41 PM
At least with the latest Britian pak from git, and RC 11.9002, I have been unable to get any horse-drawn carriage, or any train, to cross a river on any sort of bridge at all.  Cannot find a route...
Title: Re: Vehicles cannot cross bridges at all
Post by: jamespetts on March 29, 2013, 10:29:04 PM
Ahh, this will be because bridges' weight limits are now based on the total convoy weight limit rather than a single vehicle weight limit. The next version of Pak128.Britain-Ex will have bridges with weight limits adjusted to take account of this feature.
Title: Re: Vehicles cannot cross bridges at all
Post by: wlindley on March 29, 2013, 10:57:17 PM
OK.  Everything does work fine with Pak128.Britain 0.8.4.  Hmm, maybe it's the "makeobj did not get updated by 'make all'" thing again?
Title: Re: Vehicles cannot cross bridges at all
Post by: jamespetts on March 29, 2013, 11:04:43 PM
Were you compiling makeobj yourself?
Title: Re: Vehicles cannot cross bridges at all
Post by: greenling on March 30, 2013, 08:40:16 AM
Hello Jamespetts
How can i get a makeobj(exp) for RC 11.9002 ?
That i can test your idea for the new pak128.britain ex 0.8.4.
Title: Re: Vehicles cannot cross bridges at all
Post by: jamespetts on March 30, 2013, 11:35:56 AM
For the present, you will have to compile Makeobj yourself for the latest RC, as I have not released a binary Makeobj.
Title: Re: Vehicles cannot cross bridges at all
Post by: neroden on April 05, 2013, 03:40:18 AM
No -- this was a real bug.  I found and solved this bug.  Wayobj limits were not set correctly from Besch limits for bridges.  It's on my jp-devel-fixes branch.

(The code is getting way too hairy, making it easy for bugs like this to appear.  Someone needs to go through and do a serious refactoring, but I don't have time right now.  And last time I did it was like pulling teeth to get Prissi to accept patches.)