infernape971 Posted November 8, 2012 Share Posted November 8, 2012 So, I have been messing around with the Launcher source and have come across a problem. I want to change the mirror URLs for the downloads of mirrors.yml, minecraft.yml etc. But the launcher gives me this error when I run it: http://pastebin.com/v4x8XaS3 Any help is appreciated. :D Link to comment Share on other sites More sharing options...
popa_qwerty Posted November 8, 2012 Share Posted November 8, 2012 Take this with a grain of salt because I am not a programer but after a quick glance i see a lot of MD5 Mismatch which is set to null in stead of the MD5 that the files would generate. and the has a Yaml File has error's badly formed mapping values are not allowed here in "<reader>", line 11, column 75: ... tion.protocol) ? "https://ssl." : "http://www."); this may help to ^ just to reiterate I am not a programer so all info may be wrong Link to comment Share on other sites More sharing options...
infernape971 Posted November 8, 2012 Author Share Posted November 8, 2012 Thanks for trying to help, I may wait for some more opinions on the situation before I attempt to change anything. :) Link to comment Share on other sites More sharing options...
infernape971 Posted November 9, 2012 Author Share Posted November 9, 2012 So, I fixed the MD5 mismatches and now the launcher gets stuck on the splash screen. In the log, I get this: http://pastebin.com/quJuq6rk Once again, all help is appreciated :) Link to comment Share on other sites More sharing options...
HalibutBarn Posted November 9, 2012 Share Posted November 9, 2012 You didn't put load balancing numbers in the mirrors.yml file, so it looks like it's returning null when it tries to get the value and blowing up on that. Link to comment Share on other sites More sharing options...
infernape971 Posted November 9, 2012 Author Share Posted November 9, 2012 Alright, now I get this: http://pastebin.com/geKA5EUn Sorry for being a noob(and/or annoying), im learning The code at line 186 of ModPackListYML is: for (String modPack : modpackMap.keySet()) { if that helps Edit: I really appreciate the help so far guys I may actually be able to pull this off with your help :D Link to comment Share on other sites More sharing options...
infernape971 Posted November 10, 2012 Author Share Posted November 10, 2012 OK, so I need to find out which part of this code could be returning null, and how to stop it from doing so: public static void getAllModPackResources() { if (Main.isOffline) return; Map<String, String> fileMap = new HashMap<String, String>(); for (String modPack : modpackMap.keySet()) { File modPackDir = new File(GameUpdater.workDir, modPack); modPackDir.mkdirs(); fileMap.putAll(getModPackResources(modPack, modPackDir)); } downloadAllFiles(fileMap); } I believe this is causing my error. All help appreciated :D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now