Hi there :)
Some other day, i was using pilot list with the "lag" page, and it appear that pilot using time accel accelerate the mp packet sending rate the same ! (lag-pps give the packet /s from the mp pilots).
this is because we pass the sim_dt value which is affected by pause, time accel and max sim time per frame, instead of giving a real time dt to the netwok update loop
I'm not sure on how to address this, i can make the real time dt available from the time manager and get it from here, or if there is a way to give it to the update loop from the main.cxx ?
I think other parts are concerned, i found a strange behaviour with the igc files, where we update with real time, but log the simulated time, leading to some points having the same time if doing time slowdown.
i would suspect some other protocol could be in the same case but didn't have a look in the code yet.
needless to say all recent FG versions are concerned :)
jano
The time-manager already exposes both sim and real time; we have code which wants to use one or the or both values. And I agree the MP code should probably send at the real clock rate, not the sim rate. The previous example I fixed, was making the view pan code use real time, otherwise using my joystick to look around was twice as fast with time accel.
I think this needs to be a devel list discussion, since I would be a little worried in the particular case of MP, if anything might break from using real-time rather than sim time.
I don't think this could break something for the mp, it's just about the sending rate in mpprotocol, mp are using real time for timestamp for some time , and the result are quite good on mp.
but i can put this on the devel list too, maybe with a merge request ...
Yeah I guess for anything involving MP I am pretty cautious. Let's ask on the devel list, so at least Richard and some other can think about it and give their opinion. We can also make the change on 'next' and see if anything strange happens.