Jump to content
The simFlight Network Forums
Sign in to follow this  
newtie

Optimize by volume question

Recommended Posts

Hi-

Just got STB installed.

Trying to optimize by volume. I keep getting the error message, "AI traffic cannot be optimized when P3D is paused." 

When I click on the STB window, of course it pauses the sim :>) What's the trick? :>)

Thanks!

Mark

Share this post


Link to post
Share on other sites

Hi Mark

If the STB Simulator Plugin isn't installed into the simulator for some reason, we can't delete AI aircraft properly while the simulator is paused.  However you say it's not paused, so we need to find out what's going on.

Please set up a trace (Help -> Trace Settings in STB), select "Verbose",  reproduce the problem, close STB, then send me the trace file please.

image.png.9ccbf166eb9616936939d8c319e361b6.png

Share this post


Link to post
Share on other sites

I'd kindly request patience.  I'm on the other side of the world to you and Flight Simulation is just a part time occupation and yours is not the only problem to deal with.

Thanks

Simon

Share this post


Link to post
Share on other sites

The problem you are seeing is the simulator tells us is "I am paused" right at the start of talking to STB:

3/9/2018 3:51:45 AM.606: >< SimulatorState.ChangePauseChanged current:1, previous:False

In the above trace line "1" is the same as true, which means simulator is paused.  We never a receive change state to unpaused.  That's not the behaviour I see happening here, where pressing the pause key in the simulator triggers the correct sequence of events to be recorded in STB.

Let's study this a little further.  With your trace configuration in STB still set to verbose, please connect to the simulator, then pause it and unpause it several times.  Please close STB and send the trace file again, and I'll see what events the simulator is sending us.

I'm afraid it's not as simple as having the optimize commands ignore the pause state, it's a necessary thing for stability in several areas.

Thanks
Simon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.