Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Custom Airports

Custom location files for Endless ATC · By startgrid

Error with departures from "reversed" runway

A topic by ckwng created Oct 18, 2020 Views: 187 Replies: 4
Viewing posts 1 to 3
(1 edit)

Hi there,

I'm having trouble with getting the game to recognize SIDs from reversed runways.

I wrote a simple test airport to test:

https://gist.github.com/ckwng/9293153ec1ac04be8b860dd5f51080c9

Note that departures from RWY34 do not follow the TEST departure, instead flying the default departures (TEST departure was not loaded?)

Also note that trying to draw the departure routes by long-clicking the airport button while 34 is active results in the following error:

Traceback (most recent call last):
  File "eatc.py", line 14940, in <module>
  File "eatc.py", line 11297, in drawradar
  File "eatc.py", line 11259, in drawbg
TypeError: can't multiply sequence by non-int of type 'float'

Perhaps the syntax in the test airport is incorrect, but it seems to match the example.txt provided. This issue makes it impossible to write custom airports with departures from a "reversed" runway, meaning only one runway configuration is possible in most cases.

Interesting to note is that if the departure1 of the test airport is omitted so only the reversed runway has a departure, there are no errors and the departure route draws properly when long-clicking the airport button.

On another note, constantly reloading this test airport also occasionally produces the following error which I can only guess is caused due to an aircraft spawn that has invalid data, even though it is the default air traffic:

Traceback (most recent call last):
  File "eatc.py", line 14844, in <module>
  File "eatc.py", line 11037, in update
  File "eatc.py", line 4814, in update
TypeError: bad operand type for unary -: 'str'

Developer

Thanks for the report and example! Looking into it, I've found some issues happening when loading certain combinations of departure routes, causing incorrect lists of waypoints. I'll release a new version very soon.

I'm having the same problem - apparently the fix has only been applied to pc and not mobile? Any idea when this will be fixed on mobile?

Cheers, Luke

Developer

That's right. I just released another small update to fix some issues with the custom airports. When things work as expected, I'll update the android version as well in a few days (updates to the Play store take a bit more time, and too frequent updates may bother users).

Ahh brilliant, thanks!

Just one other thing - I noticed that when flights were departing via a departure I made for them from a secondary airport on the first letter of the SiD would appear in-game e.g. WOTAN 1Z was displayed as W?

Luke