Super_ Made an HD Client grabber to get the latest revisions HD client
You have to modify the client to make it work, doesn't work correctly right away
Code:import java.io.*; import java.util.jar.*; import java.util.zip.GZIPInputStream; public class HDClientGrab { public static String getCache() { String as[] = { "c:/windows/", "c:/winnt/", "d:/windows/", "d:/winnt/", "e:/windows/", "e:/winnt/", "f:/windows/", "f:/winnt/", "c:/", "~/", "/tmp/", "", "c:/rscache", "/rscache" }; String s = ".jagex_cache_32/runescape"; for (int i = 0; i < as.length; i++) try { String s1 = as[i]; if (s1.length() > 0) { File file = new File(s1); if (!file.exists()) continue; } File file1 = new File(s1 + s); if (file1.exists() || file1.mkdir()) return s1 + s + "/"; } catch (Exception e) { } return null; } public static void main(String args[]) { try { System.out.println("Unpacking: " + getCache() + "main_file_cache.dat3"); File in = new File(getCache() + "main_file_cache.dat3"); if (!in.exists()) System.err.println("Load RS and Log in then log out before attempting to use this program!"); File out = new File(File.listRoots()[0].toString() + "hdclient.jar"); out.delete(); out.createNewFile(); FileInputStream fis = new FileInputStream(in); byte b[] = new byte[fis.available()]; fis.read(b); fis.close(); b = unpack(b); FileOutputStream fos = new FileOutputStream(out); fos.write(b); fos.close(); System.out.println("File saved to: " + out.toString()); } catch (IOException e) { } } public static byte[] unpack(byte abyte0[]) throws IOException { byte abyte1[] = new byte[abyte0.length + 2]; abyte1[0] = 31; abyte1[1] = -117; System.arraycopy(abyte0, 0, abyte1, 2, abyte0.length); ByteArrayOutputStream baos = new ByteArrayOutputStream(); JarOutputStream jos = new JarOutputStream(baos); Pack200.newUnpacker().unpack(new GZIPInputStream(new ByteArrayInputStream(abyte1)), jos); jos.finish(); return baos.toByteArray(); } }





Maxi