Re: [Flightgear-devel] startup.nas

2009-07-22 Thread Torsten Dreyer
> > I still get the message from startup.nas at some airports. Here is an > example at KLMO, home base for the real N7764P. This should be fixed now. Torsten -- ___ Flightgear

Re: [Flightgear-devel] startup.nas

2009-07-21 Thread Torsten Dreyer
> Torsten Dreyer wrote: > > Just commited a hack for envrionment_ctrl.cxx. > > > > It now waits for the first METAR to arrive before proceeding with the > > initialization sequence. This prevents the nasal-dir-initialized signal > > being fired before a METAR has arrived. > > > > I more and more li

Re: [Flightgear-devel] startup.nas

2009-07-21 Thread dave perry
Torsten Dreyer wrote: > Just commited a hack for envrionment_ctrl.cxx. > > It now waits for the first METAR to arrive before proceeding with the > initialization sequence. This prevents the nasal-dir-initialized signal being > fired before a METAR has arrived. > > I more and more like the idea o

Re: [Flightgear-devel] startup.nas

2009-06-24 Thread Melchior FRANZ
* Detlef Faber -- 6/23/2009 9:17 PM: > Am Dienstag, den 23.06.2009, 14:25 +0200 schrieb Melchior FRANZ: > > is now broken since Detlefs recent changes. > > I'm innocent on this. You sure meant someone else ;-) Whoops, indeed, sorry. (That was probably because Torsten and Detlef are both German f

Re: [Flightgear-devel] startup.nas

2009-06-23 Thread Torsten Dreyer
Just commited a hack for envrionment_ctrl.cxx. It now waits for the first METAR to arrive before proceeding with the initialization sequence. This prevents the nasal-dir-initialized signal being fired before a METAR has arrived. I more and more like the idea of removing startup.nas and implent

Re: [Flightgear-devel] startup.nas

2009-06-23 Thread Detlef Faber
Am Dienstag, den 23.06.2009, 14:25 +0200 schrieb Melchior FRANZ: > * Tatsuhiro Nishioka -- 6/23/2009 5:01 AM: > > I'm not so sure what it should look like, but at least it needs > > nil check for the property. > > That would only be cosmetics and just hide the fact that the > METAR runway choosing

Re: [Flightgear-devel] startup.nas

2009-06-23 Thread Melchior FRANZ
* Tatsuhiro Nishioka -- 6/23/2009 5:01 AM: > I'm not so sure what it should look like, but at least it needs > nil check for the property. That would only be cosmetics and just hide the fact that the METAR runway choosing code is now broken since Detlefs recent changes. The METAR wind direction/st

Re: [Flightgear-devel] startup.nas

2009-06-22 Thread syd adams
I've just changed line 12 to : if (getprop("/environment/metar/base-wind-speed-kt") or 0 < 1) return; Dont know if that's a real fix , but it prevents an error message. Syd -- Are you an open source citizen? Join

Re: [Flightgear-devel] startup.nas

2009-06-22 Thread Tatsuhiro Nishioka
Hi there, On Jun 15, 2009, at 4:12 AM, Torsten Dreyer wrote: >> I've had another error message for the last few weeks while starting FG , >> >> >> Nasal runtime error: nil used in numeric context >> at data/Nasal/startup.nas , line 12 I've encountered exactly the same problem. I'm not so sure wh

Re: [Flightgear-devel] startup.nas

2009-06-14 Thread Torsten Dreyer
> I've had another error message for the last few weeks while starting FG , > > > Nasal runtime error: nil used in numeric context > at data/Nasal/startup.nas , line 12 > > so it looks like "environment/metar/base-wind-speed-kt" is still nil when > read the first time ... > I fixed it locally , bu

[Flightgear-devel] startup.nas

2009-06-14 Thread syd adams
I've had another error message for the last few weeks while starting FG , Nasal runtime error: nil used in numeric context at data/Nasal/startup.nas , line 12 so it looks like "environment/metar/base-wind-speed-kt" is still nil when read the first time ... I fixed it locally , but not sure who