Philosopher wrote in Fri Jul 26, 2013 1:25 pm:Well given that the rest of Nasal works, Bombable should be relatively fine... Could you post the debug log level (within code tags, just click on the code button in the forum editing window and paste the text between that)? I mean, there are a number of ways to crash FG from Nasal, but those would crash it on startup.... (since they're related to syntax) Hooray, do you know of any runtime crashers? I'll look at the code later today, see if anything looks interesting...
1 - 'C:\FlightGear\terrasync'
C:\FlightGear\bin\Win32\terrasync.exe -S -d "C:\FlightGear\terrasync" -p 5505
Starting automatic scenery download/synchronization. Using built-in SVN support.
Directory: 'C:\FlightGear\terrasync'.
Enabling ATI viewport hack
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'constructio
n'
Bombable (ver. 4.5) loaded - bombable, weapons, damage, fire, and explosion effe
cts
loading scenario 'nimitz_demo'
loading scenario 'BOMB-MarinCountyCamelInvasion1-Simple'
Valid position data received. Connected successfully.
Loading Fokker DR 1 /ai/models/aircraft
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'chocks'
Texture file not found: 'glass_shader.png'
Loading Sopwith Camel /ai/models/aircraft[1]
Initializing Camel utilities ...
pilot-g
headshake
magneto
smoke
... running Camel utilities
Nasal runtime error: props.setValue() passed a NaN
at C:/FlightGear/data/Nasal/props.nas, line 29
called from: C:/FlightGear/data/Aircraft/sopwithCamel-Bombable/Models/fuel.nas
, line 130
Loading S.P.A.D. VII /ai/models/aircraft[2]
Gun vibrations initialized
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
C:/FlightGear/data/Aircraft/sopwithCamel-Bombable/Models/fuel.nas
, line 130
t.getNode("level-gal_us").setValue(t.getNode("level-lbs").getValue() / ppg);
t.getNode("level-gal_us").setValue(t.getNode("level-lbs").getValue() or 0.00 / ppg);
t.getNode("level-gal_us").setValue((t.getNode("level-lbs").getValue() or 0.00) / ppg);
Philosopher wrote in Fri Jul 26, 2013 4:55 pm:Rather:
- Code: Select all
t.getNode("level-gal_us").setValue((t.getNode("level-lbs").getValue() or 0.00) / ppg);
1 - 'C:\FlightGear\terrasync'
C:\FlightGear\bin\Win32\terrasync.exe -S -d "C:\FlightGear\terrasync" -p 5505
Enabling ATI viewport hack
Starting automatic scenery download/synchronization. Using built-in SVN support.
Directory: 'C:\FlightGear\terrasync'.
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'constructio
n'
Bombable: Initializing variables. (Line #8292 8472 )
Updating main weapon power combo . . . (Line #1825 100 )
Updating ai weapon power combo . . . (Line #1849 100 )
Updating ai aircraft skill combo . . . (Line #1882 100 )
Updating main weapon power combo . . . (Line #1825 100 )
Updating ai weapon power combo . . . (Line #1849 100 )
Updating ai aircraft skill combo . . . (Line #1882 100 )
Bombable: ioreading . . . (Line #1988 8316 8472 )
Updating main weapon power combo . . . (Line #1825 100 )
Updating ai weapon power combo . . . (Line #1849 100 )
Updating ai aircraft skill combo . . . (Line #1882 100 )
Bombable (ver. 4.5) loaded - bombable, weapons, damage, fire, and explosion effe
cts
loading scenario 'nimitz_demo'
loading scenario 'BOMB-MarinCountyCamelInvasion1-Simple'
Valid position data received. Connected successfully.
Loading Fokker DR 1 /ai/models/aircraft
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'constructio
n'
Could not find at least one of the following objects for animation: 'chocks'
Texture file not found: 'glass_shader.png'
Loading Sopwith Camel /ai/models/aircraft[1]
Initializing Camel utilities ...
pilot-g
headshake
magneto
smoke
... running Camel utilities
Nasal runtime error: props.setValue() passed a NaN
at C:/FlightGear/data/Nasal/props.nas, line 29
called from: C:/FlightGear/data/Aircraft/sopwithCamel-Bombable/Models/fuel.nas
, line 130
Loading S.P.A.D. VII /ai/models/aircraft[2]
Gun vibrations initialized
Error in ground network. Failed to find first waypoint: 0 at KSMF
osgDB ac3d reader: detected line with less than 2 vertices!
Enabling ATI viewport hack
osgDB ac3d reader: detected line with less than 2 vertices!
Bombable: Initializing variables. (Line #8292 8472 )
Updating main weapon power combo . . . (Line #1825 100 )
Updating ai weapon power combo . . . (Line #1849 100 )
Updating ai aircraft skill combo . . . (Line #1882 100 )
Updating main weapon power combo . . . (Line #1825 100 )
Updating ai weapon power combo . . . (Line #1849 100 )
Updating ai aircraft skill combo . . . (Line #1882 100 )
Bombable: ioreading . . . (Line #1988 8316 8472 )
Updating main weapon power combo . . . (Line #1825 100 )
Updating ai weapon power combo . . . (Line #1849 100 )
Updating ai aircraft skill combo . . . (Line #1882 100 )
Bombable (ver. 4.5) loaded - bombable, weapons, damage, fire, and explosion effe
cts
Cannot find Nasal script 'Aircraft/F4U/Nasal/weapons.nas' for module 'weapons'.
loading scenario 'nimitz_demo'
loading scenario 'BOMB-SanFranBayFerryInvasion'
Could not find at least one of the following objects for animation: 'terminal_2'
Could not find at least one of the following objects for animation: 'terminal_2'
Electrical ---Check
Loading ferry /ai/models/ship
Loading ferry /ai/models/ship[1]
Loading ferry /ai/models/ship[2]
Loading ferry /ai/models/ship[3]
Loading ferry /ai/models/ship[4]
Error in ground network. Failed to find first waypoint: 0 at KSMF
Error in ground network. Failed to find first waypoint: 0 at KSMF
Users browsing this forum: No registered users and 2 guests