Automatic Flight Assist Off

Hi all, after waiting for a bit too long for the flight assist switching On all the time when exisiting super-cruise, see:
https://forums.frontier.co.uk/showthread.php/412449-Did-they-forgett-to-fix-FA-OFF-in-this-patch
https://forums.frontier.co.uk/showthread.php/410321-Flight-Assist-switching

I've decided to copy/paste some code from here and there and leverage the Status.json file to automatically reset the flight assistant to Off whenever possible.

The source code is here:
https://github.com/ilo/AssistOff

If you need the binary I built it as part of the project:
https://github.com/ilo/AssistOff/tree/master/AssistOff/bin/Release

The setup is easy, just make sure one of the Flight Assist toggle bindings is the 'h' key:
JqVROKA.png


Next, run the program specifying the location of the status.json folder as its unique argument:
Z3KnpVJ.png


The program will check every time the status.json file is modified and disable Flight Assist if it is enabled under certain circumstances:
- landing gear is not released.
- player is not in the SRV.

Should work with the SLF as well. If you need to enable FA temporarely and don't want the program to disable it, either lower the landing gear or stop the program.

Cheers!

Notes: will it be upgraded or improved? I hope not, I do expect FD fixing this anytime soon so I didn't want to put enough effort into it for reading config files etc..
 
Just a quick question. I understand the condition 'player not in SRV' but not the 'landing gear is not released'. Why?
Because I was trying to find a way to be able to use it (sometimes just want to stop drifting or park somewhere) and at the same I was trying to avoid sending keystrokes when the player is in the mission board.. so, once you undock, if you retract the landing gear FA Off will kick in automatically, so for us FA off players undocking it is just Vertical thrust, then retract gear, then go. Once it is off (and docking does not change it), it will be off even with the landing gear, so it just covers one of these -just in case- scenarios.
 
Oh, so the game outputs the game state is a json file and you've created a program that watches that json file and presses the H key to toggle flight assist under certain conditions?
 
Ah thanks. Just wanted to be sure I can land and dock with this modification. :)
Now a fearful look at my H-key and the potential nightmare if it's already used for something else...

You can land dock etc all normal, but it will not try to disable Flight assist if you enable it while you have lowered the landing gear, only that case.

Good luck with the keybindings :) or you can just rebuild the binary with your own key. I really expect not having to use this program for a long time tbh.. don't get too cosy :)

Edit: Damn, autocorrect!
 
Last edited:
The game has no problem remembering the wing beacon status, which is a toggle. FA? Game resets, every single instance change. This looks great. I might have to check it out.

And frontier solving FA-Off resetting? it's been intermittently faulty for the entire time I've played elite, pretty much, so if they're going to fix it, it's been really low on the list. :(
 
  • Like (+1)
Reactions: ilo
The game has no problem remembering the wing beacon status, which is a toggle. FA? Game resets, every single instance change. This looks great. I might have to check it out.

The wing beacon also resets every now and then kofey :(
 
Has this fixed the problem? If so,

STICKY THIS THREAD!!!

This is cool AF.

QUESTION
I have three accounts - do I need to do anything special? Is it easy to change the path thingy? Do I just run the file from the folder my account wassname is in?
 
Last edited:
I have three accounts - do I need to do anything special? Is it easy to change the path thingy? Do I just run the file from the folder my account wassname is in?

Create a .bat file for every account if they are in different folders and that should do.

You guys got it working? just curious
 
Hi all, after waiting for a bit too long for the flight assist switching On all the time when exisiting super-cruise, see:
https://forums.frontier.co.uk/showthread.php/412449-Did-they-forgett-to-fix-FA-OFF-in-this-patch
https://forums.frontier.co.uk/showthread.php/410321-Flight-Assist-switching

I've decided to copy/paste some code from here and there and leverage the Status.json file to automatically reset the flight assistant to Off whenever possible.

The source code is here:
https://github.com/ilo/AssistOff

If you need the binary I built it as part of the project:
https://github.com/ilo/AssistOff/tree/master/AssistOff/bin/Release

The setup is easy, just make sure one of the Flight Assist toggle bindings is the 'h' key:
https://i.imgur.com/JqVROKA.png

Next, run the program specifying the location of the status.json folder as its unique argument:
https://i.imgur.com/Z3KnpVJ.png

The program will check every time the status.json file is modified and disable Flight Assist if it is enabled under certain circumstances:
- landing gear is not released.
- player is not in the SRV.

Should work with the SLF as well. If you need to enable FA temporarely and don't want the program to disable it, either lower the landing gear or stop the program.

Cheers!

Notes: will it be upgraded or improved? I hope not, I do expect FD fixing this anytime soon so I didn't want to put enough effort into it for reading config files etc..

GREAT thanks :)
 
  • Like (+1)
Reactions: ilo
If you need the binary I built it as part of the project:
https://github.com/ilo/AssistOff/tree/master/AssistOff/bin/Release

Thanks a lot for this, but my Windows 10 PC complains that it's not compatible with 64-bit versions of Windows :O Could you build us one for that platform as well?

-EDIT-
Nevermind, already figured out how to do it myself [smile]
Short instruction for those who also want to do this:

- Download the source code from GitHub
- Unpack in a temporary folder and open a command prompt.
- From the AssistOff-master folder, run the following command:

Code:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe AssistOff.sln

The resulting .exe file can be found in ./AssistOff/bin/Release folder.
 
Last edited:
Nice fix there,

I've been using EDDI and VA to do it. It's a simple 1 line command for VA to press the FA toggle key when it get the "returned to normal space" message from EDDI. I had to add a little 0.5s delay as I'm in Australia and my net connection isn't that fast but works really well now.
 
I'm at work atm and can't go look - it doesn't do anything clever like output which pane of the nav screen you're in, does it?

I'm still bitter that you can't reliably script docking requests via Voice Attack...
 
Nice fix there,

I've been using EDDI and VA to do it. It's a simple 1 line command for VA to press the FA toggle key when it get the "returned to normal space" message from EDDI. I had to add a little 0.5s delay as I'm in Australia and my net connection isn't that fast but works really well now.

Hey Madrax, I've been using a VA cmdr that runs a few seconds after issuing the disengage command. Also have EDDI, could you post the VA script, sounds like a better option.

Cheers
 
Back
Top Bottom