RLBot/RLBotPythonExample

OSError: [WinError 1114] A dynamic link library (DLL) initialization routine failed

lylet-AC opened this issue · 7 comments

Followed the guide and I have python 3.6.5 installed. I start rocket league and run the run-gui.bat file. It injects the dll, waits for it to load and then crashes.

error

Ouch, sorry to hear that!

You're one of the first people to test version 1.6.2, so I'm not 100% sure what's going on. One reason that used to happen in the past is if 20 seconds was not a long enough wait for the dll to load.

What happens if you just click the start button again?

Make sure you have the very newest RLBot version, it was updated minutes ago

He does have the newest, it's there in the screenshot. Let's take this discussion to discord, it'll be easier!

Start button? Sorry, do you mean the run-gui.bat? If I run it again it does the same thing. I've been trying to fix this error for about 2 hours, but I haven't had a successful solution. I've tried reinstalling python and using the java bot instead, but that uses the same python interface so it did the same thing.

I'm a bit confused because run-gui.bat is intended to open a GUI and not attempt dll injection until you click the big start button. Your screenshot shows logs from a dll injection.

But, if you tried twice without closing rocket league in between, then you've essentially already tried what I was suggesting. I have no other ideas at the moment.

Ah, if I try to hit Run again the program hangs on the crash.

Fixed by ccman and skyborg in RLBot/RLBot#302