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
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to