Re: [Flightgear-devel] message over MP

2008-12-08 Thread Csaba Halász
On Mon, Dec 8, 2008 at 11:47 PM, gerard robin [EMAIL PROTECTED] wrote:

 Hello,
 Is it necessary to receive such error message over MP  ?

 at /usr/local/share/FlightGear/data/Nasal/props.nas, line 26
  called
 from: 
 /wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/S-51-Dragonfly/Models/S51-sikorsky.xml�,
 line 21

 bla bla bla

 Sorry was not completed

 The question should have been , how to avoid such error message  ?

Hi Gerard,

I thought I sent you an updated version for the rescue-over-MP
feature, but looks like I haven't.
Anyway, the start of the load block should check for receiving the
generic properties, like this:

print(S51 Initializing...);
var listeners = [];
var mpnode = cmdarg();
if (mpnode.getNode(sim/multiplay/generic) == nil) {
print(Generic MP properties not received, aborting);
return;
}
var destinations = {

I have probably stolen that from Anders, thank you :)

-- 
Csaba/Jester
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] message over MP

2008-12-08 Thread gerard robin
On mardi 09 décembre 2008, Csaba Halász wrote:
 On Mon, Dec 8, 2008 at 11:47 PM, gerard robin [EMAIL PROTECTED] wrote:
  Hello,
  Is it necessary to receive such error message over MP  ?
 
  at /usr/local/share/FlightGear/data/Nasal/props.nas, line 26
   called
  from:
  /wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/S-51-Dragonfly/Models/S51
 -sikorsky.xml�, line 21
 
  bla bla bla
 
  Sorry was not completed
 
  The question should have been , how to avoid such error message  ?

 Hi Gerard,

 I thought I sent you an updated version for the rescue-over-MP
 feature, but looks like I haven't.
 Anyway, the start of the load block should check for receiving the
 generic properties, like this:

 print(S51 Initializing...);
 var listeners = [];
 var mpnode = cmdarg();
 if (mpnode.getNode(sim/multiplay/generic) == nil) {
 print(Generic MP properties not received, aborting);
 return;
 }
 var destinations = {

 I have probably stolen that from Anders, thank you :)

Yes you did , but that was an example ( it is not the question about S-51)
  i have a lot of other messages which are not useful. 
Mainly because i was not  close to the others mp models/pilots.

here some others examples.
Chat [*FGMS*] Aircraft/787/Models/787ANA.xml
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!
osgDB ac3d reader: detected line with less than 2 vertices!

Aircraft/dhc2/Models/dhc2floats.xml
osgDB ac3d reader: could not find texture compass.rgb

Chat [*FGMS*] Aircraft/787/Models/787ANA.xml
Nasal runtime error: undefined symbol: livery_update
  at /wrklvm/FlightGear/FlightGear_CVS/data/Aircraft/c172p/Models/c172p.xml�, 
line 2

Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value) 
ignored.
   The mode 'GL_COLOR_MATERIAL' is set by the osg::Material 
StateAttribute.
   Setting this as a mode fools osg's State tracking.
Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value) 
ignored.
   The mode 'GL_COLOR_MATERIAL' is set by the osg::Material 
StateAttribute.
   Setting this as a mode fools osg's State tracking.
Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value) 
ignored.
   The mode 'GL_COLOR_MATERIAL' is set by the osg::Material 
StateAttribute.
   Setting this as a mode fools osg's State tracking.


cheers






-- 
Gérard
http://pagesperso-orange.fr/GRTux/

J'ai décidé d'être heureux parce que c'est bon pour la santé. 
Voltaire


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel