My little project: Xpassenger

Users Local time
Today 8:05 AM
So I decided to use some of my free time and develop a FS Passengers plugin for xplane called XPassenger. I am not sure exactly how many features will be implemented but the following is what I have accomplished so far:

- Play crew announcement audio
- Record flight parameters and calculate scores based on pilot's performance. Basic stuff currently but will be extended to include landing performance and other stuff.
- Basic Xacars compatibility (in progress)
- Everything is multithreaded so it doesn't cause performance penalties to Xplane.
- Code is multi-platform compatible, currently I'm building it only for Win32 but the rest will follow as soon as I have an initial beta version for public consumption.

Is this something interesting? Any ideas/wishes? I will probably need some alpha testers before I release a version to .org, anybody interested? Screenshots etc will follow soon.
 
Alex Lagos said:
Is this something interesting? Any ideas/wishes? I will probably need some alpha testers before I release a version to .org, anybody interested? Screenshots etc will follow soon.

Very interesting Alex!

A "proper" ACARS system is one of the two things that has kept me from jumping over to X-plane, and FS2004 is the only reason that my old PC laptop from 2008 is still being used....

I love even the little feedback that I get from FSACARS (mainly the vert vs, and speeds for flaps and gear up/down).

Cheers,
 
I'm interested in Linux version. (Ubuntu 11.04)

Notices from using FSPax:
- random emergency (with declaration needed) and faliures system
- increased chance for faliured when flying in warzones
- bad in FSPax, but very nice to have was using transition level and altitude, but that value changes in diffrent countries, and even then it may vary during changing weather conditions
- quite bad in FSPax was "controller" grant for high speed under 10,000 feet (again TA/TL problems, and flying online) funny was when online ATC gave permission for high speed, but FSPax random roll did not. Also some airplanes are very hard to fly under 250kias (Concorde)
- food services, on board music, real time pax loading rox :D

Additional questions are about plugin compatibility with using home cockpit of diffrent kind, if i remember FSP was able to run with offsets inputs...
 
Thanks for your interest! Will report here with further updates, as I work during the day Rome will not be built in a day :)

-Emergency can be declared already. The detection that there is something broken with the plane will take some effort as some planes use totally different systems than the stock Xplane datarefs.
-Warzones? Maybe for a future version :)
- Transition levels are variable but I would like to add the speed limit. Maybe for starters put 10k feet and later adjust based on location if possible(or set it up by the user?)
- Food and drink service are already implemented. Each gives a 5% bonus once per flight and play a crew announcement.

-Home cockpit is something that I have no experience with but if needed later will be able to create custom datarefs for external usage.
 
Nice plan :!: I like FSPassengers but it's clear development of it has stopped and it's not mod-friendly. So time for some new development :!:

I think it would be best to leave out things that frustrate the user like punishments for parameters that can't be properly checked. FSP has the irritating habit of making a big deal of things that would be perfectly legal during a real flight or presenting faults that never happened.

I also think FSP is too much built around time limits. In real life no-one would complain about arriving early with 20 mins extra tax free shopping. :) For a remake you could also rethink the incentives.
Code is multi-platform compatible, currently I'm building it only for Win32 but the rest will follow as soon as I have an initial beta version for public consumption.
So it's written in C++ ?

Is it a stand alone application or a plug-in? If it's stand-alone I want to suggest to you. I've made a lot of things with it and it's multi-platform(although the Mac side lags behind a lot). I recently made a little wxWidgets application with to fiddle with the fuel levels in FS2004. It works fine.

Too bad I don't have X-plane. Otherwise I could help you a bit. Maybe it should not only be multi-platform but also multi-simulator? would also be a good target; it has no flight reporting at all as far as I know.

I've also been thinking about FSP improvements a lot. It would be really great if you could cooperate; now you can buy new planes but you can only fly them yourself. What if you could see the flying hours for these other planes by other pilots and see how their input makes your company grow. That would be awesome :!:
 
Hey Barthe,

yes it is in C++ and uses some boost stuff for communication. It is a plugin so it won't be multi-simulator and even if it were possible, I don't want to get ahead of myself. I really like that Xplane allows these plugins to run with almost unlimited access, not very safe but powerful.

