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

1.18.2 crash after migrating from offline player into online player with simpler auth mod #1

Closed
dadoirie opened this issue Aug 23, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@dadoirie
Copy link

dadoirie commented Aug 23, 2022

hope the title says everything

basically the first time the player logs in the player is in offline mode and when switching into online mode with the /onlineauth command and when this player logs out this message pop up on the servers console and server crashes
image
SimplerAuth Github in case needing to look into the source code

EDIT: most likely because the uuid gets changed from offline mode uuid to online official uuid, but the player name is still the same?

@CleverNucleus
Copy link
Owner

Hi there,
Thank you for bringing this to my attention - you're reasoning is essentially correct, I'll work on releasing a fix soon.

@CleverNucleus CleverNucleus added the bug Something isn't working label Aug 23, 2022
@dadoirie
Copy link
Author

dadoirie commented Aug 23, 2022

awesome ...

disabled OPC until its fixed, but still happens - then I saw that it is bundled into playerex :) hope playerex's opc gets updated aswell

EDIT: meanwhile which file do I need to delete instead of the whole world folder? (re-post edit)

@CleverNucleus
Copy link
Owner

Yeah OPC is bundled with PlayerEx, so you cannot disable it without disabling PlayerEx.

You need a nbt editor (such as NBT Explorer) and navigate to your world file/level.dat. Inside you can delete the OfflinePlayerCache tag.

@dadoirie
Copy link
Author

omg ... thanks, but nah .. I'll wait patiently for the fix :)

@dadoirie
Copy link
Author

dadoirie commented Aug 23, 2022

but if editing this with the nbt editor will a new opc tag get generated?

EDIT: my bad ... just tested this out and yes it does get generated and fixes the crash ... still fix will be needed as this is not a optimal workaround :)

@CleverNucleus
Copy link
Owner

Releases of PlayerEx for 1.18.2, 1.19 and 1.19.2 bundled with fixed versions of OPC are now available on Modrinth, pending Curseforge and Github. This crash should no longer occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants