The Problem
There has been a known issue with 1.3.1 and 1.3.2 when connecting to MP servers. That also includes getting the pings for servers, which could take minutes just for them all to get connection.
When a server was trying to be logged into, the user may have to wait up to 15-30 seconds while the game client was frozen for them to be let in.
The Explanation
The explanation for this was because of minecraft trying to use java files that may not be in every "active" version of java. Without checking if the class existed in their version of java, minecraft attempted to get attributes of the class. Java's reaction was to wait for it's time out of around 15-30 seconds until throwing an error, which minecraft recognized and dealt with properly.
The Solution
The solution was pretty simple, knowing the problem. Check if the class files exist before attempting anything else. I guess you could consider it a "null check" (the concept, not the actuality). With this change, I use the Class#forName to check if it exists, in which it will throw an error if it doesn't. If caught, the error will let the method know that the class doesn't exist and not to try anything else.
Below is a file to replace in minecraft.jar. This will require the deletion of the META-INF from the jar. If you need further instructions on how to place the file in, look up a tutorial on how to install mods.
A) Take these steps in order:
1. Download the class file for the corresponding version of minecraft.
2. Open the Minecraft.jar in an archiving program (WinRAR, WinZip, 7Zip, etc.)
3. Delete the META-INF folder (this is crucial, if this isn't done Minecraft will crash on start-up)
4. Drag the class file into the archive, if prompted for permission to override, click yes.
5. Start up Minecraft.
Thanks, glad it helped you. 61 downloads, 250 views and 1 comment, man. It's either lots of leachers or it just didn't help people. I guess it doesn't matter too much thought, glad it helped someone.
Ever since 1.3.1 when trying to join servers with the default port (:25565) it would freeze for half a minute then connect to the server, but this has fixed it, it doesn't freeze anymore!
Thanks Heaps!
Im newbie, i understood that i should paste this in minecraft.jar, i did this and nothing happened. Im joining server im not host, should host do this or people that r joining? Thanks for help.
Wow. I play minecraft everyday for hours, and I've had this problem for a month two now. I never realized how easy it was to fix this. Thanks a lot for you help!
Wow, I've been playing minecraft with this annoyance since 1.3. Finally, in 1.4.2, I decided to search the web and found this fix. Worked for me! thank you !!
I wish I could say it helped me. When I put the axf.class inside the minecraft.jar (the one in .minecraft/bin) I get Security Exception error and it crashes when I try joining a server.
For all those that it isn't working for, make sure you're deleting the META-INF or minecraft WILL crash on you. Also, make sure you're using the right version of the fix for the right version of minecraft. Aside from that, I don't know why it wouldn't work.
Thank you so much this had been happening to me for ages and i could not find an answer on how to fix it. Then i found a link to this page and bam problem fixed. Thanks again!!!!
There has been a known issue with 1.3.1 and 1.3.2 when connecting to MP servers. That also includes getting the pings for servers, which could take minutes just for them all to get connection.
When a server was trying to be logged into, the user may have to wait up to 15-30 seconds while the game client was frozen for them to be let in.
The Explanation
The explanation for this was because of minecraft trying to use java files that may not be in every "active" version of java. Without checking if the class existed in their version of java, minecraft attempted to get attributes of the class. Java's reaction was to wait for it's time out of around 15-30 seconds until throwing an error, which minecraft recognized and dealt with properly.
The Solution
The solution was pretty simple, knowing the problem. Check if the class files exist before attempting anything else. I guess you could consider it a "null check" (the concept, not the actuality). With this change, I use the Class#forName to check if it exists, in which it will throw an error if it doesn't. If caught, the error will let the method know that the class doesn't exist and not to try anything else.
Below is a file to replace in minecraft.jar. This will require the deletion of the META-INF from the jar. If you need further instructions on how to place the file in, look up a tutorial on how to install mods.
The files:
1.3.2: http://www.mediafire...46hh70uhe0wl4a7
1.4.2: http://www.mediafire...snxpfsasvpphsca
1.4.4 / 1.4.5: http://www.mediafire...naqw90ae6xg4bay
1.4.6 / 1.4.7: http://www.mediafire...cvhhu2394uuhn86
1.5: http://www.mediafire...rdgjkgckym6hufm
1.5.1: http://www.mediafire...k7g22b0dks0y9et
1.5.2: http://www.mediafire...vj770g44vl6yvng
1.6.2: http://www.mediafire...r4qwmx1zxwacke4
1.6.4: http://www.mediafire.com/?d7kzdjmxwjsfrek
The source (MCP): http://www.mediafire.com/?n9ocqp42ju5xf4o
I hope this helps.
Everyone else who this helps, please post here. This is literally the only post that I've found that fixes this.
Thanks Heaps!
Hopefully your remedy is the cure - Will try this when I get my server fully operational on 1.4.2 CB; starting up MC again.
This was a persistant bug prior. I'm glad it's squashed.
but please can you put the link for 1.3.2 ?
thank you <3
The pigs fear when they hear my name.... MDLUKAS THE ARGENTINIAN MINER.....
dun dun dun...
-- Pr3xt3roy [ Survival, Claim Land, Build, Make friends. 100% Anti-Grief! ]
"Love as a principle and order as the basis; progress as the goal"