The International Simutrans Forum

Development => Bug Reports => Topic started by: ceeac on July 29, 2023, 08:23:28 AM

Title: [Android] Airports are broken, "Can't Find a Route"
Post by: ceeac on July 29, 2023, 08:23:28 AM
Copy-pasted from here (https://github.com/simutrans/simutrans/issues/2):

QuoteWhen using airports, planes can't find a route.

Pieces used in 2 airports:
1 Runaway
1 Taxiway
1 Stop point
1 Depot

Configured a route in route manager.

This configuration works on PC but not in Android.

Info about game and hardware:
Using the latest version on Play Store.
Using Pak 128.
Poco X3 Pro
Android 12 and MIUI 13.
(https://user-images.githubusercontent.com/38815703/256958689-6c8be997-64f2-4a8e-ac82-9841a6dec722.jpg)

Personally, I think the cause is probably slightly different setups (is max_route_steps different on Android?) but I have not investigated yet.
Title: Re: [Android] Airports are broken, "Can't Find a Route"
Post by: Andarix on July 29, 2023, 02:21:03 PM
Apparently the runway is not recognized.

With set waypoints you can get to the destination airport.

EDIT

The route search fails at the transition from runway to taxiway.

EDIT 2

There seems to be a problem with south-north runways.

After converting from south-north to east-west I have this strange behavior. It is loaded and unloaded on the runway.

(https://forum.simutrans.com/index.php?action=dlattach;attach=32370;image)

(https://forum.simutrans.com/index.php?action=dlattach;attach=32372;image)

Load the save (Simutrans r10961, pak64.german 0.123.0.0.4+) and put a waypoint in the timetable between the stops at 202,254,1 and the plane flies.

It is loaded and unloaded on the runway.
Title: Re: [Android] Airports are broken, "Can't Find a Route"
Post by: prissi on July 30, 2023, 08:03:33 PM
At least in pak64 is works on Android. I suppose this is due to using a different pak128, since the Android version cannot download from https (and thus not from github).
Title: Re: [Android] Airports are broken, "Can't Find a Route"
Post by: chacal_bl4ck on July 30, 2023, 10:23:34 PM
Quote from: prissi on July 30, 2023, 08:03:33 PMAt least in pak64 is works on Android. I suppose this is due to using a different pak128, since the Android version cannot download from https (and thus not from github).
I cannot update pak files from pak 128 without a Rooted phone. Using Android/data to maintain Simutrans files will lead to restricted permissions by Android. You cannot change simuconf.tab and even add new mod paks.

An suggestion is to make Simutrans create folders and files in a folder that not restricted by Android rules, like "Documents", or even on "Downloads".
Title: Re: [Android] Airports are broken, "Can't Find a Route"
Post by: Andarix on July 31, 2023, 01:21:51 PM
I don't know if the changes in r90951/90952 are responsible for this or something else.

In any case, with the pak64.german, the direction of the signal for the east-west direction of travel has reversed.
Title: Re: [Android] Airports are broken, "Can't Find a Route"
Post by: Andarix on August 04, 2023, 12:08:01 PM
I retested with r10961 and it seems to work.

The faulty game was still with r10955.

Android build from my git repo (link signature).
Title: Re: [Android] Airports are broken, "Can't Find a Route"
Post by: chacal_bl4ck on August 04, 2023, 11:10:35 PM
Quote from: Andarix on August 04, 2023, 12:08:01 PMI retested with r10961 and it seems to work.

The faulty game was still with r10955.

Android build from my git repo (link signature).
Tested your version today, working fine with pak128.