Search the Community
Showing results for tags 'discord'.
Found 1 result
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.