A RuneTek3 client (377) that is deobfuscated, converted to Kotlin, and includes QoL improvements.
0

Configure Feed

Select the types of activity you want to include in your feed.

Game: Refactored Field anInt1246 -> inTutorialIsland

+11 -11
+11 -11
src/com/jagex/runescape/Game.java
··· 466 466 public volatile boolean aBoolean1243 = false; 467 467 public int inputType; 468 468 public byte aByteArray1245[] = new byte[16384]; 469 - public int anInt1246; 469 + public boolean inTutorialIsland; 470 470 public ImageRGB minimapEdge; 471 471 public MouseCapturer mouseCapturer; 472 472 public Widget aClass13_1249 = new Widget(); ··· 2351 2351 break; 2352 2352 } 2353 2353 2354 - if (!flag1 && anInt1246 == 0) 2354 + if (!flag1 && !inTutorialIsland) 2355 2355 addChatMessage(s3, "wishes to trade with you.", 4); 2356 2356 } else if (message.endsWith(":duelreq:")) { 2357 2357 String s4 = message.substring(0, message.indexOf(":")); ··· 2364 2364 break; 2365 2365 } 2366 2366 2367 - if (!flag2 && anInt1246 == 0) 2367 + if (!flag2 && !inTutorialIsland) 2368 2368 addChatMessage(s4, "wishes to duel with you.", 8); 2369 2369 } else if (message.endsWith(":chalreq:")) { 2370 2370 String s5 = message.substring(0, message.indexOf(":")); ··· 2377 2377 break; 2378 2378 } 2379 2379 2380 - if (!flag3 && anInt1246 == 0) { 2380 + if (!flag3 && !inTutorialIsland) { 2381 2381 String s8 = message.substring(message.indexOf(":") + 1, message.length() - 9); 2382 2382 addChatMessage(s5, s8, 8); 2383 2383 } ··· 2607 2607 } 2608 2608 2609 2609 } 2610 - if (!flag4 && anInt1246 == 0) 2610 + if (!flag4 && !inTutorialIsland) 2611 2611 try { 2612 2612 anIntArray1258[anInt1152] = i19; 2613 2613 anInt1152 = (anInt1152 + 1) % 100; ··· 4798 4798 } 4799 4799 4800 4800 } 4801 - if (!flag && anInt1246 == 0) 4801 + if (!flag && !inTutorialIsland) 4802 4802 try { 4803 4803 chatBuffer.currentPosition = 0; 4804 4804 vec.getBytesAdded(chatBuffer.buffer, 0, length); ··· 8188 8188 private void setTutorialIslandFlag() { 8189 8189 int x = (localPlayer.worldX >> 7) + nextTopLeftTileX; 8190 8190 int y = (localPlayer.worldY >> 7) + nextTopRightTileY; 8191 - anInt1246 = 0; 8191 + inTutorialIsland = false; 8192 8192 8193 8193 if (x >= 3053 && x <= 3156 && y >= 3056 && y <= 3136) 8194 - anInt1246 = 1; 8194 + inTutorialIsland = true; 8195 8195 if (x >= 3072 && x <= 3118 && y >= 9492 && y <= 9535) 8196 - anInt1246 = 1; 8197 - if (anInt1246 == 1 && x >= 3139 && x <= 3199 && y >= 3008 && y <= 3062) 8198 - anInt1246 = 0; 8196 + inTutorialIsland = true; 8197 + if (inTutorialIsland && x >= 3139 && x <= 3199 && y >= 3008 && y <= 3062) 8198 + inTutorialIsland = false; 8199 8199 } 8200 8200 8201 8201 private void determineMenuSize() {