-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error detected failed to execute script autopilot #19
Comments
Hey there, glad you were interested in trying out the autopilot. Your screen resolution should work without any problems. I use 2560x1080 myself. Just be sure to use borderless. A couple of questions:
1 and 2 being true, it seems the program is having trouble obtaining your keybinds for some reason, as the next log output should be your detected keys. There are a couple of things you can try:
|
I am on windows 10. That is the entire log, yes. I can give you several versions but the only thing different is the time. I’ll check back later to try the new build but i’m feeling there will still be a problem with finding the keybinds. By console, do you mean the log txt file? Or is there another way to gain diagnostics i can use? |
In a future version I plan on adding a debug console window, that's what I was referring to, but for now it is not available. I have just uploaded a new version you can try. Please let me know how it runs for you. If you still get errors please attach the new log file as you did before. |
Good news! It no longer fails to launch. The icon shows up on the taskbar without any apparent problems. It seems to detect the right keys, however, nothing happens when i press home/end... Here is the log, bigger this time. unfortunately i do not have, nor are familiar with python 3 or git, but i'm happy to help you troubleshoot if you want me to. ---- AUTOPILOT START -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------INFO:root:get_latest_log=C:\Users\M\Saved Games\Frontier Developments\Elite Dangerous\Journal.190507171845.01.log ---- AUTOPILOT ALIGN -----------------------------------------------------------------------------------------
|
I uninstalled some programs that i thought might be interferring, made a fresh log, and tried to turn it on and off a few times. Still nothing happens. This was done with secondary keys btw, but you can read the log. says it failed to load a few images? |
I still get the error 'Failed to execute script autopilot' but i do have a bigger log than with the last version. |
NEVERMIND! Silly me bound a key to -100% throttle instead of 100%... everything works fine for me now, it even scoops! very impressive work! There are are times when it cant align properly, but i suspect this is because of the imp-courier cockpit decoration light right behind the target indicator, combined with being in direct sunlight, makes it hard to see where to point. After scooping i would add a much longer period of traveling away from the star, as several times now, the script will move away from a star for a few seconds, flip towards the target system (which still is behind the star) and send me crashing into the exclusion zone, damaging my ship :D anyways great work! this is amazing. Do you want me to close the issue, and let @HerrEurobeat make his own? |
Maybe the problem could be for me that i have keys set to the needed actions that the program does not recognize because of different keyboard layouts or idk |
@13mosta Hey, great to know it's working for you. I was scratching my head here looking at your log haha. There should've been a clearer warning indicating a missing keybind. As for the navpoint in direct sunlight and the travelling period after scooping, you are absolutely right. These are actually the top two issues I'm aiming to resolve at the moment (particularily the post-scoop one as it's consequences are pretty bad of course). Thank you for the valuable feedback! Do let me know if there is anything else you notice that may help development, and don't worry about closing the issue, I think in this case it's alright to leave it open for now. |
@HerrEurobeat Hey there, I think your suspicion about the program not recognizing your keys is accurate. The program at the moment only supports the most common, basic keys, and the standard modifiers (shift, alt, ctrl). I would suggest you try binding different keys to see if that solves your issue, if not, do let me know. |
@skai2 Just in the slight possibility you havent seen this (or aren't the creator, haha), this is a good read https://networkgeekstuff.com/projects/autopilot-for-elite-dangerous-using-opencv-and-thoughts-on-cv-enabled-bots-in-visual-to-keyboard-loop/ I notice he seems to manage allignment better, by locking on to the circle around the target system, instead of the tiny target indicator. That script is also aware of the exclusion zone, but i suspect these features require a lot of work. Anyways, thanks again for your time, and your awesome autopilot :) |
Hey Ho I think I'm having a similar issue but I've not managed to get it to run. I assumed it was a keybinds issue so I reset my keybinds to the default keyboard only layout and it still fails to run. Heres my log at the latest entry if it helps. INFO:root:RELEASE=v19.05.09-alpha-22 I also had a go at running the script via the manual setup and didn't get much further. INFO RELEASE=v19.05.09-alpha-22 |
@LukeGardner hey there, the default keybindings most likely will not work due to not having binds for all the necessary keys and seemingly having a different structure. The readme has a list of all necessary keys by category listed in the order they appear in the game controls menu. My suggestion is to go through the list and bind all of them to a keyboard key to see if it fixes your issue. Let me know how it goes, cheers. |
I had another few goes rebinding everything required to my custom keybinds and still no luck. INFO:root:RELEASE=v19.05.09-alpha-22 |
Hi Mate!
|
@LukeGardner and @Ros66 if you both could email me your custom keybinds file (the one in the log you have attached after "get_latest_keybinds=" I can take a look to see what might be causeing your issue. |
Ok, I just sent the Email! |
@skai2 I've tried several binds, and I got the same error. "Fatal error detected etc." if you send me your custom.3.0.binds here or by email, I 'll try it!! |
I am having the same issue... but its not detecting my binds file. it is looking in the right place but its not pulling them. LOG file info: INFO:root:RELEASE=v19.05.15-alpha-18 Ive trie running as admin, and running in compatibility mode.... no joy. |
Still cant get this to pull in my binds file. It looks in the right place, but doesnt pull the file at all. |
Hey guys, I'm really sorry for the late reply. I ended up having to take a break from developing this project and couldn't get back to you. I intend on getting back to developing it soon. If you're still interested, my only suggestion at the moment would be to try deleteing your keybindings file and remaking it (make sure to save a backup!), and making sure you only use standard english locale keybinds. Some people have reported success doing this, due to inadvertently having some odd key bound to something. Sorry I can't offer much more help at the moment, hopefully this works for you. |
Hello, I am also getting the same error, but the log shows as it can't even detect the game at all? DEBUG:root:This is a DEBUG message. These information is usually used for troubleshooting
|
Ok, I tried to remake it and am getting the same error... any ideas? I've
included my binds file for you to look over...
…On Wed, Aug 14, 2019 at 3:44 PM SKai ***@***.***> wrote:
Hey guys, I'm really sorry for the late reply. I ended up having to take a
break from developing this project and couldn't get back to you. I intend
on getting back to developing it soon.
If you're still interested, my only suggestion at the moment would be to
try deleteing your keybindings file and remaking it (make sure to save a
backup!), and making sure you only use standard english locale keybinds.
Some people have reported success doing this, due to inadvertently having
some odd key bound to something. Sorry I can't offer much more help at the
moment, hopefully this works for you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19?email_source=notifications&email_token=AK6UKOGI5XSZUDXCEWOCLWTQEQR6VA5CNFSM4HLAN4OKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JHB2A#issuecomment-521302248>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AK6UKODVMEBTWTKDF32DIZDQEQR6VANCNFSM4HLAN4OA>
.
|
Hello :)
When i try to run the .exe file from my desktop i get "fatal error detected - failed to execute script autopilot"
I have made sure to bind all the primary keys, even used a custom binds profile. My screen is not standard resolution (2560x1080) but i have tried running in full screen, bordered and windowless in both 2560x1080 and 1920x1080, but still nothing works. tried your most recent build and the second most recent.
INFO:root:PATH_LOG_FILES=None
INFO:root:PATH_KEYBINDINGS=None
INFO:root:KEY_MOD_DELAY=0.01
INFO:root:KEY_DEFAULT_DELAY=0.2
INFO:root:KEY_REPEAT_DELAY=0.1
INFO:root:FUNCTION_DEFAULT_DELAY=0.5
INFO:root:SCREEN_WIDTH=2560
INFO:root:SCREEN_HEIGHT=1080
INFO:root:get_latest_log=C:\Users\M\Saved Games\Frontier Developments\Elite Dangerous\Journal.190506155621.01.log
DEBUG:root:ship={'time': 556, 'status': 'in_space', 'type': 'empire_courier', 'location': 'Straae Eohn TC-D c15-0', 'star_class': None, 'target': 'Straae Eohn VN-B c16-0', 'fuel_capacity': 8.0, 'fuel_level': 7.59, 'fuel_percent': 95, 'is_scooping': False}
The text was updated successfully, but these errors were encountered: