LeeE wrote:
> On Sunday 25 November 2007 08:44, Syd&Sandy wrote:
> > On Sun, 25 Nov 2007 09:45:30 +0100
> >
> > Maik Justus  wrote:
> > > Hi,
> > >
> > > a few month ago there was a discussion about a bug in the MP-chat
> > > (don't remember if it was on the list or on irc):
> > >
> > > Sometimes one get the last message(s) of one ore more other
> > > MP-pilots repeated and repeated and repeated, therefore this/these
> > > messages scroll over the screen, which makes the chat unusable.
> > > I still have this bug (nearly on every online session).
> > > I am using mostly an osg-build, but I think i have it in the
> > > plib-branch, too (only tested on windows). Does other users still
> > > have this bug, too?
> > >
> > > I think, we should fix this bug prior the release.
> > >
> > > Maik
> >
> > I get it occasionally .... and I use OSG 90% of the time
> 
> I was on MP a couple of days ago and got this too.  First of all it
> was
> 
 
> concerning the mpdummy user and then with a real user.  OSG here as 
> well.  In both cases there were two lines of chat that were repeated, 
> the first line in both cases was the 'Hello' message.  With the
> mpdummy
> 
 
> user the second line was another Hello but with an exclamation mark 
> i.e. 'Hello!' but with the real user the second line seemed to be from 
> ATC.


I haven't seen this bug (yet), so the following is to some extent guesswork 
based
on the information above.

The MP chat system keeps a hash of all the incoming messages keyed against the
callsign of the user. This is the only way I could think of to keep a track of 
the various
messages to avoid repeating them.

My suspicion is that there are multiple MP aircraft with the same callsign in 
the session.
My there should be multiple mpdummy aircraft I am not sure, but it is obviously
a situation that is going to become more common as FG MP becomes more popular,
so the chat sub-system will have to deal with it.

As a first attempt to fix this, I've uploaded a new version of multiplayer.nas 
which 
ignores duplicate callsigns (and also uses "var" properly) to

http://www.nanjika.co.uk/flightgear/multiplayer.nas

I think this will solve the problem. If you could try it and report back, that 
would 
be great.

-Stuart





      ___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to