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 Method method107 -> setTutorialIslandFlag

+8 -10
+8 -10
src/com/jagex/runescape/Game.java
··· 8185 8185 + ((i & 0xff00) * i1 + (j & 0xff00) * k & 0xff0000) >> 8; 8186 8186 } 8187 8187 8188 - public void method107(int i) { 8189 - anInt1246 = 0; 8190 - int j = (localPlayer.worldX >> 7) + nextTopLeftTileX; 8191 - int k; 8192 - for (k = (localPlayer.worldY >> 7) + nextTopRightTileY; i >= 0;) 8193 - return; 8188 + private void setTutorialIslandFlag() { 8189 + int x = (localPlayer.worldX >> 7) + nextTopLeftTileX; 8190 + int y = (localPlayer.worldY >> 7) + nextTopRightTileY; 8191 + anInt1246 = 0; 8194 8192 8195 - if (j >= 3053 && j <= 3156 && k >= 3056 && k <= 3136) 8193 + if (x >= 3053 && x <= 3156 && y >= 3056 && y <= 3136) 8196 8194 anInt1246 = 1; 8197 - if (j >= 3072 && j <= 3118 && k >= 9492 && k <= 9535) 8195 + if (x >= 3072 && x <= 3118 && y >= 9492 && y <= 9535) 8198 8196 anInt1246 = 1; 8199 - if (anInt1246 == 1 && j >= 3139 && j <= 3199 && k >= 3008 && k <= 3062) 8197 + if (anInt1246 == 1 && x >= 3139 && x <= 3199 && y >= 3008 && y <= 3062) 8200 8198 anInt1246 = 0; 8201 8199 } 8202 8200 ··· 8301 8299 method142(0, 0, Widget.forId(openInterfaceId), 0, 8); 8302 8300 } 8303 8301 8304 - method107(-7); 8302 + setTutorialIslandFlag(); 8305 8303 8306 8304 if (!menuOpen) { 8307 8305 processRightClick(-521);