Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
I'm experimenting with adding AI... (Read 517 times)
Mar 25th, 2007 at 9:04pm

Draconiator   Offline
Major
I Fly Sim!

Posts: 4
*****
 
...so I've created a small G.A. airport which is below here...


...

Anyway, I read the TrafficTools tutorial, and went at it.   But when it came time to compile it, TT gave me (and is still giving me) a strange error (complete with colors):

ERROR in file E:\TrafficTools\FlightPlans240307.txt
Line 1 (error location shown in red) :


AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F
,
KPAR


The flight number format is bad (should be 0000 to 16383)


It was named KPA1 before, and I figured that 4-space ICAOs that start with K and contain a number were not allowed, so I changed the identifier, and as you can see I STILL get this problem.
I don't know what's going on.  It's in the Airport list:

KPAN,N34* 15.41',W111* 20.35',5154
KPAO,N37* 27.66',W122* 6.90',3
KPAR,N32* 26.35',W117* 17.76',3
KPB ,N56* 21.11',W133* 37.35',0
KPBF,N34* 10.49',W91* 56.08',203

Here's the contents of the seperate file I made too:

AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F
,KPAR
AC#24,8838,15%,12Hr,VFR,01:30:00,01:53:45,002,F,8372,KSAN,04:00:04,04:23:00,001,
F,KPAR

Annnnnnd....the route in question:

...



so, what is going on here?


 
IP Logged
 
Reply #1 - Mar 25th, 2007 at 10:28pm

ashaman   Offline
Colonel
I'm from Italy, errors
in my text are a given.
LIRN

Gender: male
Posts: 1752
*****
 
I think you have an error in the flight plan.


Example on one of the simplest of mine:

AC#3,N1382,80%,6Hr,IFR,14:00,,060,R,0000,LIRN,17:00,,070,R,0000,LIRB


legenda

AC#3   - Number aircraft,
N1382 - tail number airplane,
80%   - min traffic level to engage,
6Hr    - time between iterations,
IFR    - IFR or VFR, your choice
14:00 - time flight start,
,,       - time arrival (usually left blank, TTools will calculate that for you),
060    - flight level,
R       - R (ATC will use the tail# instead of a flight#)  F (ATC will use flight#),
0000  - A flight#, if used, would go here
LIRN  - Arrival Airport
17:00 - Time return flight start,
,,       - Time return flight arrival (usually left blank, TTools will calculate that for you),
070    - Flight Level,
R       - R (ATC will use the tail# instead of a flight#)  F (ATC will use flight#),
0000  - A flight#, if used, would go here
LIRB  - Starting Airport


Forgive me, I can't hack your flight plans at all. Surely my fault.
 

There's but one real cure for human stupidity. It's called DEATH.&&&&At the moment mourning the assassination of sarcasm and irony for the good of the "higher".&&&&Proud FSIX user. Active user of FS98, X-plane and novice of Orbiter.&&&&Seen the GREAT service pack for FSX and its usefulness, really awaiting for FS11 to upgrade.&&&&AMD Athlon Xp 2400@2700&&MB Asus A7V8XX&&1Gb ram DDR 400 @ 333&&ASL Nvidia Geforce 6600gt 128Mb DDR3 AGP&&Creative Sound Blaster Live&&Windows XP Professional Sp2&&2 HD Maxtor 40Gb - 1 HD Maxtor 80Gb
IP Logged
 
Reply #2 - Mar 25th, 2007 at 10:30pm

Gypsy_Baron   Offline
Colonel
USS Dewey DGL-14 &  VX-8
Daly City, California

Gender: male
Posts: 467
*****
 
Draconiator wrote on Mar 25th, 2007 at 9:04pm:
...so I've created a small G.A. airport which is below here...


-SNIP-

Anyway, I read the TrafficTools tutorial, and went at it.   But when it came time to compile it, TT gave me (and is still giving me) a strange error (complete with colors):

ERROR in file E:\TrafficTools\FlightPlans240307.txt
Line 1 (error location shown in red) :


AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F
,
KPAR


The flight number format is bad (should be 0000 to 16383)


It was named KPA1 before, and I figured that 4-space ICAOs that start with K and contain a number were not allowed, so I changed the identifier, and as you can see I STILL get this problem.
I don't know what's going on.  It's in the Airport list:

KPAN,N34* 15.41',W111* 20.35',5154
KPAO,N37* 27.66',W122* 6.90',3
KPAR,N32* 26.35',W117* 17.76',3
KPB ,N56* 21.11',W133* 37.35',0
KPBF,N34* 10.49',W91* 56.08',203

Here's the contents of the seperate file I made too:

AC#23,2894,15%,6Hr,VFR,21:53:30,22:10:40,001,F,8984,KSAN,00:43:00,01:06:35,001,F
,KPAR
AC#24,8838,15%,12Hr,VFR,01:30:00,01:53:45,002,F,8372,KSAN,04:00:04,04:23:00,001,
F,KPAR

Annnnnnd....the route in question:
-SNIP-



so, what is going on here?




The first thing I see is that you are missing a parameter after the "F" and before the
airport (KPAR)...TTools is expecting a numeric value where you have "KPAR".

Looking more closely,  the flight number should follow the "F".


Should be ",001,F,8984,KSAN,00:43:00,01:06:35,001,F,8984,KPAR" assuming that you
meant to have a cruise of 1000'.

   
  Paul
 

...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print