On Thu, 17 Sep 2009, Nicolas Quijano wrote:

> Still a problem, with or without the MP ignore chat. (tested under both
> conditions)
> We intermittently now get chat messages from people thousands of kilometres
> away and duplicated messages with the callsign changed : for example,
> some_nic says : nice barrel roll, then some_other_nic a few seconds later
> will "magically" repeat what was just said, absolutely identical,
> punctuation and typos included :)

The messages from half a world away can AFAICS only be due to a breakdown 
of the distance check in fgms - otherwise they'd never reach your 
FlightGear instance. However, such a breakage could be due to a bug in 
fgms (e.g. in the decoding of the position) or due to the sending 
FlightGear instance sending bogus data. I have also seen these far away 
messages but have assumed that I got them due to the sender having NaN in 
his position (i.e. the sender's FG crashed but managed to fire off a 
last packet with messed up position data). I have no real evidence that 
that really is the case, though. Running with FPE traps enabled or 
instrumenting the code in multiplayer.nas might give some more 
information.

> Log on messages are also a bit on the fritz : you can see this happens with
> individuals log-on messages being spoken by other nics : afaik, only someguy
> uses Phhhhhhfffftt but I saw among others, syd sign on with that message ;)

Log on messages are just like any MP chat message.
I recall having seen occasional misattributed MP chat messages for a long 
time, so I don't think that is a new problem. (Typically I'd react to 
mpdummy saying things (though in some cases that could be a callsign 
clash).

As for the problem of the late initialization of the valid property 
(compared to the model-added property): How about the listener just 
setting an update flag which cause the pilot dialog to regenerate the 
pilot list the next time it runs? That way the arrival of a new user will 
appear atomic to the dialog update code (since it is only the listener 
that is run from inside the C++ setValue() call).

Cheers,

Anders
-- 
---------------------------------------------------------------------------
Anders Gidenstam
WWW: http://www.gidenstam.org/FlightGear/

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to