Guest User

Untitled

a guest
Mar 28th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.63 KB | None | 0 0
  1. private void draw3dScreen() {
  2. drawParallelWidgets();
  3. drawTargetInfo();
  4. if (counterOn) {
  5. drawCounterOnScreen();
  6. if (drawTotalExperience) {
  7. loadTotalXP();
  8. }
  9. }
  10. if (showChatComponents) {
  11. drawSplitPrivateChat();
  12. }
  13.  
  14. fadingScreen.draw();
  15.  
  16. if (crossType == 1) {
  17. int offSet = Configuration.clientSize == 0 ? 4 : 0;
  18. crosses[crossIndex / 100].drawSprite(crossX - 8 - offSet, crossY - 8 - offSet);
  19. anInt1142++;
  20. if (anInt1142 > 67) {
  21. anInt1142 = 0;
  22. stream.createFrame(78);
  23. }
  24. }
  25. if (crossType == 2) {
  26. int offSet = Configuration.clientSize == 0 ? 4 : 0;
  27. crosses[4 + crossIndex / 100].drawSprite(crossX - 8 - offSet, crossY - 8 - offSet);
  28. }
  29. drawParallelWidgets();
  30. if (anInt1018 != -1) {
  31. method119(anInt945, anInt1018);
  32. if (anInt1018 == 197 && Configuration.clientSize != 0) {
  33. skullIcons[0].drawSprite(Configuration.clientWidth - 157, 168);
  34. String text = RSInterface.interfaceCache[199].message.replace("@yel@", "");
  35. aTextDrawingArea_1271.drawChatInput(0xE1981D, Configuration.clientWidth - 165, text, 207, true);
  36. } else if (anInt1018 == 201 && Configuration.clientSize != 0) {
  37. drawInterface(0, Configuration.clientWidth - 560, RSInterface.interfaceCache[anInt1018], -109);
  38. } else {
  39. drawInterface(0, Configuration.clientSize == 0 ? 0 : (Configuration.clientWidth / 2) - 356,
  40. RSInterface.interfaceCache[anInt1018],
  41. Configuration.clientSize == 0 ? 0 : (Configuration.clientHeight / 2) - 230);
  42. }
  43. }
  44. if (openInterfaceID != -1) {
  45. method119(anInt945, openInterfaceID);
  46. drawInterface(0, Configuration.clientSize == 0 ? 0 : (Configuration.clientWidth / 2) - 356,
  47. RSInterface.interfaceCache[openInterfaceID],
  48. Configuration.clientSize == 0 ? 0 : (Configuration.clientHeight / 2) - 230);
  49. }
  50. if (!menuOpen) {
  51. processRightClick();
  52. drawTooltip();
  53. } else if (menuScreenArea == 0) {
  54. drawMenu(Configuration.clientSize == 0 ? 4 : 0, Configuration.clientSize == 0 ? 4 : 0);
  55. }
  56. if (anInt1055 == 1) {
  57. multiOverlay.drawSprite(Configuration.clientSize == 0 ? 472 : Configuration.clientWidth - 85,
  58. Configuration.clientSize == 0 ? 296 : 186);
  59. }
  60. //Now you'll have to write one for the bounty hunter interface id
  61. if (fpsOn) {
  62. int textColour = 0xffff00;
  63. if (super.fps < 15) {
  64. textColour = 0xff0000;
  65. }
  66. aTextDrawingArea_1271.method385(textColour, "Fps: " + super.fps, 45,
  67. Configuration.clientSize == 0 ? 470 : Configuration.clientWidth - 265);
  68. Runtime runtime = Runtime.getRuntime();
  69. int memUsage = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
  70. textColour = 0xffff00;
  71. if (memUsage > 0x2000000 && lowMem) {
  72. textColour = 0xff0000;
  73. }
  74. aTextDrawingArea_1271.method385(textColour, "Mem: " + memUsage + "k", 60,
  75. Configuration.clientSize == 0 ? 428 : Configuration.clientWidth - 265);
  76. }
  77. int x = baseX + (myPlayer.x - 6 >> 7);
  78. int y = baseY + (myPlayer.y - 6 >> 7);
  79. final String screenMode = Configuration.clientSize == 0 ? "Fixed" : "Resizable";
  80. if (clientData) {
  81. int textColour = 0xffff00;
  82. int fpsColour = 0xffff00;
  83. if (super.fps < 15) {
  84. fpsColour = 0xff0000;
  85. }
  86. for(int num = 0; num < anIntArray1235.length; num++) {
  87. int[] flo = anIntArray1235;
  88. newRegularFont.drawBasicString("Floor map: <col=00FF00>" + Arrays.toString(flo), 8, 135, 0xffff00, 40);
  89. //output: "Floor map: [0, 2, 4, 6, 8]"
  90. }
  91.  
  92. aTextDrawingArea_1271.method385(textColour,
  93. "Configuration.clientWidth: " + (mouseX - Configuration.clientWidth)
  94. + ", Configuration.clientHeight: " + (mouseY - Configuration.clientHeight),
  95. Configuration.clientHeight - 271, 5);
  96. aTextDrawingArea_1271.method385(textColour, "Client Zoom: " + cameraZoom, Configuration.clientHeight - 257,
  97. 5);
  98. aTextDrawingArea_1271.method385(fpsColour, "Fps: " + super.fps, Configuration.clientHeight - 243, 5);
  99. Runtime runtime = Runtime.getRuntime();
  100. int clientMemory = (int) ((runtime.totalMemory() - runtime.freeMemory()) / 1024L);
  101. aTextDrawingArea_1271.method385(textColour, "Memory Usage: " + clientMemory + "k",
  102. Configuration.clientHeight - 229, 5);
  103. aTextDrawingArea_1271.method385(textColour, "Mouse X: " + mouseX + ", Mouse Y: " + mouseY,
  104. Configuration.clientHeight - 215, 5);
  105. aTextDrawingArea_1271.method385(textColour, "Coords: " + x + ", " + y, Configuration.clientHeight - 201, 5);
  106. aTextDrawingArea_1271.method385(textColour, "Client Mode: " + screenMode + "",
  107. Configuration.clientHeight - 187, 5);
  108. aTextDrawingArea_1271.method385(textColour,
  109. "Client Resolution: " + Configuration.clientWidth + "x" + Configuration.clientHeight,
  110. Configuration.clientHeight - 173, 5);
  111. }
  112. if (broadcastUpdate && anInt1104 != 0) {
  113. int j = anInt1104 / 100;
  114. j %= 60;
  115. if (j > 0) {
  116. aTextDrawingArea_1271.method385(0xffff00, broadcast, 329, 4);
  117. } else {
  118. anInt1104 = 0;
  119. broadcast = "";
  120. broadcastUpdate = false;
  121. }
  122. }
  123. if (anInt1104 != 0 && !broadcastUpdate) {
  124. int j = anInt1104 / 50;
  125. int l = j / 60;
  126. int yOffset = Configuration.clientSize == 0 ? 0 : Configuration.clientHeight - 498;
  127. j %= 60;
  128. if (j < 10)
  129. aTextDrawingArea_1271.method385(0xffff00, "System update in: " + l + ":0" + j, 329 + yOffset, 4);
  130. else
  131. aTextDrawingArea_1271.method385(0xffff00, "System update in: " + l + ":" + j, 329 + yOffset, 4);
  132. anInt849++;
  133. if (anInt849 > 75) {
  134. anInt849 = 0;
  135. stream.createFrame(148);
  136. }
  137. }
  138. int f = 250;
  139. if (Configuration.timers) {
  140. if (freezeTimer != -1) {
  141. if (!freezeToggle) {
  142. cacheSprite[63].drawAdvancedSprite(476, f);
  143. } else {
  144. cacheSprite[63].drawAdvancedSprite(440, f);
  145. newSmallFont.drawBasicString(calculateInMinutes(freezeTimer) + "", 476, f + 15, 0xFFA500, 1);
  146. }
  147. freezeY = f + 5;
  148. f -= 25;
  149.  
  150. }
  151. if (vengTimer != -1) {
  152. if (!vengToggle) {
  153. cacheSprite[64].drawAdvancedSprite(476, f);
  154. } else {
  155. cacheSprite[64].drawAdvancedSprite(440, f);
  156. newSmallFont.drawBasicString(calculateInMinutes(vengTimer) + "", 476, f + 15, 0xFFA500, 1);
  157. }
  158. vengY = f + 5;
  159. f -= 25;
  160. }
  161. }
  162. }
Advertisement
Add Comment
Please, Sign In to add comment