RE: [Flightgear-devel] Overhauling the networking code(was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-27 Thread Vivian Meazza
Mathias Fröhlich Hi, On Sonntag 17 Juli 2005 10:16, Vivian Meazza wrote: Before we do any rework of the MP code, it works as is in 0.9.8 (with some bugs), but it is fundamentally broken in CVS. In cvs the received aircraft are displayed close to the observer, rather than in their

Re: [Flightgear-devel] Overhauling the networking code(was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-27 Thread Oliver Schroeder
Vivian Meazza wrote: This patch does not work for Cygwin. I'm not sure if Multiplayer ever worked under Cygwin. Norman Vine did a bit of quick diagnosis last night, and came up with a cause and a fix. Apparently Linux uses 4 bytes while Cygwin uses 8 as standard. Apperantly gcc under

Re: [Flightgear-devel] Overhauling the networking code(was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-27 Thread Andy Ross
Oliver Schroeder wrote: Apperantly gcc under cygwin uses a different alignment for structs than gcc under linux (I don't know which gcc version is used under cygwin). At home I use gcc 3.3.6, and it reports: Yet another reason why blasting raw structures out an I/O channel (especially a

Re: [Flightgear-devel] Overhauling the networking code (was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-24 Thread Mathias Fröhlich
Hi, On Sonntag 17 Juli 2005 10:16, Vivian Meazza wrote: Before we do any rework of the MP code, it works as is in 0.9.8 (with some bugs), but it is fundamentally broken in CVS. In cvs the received aircraft are displayed close to the observer, rather than in their proper locations. It works

RE: [Flightgear-devel] Overhauling the networking code(was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-24 Thread Vivian Meazza
Mathias Fröhlich On Sonntag 17 Juli 2005 10:16, Vivian Meazza wrote: Before we do any rework of the MP code, it works as is in 0.9.8 (with some bugs), but it is fundamentally broken in CVS. In cvs the received aircraft are displayed close to the observer, rather than in their proper

Re: [Flightgear-devel] Overhauling the networking code(was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-24 Thread Mathias Fröhlich
On Sonntag 24 Juli 2005 19:51, Vivian Meazza wrote: That's got to be better than broken. Shame it's not backward compatible though. Let's get it into cvs then we can move forward. Norman Vine came up with some modified code over on the IRC channel: globals-get_multiplayer_tx_mgr()-

Re: [Flightgear-devel] Overhauling the networking code (was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-24 Thread Ampere K. Hardraade
On July 24, 2005 01:08 pm, Mathias Fröhlich wrote: Since the fg_server only forwards the network packets without looking into them, this will still work with that code. It would appear that fg_server is doing more than merely forwarding network packets now. Those who are using your patch are

RE: [Flightgear-devel] Overhauling the networking code (was:Multiplayer crashes with unknown aircrafts, any solution?)

2005-07-17 Thread Vivian Meazza
Mathias Hi, this is a very good idea IMO. I was thinking about a very similar approach but never had the time and not yet the actual need to follow that. If you do something like that, you might take care for the MATHWORKS guys which use the network code like it is at the moment. So