The deob what i use originally is loading 377 maps, but when i pack the real 317 maps there, the loading gets stuck at: "Loading maps - 66%" Anyone know what may causes this?
Packing map methods:
Code:
public void maps() {
for(int ModelIndex = 0; ModelIndex < 70000; ModelIndex++) {
byte[] abyte0 = getMap(ModelIndex);
if(abyte0 != null && abyte0.length > 0) {
decompressors[4].method234(abyte0.length, abyte0, ModelIndex);
pushMessage("Model added successfully!", 0, "");
}
}
}
public byte[] getMap(int Index) {
try {
File Map = new File(signlink.findcachedir() +"/Maps/"+Index+".gz");
byte[] aByte = new byte[(int)Map.length()];
FileInputStream Fis = new FileInputStream(Map);
Fis.read(aByte);
pushMessage("aByte = ["+aByte+"]!", 0, "");
Fis.close();
return aByte;
} catch(Exception e) {
return null;
}
}