If you find the fix useful, please reply with a thanks or something to keep the thread available for others to see! Thanks.
Manual installation:
Replace this file: http://www.sk89q.com...11/11/abp.class
(Don't forget to delete everything inside the META-INF folder of minecraft.jar, except for the MANIFEST.MF file.)
If you really want to donate to me: http://www.sk89q.com/donate
EXPLANATION
The bug is actually caused by (another attempt...) at fixing this exploit:
http://www.minecraft...ecraft-account/
It attempts to check if the server key is valid by attempting to parse the server key as a long, but there's an error that makes this fail (attempt to parse an unsigned long, causing overflow). I've changed this to a simple check to make sure that the server key is a hexadecimal number.
A bunch of moderators told me last time that my last thread kept getting reported, so check out the post I linked above (which I posted). That was moderator-approved. Oh, I also make WorldEdit, WorldGuard, CraftBook, and a few other things.
FREQUENTLY ASKED QUESTIONS
I get "java.lang.SecurityException: SHA-256 digest error for abp.class".
Delete the signature files in META-INF/ (the two files besides MANIFEST.MF). They tell Java to verify that the game files aren't modified, which is exactly what we're doing!
I get "Outdated server" instead after installing this patch.
The server you are joining is still running 1.8.1! You can't do anything about that, except to revert back to 1.8.1 (you did save it, right?).
After installing, I still get this error.
If you didn't mess up, it's because my valid key check is still a bit restrictive. I'll have to look into that if Minecraft doesn't get a fix soon (which it may). For the technical people, the current regex is ^\-?[0-9a-fA-F]+$
How do I install?
First, if you use Windows, try this installer:
http://www.sk89q.com...y-fix-mc1.0.exe
Basically, you install it like every other mod:
- Open up the minecraft.jar file with a ZIP program, because .jar files are secretly .zip (on Windows, type %APPDATA%\.minecraft\bin in Windows Explorer to find this file, on Linux, it is in ~/.minecraft/bin, on Mac OS X I have no clue)
- Copy the downloaded abp.class file into minecraft.jar and replace the existing file.
- Go to the META-INF folder and delete everything except for MANIFEST.MF. The files you delete tell Java to make sure that Minecraft's files have not been modified, but that's what we're doing!


















