Skip to content
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

Players cannot access the course after leaving server & reconnecting ("ParkourSession is invalid") #343

Open
ThatGuyJacobee opened this issue Apr 2, 2023 · 0 comments

Comments

@ThatGuyJacobee
Copy link

ThatGuyJacobee commented Apr 2, 2023

I have this bug where if a person disconnects from the server whilst in a parkour course, and then reconnects and tries to access the same parkour course again, it errors out in console and tells them that "Your ParkourSession is invalid" in chat. In the config.yml I have set "OnLeave.DestroyCourseProgress" to true and this works fine if they leave using the item in their toolbar. But if they disconnect from the server whilst they are doing the course, it prevents them from accessing the course again due to the error, unless I manually delete the folder with their UUID within the "sessions" folder. Furthermore, my "OnLeaveServer.LeaveCourse" is also set to true, and this works fine as it spawns the person back to the lobby when they rejoin. The only issue being that they cannot access that parkour course again due to that error. I'm on the latest build (v7.2.0).

Edit: I've also tried resetting the players and course, but it still happens from fresh.

Any help would be fantastic 😄

Here is a log of the console error that I receive:
https://pastebin.com/LFQASpX5

And my config.yml file:
config.yml.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant