
Originally Posted by
Damien
Code:
public static final String cachedir() {
String s;
String s1;
File file;
s = "C:/Runezonecache/";
s1 = "";
file = new File((new StringBuilder()).append(s1).append(s).toString());
if (file.exists() || file.mkdir()) {
return (new StringBuilder()).append(s1).append(s).append("/").toString();
}
return null;
}
this is from client.java
Code:
public void loadCache()
{
checkMainFiles();
checkSprites();
try
{
Thread.sleep(1500);
}
catch(Exception _ex)
{
}
}
My cache downloads there perfect and loads up client then but if you close the client and reload it. It will redownload cache again...
Can anyone please help me?
Code:
File f = new File("C:/Runezonecache/main_file_cache.idx1");
if(!f.exists())
downloadcachemethod();
not going to tell you where to add.