From: Gary J. <gar...@cs...> - 2010-01-22 15:36:26
|
Anders - Thanks for the prompt reply. I didn't mention it, but I have watched the UDP packets, and both are present on the stream, and from different source ports. I also tried --multiplay=in,10,,5000 with no change in results. When MP works for me, I get a warning message that reads: FGMultiplayMgr::MP_ProcessData: No such file or directory I ignore it since I can see the MP aircraft just fine, but the point is that I get the message when MP works. I don't get the message when I try MP and external FDM together. That's why I figure that Flightgear doesn't even try to use MP when it uses the external FDM interface. Regards, - Gary -----Original Message----- From: Anders Gidenstam [mailto:and...@gi...] Sent: Friday, January 22, 2010 2:07 AM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] External FDM and Multiplayer simultaneously? On Thu, 21 Jan 2010, Gary Johnson wrote: > All - > > I have read what I could on this, but I'm stuck... > > I can see multiplayer input that I send as long as I don't use an > external FDM, and I can see the external FDM whenever I turn it on, but > I don't see the multiplayer when I am using external FDM. Hi, I have never tried external FDM and MP at the same time nor have I heard about anyone trying it before. However, based on what I recall from looking in the code these are separate functions and it is odd that they should interfere with each other. > For the external FDM only, I start Flightgear with: > fgfs.exe --aircraft= Dragonfly --fdm=external --native-fdm=socket,in,25,,25505,udp > (and I see the flight of the fdm packets I send on UDP port 25505) > > For multiplayer only, I start Flightgear with: > fgfs.exe --aircraft=Dragonfly --airport=KDTS --runway=14 --bpp=32 --callsign=Biff --multiplay=in,10,biff,5000 > (and I see the flight of the MP packets I send on UDP port 5000 while the internal fdm airplane sits at the end of the runway) I'd use --multiplay=in,10,,5000 here but since it works for you biff must resolve to the right interface IP address. With no IP specified fgfs will listen on all interfaces. > For both together, I start Flightgear with: > fgfs.exe --aircraft=Dragonfly --airport=KDTS --runway=14 --fdm=external --bpp=32 --callsign=Biff --multiplay=in,10,biff,5000 --native-fdm=socket,in,25,,25505,udp > (and I only see the flight of the fdm packets I send on UDP port 25505, but the MP aircraft does not appear at all) > > In all three cases, I use the same program to send the UDP data to Flightgear. Am I starting it wrong, or does Flightgear not want to use MP and external FDM at the same time? It acts like it doesn't even try MP with external FDM turned on... Can you double check that your program actually succeeds in sending both data streams? (So that e.g. both instances don't try to grab the same port for sending - not that they'd need to bind their sockets at all, though). Cheers, Anders -- --------------------------------------------------------------------------- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/ ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Flightgear-devel mailing list Fli...@li... https://lists.sourceforge.net/lists/listinfo/flightgear-devel |