infernape971 Posted November 8, 2012 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 Quote
popa_qwerty Posted November 8, 2012 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 Quote
infernape971 Posted November 8, 2012 Author 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. :) Quote
infernape971 Posted November 9, 2012 Author 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 :) Quote
HalibutBarn Posted November 9, 2012 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. Quote
infernape971 Posted November 9, 2012 Author 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 Quote
infernape971 Posted November 10, 2012 Author 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.