The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Spacethingy on November 04, 2011, 10:12:21 PM

Title: plane take-off bug in 111.0?
Post by: Spacethingy on November 04, 2011, 10:12:21 PM
First off: great work guys! It's always nice to see those version numbers heading up! This game is getting ever better!  :)

My problem is that in this new version, aeroplane take-off behaviour has changed:
Previously, planes took the whole runway to lift-off, now they seem to go after just one or two tiles, regardless of the runway length.
Seeing a A380 do a VSTOL looks bizarre!  ???

Is this is bug, or was it intended?
Title: Re: plane take-off bug in 111.0?
Post by: Dwachs on November 05, 2011, 08:42:18 AM
I can't think of any code change that may have influenced this ???
Quote
Seeing a A380 do a VSTOL looks bizarre!  Huh?
maybe your airport layout is somehow broken / unsupported? Can you upload a savegame?
Title: Re: plane take-off bug in 111.0?
Post by: Spacethingy on November 05, 2011, 12:08:10 PM
For a moment, I thought it had cleared...

In this scenario, everything's OK.

But then, force the plane to take off on a different runway by removing the taxiway by the sign and it happens.

This is a pak64, with food chain addon installed but not loaded.
Title: Re: plane take-off bug in 111.0?
Post by: Dwachs on November 05, 2011, 01:48:39 PM
Found the cause. Here is a patch to cure it. Imho the error is in a part of the code that is from 2006  :o

The longer the distance from aircraft stop to takeoff position the earlier the aircraft will take off. In the example here, the new_friction of the airplane was  set to zero, which means that it accelerated from 30 km/h to 300 km/h on one tile ...

I fear that the patch will necessitate some additional balancing to ensure that airplanes take off after intended number of tiles.
Title: Re: plane take-off bug in 111.0?
Post by: Spacethingy on November 05, 2011, 05:40:53 PM
Thanks!

What do I do with .diff files?
Title: Re: plane take-off bug in 111.0?
Post by: Dwachs on November 05, 2011, 06:38:52 PM
You would to fetch the code, apply the patch and then compile. The second option is to wait till this gets implemented and is available in a nightly version.
Title: Re: plane take-off bug in 111.0?
Post by: Dwachs on January 12, 2012, 06:57:41 PM
.. which is the case since some time.