Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...