-
Notifications
You must be signed in to change notification settings - Fork 22
Py4j Deprecation
Tyler edited this page Jul 12, 2020
·
1 revision
At one point we used a technology called py4j to help us start up java bots. It turned out to be overkill, and we've gotten rid of it. If you have a very old Java bot, you may have gotten an error message asking you to migrate, here's how:
- Make your python file extend ExecutableWithSocketAgent as seen in this commit.
- Make your SamplePythonInterface extend SocketServer as seen in that same commit.
- Go in your build.gradle file and change the proper line to compile 'org.rlbot.commons:framework:2.+' like this: https://github.com/RLBot/RLBotJavaExample/blob/9b4c363dff8bc0b130f82b914c76adbed7c56a3b/build.gradle#L22