Parkour

Parkour

570k Downloads

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

ThatGuyJacobee opened this issue ยท 2 comments

commented

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

commented

I am unable to replicate this issue, on Parkour v7.2.4 using:
"OnServerLeave.LeaveCourse": true
"OnLeave.DestroyCourseProgress": true
Disconnecting from the server and rejoining takes me back to the lobby and able to rejoin the Course as expected.
Can you please confirm this is still an issue?

commented

Hey there, I believe one of the updates after I originally submitted the issue resolved this as I haven't faced this issue for at least a good year now. Thanks for checking up :) ๐Ÿ‘