Thankfuly is friday again so some free time to work on it!
 
So here is the first version of the plugin. Let me know if it works ok for you.

Please note it only works on windows 32/64 bit for now.

 
I uploaded a new version that fixes some missing libraries. Stupid Visual C++ sneaking in extra stuff :(
 
And yet again a new version uploaded. Now with mac compatibility! As far as I know this is the only way to track flights for Air Child while flying 64bit :lol:
 
I'm trying to get XAcars working, using X-Plane 10.20 (64 bit) and MacOS X 10.8.2.
So far no luck. No error from XPassenger, X-Plane or Air-Child. But the flight is not registered.
I am not using any network (IVAO, VATSIM, NetFlight or X-FlightServer).
At the moment I only want to get the XAcars functions working.

My config.ini:

HOST=www.air-child.com
PIREP=/pirep/xacars/pirep.php
FLIGHTDATA=/pirep/xacars/flightdata.php
LIVEACARS=/pirep/xacars/liveacars.php
USERNAME=ACHnnnn
PASSWORD=xxxxxxxx

What am I doing wrong?
Someone else have it working with a similar configuration?

Saludos,

:fly:
 
It looks that you are using other links?!
This is how it looks with xacrs - why not try those links - or do I missed something?
Did you try the complete link with: http://www.air-child.com ???
Cheers Tom

[Server]
Address = http://www.air-child.com/pirep/xacars/liveacars.php
PIREP = http://www.air-child.com/pirep/xacars/pirep.php
FlightInfo = http://www.air-child.com/pirep/xacars/flightdata.php
User = ACHxxxx
Password = xxxxxxxxx

[ACARS]
POSReportTime = 2
EnableLiveACARS = 1
EnablePIREP = 1
AutoPIREP = 1
 
Ricardo I will check it out after I'm back from work. I only tested the xacars connection in windows, it may be bugged in mac. Sorry for that.
 
Tom Weber said:
It looks that you are using other links?!
This is how it looks with xacrs - why not try those links - or do I missed something?
Did you try the complete link with: http://www.air-child.com ???
Cheers Tom

He is doing it correctly for my program. I may change it later to be completely compatible to the xacars.ini
 
Tom Weber said:
It looks that you are using other links?!
This is how it looks with xacrs - why not try those links - or do I missed something?
Did you try the complete link with: http://www.air-child.com ???
Cheers Tom

[Server]
Address = http://www.air-child.com/pirep/xacars/liveacars.php
PIREP = http://www.air-child.com/pirep/xacars/pirep.php
FlightInfo = http://www.air-child.com/pirep/xacars/flightdata.php
User = ACHxxxx
Password = xxxxxxxxx

[ACARS]
POSReportTime = 2
EnableLiveACARS = 1
EnablePIREP = 1
AutoPIREP = 1

Tom, you are talking about the config file for the XAcars plugin.
I am talking about the config file for XPassenger with XAcars functions.

From the Manual of XPassenger:
To configure the Xacars connection, edit the supplied config.ini file with the settings for your airline. The possible parameters are as following. Please note that there is no space before or after the = sign. the sequence of the parameters is not important. Just one parameter per line.

HOST The server of your tracker without http://, for example: HOST=www.mytracker.com
PIREP The path for sending PIREPs to the airline, for example: PIREP=/pirep/xacars/pirep.php
FLIGHTDATA The path to retrieve the flight data from your airline, for example: FLIGHTDATA=/pirep/xacars/flightdata.php
LIVEACARS The path to the live acars interface, for example: LIVEACARS=/pirep/xacars/liveacars.php
USERNAME Optional, enter your username here, example: USERNAME=ACH0879
PASSWORD Optional, enter your password here, example: PASSWORD=Pass1234

:fly:
 
Hey Ricardo please download this and replace the plugin with it. Then try it out and let me know if it's ok. I just tested it here and it worked. If possible do a short flight to test if everything works including sending the PIREP.
 
Tom Weber said:
Sure,
but the links are the same, aren´t they?
Tom

Only difference is that I kept the host separate to the paths. I'm going to change that to make it easier for people.
 
Back
Top Bottom