-
Posts
710 -
Joined
-
Last visited
-
Days Won
114
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by DisposableHero
-
-
Yeah, things do change... And if you don't finish something in 3 years it will be the same for future, v7 will continue to evolve, you will always be behind with this logic
Good luck and God speed if you believe in one.
-
What you are doing is not right or was not right Technically you were downloading the source code (from GitHub) and then expecting it to be "install ready" with the vendor folder.
Also we do have the latest development branch, with all dependencies linked here at this forum
I do agree on that, the documentation needs to be updated (to reflect the latest dev build links properly), and for that some action was already taken but it needs some approval from @Nabeel before being published. So if he can check the changes and approve, the docs will be nicely aligned
-
-
Hi Chris,
Landing rate tracking is already built in phpVMS v7, if SmartCARS3 provides the data back then you should be able to see, analyze, use for stats, leaderboard etc.
For Online Network tracking (IVAO/VATSIM) we do have a module yes, DisposableBasic provides network checks (online/offline) and callsign checks, records the results as additional pirep fields, which then you can develop your own flagging code. Currently DispoBasic can auto reject pireps which are below your defined criteria (along with some other stuff you can define). It also provides some API endpoints to fetch/display data on your landing page (outside phpVMS namespace).
You can check the download section and module repository for full features. Also there are some other modules, developed by Taylor mostly (not for the features you asked but he provided nice additions). You can check forum and discord for them too.
Hope this helps, enjoy v7
-
As you may have noticed, phpVMS v7 comes with built in SimBrief API integration and aircraft can be configured in some different ways to achieve better planning results. Below you can find some key instructions and settings with their effects.
Main Requirement is a valid SimBrief API key, to get one kindly check SimBrief documents (website/support forum) and complete your application, when you have your key ready, just insert it in settings.
While waiting for your API key you can define your Subfleets and Aircraft as below;
Subfleet Definitions;
Here only important field is "SimBrief Type", when it is defined it will be used for all aircraft under this subfleet. And it simply overwrites the Aircraft ICAO code during planning. If your pilots are using only one simulator (like X-Plane) and only one aircraft addon for this subfleet (like Zibo), then you can simply add your Zibo B737-800X SimBrief Airframe ID here at this field.
Aircraft Definitions;
This is the most important part, as it allows fine tuned planning compared to a generic subfleet airframe definition. As you can see, we do have the same "SimBrief Type" field here too. This affects only the aircraft, and has priority over the subfleet definition. So if you have a really specific SimBrief Airframe for a particular aircraft and want it to be the default, then you can enter the id here. (Also it is possible to use this field as a replacement ICAO code. Imagine you are using an Airbus CEO but want this aircraft to use Airbus NEO standards at SimBrief, so you define A321 as the ICAO code, but use A21N as the SimBrief Type.)
FIN, SELCAL and HEX CODE (ICAO 24-bit, transponder identification code) are optional and have no direct effect on the flight plan you will generate but the weights below are important. When defined, these weights are passed to SimBrief for flight planning purposes, so better define them according to the aircraft you are trying to simulate within phpVMS.
You can see that the DOW is empty (0) in the example, this is not a mistake but done on purpose. You will see it later.
Using SimBrief Airframes (sb airframes) ;
phpVMS is able to get and store all publicly available SimBrief Airframes / SimBrief Layouts during install and update them weekly (with cron), also it is possible for admins to manually trigger an update whenever they wish to. Also it is possible to add your own / custom airframes to the system easily.
As like SimBrief itself, airframe definitions are "ICAO Code" based, once you define and save your custom airframe at SimBrief, you can simply copy the airframe ID and add it to phpVMS by giving it a nice looking unique name and the aircraft ICAO type code you wish to use.
Also, if you do not want to use the built in SimBrief airframes and have only your custom airframes listed, then you need to enable the respective setting from Admin > Settings. This logic also applies to passenger and baggage weights being used for planning. Imagine you have an airframe definition (either created by you, or a public one provided by SimBrief), using 100 kg for passengers and 20 kg for their bags. But you do not want to use those weights because you have some custom weights for scheduled/non-scheduled flights, even better you control your baggage weights per airport with some custom code etc. Then you need to enable the respective setting to pass in your weights to SimBrief.
How does it work, how is the priority logic defined ? Why the DOW is empty in the example ?
- Subfleet SimBrief Type = Empty
- Aircraft SimBrief Type = Empty
- Aircraft ICAO Code = A321
- Aircraft DOW = Empty
- Aircraft MLW = Empty
- SimBrief Provided Airframes = Fenix A321 IAE, Fenix A321 CFM, ToLiss A321, Your Custom A321
As you know, each addon aircraft have their own basic empty weights and mostly they are hard coded (for SimBrief it is the DOW - Dry Operating Weight / OEW - Operating Empty Weight). So we leave it empty, to be able to use the DOW from SimBrief Airframe definitions. When planning, the dropdown will show you 5 items, the list is above and there will be a "SimBrief Default" entry (which is the basic definitions of SB). If you select Fenix A321 IAE, then its DOW will be used, along with its performance definitions (like fuel factor, engine thrust rating and others), equipment etc. But the weights you defined will be sent to SimBrief to overwrite those values.
If you do not select one, it is ok too as the defaults provided by SimBrief along with the data you are sending (like weights and other stuff) will be used. But if you are after precise flight planning, then it is better to either have your main types defined at SimBrief and a matching airframe should be selected.
Subfleet SB Type > Aircraft SB Type > Selected Airframe > Aircraft specific details (like weights, SELCAL, HEX, FIN, VA specific custom RMK field)
With this order and logic you can have base airframes for your fleet, like PMDG B738, Zibo B738, LevelUp B738 (same example can be extended to Fenix, ToLiss, Aerosoft, Flight Factor group) and then define aircraft specific changes at phpVMS because in a fleet some aircraft have different MZFW or MLW's but they do share the generic specifications. Like a B738 can have 79013, 77000 or 75000 KG MTOW depending on the certification, instead of defining different airframes at SimBrief, you can simply pass that info during planning.
Recent changes at SimBrief allow pilots to have precise performance calculations, specific limitations and if certified some nice ETOPS abilities, to be able to use them with phpVMS, defining airframes at SimBrief and using their ID's during planning will be the best option (considering some items still not available at api access, this method will eliminate those cases too).
Climb / Cruise / Descent Profiles and Layout Options
All these are also obtained from SimBrief and tied to Aircraft ICAO type codes, so when you select an A321 from your fleet to generate a flight plan, you will see the profiles SimBrief offer for that type in general. Additionally the layout is automatically selected if an airline match is found, if not SimBrief Default (LIDO) is used.
What about General Aviation and Really Custom Airframe Support
GA is supported by SimBrief up to a point, so we do have the same, even though the examples above are based on airliners, logic remains same for GA aircraft too. And you can still define your custom (non-existing airframe at SimBrief) as per their documentation, have a profile for it and use it at phpVMS. Considering that nothing offered by SimBrief, your custom airframe will be the only option at the dropdown.
Hope this help, safe flights.
- 2
-
No bad feelings here too Hope you can figure out a solution to the main topic
Good luck and safe flights
-
A waypoint can not be defined as a "destination", that is a fact for flight planning and this can not be changed (not in real life, not in phpvms). What you can do in real life is using ZZZZ as your dep/arr airport and define coordinates in the remarks of your flight plan so the system (and Air Traffic Controller) understands that you will start/end your flight in a specific coordinate instead of an airport.
So, if you want to check your pilots fly over certain points (like a waypoint, vor, ndb etc. which have coordinates) you need to build up a listener working either with pirepfiled event or with pirepupdated events to achieve your goal. You may not like it but without knowing the coordinates of those points, you can not get a proper result. vmsAcars sends back position reports and they do have coordinates for you to use in your checks
When you know the coordinates of your required point then it will be some amount of math and some coding (to calculate a radius depending how precise you wish to check and searching matching pirep position reports). If the point flown is found or close enough to your requirement then it can pass, else fail.
I am not sure if it will be possible, or practical to do these kinds of checks on vmsAcars side. Again you will have to define a specific point and some range for flexibility, use a custom rule to let it being checked live by vmsAcars.
vmsAcars checks will run on client side (pilot's computer) and it may not be effective and will be risky if you can not code the custom rule properly (fails, crashes, excessive ram usage etc.). Therefore I would suggest having these kind of deeper checks at phpvms side but in the end, it is up to you to decide and develop
Good luck
PS: While working on your website for developments, please check the license requirements of Disposable addons and apply necessary changes to comply with them Right now you are violating license terms
-
You can keep the repo, to share your possible future awards classes if you wish to.
There are endless possibilities for awards and with good classes, that repo can be a good community place to participate maybe.
My pleasure
-
35 minutes ago, MattW said:
Well, being the grumpy old man I am, for me support has effectively ended if there won't be any more development to fix issues. I guess the reason probably is a lack of capacity if phpvms/vmsacars is a one man side project show, but for the customers affected by bugs the reasons do not really matter, and it's unsatisfactory, as you can imagine. After all, we paid for the software without getting a clear hint that there wouldn't be any support. Maybe I should have become wary at the no-refund-clause.
Anyway, I'll help however I can. Are there similarities between the small number of users in terms of setup or software? Did it happen to X-Plane users or only MSFS?
Nobody told you that "support" is ended, that is your own conclusion I told you that "development ended for v1 series" and this is not something to stop sales or support. We are testing v2 series and it is "hopefully" near to being released (best kind of support, is an improved new version) as "beta" (at least stable to be a beta and to see how many more bugs will be found by a wider range of users), so no need for being a grumpy old man
When it gets to beta, you can download it and use as you wish, but also you can stick with v1, nobody will stop you doing that but the best support you will get for it will be "please upgrade to v2" because nobody will go back to an old code, fix it and release again while a new version is out and live
And please until v2 gets released to public (as beta) be patient.
11-12 22:30:37|INFO; Arrived clicked 11-12 22:30:37|INFO; Moved into on block 11-12 22:30:37|INFO; Flight ended manually on taxi on
Since you did not shared the entire log, I need some more info;
* Which sim was this ? (MSFS, XP11, XP12, Prepar3D, Fsx)
* Which aircraft was in use ?* Which airport you landed ?
Safe flights.
- 1
-
Don't get this wrong or as a negative review please, but I need to ask this
Why do you (or we) need to have a module for awards ? We can define our awards classes and use them, there is nothing stopping us to the that and everything we do will run in an award class, so a module is technically not needed for creating (or having additional) awards.
You (or anybody else) can create award classes and share them, just document the needs, share it here in files/addons section
PS : I would never award a pilot based on "planned" distance (or anything "planned"), they can extend their route for planning purposes just to fake it slightly on each flight to beat the competition. Just go for the reported/accepted distance
Safe flights
-
18 hours ago, MattW said:
Unfortunately vmsACARS is becoming increasingly unreliable. I haven't found out what exactly the reason is, but about half of all flights I did the last few days end prematurely in ACARS, pretty much directly after touching down.
Additionally it doesn't seem to like landing outside of a regular runway. I've created a tour for my VA where people have to land on a small island names Grimsey north of Iceland (https://maps.app.goo.gl/LTuqS61v5tNMyLni7)
Of course I did the tour myself first to test it, and immediately after touch down on the ground (which is not registered as airfield in MS) ACARS again ended the flight. It's starting to get a little bit frustrating overall...
Even though development ended for v1 series of vmsAcars, I would kindly suggest you to upload your logs as described here. Maybe they will give us some clues and they can be checked against during v2 alpha releases. (Like trying to re-create the same conditions, same aircraft, same airport etc.)
Best wishes,
-
-
More info for future checks ;
https://docs.phpvms.net/acars/user-guide#flight-phases
"End Flight" and automation for it is possible after landing, during taxi in and at arrived states. There may be a bug in v1 code (worst case)
-
4 hours ago, MattW said:
I have kind of the same error. But it doesn't need autobrakes for me. Sometimes ACARS simply ends the flight after touch down and while taxiing to the ramp. Haven't found any pattern here yet other than it happens pretty much directly after touch down. Might have something to do with the ruleset and how it is enforced? I'll try to play around with the rules and see if I can find out something.
Most probably it thinks the parking brakes are set (some simulators and aircraft report back braking as parking brake unfortunately). Try enabling the engine shutdown requirement for on block / arrival checks. (Admin > vmsAcars > Settings), maybe it helps.
If this fails, we may need to wait for v2 to be in beta state for a wider range of tests, then we can track it if it continues
Safe flights
-
No, it is not excellent and does basically what your plugin does Maybe something more on reporting and progress tracking.
Great to see people working on addons for phpvms v7, it is always better to have a widespread and growing community.
Thanks for your efforts and module/plugin.
-
4 hours ago, flyGLOBAL said:
I went back to a new install and after that the program works, still have to test the email part. I will sign up to the discord.
As for the vmsACARS, I am told that my email needs to be verified, stil. Even after 3 days still no change. Same with the no branding purchase.
to disposable hero:
1, I did read the docs, nowhere in the docs it says that some folders need to be set to 777 permission for the whole thing to work.
2, the forum has a LOT of entries and a lot has to do with V5 and other older versions, so for a newbie it is kinda hard to navigate to the proper posts
3, I was overwhelmed by all that old information and was hoping for some guidance to direct me to the proper direction.
4. When you follow the link to purchase the ACARS and you fill out everything just to get a ”you need a verified email address to continue” but your email has been verified, then you could ask yourself “is this still being worked on and is that community still active”
Anyhow, thanks for the input.
-
Nowhere needs 777 permissions, in fact it is dangerous to have, thus this is not written, never will be!
Why you though that it is needed in the first place? Looks like you have some sort of server configuration/permission problems in the beginning. -
If you look into the sections of the forum, you will see that it is clearly organized (like v2/v5 and v7 is separated).
And just from "V7 > Support" section you can see that forum is active (not like Discord for sure but you will see people communicating) - Above answer applies, even Discord uses the same logic for separation, nobody can guide you anymore sorry.
- That happens when somehow your email (or ip address) gets blocked (blacklisted) for a reason (it can be a false positive), and when this happens people ask for support and provide their email address to the developer privately when asked etc.
Anyway, you are first claiming all of these yet you somehow found the correct section of the forum to post your question. And this was what you need without all that drama.
As I wrote above, Good luck and God Speed. Hope you can have a nicely working install and have fun using it.
-
Nowhere needs 777 permissions, in fact it is dangerous to have, thus this is not written, never will be!
-
9 hours ago, flyGLOBAL said:
Great to hear! I am trying to get the acars from https://vmshost.io/store/acars . No I am not a member of phpVMS discord. I was trying to download my flights from phpvms admin section, but same happens when I try to download others like my fleet as csv. email settings in .env are correct. Where is the correct version, I downloaded the phpvms 7.0.0 dev via the link at the phpvms 7.0.4 version. there is so much irrelevant data on the forum which makes it hard to set this up. And the manual is not always a good help to solve the issue, so I am very glad to finally get to communicate with someone that know his way arround.
Gerald S.
Strange... I mean, finding info and guides on forum irrelevant, thinking that phpVMS and vmsACARS is not active is strange. What you needed was just a forum post We are always active at Discord (link is at the menu above) and checking the forum daily (at least for v7 section).
Anyway, the docs are below (which is also present in the menu above);
You can always download the latest build from below links (if you don't want to utilize Git features);
https://phpvms.cdn.vmslabs.net/phpvms-latest-dev.zip
https://phpvms.cdn.vmslabs.net/phpvms-latest-dev.tar.gz
Good luck and God speed with your install/update.
-
Best way to understand this is checking the cron log @Imanol , they are placed alongside with your laravel logs under storage/logs folder.
If it is not there, or there but nothing in it are clear signs of cron problems (95% hosting limitations, 5% user error / server misconfiguration)
And if it is running properly, you may need to wait until UTC midnight, (nightly cron) for user checks (active / leave switch)
Good luck
-
Additionally, be sure your cron command is running the exact same php version with your hosting account/domain where phpvms runs.
Running phpvms with php8.1 but trying to run cron with php8.0 or php8.2 will cause failure. So whenever you try different php versions, or update them be 100% sure that cron is using the same php executable.
Good luck
- 1
-
51 minutes ago, CartesianPixels said:
I made it work, thank you, indeed, permissions were the reason
however now I am facing another issue, log is showing the following errors
09-14 00:44:37|INFO; Setting flight phase to Boarding
09-14 00:44:39|ERROR; uri=/api/pireps/9lyY6m8jq2e2jRBw/acars/positions
09-14 00:44:39|ERROR; error=App\Events\AcarsUpdate::__construct(): Argument #2 ($acars) must be of type App\Models\Acars, null given, called in /home/flyatlas/public_html/app/Http/Controllers/Api/AcarsController.php on line 212
09-14 00:44:39|ERROR; code=503
any idea how I can fix this issue? thank you DH, you're a life saver.I shared my thoughts already at Discord.
Looks like your install is not good and you have file/folder access problems.
- 1
-
1 hour ago, CartesianPixels said:
5- UserCfg.opt permissions are all set as required
No, they are not and vmsAcars is telling you exactly this with a message box whenever you try to scan your sceneries.
09-13 17:32:26|INFO; Found UserOpt file in C:\Users\PC GAMER\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt 09-13 17:32:26|ERROR; UnauthorizedAccessException: Access to the path 'C:\Users\PC GAMER\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\UserCfg.opt' is denied. 09-13 17:32:26|INFO; MessageBox, message=There was an error trying to access the path, permissions denied. Run as admin or check the folder security
https://docs.phpvms.net/acars/user-guide#permission-denied-errors
Good luck
-
You can use two different loops to display different awards according to your setup @Imanol
@foreach($user->awards->whereIn('id', [1,2,4,5,7,90]) as $awards)
https://laravel.com/docs/10.x/collections#available-methods may help
Or you can use some basic php functions to check the name, like if it contains some specific words to separate then
@if(str_contains($award->description, 'Medal'))
Good luck
-
10 hours ago, Imanol said:
Hello,
I would like to create two type of awards: Medals, given to pilots when they reach a certain number of flight hours and PIREPs, and events awards, manually given to pilots when they participate in a event. I need to show up theses awards in pilot profile divided into to groups: Medals and Events.
Is there any piece of code I could use to do it? Thanks in advance.
https://github.com/nabeelio/phpvms/blob/dev/modules/Awards/Awards/PilotFlightAwards.php
You can check the default award classes to have a better understanding how it works, and then you can create your own classes as you wish.
For displaying them separately in pilot profile you need to edit the blade file(s) of your theme as you wish. You can use some filtering within the loops or anything else matching your needs.
https://github.com/nabeelio/phpvms/blob/dev/resources/views/layouts/default/profile/index.blade.php
Good luck
-
Nicely explained, thanks
No airports or airport database loaded
in vmsACARS
Posted
Already replied on Discord, v1 is not fully MSFS2024 compatible It needs MSFS2020 to support 24, wait for v2 beta.
Safe flights