Jhony300 Posted August 21, 2012 Report Share Posted August 21, 2012 When a pilot disconnects in flight for some problem or for any reason, your satus is saved in the table phpvms_acarsdata as "Cruise" or another phase he is in the moment. When the pilot disconnect, I wish phasedetail save in the table as Offline. This displays wrong phase detail in signature the pilot. Who can help I am very grateful. Regards. Quote Link to comment Share on other sites More sharing options...
tutmeister Posted August 21, 2012 Report Share Posted August 21, 2012 I actually think that you probably need to reduce your Acars live time in your local.config file (which is in the Core folder). //720 minutes Config::Set('ACARS_LIVE_TIME', 720); If you reduce it down to something like 10 or 15 minutes, it will change the pilots code to offline much faster without having to mess with Core files. Quote Link to comment Share on other sites More sharing options...
Jhony300 Posted August 21, 2012 Author Report Share Posted August 21, 2012 I've changed this function, in my case I use 2 minutes, and works correctly when the pilot disconnects after landing, he disappears from the map and the phase change for Offline. The problem is when it disconnects at any phase of the flight (Cruise, Descend, etc..) it is saved in the database with the current phase. Thanks for your reply. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.