trackmania-rl / tmrl

Reinforcement Learning for real-time applications - host of the TrackMania Roborace League
https://pypi.org/project/tmrl
MIT License
501 stars 68 forks source link

Script compilation failed #13

Closed heinzguenter closed 2 years ago

heinzguenter commented 2 years ago

[ ScriptEngine] [09:28:57] [Plugin_GrabData_0_1] C:/Users/Malik/OpenplanetNext/Scripts/Plugin_GrabData_0_1.as (16, 1) : INFO : Compiling void Main() [ ScriptEngine] [09:28:57] [Plugin_GrabData_0_1] C:/Users/Malik/OpenplanetNext/Scripts/Plugin_GrabData_0_1.as (64, 21) : ERR : No matching symbol 'CGameTerminal::ESGamePlaygroundUIConfig__EUISequence::Finish' [ ScriptEngine] [09:28:57] Script compilation failed! Thats my openplanet log can somebody help me

yannbouteiller commented 2 years ago

Hi, apparently OpenPlanet cannot find the value representing the end of the track. Have you tried to reload the grab_data script from the OpenPlanet menu after starting a track ?

This script is assuming you are on a track at the moment.

yannbouteiller commented 2 years ago

My bad, something has changed in OpenPlanet, I get the same issue. We need to adapt the script to the new OpenPlanet version.

yannbouteiller commented 2 years ago

Okay the new working script is this one. I need to get it signed by Melissa (the OpenPlanet admin) but you can use it without a signature already if you have the club plan. Plugin_GrabData_0_1.zip

yannbouteiller commented 2 years ago

I have updated the resources.zip file, this should correct the issue.

To update, perform a clean install (delete the TmrlData folder and the content of OpenPlanetNext/Scripts, pip uninstall tmrl, and pip install tmrl again).

Feel free to respond/reopen in case you need more help doing that :)