4** Loading cache online? (bull...)
i'm looking though my 455 to 458 deobs and it's still saying it loads offline but maby the better people can work somthign out from this (This is the 458):
Code:
public void method561(int i, int i_0_, String string, int i_1_) {
if ((i_1_ ^ 0xffffffff) > -33 || (i_1_ ^ 0xffffffff) < -35)
i_1_ = 32;
if (i_0_ < 17)
method563(54, 11);
String[] strings = { "c:/rscache/", "/rscache/", "c:/windows/",
"c:/winnt/", "c:/", "/tmp/", aString1506, "" };
String[] strings_2_
= { ".jagex_cache_" + i_1_, ".file_store_" + i_1_ };
boolean bool = false;
for (int i_3_ = 0; (i_3_ ^ 0xffffffff) > -3; i_3_++) {
for (int i_4_ = 0;
(strings_2_.length ^ 0xffffffff) < (i_4_ ^ 0xffffffff);
i_4_++) {
for (int i_5_ = 0; strings.length > i_5_; i_5_++) {
try {
String string_6_ = strings[i_5_];
if ((string_6_.length() ^ 0xffffffff) < -1
&& !new File(string_6_).exists())
continue;
File file = new File(string_6_ + strings_2_[i_4_]);
if ((i_3_ ^ 0xffffffff) == -2 && !file.exists()) {
boolean bool_7_ = file.mkdir();
if (!bool_7_)
continue;
}
if (!bool) {
try {
File file_8_ = new File(file, "uid.dat");
if (i_3_ == 1 && (!file_8_.exists()
|| file_8_.length() < 4L)) {
int i_9_ = -1;
Random random = new Random();
for (/**/; i_9_ == -1;
i_9_ = random.nextInt()) {
/* empty */
}
DataOutputStream dataoutputstream
= (new DataOutputStream
(new FileOutputStream(file_8_)));
dataoutputstream.writeInt(i_9_);
dataoutputstream.close();
}
if (file_8_.exists()) {
DataInputStream datainputstream
= (new DataInputStream
(new FileInputStream(file_8_)));
bool = true;
anInt1512 = datainputstream.readInt() + 1;
datainputstream.close();
}
} catch (Exception exception) {
/* empty */
}
}
if (aFile1511 == null) {
try {
file = new File(file, string);
if (i_3_ == 1 && !file.exists()) {
boolean bool_10_ = file.mkdir();
if (!bool_10_)
continue;
}
File file_11_
= new File(file, "main_file_cache.dat2");
if ((i_3_ ^ 0xffffffff) == -1
&& !file_11_.exists())
continue;
aClass7_1515
= new Class7(file_11_, "rw", 52428800L);
aClass7Array1519 = new Class7[i];
for (int i_12_ = 0;
(i_12_ ^ 0xffffffff) > (i ^ 0xffffffff);
i_12_++)
aClass7Array1519[i_12_]
= (new Class7
(new File(file,
("main_file_cache.idx"
+ i_12_)),
"rw", 1048576L));
aClass7_1503
= (new Class7
(new File(file,
"main_file_cache.idx255"),
"rw", 1048576L));
aFile1516 = aFile1511 = file;
} catch (Exception exception) {
try {
aClass7_1515.method137(-1);
for (int i_13_ = 0; i_13_ < i; i_13_++)
aClass7Array1519[i_13_].method137(-1);
aClass7_1503.method137(-1);
} catch (Exception exception_14_) {
/* empty */
}
aClass7Array1519 = null;
aClass7_1515 = aClass7_1503 = null;
aFile1516 = aFile1511 = null;
}
}
} catch (Exception exception) {
/* empty */
}
if (bool && aFile1511 != null)
return;
}
}
}
if (aFile1511 == null)
throw new RuntimeException();
}