Forum > DCS World

Linking DCS to a virtual airline software.

(1/2) > >>

neon:
Ok so I am attempting to start using a virtual airline website to track flight hours, fuel, ect. On other flight sims you use a set of software called ACARS and normally after you are done flying it reports to the website and submits a PIREP. Now from what I understand the flight sim community used the real airline lingo because what they do and what they do in the real world are two different things.

So what I am trying to figure out is how I can get dcs or some other software to take the info and report it to the site. In other sims (P3D, FSX, Xplane 11) they have to use software called UIPC to get the information from the sim live.

So someone pointed out that tacview does this already and should talk to you guys to get help. If I can find some way to pull the needed info from the ACMI and then push it to the site I would be set. From what I can tel if I can figure out how to convert the info I can write a script to pull the info out, convert it to the format that is needed, and then push the info to the website.


Anyone wanna help?

BuzyBee:
Hi neon,

You should be able to write a Lua add-on either for DCS or for Tacview which will send the information you need to your website using sockets.

If you wrote a DCS add-on you wouldn't need Tacview at all. Everything would happen in the Export.lua file found in the Saved Games folder under DCS.

The advantage of Tacview is that your add-on would work with all simulators that work with Tacview. If you choose to go this route we can help you. Check out the add-on we wrote for HSR Sim Racing: https://github.com/RaiaSoftwareInc/tacview.add-ons.lua

neon:
I would prefer to just use Tacview since my entire unit uses it. I do know some lua but overall I am still trying to dig up what format the system wants the data submitted in. From what I can tell what it needs for into is flight number (we could use callsign for this), date of flight, Departing ICAO, Arrival ICAO, Aircraft, Distance, fuel used (in pounds), number in people in the plane (I would assume we would just use a table for this to pull the number of pilots for a given plane), depart time, arrival time, and flight duration. There is also an area for putting comments about the flight and route. If we do anything with comments I think it would just be a kind of flight log (fired guns at this time ect.). As far as the route I dont think there is any way of even recording a route.

BuzyBee:
We can definitely send callsign, date of flight, actual departing and arriving ICAO if it exists, Aircraft, Distance. depart time, arrival time and flight duration.

Fuel info is only available for some planes. Number of people in the plane could be pulled from a table as you suggest. 

Route information is not currently available (from DCS) and I don't know how to enter comments but we can look at that later.

When you find out what format you need, let me know! HTTP REST request would be best in my opinion because of its simplicity to implement on both ends.

neon:
I am pretty sure this won't help but this is the software that is used for fsx/p3d/xplane to report the flight. But I am putting it up here just in case.

http://acars.vabase.com/setup.exe

This system normally uses a plugin called FSUIPC or XUIPC (depending on the sim).

Navigation

[0] Message Index

[#] Next page

Go to full version