flyGLOBAL Posted May 5, 2010 Report Posted May 5, 2010 What do I have to add where to get a status of the active flight (like: Boarding, Crusing etc ) in my signature (badge). Quote
Artjom Posted May 5, 2010 Report Posted May 5, 2010 I wanted it to do the same, with the help of a friend did, but there is one drawback is that the signature is generated only when data changes, so it is not convenient, then threw the script, if I find didst lay out, but it was for the old version! Quote
Moderators mark1million Posted May 6, 2010 Moderators Report Posted May 6, 2010 Once a pirep is filed certain things happen on vms, one of the things is to regenerate the pilots signature, there would be a lot of resources taken up i think to display the phases Quote
Administrators simpilot Posted May 8, 2010 Administrators Report Posted May 8, 2010 I think what you could do to reduce the load on the server and from recreating the siggy so many times would be to use the individual pilot signature regenerate function already available but hook it to the acars map. Basically build a function into the acars map that regnerates the pilot badge when the pilots flight status, ie - departing, in flight, decending, etc, changes on the flight board. That way you are not regenerating everyones siggy, and you are only regenerating the active pilots siggy when his status changes not every time the map reloads. something like if($status->old <> $status->new) { pilotdata::regeneratesiggy($pilot->id);} Quote
Gabriel Fernandez Posted July 20, 2010 Report Posted July 20, 2010 something likeif($status->old <> $status->new) { pilotdata::regeneratesiggy($pilot->id);} Where i put this code?? Quote
Guest lorathon Posted July 20, 2010 Report Posted July 20, 2010 If you use kACARS_Free you could also tie it into the liveupdate portion of the kACARS_Free module. I am sure you could do the same with the other ACARS modules. The good thing about tieing into these is that is it only run when the ACARS application files the update. The map tie in would only work if someone was looking at the map. And then if multiple people are looking it would update too frequently and may tie up server resources. Just my opinion. Quote
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.