The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: yoshi on October 19, 2014, 08:36:52 AM

Title: [r7345] Glitch in the pathfiniding algorithm, when double height slope is used
Post by: yoshi on October 19, 2014, 08:36:52 AM
A route with 2 x standard height slopes seems to be less preferred to a route with 1 x double height slope.
I think less steep slopes should be preferred.
Title: Re: [r7345] Glitch in the pathfiniding algorithm, when double height slope is used
Post by: gauthier on October 19, 2014, 09:28:21 AM
Looks like an error when defining friction values of soft slopes in simuconf.
Title: Re: [r7345] Glitch in the pathfiniding algorithm, when double height slope is used
Post by: prissi on October 19, 2014, 09:16:50 PM
Indeed, at the moment all slopes are similar. Fixed in r7346
Title: Re: [r7345] Glitch in the pathfiniding algorithm, when double height slope is used
Post by: yoshi on October 20, 2014, 10:36:25 AM
I have checked with r7348 and confirmed this issue was fixed.
Thank you for your prompt work.
Title: Re: [r7345] Glitch in the pathfiniding algorithm, when double height slope is used
Post by: DrSuperGood on October 20, 2014, 02:46:57 PM
It should be noted that it also factors in last-month traffic when determining a route to go (at least in 112.3).

As such if the road sees nearly 1,000 cars per month (high traffic route) you may find that it switches over to the less direct double height route. In fifty's last year summer server pak64 I noticed busses taking huge detours every alternative month due to the traffic.