Jump to content

  • 11 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

[1.0.0] "Invalid server key" fix

#1 User is offline

  • Group: Members
  • Posts: 437
  • Joined: 30-September 10

Posted 20 November 2011 - 07:50 AM

*
POPULAR

It's Mr. Out-of-nowhere patch-for-Minecraft again. If someone hasn't posted it yet, here's a self-serve (you don't have to wait for servers to fix it) client-side fix for the "Invalid server key" error.

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!

If you don't understand these instructions, don't worry! They're pretty bad. (If someone has a link to a good tutorial, please post it.)
I've got a server hosted by UpstreamGaming.com.
Posted Image
87

Register or log in to remove.

#2 User is offline

  • Group: Members
  • Posts: 101
  • Joined: 03-October 11
  • Location: BC, Canada
  • Minecraft: Metalmine

Posted 20 November 2011 - 07:58 AM

Thank you so much good sir.
2

#3 User is offline

  • Group: Members
  • Posts: 22
  • Joined: 03-February 11

Posted 20 November 2011 - 08:08 AM

It fixed it.... now it says outdated server :/
Creepers just love me... When they see me they just explode with happyness
3

#4 User is offline

  • Group: Members
  • Posts: 152
  • Joined: 11-December 10
  • Minecraft: jorster23

Posted 20 November 2011 - 08:11 AM

I love you <3
Posted Image
1

#5 User is offline

  • Group: Members
  • Posts: 762
  • Joined: 12-March 11
  • Location: There
  • Minecraft: Meapa

Posted 20 November 2011 - 08:22 AM

yAY!
Follow me on Twitter!
Join Partycraft! ? Work by Day ? Party by night
0

#6 User is offline

  • Group: Members
  • Posts: 437
  • Joined: 30-September 10

Posted 20 November 2011 - 08:23 AM

View PostMrMcCheeseburger, on 20 November 2011 - 08:08 AM, said:

It fixed it.... now it says outdated server :/


Sounds like you have a different problem :P
I've got a server hosted by UpstreamGaming.com.
Posted Image
1

#7 User is offline

  • Group: Members
  • Posts: 265
  • Joined: 10-August 11
  • Location: that way
  • Minecraft: DanielTheSpaniel

Posted 20 November 2011 - 08:50 AM

Okay what folder do I replace?
I know where you live.... in a house
Posted Image
0

#8 User is offline

  • Group: Members
  • Posts: 223
  • Joined: 22-October 11
  • Minecraft: Terminator1994

Posted 20 November 2011 - 08:55 AM

View PostMrMcCheeseburger, on 20 November 2011 - 08:08 AM, said:

It fixed it.... now it says outdated server :/



Then you have a other version as the server

Like :

You have 1.8.1

The server is 1.9 RC2
Posted Image
0

#9 User is offline

  • Group: Members
  • Posts: 417
  • Joined: 30-August 11
  • Minecraft: Jaydestroyworld

Posted 20 November 2011 - 09:01 AM

View PostHumululu, on 20 November 2011 - 08:55 AM, said:

Then you have a other version as the server

Like :

You have 1.8.1

The server is 1.9 RC2

I believe he has 1.0.0 and the server is 1.8.1
Did I help, or were I just funny? If so click the green + down there :)
4

#10 User is offline

  • Group: Members
  • Posts: 131
  • Joined: 17-February 11
  • Location: New Zealand
  • Minecraft: Senyazza

Posted 20 November 2011 - 09:01 AM

Good job :)
I love the forum community... casually following mojang, sweeping up all the errors with neat fixes like these.
4

#11 User is offline

  • Group: Members
  • Posts: 26
  • Joined: 02-November 11

Posted 20 November 2011 - 09:06 AM

it just sits at connecting to server for evar
0

#12 User is offline

  • Group: Members
  • Posts: 2
  • Joined: 13-November 11

Posted 20 November 2011 - 09:14 AM

actually if u dont delete the manifest, it wont enable mod sounds
0

#13 User is offline

  • Group: Members
  • Posts: 150
  • Joined: 12-March 11

Posted 20 November 2011 - 09:52 AM

Right now it just wont log into the server all it says is "connecting to the server..." nothing else no logging in or other's? Any ideas on how to sort this
Posted Image
0

#14 User is offline

  • Group: Members
  • Posts: 27
  • Joined: 10-November 11

Posted 20 November 2011 - 09:57 AM

View PostMrMcCheeseburger, on 20 November 2011 - 08:08 AM, said:

It fixed it.... now it says outdated server :/
r u sure u r connecting to a 1.0.0 server not 1.8 most server r still 1.8!
0

#15 User is offline

  • Group: Members
  • Posts: 1458
  • Joined: 20-August 11

Posted 20 November 2011 - 10:04 AM

Great fix!
Turning Tables...                                                
It's time to say goodbye...    ...to turning tables.
0

#16 User is offline

  • Group: Members
  • Posts: 199
  • Joined: 24-March 11
  • Location: Denpasar, Bali ,Indonesia
  • Minecraft: MadeOke

Posted 20 November 2011 - 12:24 PM

Cool i love you <3
0

#17 User is offline

  • Group: Members
  • Posts: 10
  • Joined: 19-November 11

Posted 20 November 2011 - 12:35 PM

can someone tell me step by step instructions on how to do this.
0

#18 User is offline

  • Group: Members
  • Posts: 10
  • Joined: 19-November 11

Posted 20 November 2011 - 12:41 PM

someone plz help me
0

#19 User is offline

  • Group: Members
  • Posts: 127
  • Joined: 25-July 11
  • Location: belfast ireland
  • Minecraft: sliverhunter10

Posted 20 November 2011 - 12:44 PM

brillant i love this
Posted Image
0

#20 User is offline

  • Group: Members
  • Posts: 10
  • Joined: 19-November 11

Posted 20 November 2011 - 12:49 PM

View Postspikering, on 20 November 2011 - 12:44 PM, said:

brillant i love this

what d u do to get it working-step by step intructions plz
0

Share this topic:


  • 11 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users