I have noticed that if you close the FG dislpay window that the MP aircraft will freeze in place and be there after you start another flight. If you hit reset (restart?) flight first, then close the window it doesn't happen. This is in .910 release for windows.
Maik Justus wrote: > Hi, > I've checked, that I still need this patch to avoid a freeze of the > MP-Scenery after reset. Can someone confirm, that other users (on > msvc?) do not have this problem (freezing of the other MP-aircrafts > after reset)? > Maik > Maik Justus schrieb am 01.10.2006 15:11: >> Hi, >> >> this effect is caused by the >> globals->set_sim_time_sec( 0.0 ); >> call when resetting. After this the stored time offset "mTimeOffset" >> in AIMultiplayer.cxx is wrong and it needs much time this offset is >> corrected. >> I don't know, why this bug is only visible in windows (at least it is >> not reported for other os). >> >> Please find enclosed a patch for AIMultiplayer.cxx, which detects and >> corrects large time offsets. (I only tested it very shortly, but i t >> seems to work (at least as a workaround)). >> >> Maik >> >> >> Maik Justus wrote: >>> Hi, >>> Maik Justus wrote: >>> >>>> Hi, >>>> Maik Justus wrote: >>>> After choosing "Reset" in the File menu, all multiplayer >>>> aircrafts stop moving. >>> after some time the multiplayer aircrafts start moving again. I am >>> not sure, but I could be, that this "some time" is about the >>> duration of the last session (time since the prior reset resp. >>> starting of flightgear to the reset). >>> >>> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> >> 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.php&p=sourceforge&CID=DEVDEV >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Flightgear-devel mailing list >> Flightgear-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/flightgear-devel >> > > ------------------------------------------------------------------------ > > Index: AIMultiplayer.cxx > =================================================================== > RCS file: /var/cvs/FlightGear-0.9/source/src/AIModel/AIMultiplayer.cxx,v > retrieving revision 1.10 > diff -u -p -r1.10 AIMultiplayer.cxx > --- AIMultiplayer.cxx 8 Aug 2006 17:57:33 -0000 1.10 > +++ AIMultiplayer.cxx 1 Oct 2006 12:47:50 -0000 > @@ -129,7 +129,7 @@ void FGAIMultiplayer::update(double dt) > mTimeOffset = curentPkgTime - curtime - lag; > } else { > double offset = curentPkgTime - curtime - lag; > - if (!mAllowExtrapolation && offset + lag < mTimeOffset) { > + if ((!mAllowExtrapolation && offset + lag < mTimeOffset)||(offset - 10 > > mTimeOffset)) { > mTimeOffset = offset; > SG_LOG(SG_GENERAL, SG_DEBUG, "Resetting time offset adjust system to " > "avoid extrapolation: time offset = " << mTimeOffset); > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel