lucas-emery / rocket-league-gym

A Gym-like environment for Reinforcement Learning in Rocket League
Apache License 2.0
204 stars 48 forks source link

Doesn't get into game when run example.py #9

Closed syKevinPeng closed 3 years ago

syKevinPeng commented 3 years ago

Hi, I installed rlgym based on the instruction and tried to run the example.py. The game is successfully started but stuck on this page. image

I have the following output in the terminal

E:\ProgramData\Miniconda3\envs\rocketleague\python.exe E:/Study/rocketleague/playground.py Version 0.4.1

- Updated euler angles to match rlbot [pitch, yaw, roll] and added accessor functions
- Bugfix: player.is_alive renamed to is_demoed
- Added common rewards - Rolv
- Added a reward combiner - Chainso
- Added missing kickoff spawn
- Fixed 2v2 and 3v3 action delivery
- Fixed issue in 2v2 and 3v3 were blue bots would disappear over time
- Added multi injector

Launching Rocket League, make sure bakkesmod is running.

I checked three times that my BakkesMod is working and displaying "Injected, press F2 ingame for options menu (Epic Games Version)"

syKevinPeng commented 3 years ago

I use python debugger to dive in the code. It looks like it stucked at line 31 in gym.py

self._setup_plugin_connection()

When I dig deeper, it actually stucked at line 100 in communicaton_handler.py

win32pipe.ConnectNamedPipe(self._pipe)

and the value for self._pipe = win32pipe.CreateNamedPipe(SOMETHING) is None

AechPro commented 3 years ago

Have you enabled the RLGym plugin from the Bakkesmod plugin manager in-game?

syKevinPeng commented 3 years ago

Thank you!!!! It'ss fixed!

syKevinPeng commented 3 years ago

image Does not found RLGym plugin after Rocketleague and Bakkesmod update.

AechPro commented 3 years ago

You will need to manually move the RLGym plugin back to the Bakkesmod folder. See the Troubleshooting section of our Wiki.

syKevinPeng commented 3 years ago

Thank you