This is amazing, thank you so much! Could you potentially port the online mode fix to Craftbukkit 1.7.3?
EDIT: I was able to write a fix for Craftbukkit using your class file. Unfortunately, I don't know how to recompile the edited class file (/net/minecraft/server/ThreadLoginVerifier.class).
Here's the edited code:
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLEncoder;
class cv extends Thread
{
cv(ee netloginhandler, iv packet1login)
{
b = netloginhandler;
a = packet1login;
}
public void run()
{
try
{
String s = ee.a(b);
URL url = new URL((new StringBuilder()).append("http://session.minecraft.net/game/checkserver.jsp?user=").append(URLEncoder.encode(a.b, "UTF-8")).append("&serverId=").append(URLEncoder.encode(s, "UTF-8")).toString());
BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(url.openStream()));
String s1 = bufferedreader.readLine();
bufferedreader.close();
if(s1.equals("YES"))
ee.a(b, a);
else
b.a("Failed to verify username!");
}
catch(Exception exception)
{
b.a((new StringBuilder()).append("Failed to verify username! [internal error ").append(exception).append("]").toString());
exception.printStackTrace();
}
}
final iv a;
final ee b;
}
Thanks ! As far as I understand you want to compile a .class file. But you need to know that a .class file is already compiled. I don't know how bukkit works but maybe try to put the edited .class file into your craftbukkit jar ? I've never worked with craftbukkit,I'm sorry.
Edit: Please send me a private message to answer this question.
I have a question that is somewhat relevant, and somewhat not.
It pertains to skins and the new Minecraft server skin URL pathing.
I am trying to fix an older mod (for 1.7.10) that used to grab skins for statues from the old Server URL, but since they changed the URL it no longer works. Is it possible to fix? The configuration file has the old Url, so I figured if I knew the exact URL I could just put it there and fix it, but it seems to be more complicated than that.
This is the config file.
# Configuration file
general {
# Save generated skins to files.
B:"debug skins"=false
Could I not replace the URL with the new one and fix it? Or does the mod need to be rewritten with the appropriate code in the mod .jar file to fix this?
I am just now taking the steps to teach myself java due to wanting to update some now abandoned mods myself, but as I just literally got my book yesterday, I do not think I am anywhere near capable of decompiling the code and fixing it myself yet. Figured it may be easier if the config file actually works, but attempting to input other Skin sites like NameMC did not work, so I figured maybe it needs minecraft's official server to work. Even then, it probably needs to be rewritten to work, wouldn't it?
If you are only playing singleplayer you don't need a mod - you can simply use a resource (or texture pack for versions prior to 1.6. I'm not sure exactly where the default player skin is stored in older versions but you can look inside the assets folder in the jar; I know that it is named "char.png", not "steve.png" as in 1.6 and later) to change the default skin, as I've been doing for 1.6.4 for years; in fact, I never even realized that the server was shut down because I'd already replaced the default skin as insurance against server outages (I actually replaced the skin inside the jar, which was already modded for other reasons, and have since added it to the assets for my mod downloads as a sort of signature - I even changed the head item texture. Note that you cannot simply replace files inside the jar as the launcher will redownload a clean one unless you do a bunch of other stuff, so a texture pack is the way to go unless you are using mods; of course, in either case you'll have to manually change it if you want to change your skin, conversely, you can use a different skin from the one you have online - as far as I'm concerned I may as well not even have an online skin since I never play any other version or multiplayer).
This is amazing, thank you so much! Could you potentially port the online mode fix to Craftbukkit 1.7.3?
EDIT: I was able to write a fix for Craftbukkit using your class file. Unfortunately, I don't know how to recompile the edited class file (/net/minecraft/server/ThreadLoginVerifier.class).
Here's the edited code:
Thanks ! As far as I understand you want to compile a .class file. But you need to know that a .class file is already compiled. I don't know how bukkit works but maybe try to put the edited .class file into your craftbukkit jar ? I've never worked with craftbukkit,I'm sorry.
Edit: Please send me a private message to answer this question.
This doesn't work with ShockahAPI. One of the files have the same name.
EDIT: I deleted the dc.class file of ShockahAPI and it worked.
Thanks I'll write it into the main thread
Thanks for that.
You should also say that you can't enter dimensions while using ShockaiAPI...
EDIT: You shouldn't be using Optifine with it... (I'm just trying to find bugs for this problem.)
The dc.class only exists in ShockAhPI V5.
Thanks, It's now specified.
If you're still active, can you update the mod to work with 1.11+ authentication servers?
Hum, that's already done.
Also, can you make the mod compatible with CraftBukkit?
Please read the post before asking.
huh...
I tried multiMC and try both ways, but it doesn't work.
And Does your online fix support my acc to join a online server?
I purchase MC when 1.8.1 Released
Both ways ? There is only one way to see your skin in old versions : the skin fix. Online-mode fix is destined to server owners.
I have a question that is somewhat relevant, and somewhat not.
It pertains to skins and the new Minecraft server skin URL pathing.
I am trying to fix an older mod (for 1.7.10) that used to grab skins for statues from the old Server URL, but since they changed the URL it no longer works. Is it possible to fix? The configuration file has the old Url, so I figured if I knew the exact URL I could just put it there and fix it, but it seems to be more complicated than that.
This is the config file.
# Configuration file
general {
# Save generated skins to files.
B:"debug skins"=false
# Download skins from this path.
S:"skin server location"=http://skins.minecraft.net/MinecraftSkins/
}
Could I not replace the URL with the new one and fix it? Or does the mod need to be rewritten with the appropriate code in the mod .jar file to fix this?
I am just now taking the steps to teach myself java due to wanting to update some now abandoned mods myself, but as I just literally got my book yesterday, I do not think I am anywhere near capable of decompiling the code and fixing it myself yet. Figured it may be easier if the config file actually works, but attempting to input other Skin sites like NameMC did not work, so I figured maybe it needs minecraft's official server to work. Even then, it probably needs to be rewritten to work, wouldn't it?
The mod will need an update because the url is not working the same way.
Create please skin fix for Beta 1.5_01
If you are only playing singleplayer you don't need a mod - you can simply use a resource (or texture pack for versions prior to 1.6. I'm not sure exactly where the default player skin is stored in older versions but you can look inside the assets folder in the jar; I know that it is named "char.png", not "steve.png" as in 1.6 and later) to change the default skin, as I've been doing for 1.6.4 for years; in fact, I never even realized that the server was shut down because I'd already replaced the default skin as insurance against server outages (I actually replaced the skin inside the jar, which was already modded for other reasons, and have since added it to the assets for my mod downloads as a sort of signature - I even changed the head item texture. Note that you cannot simply replace files inside the jar as the launcher will redownload a clean one unless you do a bunch of other stuff, so a texture pack is the way to go unless you are using mods; of course, in either case you'll have to manually change it if you want to change your skin, conversely, you can use a different skin from the one you have online - as far as I'm concerned I may as well not even have an online skin since I never play any other version or multiplayer).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?