Re: [Flightgear-devel] C182 patch

2006-10-09 Thread Mathias Fröhlich
On Sunday 08 October 2006 12:52, Stuart Buchanan wrote:
 I think you may have missed some of the changes. From a quick flight and
 diff, I think the changes from c182.diff have still to be merged in. They
 change the following files

 c182-set.xml
 Models/c182-dpm.xml
 Panels/c182s-3d-panel.xml
I think so too.
Sorry. Is now applied.

  Thanks again

  Mathias

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Bug in mp-visibility of planes?

2006-10-09 Thread Mathias Fröhlich

Maik,

sorry for the long delay. The weather these days was too good to stay 
inside :)

On Friday 06 October 2006 21:31, Maik Justus wrote:
 @Mathias Fröhlich
 Did you looked on this?
Yes, but I expect that the problem is something different.

We have at the moment a more or less crappy port/host handling for multiplayer 
packets.
I think that must be cleaned up anyway.
At best I think that the multiplayermanager recieve code should move into 
Network/multiplayer.cxx. Also the configuration of the appropriate sockets 
can then happen in the same file.
I would expect that this would help much.

My guess is that your own computer will broadcast your own position packets to 
a network where your own computer is already attached to. So you will see the 
same plane twice.
May be the broadcast setting is implemented somehow different in plib's win32 
code.
Can you tell me if removing the broadcast flag from the plib socket will help 
(attached patch)?

   Greetings

 Mathias
Index: src/MultiPlayer/multiplaymgr.cxx
===
RCS file: /var/cvs/FlightGear-0.9/source/src/MultiPlayer/multiplaymgr.cxx,v
retrieving revision 1.10
diff -u -r1.10 multiplaymgr.cxx
--- src/MultiPlayer/multiplaymgr.cxx	10 Oct 2006 05:17:07 -	1.10
+++ src/MultiPlayer/multiplaymgr.cxx	10 Oct 2006 05:34:10 -
@@ -201,7 +201,6 @@
 return false;
   }
   mSocket-setBlocking(false);
-  mSocket-setBroadcast(true);
   if (mSocket-bind(rxAddress.c_str(), rxPort) != 0) {
 perror(bind);
 SG_LOG( SG_NETWORK, SG_ALERT,
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel