ye sure where does the auto cache downloader store the cache ? does it fetch it from your machine or online, and if so where does it store and load it (are the paths relative to your folders ?)
ye sure where does the auto cache downloader store the cache ? does it fetch it from your machine or online, and if so where does it store and load it (are the paths relative to your folders ?)
It stores it in C drive, and it fetches it online from a mediafire link. How do I check where it loads it from?
Originally Posted by Fire Cape
ye sure where does the auto cache downloader store the cache ? does it fetch it from your machine or online, and if so where does it store and load it (are the paths relative to your folders ?)
/*
* Only things you need to change
*
*/
private final int VERSION = 1; // Version of cache
private String cacheLink = "https://download1522.mediafire.com/pxtauo2vl8rg/cscix6xha7tg2mr/Cache.zip"; // Link to cache
Delete your own cache and test the downloader to see why it's failing. But as classic said, you need a download link, not a file link.
Not sure if this is possible with media fire, but you can use dropbox.
Free map releases: [Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
public static final int clientversion = 317;
public static int uid;
public static int storeid = 32;
public static RandomAccessFile cache_dat = null;
public static final RandomAccessFile[] cache_idx = new RandomAccessFile[5];
public static boolean sunjava;
public static Applet mainapp = null;
private static boolean active;
private static int threadliveid;
private static InetAddress socketip;
private static int socketreq;
private static Socket socket = null;
private static int threadreqpri = 1;
private static Runnable threadreq = null;
private static String dnsreq = null;
public static String dns = null;
private static String urlreq = null;
private static DataInputStream urlstream = null;
private static int savelen;
private static String savereq = null;
private static byte[] savebuf = null;
private static boolean midiplay;
private static int midipos;
public static String midi = null;
public static int midivol;
public static int midifade;
private static boolean waveplay;
private static int wavepos;
public static int wavevol;
public static boolean reporterror = true;
public static String errorname = "";
}
I identified the problem but I dont know how to fix it. So there is something wrong with the auto cache downloader, for some reason it doesnt unpack the cache in the C: folder. When I instead sent the cache to my friend and unpacked it in a map in the c: folder and they tried running the JAR file they could connect without any problems. Before when the cache wasnt manually downloaded they get the error message "requesting title screen" because the cache wasn't being downloaded/unpacked. That link is a direct link though because it does automatically download whenever I open it.
Whenever I open the link it automatically downloads though.
I identified the problem but I dont know how to fix it. So there is something wrong with the auto cache downloader, for some reason it doesnt unpack the cache in the C: folder. When I instead sent the cache to my friend and unpacked it in a map in the c: folder and they tried running the JAR file they could connect without any problems. Before when the cache wasnt manually downloaded they get the error message "requesting title screen" because the cache wasn't being downloaded/unpacked. That link is a direct link though because it does automatically download whenever I open it.
It actually just take you to a page where you can click 'download file', which is not a direct download link.
A direct download link would be something like [Only registered and activated users can see links. ]
"A fail act is something you do regular, but a dumb act is something you can learn from"
It actually just take you to a page where you can click 'download file', which is not a direct download link.
A direct download link would be something like [Only registered and activated users can see links. ]
It actually just take you to a page where you can click 'download file', which is not a direct download link.
A direct download link would be something like [Only registered and activated users can see links. ]
From experience, mediafire URLs "expire" after 24 hours.
The link above is no longer valid and the client will no longer download the cache afaik.