Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Class7 class7 = new Class7(aByteArrayArrayArray1258, -60, 104,
- 104, anIntArrayArrayArray1214);
- int k2 = aByteArrayArray1183.length;
- aClass30_Sub2_Sub2_1192.method397((byte)6, 0);
- if(!aBoolean1159)
- {
- for(int i3 = 0; i3 < k2; i3++)
- {
- int i4 = (anIntArray1234[i3] >> 8) * 64 - anInt1034;
- int k5 = (anIntArray1234[i3] & 0xff) * 64 - anInt1035;
- byte abyte0[] = aByteArrayArray1183[i3];
- if(abyte0 != null)
- class7.method180(abyte0, k5, i4, (anInt1069 - 6) * 8,
- (anInt1070 - 6) * 8, (byte)4, aClass11Array1230);
- }
- for(int j4 = 0; j4 < k2; j4++)
- {
- int l5 = (anIntArray1234[j4] >> 8) * 64 - anInt1034;
- int k7 = (anIntArray1234[j4] & 0xff) * 64 - anInt1035;
- byte abyte2[] = aByteArrayArray1183[j4];
- if(abyte2 == null && anInt1070 < 800)
- class7.method174(k7, 64, 0, 64, l5);
- }
- anInt1097++;
- if(anInt1097 > 160)
- {
- anInt1097 = 0;
- aClass30_Sub2_Sub2_1192.method397((byte)6, 238);
- aClass30_Sub2_Sub2_1192.method398(96);
- }
- aClass30_Sub2_Sub2_1192.method397((byte)6, 0);
- for(int i6 = 0; i6 < k2; i6++)
- {
- byte abyte1[] = aByteArrayArray1247[i6];
- if(abyte1 != null)
- {
- int l8 = (anIntArray1234[i6] >> 8) * 64 - anInt1034;
- int k9 = (anIntArray1234[i6] & 0xff) * 64 - anInt1035;
- class7.method190(l8, aClass11Array1230, k9, 7,
- aClass25_946, abyte1);
- }
- }
- }
- if(aBoolean1159)
- {
- for(int j3 = 0; j3 < 4; j3++)
- {
- for(int k4 = 0; k4 < 13; k4++)
- {
- for(int j6 = 0; j6 < 13; j6++)
- {
- int l7 = anIntArrayArrayArray1129[j3][k4][j6];
- if(l7 != -1)
- {
- int i9 = l7 >> 24 & 3;
- int l9 = l7 >> 1 & 3;
- int j10 = l7 >> 14 & 0x3ff;
- int l10 = l7 >> 3 & 0x7ff;
- int j11 = (j10 / 8 << 8) + l10 / 8;
- for(int l11 = 0; l11 < anIntArray1234.length;
- l11++)
- {
- if(anIntArray1234[l11] != j11 ||
- aByteArrayArray1183[l11] == null)
- continue;
- class7.method179(i9, l9,
- aClass11Array1230, 9, k4 * 8, (j10 & 7) * 8, aByteArrayArray1183[l11], (l10 &
- 7) * 8, j3, j6 * 8);
- break;
- }
- }
- }
- }
- }
- for(int l4 = 0; l4 < 13; l4++)
- {
- for(int k6 = 0; k6 < 13; k6++)
- {
- int i8 = anIntArrayArrayArray1129[0][l4][k6];
- if(i8 == -1)
- class7.method174(k6 * 8, 8, 0, 8, l4 * 8);
- }
- }
- aClass30_Sub2_Sub2_1192.method397((byte)6, 0);
- for(int l6 = 0; l6 < 4; l6++)
- {
- for(int j8 = 0; j8 < 13; j8++)
- {
- for(int j9 = 0; j9 < 13; j9++)
- {
- int i10 = anIntArrayArrayArray1129[l6][j8][j9];
- if(i10 != -1)
- {
- int k10 = i10 >> 24 & 3;
- int i11 = i10 >> 1 & 3;
- int k11 = i10 >> 14 & 0x3ff;
- int i12 = i10 >> 3 & 0x7ff;
- int j12 = (k11 / 8 << 8) + i12 / 8;
- for(int k12 = 0; k12 < anIntArray1234.length;
- k12++)
- {
- if(anIntArray1234[k12] != j12 ||
- aByteArrayArray1247[k12] == null)
- continue;
- class7.method183(aClass11Array1230,
- aClass25_946, k10, j8 * 8, (i12 & 7) * 8, true, l6, aByteArrayArray1247[k12],
- (k11 & 7) * 8, i11, j9 * 8);
- break;
- }
- }
- }
- }
- }
- }
- aClass30_Sub2_Sub2_1192.method397((byte)6, 0);
- class7.method171(aClass11Array1230, aClass25_946, 2);
- aClass15_1165.method237(0);
- aClass30_Sub2_Sub2_1192.method397((byte)6, 0);
- int k3 = Class7.anInt145;
- if(k3 > anInt918)
- k3 = anInt918;
- if(k3 < anInt918 - 1)
- k3 = anInt918 - 1;
- if(aBoolean960)
- aClass25_946.method275(Class7.anInt145, -34686);
- else
- aClass25_946.method275(0, -34686);
- for(int i5 = 0; i5 < 104; i5++)
- {
- for(int i7 = 0; i7 < 104; i7++)
- method25(i5, i7);
- }
- anInt1051++;
- if(anInt1051 > 98)
- {
- anInt1051 = 0;
- aClass30_Sub2_Sub2_1192.method397((byte)6, 150);
- }
- method63(-919);
- }
- catch(Exception exception) { }
- Class46.aClass12_785.method224();
- aBoolean1157 &= flag;
- if(super.aFrame_Sub1_15 != null)
- {
- aClass30_Sub2_Sub2_1192.method397((byte)6, 210);
- aClass30_Sub2_Sub2_1192.method402(0x3f008edd);
- }
- if(aBoolean960 && signlink.cache_dat != null)
- {
- int j = aClass42_Sub1_1068.method555(79, 0);
- for(int i1 = 0; i1 < j; i1++)
- {
- int l1 = aClass42_Sub1_1068.method559(i1, -203);
- if((l1 & 0x79) == 0)
- Class30_Sub2_Sub4_Sub6.method461(116, i1);
- }
- }
- System.gc();
- Class30_Sub2_Sub1_Sub3.method367(20, true);
- aClass42_Sub1_1068.method566(0);
- int k = (anInt1069 - 6) / 8 - 1;
- int j1 = (anInt1069 + 6) / 8 + 1;
- int i2 = (anInt1070 - 6) / 8 - 1;
- int l2 = (anInt1070 + 6) / 8 + 1;
- if(aBoolean1141)
- {
- k = 49;
- j1 = 50;
- i2 = 49;
- l2 = 50;
- }
- for(int l3 = k; l3 <= j1; l3++)
- {
- for(int j5 = i2; j5 <= l2; j5++)
- if(l3 == k || l3 == j1 || j5 == i2 || j5 == l2)
- {
- int j7 = aClass42_Sub1_1068.method562(0, 0, j5, l3);
- if(j7 != -1)
- aClass42_Sub1_1068.method560(j7, 3, false);
- int k8 = aClass42_Sub1_1068.method562(1, 0, j5, l3);
- if(k8 != -1)
- aClass42_Sub1_1068.method560(k8, 3, false);
- }
- }
- }
- ///
- public static final void method52(boolean flag)
- {
- Class25.aBoolean436 = false;
- Class30_Sub2_Sub1_Sub3.aBoolean1461 = false;
- aBoolean960 = false;
- Class7.aBoolean151 = false;
- if(flag)
- aBoolean919 = !aBoolean919;
- Class46.aBoolean752 = false;
- }
- ///
- public final void method53(int i)
- {
- if(i != -48877)
- return;
- if(aBoolean960 && anInt1023 == 2 && Class7.anInt131 != anInt918)
- {
- aClass15_1165.method237(0);
- aClass30_Sub2_Sub1_Sub4_1271.method381(0, "Loading - please
- wait.", 23693, 151, 257);
- aClass30_Sub2_Sub1_Sub4_1271.method381(0xffffff, "Loading - please
- wait.", 23693, 150, 256);
- aClass15_1165.method238(4, 23680, super.aGraphics12, 4);
- anInt1023 = 1;
- aLong824 = System.currentTimeMillis();
- }
- if(anInt1023 == 1)
- {
- int j = method54((byte)-95);
- if(j != 0 && System.currentTimeMillis() - aLong824 > 0x57e40L)
- {
- signlink.reporterror(aString1173 + " glcfb " + aLong1215 + ","
- + j + "," + aBoolean960 + "," + aClass14Array970[0] + "," +
- aClass42_Sub1_1068.method552() + "," + anInt918 + "," + anInt1069 + "," +
- anInt1070);
- aLong824 = System.currentTimeMillis();
- }
- }
- if(anInt1023 == 2 && anInt918 != anInt985)
- {
- anInt985 = anInt918;
- method24(true, anInt918);
- }
- }
- ///
- public final int method54(byte byte0)
- {
- for(int i = 0; i < aByteArrayArray1183.length; i++)
- {
- if(aByteArrayArray1183[i] == null && anIntArray1235[i] != -1)
- return -1;
- if(aByteArrayArray1247[i] == null && anIntArray1236[i] != -1)
- return -2;
- }
- boolean flag = true;
- if(byte0 != -95)
- return 0;
- for(int j = 0; j < aByteArrayArray1183.length; j++)
- {
- byte abyte0[] = aByteArrayArray1247[j];
- if(abyte0 != null)
- {
- int k = (anIntArray1234[j] >> 8) * 64 - anInt1034;
- int l = (anIntArray1234[j] & 0xff) * 64 - anInt1035;
- if(aBoolean1159)
- {
- k = 10;
- l = 10;
- }
- flag &= Class7.method189(k, abyte0, l, 6);
- }
- }
- if(!flag)
- return -3;
- if(aBoolean1080)
- {
- return -4;
- } else
- {
- anInt1023 = 2;
- Class7.anInt131 = anInt918;
- method22(true);
- aClass30_Sub2_Sub2_1192.method397((byte)6, 121);
- return 0;
- }
- }
- ///
- public final void method57(boolean flag)
- {
- if(flag)
- anInt883 = -72;
- do
- {
- Class30_Sub2_Sub3 class30_sub2_sub3;
- do
- {
- class30_sub2_sub3 = aClass42_Sub1_1068.method561();
- if(class30_sub2_sub3 == null)
- return;
- if(class30_sub2_sub3.anInt1419 == 0)
- {
- Class30_Sub2_Sub4_Sub6.method460
- (class30_sub2_sub3.aByteArray1420, -4036, class30_sub2_sub3.anInt1421);
- if((aClass42_Sub1_1068.method559
- (class30_sub2_sub3.anInt1421, -203) & 0x62) != 0)
- {
- aBoolean1153 = true;
- if(anInt1276 != -1)
- aBoolean1223 = true;
- }
- }
- if(class30_sub2_sub3.anInt1419 == 1 && class30_sub2_sub3.aByteArray1420 !=
- null)
- Class36.method529(class30_sub2_sub3.aByteArray1420, false); // loads
- the real file
- if (class30_sub2_sub3.anInt1421 == 1044/*one of the last
- files*/){
- byte abyte0[] = class30_sub2_sub3.aByteArray1420;
- //new
- abyte0 = FileOperations.ReadFile
- ("./cache/anim/Bandos.dat");
- Class36.method529(abyte0, false); // loads ur extra
- custom file
- abyte0 = FileOperations.ReadFile
- ("./cache/anim/armadyl.dat");
- Class36.method529(abyte0, false); // loads ur extra
- custom file
- abyte0 = FileOperations.ReadFile
- ("./cache/anim/saradomin.dat");
- Class36.method529(abyte0, false); // loads ur extra
- custom file
- abyte0 = FileOperations.ReadFile
- ("./cache/anim/zamorak.dat");
- Class36.method529(abyte0, false); // loads ur extra
- custom file
- }
- if(class30_sub2_sub3.anInt1419 == 2 &&
- class30_sub2_sub3.anInt1421 == anInt1227 && class30_sub2_sub3.aByteArray1420
- != null)
- method21(aBoolean1228, 0,
- class30_sub2_sub3.aByteArray1420);
- if(class30_sub2_sub3.anInt1419 == 3 && anInt1023 == 1)
- {
- for(int i = 0; i < aByteArrayArray1183.length; i++)
- {
- if(anIntArray1235[i] == class30_sub2_sub3.anInt1421)
- {
- aByteArrayArray1183[i] =
- class30_sub2_sub3.aByteArray1420;
- if(class30_sub2_sub3.aByteArray1420 == null)
- anIntArray1235[i] = -1;
- break;
- }
- if(anIntArray1236[i] != class30_sub2_sub3.anInt1421)
- continue;
- aByteArrayArray1247[i] =
- class30_sub2_sub3.aByteArray1420;
- if(class30_sub2_sub3.aByteArray1420 == null)
- anIntArray1236[i] = -1;
- break;
- }
- }
- } while(class30_sub2_sub3.anInt1419 != 93 || !
- aClass42_Sub1_1068.method564(class30_sub2_sub3.anInt1421, -520));
- Class7.method173((byte)-107, new Class30_Sub2_Sub2
- (class30_sub2_sub3.aByteArray1420, 891), aClass42_Sub1_1068);
- } while(true);
- }
- ///
- private final void method115(byte byte0)
- {
- if(byte0 == 8)
- byte0 = 0;
- else
- aClass30_Sub2_Sub2_1192.method398(101);
- if(anInt1023 == 2)
- {
- for(Class30_Sub1 class30_sub1 = (Class30_Sub1)
- aClass19_1179.method252(); class30_sub1 != null; class30_sub1 =
- (Class30_Sub1)aClass19_1179.method254(false))
- {
- if(class30_sub1.anInt1294 > 0)
- class30_sub1.anInt1294--;
- if(class30_sub1.anInt1294 == 0)
- {
- if(class30_sub1.anInt1299 < 0 || Class7.method178
- (class30_sub1.anInt1299, class30_sub1.anInt1301, 8))
- {
- method142(class30_sub1.anInt1298,
- class30_sub1.anInt1295, class30_sub1.anInt1300, class30_sub1.anInt1301,
- class30_sub1.anInt1297, class30_sub1.anInt1296, class30_sub1.anInt1299, 4);
- class30_sub1.method329();
- }
- } else
- {
- if(class30_sub1.anInt1302 > 0)
- class30_sub1.anInt1302--;
- if(class30_sub1.anInt1302 == 0 && class30_sub1.anInt1297
- >= 1 && class30_sub1.anInt1298 >= 1 && class30_sub1.anInt1297 <= 102 &&
- class30_sub1.anInt1298 <= 102 && (class30_sub1.anInt1291 < 0 ||
- Class7.method178(class30_sub1.anInt1291, class30_sub1.anInt1293, 8)))
- {
- method142(class30_sub1.anInt1298,
- class30_sub1.anInt1295, class30_sub1.anInt1292, class30_sub1.anInt1293,
- class30_sub1.anInt1297, class30_sub1.anInt1296, class30_sub1.anInt1291, 4);
- class30_sub1.anInt1302 = -1;
- if(class30_sub1.anInt1291 == class30_sub1.anInt1299 &&
- class30_sub1.anInt1299 == -1)
- class30_sub1.method329();
- else
- if(class30_sub1.anInt1291 == class30_sub1.anInt1299 &&
- class30_sub1.anInt1292 == class30_sub1.anInt1300 && class30_sub1.anInt1293 ==
- class30_sub1.anInt1301)
- class30_sub1.method329();
- }
- }
- }
- }
- }
- ///
- public static final void method138(byte byte0)
- {
- Class25.aBoolean436 = true;
- if(byte0 != aByte823)
- {
- for(int i = 1; i > 0; i++);
- }
- Class30_Sub2_Sub1_Sub3.aBoolean1461 = true;
- aBoolean960 = true;
- Class7.aBoolean151 = true;
- Class46.aBoolean752 = true;
- }
- ///
- private final void method142(int i, int j, int k, int l, int i1, int j1,
- int k1,
- int l1)
- {
- if(l1 < 4 || l1 > 4)
- anInt1008 = aClass30_Sub2_Sub2_1083.method408();
- if(i1 >= 1 && i >= 1 && i1 <= 102 && i <= 102)
- {
- if(aBoolean960 && j != anInt918)
- return;
- int i2 = 0;
- byte byte0 = -1;
- boolean flag = false;
- boolean flag1 = false;
- if(j1 == 0)
- i2 = aClass25_946.method300(j, i1, i);
- if(j1 == 1)
- i2 = aClass25_946.method301(j, i1, 0, i);
- if(j1 == 2)
- i2 = aClass25_946.method302(j, i1, i);
- if(j1 == 3)
- i2 = aClass25_946.method303(j, i1, i);
- if(i2 != 0)
- {
- int i3 = aClass25_946.method304(j, i1, i, i2);
- int j2 = i2 >> 14 & 0x7fff;
- int k2 = i3 & 0x1f;
- int l2 = i3 >> 6;
- if(j1 == 0)
- {
- aClass25_946.method291(i1, j, i, (byte)-119);
- Class46 class46 = Class46.method572(j2);
- if(class46.aBoolean767)
- aClass11Array1230[j].method215(l2, k2,
- class46.aBoolean757, true, i1, i);
- }
- if(j1 == 1)
- aClass25_946.method292(0, i, j, i1);
- if(j1 == 2)
- {
- aClass25_946.method293(j, -978, i1, i);
- Class46 class46_1 = Class46.method572(j2);
- if(i1 + class46_1.anInt744 > 103 || i + class46_1.anInt744
- > 103 || i1 + class46_1.anInt761 > 103 || i + class46_1.anInt761 > 103)
- return;
- if(class46_1.aBoolean767)
- aClass11Array1230[j].method216(l2, class46_1.anInt744,
- i1, i, (byte)6, class46_1.anInt761, class46_1.aBoolean757);
- }
- if(j1 == 3)
- {
- aClass25_946.method294((byte)9, j, i, i1);
- Class46 class46_2 = Class46.method572(j2);
- if(class46_2.aBoolean767 && class46_2.aBoolean778)
- aClass11Array1230[j].method218(360, i, i1);
- }
- }
- if(k1 >= 0)
- {
- int j3 = j;
- if(j3 < 3 && (aByteArrayArrayArray1258[1][i1][i] & 2) == 2)
- j3++;
- Class7.method188(aClass25_946, k, i, l, j3, aClass11Array1230
- [j], anIntArrayArrayArray1214, i1, k1, j, (byte)93);
- }
- }
- }
- ///
Add Comment
Please, Sign In to add comment