MCPHackers / LaunchWrapper

Launch wrapper for legacy Minecraft
MIT License
21 stars 3 forks source link

Fix server online-mode authentication #8

Closed JaiChoccyFox closed 1 month ago

JaiChoccyFox commented 6 months ago

This PR should fix the "Failed to verify username!" error when attempting to connect to online-mode Alpha/Beta servers.

The wrapper handles http://www.minecraft.net/game/joinserver.jsp just fine, however, the implementation is technically broken because it uses the string from url.getPath() which does not include any query information. This results in the URL responding with Bad login and the server then kicking the user.

Related issues: #5, #7.

Lassebq commented 1 month ago

Thanks for contribution. I was taking a break from minecraft and java. Hopefully I can spend more time with this project now