Skip to content

Conversation

@1532658585
Copy link

Type of change

  • [X ] Bug fix
  • New feature

Description

Fixes an issue where TheAltening accounts could log in in the alt manager but failed to join servers with:

MinecraftClientException: Failed to read value {}
meteor
meteor2

The problem was that TheAlteningAccount.login() was switching the whole ApiServices environment over to TheAltening’s hosts. That made Mojang’s authlib call endpoints that don’t fully match what it expects, so some responses came back as {} and blew up. This behavior was likely introduced in the chat security updated or on some variant of the 1.20.X versions

The new login():

  • Uses WaybackAuthLib to log into TheAltening and get the profile + token.
  • Calls super.login() so the client keeps using the normal Mojang environment.
  • Applies the TheAltening session with setSession(new Session(...)).

Alt manager behaviour stays the same, but TheAltening accounts can now actually join servers.

How Has This Been Tested?

TheAltening Login token for your testing:
[email protected]
Will be valid for approximately 7 days after the publication of this post

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

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

Successfully merging this pull request may close these issues.

1 participant