Re: [Flightgear-devel] aircraft required to start
On 21/01/2005 at 10:05 Jim Wilson wrote: >Frederic Bouvier said: > >> Stewart Andreason a écrit : >> >> > It seems this aircraft is required to start FlightGear. >> > >> > > fgfs >> > >> > WARNING: ssgLoadAC: Failed to open >> > '/usr/local/share/FlightGear/data/Aircraft/pa28-161/Models/pa28-161.ac' >> > for reading >> > Abort >> > >> This plane is required by the AI/ATC module and has been removed from >> the standard distribution. It is available on the website though. >> > >Any chance the AI could be intelligent enough to silently load a different >model or skip it altogether if the ac file isn't there? > That would make sense. I've never worked with exceptions before - only failure indicated by function return value. What's the general gist - if I wrap my call to the load aircraft function in try.. catch blocks and then handle the exception will it stop the "Failed to load aircraft" and "Abort" messages currently getting to teh screen? Oh, and BTW, the reason the AI system initialises even when turned off is so that the user can turn on the traffic from the AI/ATC menu whilst running the sim. Cheers - Dave This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] aircraft required to start
Am Freitag 21 Januar 2005 08:59 schrieb Frederic Bouvier: > Stewart Andreason a écrit : > > It seems this aircraft is required to start FlightGear. > > > > > fgfs > > > > WARNING: ssgLoadAC: Failed to open > > '/usr/local/share/FlightGear/data/Aircraft/pa28-161/Models/pa28-161.ac' > > for reading > > Abort > > This plane is required by the AI/ATC module Which in turn has implications for the standard aircraft selection *hint* Thomas ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] aircraft required to start
Frederic Bouvier said: > Stewart Andreason a écrit : > > > It seems this aircraft is required to start FlightGear. > > > > > fgfs > > > > WARNING: ssgLoadAC: Failed to open > > '/usr/local/share/FlightGear/data/Aircraft/pa28-161/Models/pa28-161.ac' > > for reading > > Abort > > > This plane is required by the AI/ATC module and has been removed from > the standard distribution. It is available on the website though. > Any chance the AI could be intelligent enough to silently load a different model or skip it altogether if the ac file isn't there? Best, Jim ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] aircraft required to start
Stewart Andreason a écrit : It seems this aircraft is required to start FlightGear. > fgfs WARNING: ssgLoadAC: Failed to open '/usr/local/share/FlightGear/data/Aircraft/pa28-161/Models/pa28-161.ac' for reading Abort This plane is required by the AI/ATC module and has been removed from the standard distribution. It is available on the website though. -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] aircraft required to start
It seems this aircraft is required to start FlightGear. > fgfs WARNING: ssgLoadAC: Failed to open '/usr/local/share/FlightGear/data/Aircraft/pa28-161/Models/pa28-161.ac' for reading Abort Stewart ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d