I couldn't tell if this was a client or sever problem, its a cache problem anyway..
Alright so I just changed my CacheDownloader.java file and my public static String findcachedir() {
The problem is, the cache does download in the right spot, BUT it downloads the .zip file within the cache, which is just a waste. What I am talking about is shown below:
This is my public static String findcachedir() {
Code:
public static String findcachedir() {
String as[] = {System.getProperty("user.home")+System.getProperty("file.separator")};
String s = ".demoniclCache";
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 + System.getProperty("file.separator");
}
catch(Exception _ex) { }
return null;
}
and this is my CacheDownloader.Java
http://pastebin.com/raw.php?i=XJ1pTKGC
I would like it to not download the cache.zip file within the cache like that, please help, thank you!