FSX ADEX - orphaned ILS stopped compilation

Hello guys, I was trying to modify an AD2 file from stock with the ADEX for FSX, but when compiling, it shows this message

ScruffyDuck Scenery Design Engine Compiling
Using UNKNOWN BglComp....


Parsing document: G:\Archivos de programa\Microsoft Games\Microsoft Flight Simulator X\AeroSimulaciones\Maiquetia SVMI\Scenery\SVMI_ADEX_AS.xml

WARNING: #C1102 SVMI 5000 RUNWAY 5000 Airport (SVMI) has object (RUNWAY) that is 5000 meters from the ARP with a test threshold of 5000 meters! XML line: 849.
INTERNAL COMPILER ERROR: #C2593:
**** DUPLICATE VOR/ILS ****
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Venezuela
ERROR: city = Maiquetia
ERROR: name = Simon Bolivar Intl
ERROR: lat = 10.6065182760358
ERROR: lon = -66.9895434379578
ERROR: alt = 71.628M
ERROR: magvar = 11
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: ident = SVMI
ERROR: >
ERROR: <Runway
ERROR: lat = 10.6515146552592
ERROR: lon = -66.9895434379577
ERROR: alt = 0.0M
ERROR: surface = BRICK
ERROR: heading = 0
ERROR: length = 3.0M
ERROR: width = 3.0M
ERROR: number = 36
ERROR: designator = W
ERROR: patternAltitude = 0.0M
ERROR: primaryTakeoff = NO
ERROR: primaryLanding = NO
ERROR: primaryPattern = LEFT
ERROR: secondaryTakeoff = NO
ERROR: secondaryLanding = NO
ERROR: secondaryPattern = LEFT
ERROR: >
ERROR: <Ils
ERROR: lat = 10.6515146552592
ERROR: lon = -66.9895434379577
ERROR: alt = 0.0M
ERROR: heading = 0
ERROR: frequency = 108.000
ERROR: end = PRIMARY
ERROR: range = 0.0N
ERROR: magvar = 11
ERROR: ident = IMIQ
ERROR: width = 0
ERROR: name = DO NOT USE
ERROR: backCourse = FALSE
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <Ils> near line 863!
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!
Looks like there are two ILS, yes, there are both ILS with the same ident (IMIQ), and according to ADEX, both ILS are from stock, and one of them is currently orphaned

Here is the ADEX file

Please help
 

Attachments

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
Correct. The same ILS ident is used twice. Can I ask where you got the airport from? Did you start it from stock or from an AFCAD file or what? Also generally an ILS will be orphaned if you want to get rid of it. The 'simple' answer is to remove the orphan if you are not trying to modify the ILS. Alternatively if you did intentionally orphan it then you can't then have that ILS back.

If you can tell me what you want to achieve here then we can sort it out.
 
Thank you for your reply ;)

I did the AD2 file again, with the default ILS activated, the ILS works ok, but now I got this message when compiling :confused:

ScruffyDuck Scenery Design Engine Compiling
Using UNKNOWN BglComp....


Parsing document: G:\Archivos de programa\Microsoft Games\Microsoft Flight Simulator X\AeroSimulaciones\Maiquetia SVMI\Scenery\SVMI_ADEX_AS.xml

INTERNAL COMPILER ERROR: #C2596:
**** DUPLICATE WAYPOINT ****
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Venezuela
ERROR: city = Maiquetia
ERROR: name = Simon Bolivar Intl
ERROR: lat = 10.6065182760358
ERROR: lon = -66.9895434379578
ERROR: alt = 71.628M
ERROR: magvar = 11
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: ident = SVMI
ERROR: >
ERROR: <Waypoint
ERROR: lat = 10.5970430069816
ERROR: lon = -67.1822553626925
ERROR: waypointType = UNNAMED
ERROR: magvar = 11
ERROR: waypointRegion = SV
ERROR: waypointIdent = IF10N
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <Waypoint> near line 20500!
INTERNAL COMPILER ERROR: #C2596:
**** DUPLICATE WAYPOINT ****
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Venezuela
ERROR: city = Maiquetia
ERROR: name = Simon Bolivar Intl
ERROR: lat = 10.6065182760358
ERROR: lon = -66.9895434379578
ERROR: alt = 71.628M
ERROR: magvar = 11
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: ident = SVMI
ERROR: >
ERROR: <Waypoint
ERROR: lat = 10.5996462401747
ERROR: lon = -67.1144834284466
ERROR: waypointType = UNNAMED
ERROR: magvar = 11
ERROR: waypointRegion = SV
ERROR: waypointIdent = FF10N
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <Waypoint> near line 20508!
INTERNAL COMPILER ERROR: #C2596:
**** DUPLICATE WAYPOINT ****
INTERNAL COMPILER ERROR: #C2032: XML Parse Error! Element tree follows:

ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Venezuela
ERROR: city = Maiquetia
ERROR: name = Simon Bolivar Intl
ERROR: lat = 10.6065182760358
ERROR: lon = -66.9895434379578
ERROR: alt = 71.628M
ERROR: magvar = 11
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: ident = SVMI
ERROR: >
ERROR: <Waypoint
ERROR: lat = 10.6111116703545
ERROR: lon = -66.8113620362039
ERROR: waypointType = UNNAMED
ERROR: magvar = 11
ERROR: waypointRegion = SV
ERROR: waypointIdent = HH10N
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2024: Failed to process closing element tag <Waypoint> near line 20516!
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!
The new ADEX file is attached
 

Attachments

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
OK I think you added an ILS with an automatic approach, and may have done this more than once. Go to Approach Mode. Select Lists > Waypoints. In the list sort by Ident by clicking the Ident Heading. Now for any duplicated Idents delete them all bar one. Save. Now go back to Airport Mode and compile
 
Top