Package org.rsbot.loader.script

Examples of org.rsbot.loader.script.ParseException


        log.info("Downloading new game client");
        script = new ModScript(HttpClient.downloadBinary(new URL(Configuration.Paths.URLs.CLIENTPATCH)));
      }
      version[0] = script.getVersion();
      if (version[2] > version[0]) {
        throw new ParseException("Patch outdated (" + version[2] + " > " + version[0] + ")");
      }
      final JarFile loader = getJar(true), client = getJar(false);
      final List<String> replace = Arrays.asList(script.getAttribute("replace").split(" "));

      for (final JarFile jar : new JarFile[]{loader, client}) {
View Full Code Here

TOP

Related Classes of org.rsbot.loader.script.ParseException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.