Jump to content

Nabeel

Administrators
  • Posts

    8151
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by Nabeel

  1. Yeah, this is a limitation of the mapping library I'm using, since it doesn't "infinite scroll" the maps. I believe it's on their roadmap.

     

    But thanks for the suggestion, I have something like that on my mind, where if there's one point to another point, and it intersects the date line, turn into that into 2 separate segments, so from p1 -> dateline, dateline -> p2. I just haven't quite done the research or looked into the math to determine whether there is a crossing of that boundary, but also, getting the coordinates of where it's intersected, to draw that out.

     

    On a quick search I see https://gis.stackexchange.com/questions/83425/splitting-linestrings-on-dateline-with-openlayers

     

    But any other suggestions on an algorithm would be great. We can discuss it on Discord too. I'll probably end up doing some research about this over the next few days to finally get it off my list :)

  2. Hi,

     

    There isn't a way right now in the app - the "easiest" way is to change the settings.xml file (in Documents/phpvms) - so have one called "settings_va1.xml" and "settings_va2.xml", and rename whichever one you want to be active to "settings.xml". I'm slowly making the internal changes to make this possible (like a dropdown or something to be able to change the active airline or select which settings file to load)

    • Like 1
  3. On 1/25/2022 at 8:42 AM, kissman said:

    Hi Nabel, you are probably correct - i found this: API for lights

     

    Thanks for the link - I'll take a look. I'm using the beacon and strobe values, but I see they're using some simconnect events too, I have to do some research if those are standard events or not, because right now, I'm not looking at those to get values from.

     

    Edit; So interesting, looks like a few new sim vars have been added (so I'm using the older "LANDING LIGHTS ON" vs "LANDING LIGHTS"). But the strobes one is interesting, since the doc says it ignores "auto". I can do some experimenting with this later.

  4. Hi, that depends on how they report it to simconnect. So with it being on auto, they must always be reporting it as "on".

     

    I'm guessing their api are lvars which I don't think are supported through the simconnect interface yet. It's on my list to look into

  5. 15 hours ago, nicky9499 said:

    The server has just gone down again, this time my host has suspended the account on grounds of being under a DDoS attack.

    There was only 1 flight in the air at that time. This is the relevant log when the "DDos" occurred.

    https://paste.websitehostserver.net/text_2021-12-12_15-52-05_SeuPf7O1Yd

     

    I am fighting with the hosting agents to regain access and further raise these update intervals, but I am beginning to feel there might be something else causing this especially since only 1 pilot was flying in the latest incident, which doesn't make any sense whatsoever.

     

    What's your ACARS update timer set to? Because that looks like it's updating every few seconds. But let me look at that code... it could be a bug.

  6. That sounds normal. Reduce your data collection rate, I don't think it needs to be that high. They're just talking about request rate. Every 2 minutes is probably a good amount.

     

    Otherwise you probably need to look into a VPS, you might just be outgrowing shared hosting

     

    I'll look at the code and see if there's anything I missed, though

  7. Can you open a support ticket and I can look at the license problem? Is this an older install? I've seen that the env.php had SITE_URL instead of APP_URL so it's not detected. The logs should have some more info too

  8. 55 minutes ago, atrdriver said:

    OK, thanks so much.  Was just trying to make it easier for the pilots so they wouldn't have so much to sort through :)

     

    All they need to do is extract it into a folder and maybe create a desktop shortcut. There's instructions in the README, that has a link to the docs, but you can also just send them the docs directly. They shouldn't need to go into the other files there

     

    https://docs.phpvms.net/acars/install-client/

×
×
  • Create New...