Search the Community
Showing results for tags 'tcas'.
Found 3 results
Hey everyone, Within the past 24 hours I was clueless to what I was even attempting to do and now I have got a pretty good idea and some basic functionality going. I am trying to make a Discord Bot that sits on FSX Host Computer that will see all the Tail Signs for the Different Airplanes in the server and will move the Channel they are in based on the COM1 Frequency selected by the Pilot. I have gotten it working on an individual level using Address 313C for the Tail Number and Address 034E for the COM1 Frequency. Now I want to do this but for all the Air/Ground traffic. For example in this case assuming there is a single Aircraft on the server I would be able to see the Tail Number using Address E096 which is the AI ground traffic ATC id* and the COM1 Frequency using Address E0A6. *Note this is for ground traffic but works the same way if the Aircraft is in the air. The problem I am running into is showed in the picture below. For some reason FSUIPC will replace the Tail Number with the Airline Call Sign. This could show up as "Navy" or "Pacifica" but the problem is I am getting duplicates with no way of identifying each aircraft individually therefore breaking my Bot. I hope this helps clarify my situation. I was looking into Address D000 and F000 as shown in the FSUIPC4 Offsets Status document but I am not good with Bytes and don't really understand offsets. I really want to make this bot for the Flight Sim Community once its stable I will release it on GitHub. I hate how terrible in-game communications are and always wanted get use out of the Plane Radios with Discord. I believe every server should just be able to open a Jar file input a few variables and have realistic COMs. Any help is greatly appreciated! Screenshot of the Interrogate is below and I also posted a quick GIF of my current progress. Thanks everyone! CrazzMC As you can see below it doesn't pick up G-BAFM, N-ACAB, UKR1337 and NAVAD163. But it does pick up the local guys. Problem is it replaces NAV001 with NAVY. Not sure where the tailsign goes. Here you can see I get it working if the "Pilot" has the script running, but this isn't that nice as I would rather have the script running on the Server Host computer.
I have an external EFIS attached to my system. However, it does not have TFC button capability. I would like to activate this feature through FSUIPC to a spare button on my yoke. However, there are so many entries available in the FSUIPC dropdown list that I am confused as to which one I should link the button to. Can you assist me please? Many thanks
<p>Hi I was trying to simulate TCAS traffic on FS2004 using FSUIPC V4.999W and later verifying the TCAS info via Pete's TrafficLook tool. I simulated a plane and could see the plane on Traffic look. ------------------------------------- AI.id=0xFFFFFFF5; AI.lat=47.431507; AI.lon=237.692002-360; AI.alt=432; AI.hdg=62697; AI.gs=95; AI.vs=817; strcpy(AI.idATC,"N72577"); AI.bState=0x8C; AI.com1=0x2010; FSobj.WriteAndProcess(0x1F80,sizeof(TCAS_DATA),&AI); ----------------------------------------------------------------------- AI is a TCAS_DATA data type. Offset is 0x1F80 I am unable to simulate more planes, i do not know what i am doing wrong. Next offset i am choosing 0x1F80+sizeof(TCAS_DATA),& Am i missing anything