Advertisement
Guest User

Untitled

a guest
Sep 30th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 275.95 KB | None | 0 0
  1. public final class RSInterface
  2. {
  3. public int transAmount;
  4. public boolean textCentered;
  5. public boolean textShadowed;
  6. public String disabledMessage;
  7. public String enabledMessage;
  8. public int disabledColor;
  9. public int enabledColor;
  10. public int disabledHoverColor;
  11. public int enabledHoverColor;
  12. public String popupString;
  13. public String hoverText;
  14. public static StreamLoader aClass44;
  15. public boolean drawsTransparent;
  16. public Sprite sprite1;
  17. public int anInt208;
  18. public Sprite[] sprites;
  19. public static RSInterface[] interfaceCache;
  20. public int[] requiredValues;
  21. public int contentType;
  22. public int[] spritesX;
  23. public boolean inventoryhover;
  24. public int anInt216;
  25. public int atActionType;
  26. public String spellName;
  27. public int anInt219;
  28. public int width;
  29. public String tooltip;
  30. public String selectedActionName;
  31. public boolean centerText;
  32. public int scrollPosition;
  33. public String[] actions;
  34. public int[][] valueIndexArray;
  35. public boolean aBoolean227;
  36. public String aString228;
  37. public int mOverInterToTrigger;
  38. public int invSpritePadX;
  39. public int textColor;
  40. public int anInt233;
  41. public int mediaID;
  42. public boolean aBoolean235;
  43. public int parentID;
  44. public int spellUsableOn;
  45. private static MRUNodes aMRUNodes_238;
  46. public int anInt239;
  47. public Sprite disabledSprite;
  48. public int[] children;
  49. public int[] childX;
  50. public boolean usableItemInterface;
  51. public TextDrawingArea textDrawingAreas;
  52. public int invSpritePadY;
  53. public boolean interfaceShown;
  54. public int[] valueCompareType;
  55. public int hoverType;
  56. public int anInt246;
  57. public int[] spritesY;
  58. public String message;
  59. public boolean isInventoryInterface;
  60. public int id;
  61. public int[] invStackSizes;
  62. public int[] inv;
  63. public byte opacity;
  64. private int anInt255;
  65. private int anInt256;
  66. public int anInt257;
  67. public int anInt258;
  68. public boolean aBoolean259;
  69. public Sprite sprite2;
  70. public int scrollMax;
  71. public int type;
  72. public int anInt263;
  73. private static final MRUNodes aMRUNodes_264 = new MRUNodes(30);
  74. public int anInt265;
  75. public boolean isMouseoverTriggered;
  76. public int height;
  77. public boolean textShadow;
  78. public boolean aBoolean251;
  79. public int modelZoom;
  80. public int modelRotation1;
  81. public int modelRotation2;
  82. public int[] childY;
  83.  
  84. public static void unpack(StreamLoader paramStreamLoader1, TextDrawingArea[] paramArrayOfTextDrawingArea, StreamLoader paramStreamLoader2)
  85. {
  86. aMRUNodes_238 = new MRUNodes(50000);
  87. Stream localStream = new Stream(paramStreamLoader1.getDataForName("data"));
  88. int i = -1;
  89. int j = localStream.readUnsignedWord();
  90. interfaceCache = new RSInterface[j + 50000];
  91. while (localStream.currentOffset < localStream.buffer.length) {
  92. int k = localStream.readUnsignedWord();
  93. if (k == 65535) {
  94. i = localStream.readUnsignedWord();
  95. k = localStream.readUnsignedWord();
  96. }
  97. RSInterface localRSInterface = interfaceCache[k] = = new RSInterface();
  98. localRSInterface.id = k;
  99. localRSInterface.parentID = i;
  100. localRSInterface.type = localStream.readUnsignedByte();
  101. localRSInterface.atActionType = localStream.readUnsignedByte();
  102. localRSInterface.contentType = localStream.readUnsignedWord();
  103. localRSInterface.width = localStream.readUnsignedWord();
  104. localRSInterface.height = localStream.readUnsignedWord();
  105. localRSInterface.opacity = (byte)localStream.readUnsignedByte();
  106. localRSInterface.mOverInterToTrigger = localStream.readUnsignedByte();
  107. if (localRSInterface.mOverInterToTrigger != 0)
  108. localRSInterface.mOverInterToTrigger = ((localRSInterface.mOverInterToTrigger - 1 << 8) + localStream.readUnsignedByte());
  109. else
  110. localRSInterface.mOverInterToTrigger = -1;
  111. int m = localStream.readUnsignedByte();
  112. if (m > 0) {
  113. localRSInterface.valueCompareType = new int[m];
  114. localRSInterface.requiredValues = new int[m];
  115. for (n = 0; n < m; n++) {
  116. localRSInterface.valueCompareType[n] = localStream.readUnsignedByte();
  117. localRSInterface.requiredValues[n] = localStream.readUnsignedWord();
  118. }
  119. }
  120.  
  121. int n = localStream.readUnsignedByte();
  122. int i1;
  123. int i3;
  124. if (n > 0) {
  125. localRSInterface.valueIndexArray = new int[n][];
  126. for (i1 = 0; i1 < n; i1++) {
  127. i3 = localStream.readUnsignedWord();
  128. localRSInterface.valueIndexArray[i1] = new int[i3];
  129. for (int i4 = 0; i4 < i3; i4++) {
  130. localRSInterface.valueIndexArray[i1][i4] = localStream.readUnsignedWord();
  131. }
  132. }
  133. }
  134.  
  135. if (localRSInterface.type == 0) {
  136. localRSInterface.drawsTransparent = false;
  137. localRSInterface.scrollMax = localStream.readUnsignedWord();
  138. localRSInterface.isMouseoverTriggered = (localStream.readUnsignedByte() == 1);
  139. i1 = localStream.readUnsignedWord();
  140. localRSInterface.children = new int[i1];
  141. localRSInterface.childX = new int[i1];
  142. localRSInterface.childY = new int[i1];
  143. for (i3 = 0; i3 < i1; i3++) {
  144. localRSInterface.children[i3] = localStream.readUnsignedWord();
  145. localRSInterface.childX[i3] = localStream.readSignedWord();
  146. localRSInterface.childY[i3] = localStream.readSignedWord();
  147. }
  148. }
  149. if (localRSInterface.type == 1) {
  150. localStream.readUnsignedWord();
  151. localStream.readUnsignedByte();
  152. }
  153. if (localRSInterface.type == 2) {
  154. localRSInterface.inv = new int[localRSInterface.width * localRSInterface.height];
  155. localRSInterface.invStackSizes = new int[localRSInterface.width * localRSInterface.height];
  156. localRSInterface.aBoolean259 = (localStream.readUnsignedByte() == 1);
  157. localRSInterface.isInventoryInterface = (localStream.readUnsignedByte() == 1);
  158. localRSInterface.usableItemInterface = (localStream.readUnsignedByte() == 1);
  159. localRSInterface.aBoolean235 = (localStream.readUnsignedByte() == 1);
  160. localRSInterface.invSpritePadX = localStream.readUnsignedByte();
  161. localRSInterface.invSpritePadY = localStream.readUnsignedByte();
  162. localRSInterface.spritesX = new int[20];
  163. localRSInterface.spritesY = new int[20];
  164. localRSInterface.sprites = new Sprite[20];
  165. for (i1 = 0; i1 < 20; i1++) {
  166. i3 = localStream.readUnsignedByte();
  167. if (i3 == 1) {
  168. localRSInterface.spritesX[i1] = localStream.readSignedWord();
  169. localRSInterface.spritesY[i1] = localStream.readSignedWord();
  170. String str2 = localStream.readString();
  171. if ((paramStreamLoader2 != null) && (str2.length() > 0)) {
  172. int i5 = str2.lastIndexOf(",");
  173. localRSInterface.sprites[i1] = method207(Integer.parseInt(str2.substring(i5 + 1)), paramStreamLoader2, str2.substring(0, i5));
  174. }
  175. }
  176. }
  177. localRSInterface.actions = new String[5];
  178. for (i1 = 0; i1 < 5; i1++) {
  179. localRSInterface.actions[i1] = localStream.readString();
  180. if (localRSInterface.actions[i1].length() == 0)
  181. localRSInterface.actions[i1] = null;
  182. if (localRSInterface.parentID == 3824)
  183. localRSInterface.actions[4] = "Buy 50";
  184. if (localRSInterface.parentID == 17824)
  185. localRSInterface.actions[4] = "Infuse 50";
  186. if (localRSInterface.parentID == 1644)
  187. localRSInterface.actions[2] = "Operate";
  188. }
  189. }
  190. if (localRSInterface.type == 3)
  191. localRSInterface.aBoolean227 = (localStream.readUnsignedByte() == 1);
  192. if ((localRSInterface.type == 4) || (localRSInterface.type == 1)) {
  193. localRSInterface.centerText = (localStream.readUnsignedByte() == 1);
  194. i1 = localStream.readUnsignedByte();
  195. if (paramArrayOfTextDrawingArea != null)
  196. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[i1];
  197. localRSInterface.textShadow = (localStream.readUnsignedByte() == 1);
  198. }
  199. if (localRSInterface.type == 4) {
  200. localRSInterface.message = localStream.readString().replaceAll("RuneScape", "BetaScape");
  201. localRSInterface.aString228 = localStream.readString();
  202. }
  203. if ((localRSInterface.type == 1) || (localRSInterface.type == 3) || (localRSInterface.type == 4))
  204. localRSInterface.textColor = localStream.readDWord();
  205. if ((localRSInterface.type == 3) || (localRSInterface.type == 4)) {
  206. localRSInterface.anInt219 = localStream.readDWord();
  207. localRSInterface.anInt216 = localStream.readDWord();
  208. localRSInterface.anInt239 = localStream.readDWord();
  209. }
  210. if (localRSInterface.type == 5) {
  211. localRSInterface.drawsTransparent = false;
  212. String str1 = localStream.readString();
  213. if ((paramStreamLoader2 != null) && (str1.length() > 0)) {
  214. i3 = str1.lastIndexOf(",");
  215. localRSInterface.sprite1 = method207(Integer.parseInt(str1.substring(i3 + 1)), paramStreamLoader2, str1.substring(0, i3));
  216. }
  217. str1 = localStream.readString();
  218. if ((paramStreamLoader2 != null) && (str1.length() > 0)) {
  219. i3 = str1.lastIndexOf(",");
  220. localRSInterface.sprite2 = method207(Integer.parseInt(str1.substring(i3 + 1)), paramStreamLoader2, str1.substring(0, i3));
  221. }
  222. }
  223. int i2;
  224. if (localRSInterface.type == 6) {
  225. i2 = localStream.readUnsignedByte();
  226. if (i2 != 0) {
  227. localRSInterface.anInt233 = 1;
  228. localRSInterface.mediaID = ((i2 - 1 << 8) + localStream.readUnsignedByte());
  229. }
  230. i2 = localStream.readUnsignedByte();
  231. if (i2 != 0) {
  232. localRSInterface.anInt255 = 1;
  233. localRSInterface.anInt256 = ((i2 - 1 << 8) + localStream.readUnsignedByte());
  234. }
  235. i2 = localStream.readUnsignedByte();
  236. if (i2 != 0)
  237. localRSInterface.anInt257 = ((i2 - 1 << 8) + localStream.readUnsignedByte());
  238. else
  239. localRSInterface.anInt257 = -1;
  240. i2 = localStream.readUnsignedByte();
  241. if (i2 != 0)
  242. localRSInterface.anInt258 = ((i2 - 1 << 8) + localStream.readUnsignedByte());
  243. else
  244. localRSInterface.anInt258 = -1;
  245. localRSInterface.modelZoom = localStream.readUnsignedWord();
  246. localRSInterface.modelRotation1 = localStream.readUnsignedWord();
  247. localRSInterface.modelRotation2 = localStream.readUnsignedWord();
  248. }
  249. if (localRSInterface.type == 7) {
  250. localRSInterface.inv = new int[localRSInterface.width * localRSInterface.height];
  251. localRSInterface.invStackSizes = new int[localRSInterface.width * localRSInterface.height];
  252. localRSInterface.centerText = (localStream.readUnsignedByte() == 1);
  253. i2 = localStream.readUnsignedByte();
  254. if (paramArrayOfTextDrawingArea != null)
  255. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[i2];
  256. localRSInterface.textShadow = (localStream.readUnsignedByte() == 1);
  257. localRSInterface.textColor = localStream.readDWord();
  258. localRSInterface.invSpritePadX = localStream.readSignedWord();
  259. localRSInterface.invSpritePadY = localStream.readSignedWord();
  260. localRSInterface.isInventoryInterface = (localStream.readUnsignedByte() == 1);
  261. localRSInterface.actions = new String[5];
  262. for (i3 = 0; i3 < 5; i3++) {
  263. localRSInterface.actions[i3] = localStream.readString();
  264. if (localRSInterface.actions[i3].length() == 0) {
  265. localRSInterface.actions[i3] = null;
  266. }
  267. }
  268. }
  269. if ((localRSInterface.atActionType == 2) || (localRSInterface.type == 2)) {
  270. localRSInterface.selectedActionName = localStream.readString();
  271. localRSInterface.spellName = localStream.readString();
  272. localRSInterface.spellUsableOn = localStream.readUnsignedWord();
  273. }
  274.  
  275. if (localRSInterface.type == 8) {
  276. localRSInterface.message = localStream.readString();
  277. }
  278. if ((localRSInterface.atActionType == 1) || (localRSInterface.atActionType == 4) || (localRSInterface.atActionType == 5) || (localRSInterface.atActionType == 6)) {
  279. localRSInterface.tooltip = localStream.readString();
  280. if (localRSInterface.tooltip.length() == 0) {
  281. if (localRSInterface.atActionType == 1)
  282. localRSInterface.tooltip = "Ok";
  283. if (localRSInterface.atActionType == 4)
  284. localRSInterface.tooltip = "Select";
  285. if (localRSInterface.atActionType == 5)
  286. localRSInterface.tooltip = "Select";
  287. if (localRSInterface.atActionType == 6)
  288. localRSInterface.tooltip = "Continue";
  289. }
  290. }
  291. }
  292. aClass44 = paramStreamLoader1;
  293. SummoningTab(paramArrayOfTextDrawingArea);
  294. prayerTab(paramArrayOfTextDrawingArea);
  295. EquipmentScreen(paramArrayOfTextDrawingArea);
  296. EquipmentScreenBank(paramArrayOfTextDrawingArea);
  297. skillTab(paramArrayOfTextDrawingArea);
  298. Hovers(paramArrayOfTextDrawingArea);
  299. EquipmentTab(paramArrayOfTextDrawingArea);
  300. questTab(paramArrayOfTextDrawingArea);
  301. Curses(paramArrayOfTextDrawingArea);
  302. Trade(paramArrayOfTextDrawingArea);
  303. Bank();
  304. clanChatTab(paramArrayOfTextDrawingArea);
  305. Shop(paramArrayOfTextDrawingArea);
  306. constructLunar();
  307. pouchMaker(paramArrayOfTextDrawingArea);
  308. scrollMaker(paramArrayOfTextDrawingArea);
  309. levelUp0(paramArrayOfTextDrawingArea);
  310. emoteTab();
  311. GodWars(paramArrayOfTextDrawingArea);
  312. PVPInterface(paramArrayOfTextDrawingArea);
  313. PVPInterface2(paramArrayOfTextDrawingArea);
  314. optionTab(paramArrayOfTextDrawingArea);
  315. Sidebar0(paramArrayOfTextDrawingArea);
  316. friendsTab(paramArrayOfTextDrawingArea);
  317. ignoreTab(paramArrayOfTextDrawingArea);
  318. SafeTimer(paramArrayOfTextDrawingArea);
  319. Pestpanel(paramArrayOfTextDrawingArea);
  320. Pestpanel2(paramArrayOfTextDrawingArea);
  321. magicTab(paramArrayOfTextDrawingArea);
  322. itemsOnDeath(paramArrayOfTextDrawingArea);
  323. itemsOnDeathDATA(paramArrayOfTextDrawingArea);
  324. ancientMagicTab(paramArrayOfTextDrawingArea);
  325. configureLunar(paramArrayOfTextDrawingArea);
  326. playerinfo(paramArrayOfTextDrawingArea);
  327. customPortal2(paramArrayOfTextDrawingArea);
  328. vote(paramArrayOfTextDrawingArea);
  329. cornerText(paramArrayOfTextDrawingArea);
  330. teleport(paramArrayOfTextDrawingArea);
  331. SettingsTab(paramArrayOfTextDrawingArea);
  332. Multi(paramArrayOfTextDrawingArea);
  333. ColorChanger(paramArrayOfTextDrawingArea);
  334. Rules(paramArrayOfTextDrawingArea);
  335. PassChanger(paramArrayOfTextDrawingArea);
  336. achievments(paramArrayOfTextDrawingArea);
  337. sumInv(paramArrayOfTextDrawingArea);
  338. WFjoinTeam(paramArrayOfTextDrawingArea);
  339. tele2(paramArrayOfTextDrawingArea);
  340. ConfigsInterface(paramArrayOfTextDrawingArea);
  341. Emotes();
  342. aMRUNodes_238 = null;
  343. }
  344.  
  345. public void swapInventoryItems(int paramInt1, int paramInt2) {
  346. int i = this.inv[paramInt1];
  347. this.inv[paramInt1] = this.inv[paramInt2];
  348. this.inv[paramInt2] = i;
  349. i = this.invStackSizes[paramInt1];
  350. this.invStackSizes[paramInt1] = this.invStackSizes[paramInt2];
  351. this.invStackSizes[paramInt2] = i;
  352. }
  353.  
  354. public static void setChildren(int paramInt, RSInterface paramRSInterface)
  355. {
  356. paramRSInterface.children = new int[paramInt];
  357. paramRSInterface.childX = new int[paramInt];
  358. paramRSInterface.childY = new int[paramInt];
  359. }
  360.  
  361. public static void disabledColor(int paramInt1, int paramInt2)
  362. {
  363. RSInterface localRSInterface = interfaceCache[paramInt1];
  364. localRSInterface.disabledColor = paramInt2;
  365. }
  366.  
  367. public static void disabledSprite(int paramInt1, int paramInt2) {
  368. RSInterface localRSInterface = interfaceCache[paramInt1];
  369. localRSInterface.disabledSprite = CustomSpriteLoader(paramInt2, "");
  370. }
  371.  
  372. public static void playerinfo(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  373. RSInterface localRSInterface = addScreenInterface(26099);
  374. addSprite(26100, 7, "User/CUSTOM");
  375. addHead2(26101, 50, 50, 1600);
  376. addText(26102, "", paramArrayOfTextDrawingArea, 2, 65535, true, false);
  377. addButton(26103, 8, "Equipment/CUSTOM", "Close");
  378. addText(26104, " ", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
  379. addText(26105, " ", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
  380. addText(26106, " ", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
  381. addText(26107, "Player Name", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
  382. addText(26108, "Combat Level", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
  383. addText(26109, "Rank", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
  384. addText(26110, "", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 0);
  385. addText(26111, "Source Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  386. addText(26112, "Activity Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  387. addText(26113, "PK Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  388. addButton(26114, 7, "User/Button", "Invite");
  389. addText(26115, "Boss Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  390. addText(26116, "Pest Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  391. addText(26117, "Assult Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  392.  
  393. addText(26118, "Gambles Won", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  394. addText(26119, "Gambles Lost", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  395. addText(26120, "Battles Won", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  396. addText(26121, "Battles Lost", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  397. addText(26122, "NPC Kills", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  398. localRSInterface.totalChildren(23);
  399. localRSInterface.child(0, 26100, 4, 16);
  400. localRSInterface.child(1, 26101, 77, 124);
  401. localRSInterface.child(2, 26102, 266, 27);
  402. localRSInterface.child(3, 26103, 477, 21);
  403. localRSInterface.child(14, 26114, 198, 239);
  404. localRSInterface.child(4, 26104, 175, 91);
  405. localRSInterface.child(5, 26105, 175, 115);
  406. localRSInterface.child(6, 26106, 175, 143);
  407. localRSInterface.child(7, 26107, 34, 236);
  408. localRSInterface.child(8, 26108, 34, 259);
  409. localRSInterface.child(9, 26109, 34, 280);
  410. localRSInterface.child(10, 26110, 477, 282);
  411.  
  412. localRSInterface.child(11, 26111, 325, 45);
  413. localRSInterface.child(12, 26112, 325, 65);
  414. localRSInterface.child(13, 26113, 325, 85);
  415. localRSInterface.child(15, 26115, 325, 105);
  416. localRSInterface.child(16, 26116, 325, 125);
  417. localRSInterface.child(17, 26117, 325, 145);
  418.  
  419. localRSInterface.child(18, 26118, 325, 190);
  420. localRSInterface.child(19, 26119, 325, 210);
  421. localRSInterface.child(20, 26120, 325, 230);
  422. localRSInterface.child(21, 26121, 325, 250);
  423. localRSInterface.child(22, 26122, 325, 270);
  424. }
  425.  
  426. public static void itemsOnDeath(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  427. RSInterface localRSInterface = addInterface(17100);
  428.  
  429. addSprite(17101, 2, "SPRITE");
  430. addHoverButton(17102, "SPRITE", 1, 21, 21, "Close", 250, 10601, 3);
  431. addHoveredButton(10601, "SPRITE", 3, 17, 21, 10602);
  432. addText(17103, "Items kept on death", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  433. addText(17104, "Items I will keep...", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  434. addText(17105, "Items I will lose...", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  435. addText(17106, "Info", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
  436. addText(17107, "BetaScape", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  437. addText(17108, "", paramArrayOfTextDrawingArea, 1, 16763955, false, true);
  438. localRSInterface.scrollMax = 0;
  439. localRSInterface.children = new int[12]; localRSInterface.childX = new int[12]; localRSInterface.childY = new int[12];
  440.  
  441. localRSInterface.children[0] = 17101; localRSInterface.childX[0] = 7; localRSInterface.childY[0] = 8;
  442. localRSInterface.children[1] = 17102; localRSInterface.childX[1] = 480; localRSInterface.childY[1] = 17;
  443. localRSInterface.children[2] = 17103; localRSInterface.childX[2] = 185; localRSInterface.childY[2] = 18;
  444. localRSInterface.children[3] = 17104; localRSInterface.childX[3] = 18; localRSInterface.childY[3] = 50;
  445. localRSInterface.children[4] = 17105; localRSInterface.childX[4] = 18; localRSInterface.childY[4] = 110;
  446. localRSInterface.children[5] = 17106; localRSInterface.childX[5] = 347; localRSInterface.childY[5] = 47;
  447. localRSInterface.children[6] = 17107; localRSInterface.childX[6] = 349; localRSInterface.childY[6] = 270;
  448. localRSInterface.children[7] = 17108; localRSInterface.childX[7] = 398; localRSInterface.childY[7] = 298;
  449. localRSInterface.children[8] = 17115; localRSInterface.childX[8] = 348; localRSInterface.childY[8] = 64;
  450. localRSInterface.children[9] = 10494; localRSInterface.childX[9] = 26; localRSInterface.childY[9] = 74;
  451. localRSInterface.children[10] = 10600; localRSInterface.childX[10] = 26; localRSInterface.childY[10] = 133;
  452. localRSInterface.children[11] = 10601; localRSInterface.childX[11] = 480; localRSInterface.childY[11] = 17;
  453. }
  454.  
  455. public static void itemsOnDeathDATA(TextDrawingArea[] paramArrayOfTextDrawingArea)
  456. {
  457. RSInterface localRSInterface = addInterface(17115);
  458. addText(17106, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  459. addText(17107, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  460. addText(17108, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  461. addText(17109, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  462. addText(17110, "b", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  463. addText(17111, "c", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  464. addText(17112, "d", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  465. addText(17113, "e", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  466. addText(17114, "f", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  467. addText(17117, "g", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  468. addText(17118, "h", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  469. addText(17119, "i", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  470. addText(17120, "j", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  471. addText(17121, "k", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  472. addText(17122, "l", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  473. addText(17123, "m", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  474. addText(17124, "n", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  475. addText(17125, "o", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  476. addText(17126, "p", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  477. addText(17127, "q", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  478. addText(17128, "r", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  479. addText(17129, "s", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  480. addText(17130, "t", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  481. localRSInterface.parentID = 17115;
  482. localRSInterface.id = 17115;
  483. localRSInterface.atActionType = 0;
  484. localRSInterface.contentType = 0;
  485. localRSInterface.width = 130;
  486. localRSInterface.height = 197;
  487. localRSInterface.scrollMax = 280;
  488. localRSInterface.children = new int[20]; localRSInterface.childX = new int[20]; localRSInterface.childY = new int[20];
  489. localRSInterface.children[0] = 17109; localRSInterface.childX[0] = 0; localRSInterface.childY[0] = 0;
  490. localRSInterface.children[1] = 17110; localRSInterface.childX[1] = 0; localRSInterface.childY[1] = 12;
  491. localRSInterface.children[2] = 17111; localRSInterface.childX[2] = 0; localRSInterface.childY[2] = 24;
  492. localRSInterface.children[3] = 17112; localRSInterface.childX[3] = 0; localRSInterface.childY[3] = 36;
  493. localRSInterface.children[4] = 17113; localRSInterface.childX[4] = 0; localRSInterface.childY[4] = 48;
  494. localRSInterface.children[5] = 17114; localRSInterface.childX[5] = 0; localRSInterface.childY[5] = 60;
  495. localRSInterface.children[6] = 17117; localRSInterface.childX[6] = 0; localRSInterface.childY[6] = 72;
  496. localRSInterface.children[7] = 17118; localRSInterface.childX[7] = 0; localRSInterface.childY[7] = 84;
  497. localRSInterface.children[8] = 17119; localRSInterface.childX[8] = 0; localRSInterface.childY[8] = 96;
  498. localRSInterface.children[9] = 17120; localRSInterface.childX[9] = 0; localRSInterface.childY[9] = 108;
  499. localRSInterface.children[10] = 17121; localRSInterface.childX[10] = 0; localRSInterface.childY[10] = 120;
  500. localRSInterface.children[11] = 17122; localRSInterface.childX[11] = 0; localRSInterface.childY[11] = 132;
  501. localRSInterface.children[12] = 17123; localRSInterface.childX[12] = 0; localRSInterface.childY[12] = 144;
  502. localRSInterface.children[13] = 17124; localRSInterface.childX[13] = 0; localRSInterface.childY[13] = 156;
  503. localRSInterface.children[14] = 17125; localRSInterface.childX[14] = 0; localRSInterface.childY[14] = 168;
  504. localRSInterface.children[15] = 17126; localRSInterface.childX[15] = 0; localRSInterface.childY[15] = 180;
  505. localRSInterface.children[16] = 17127; localRSInterface.childX[16] = 0; localRSInterface.childY[16] = 192;
  506. localRSInterface.children[17] = 17128; localRSInterface.childX[17] = 0; localRSInterface.childY[17] = 204;
  507. localRSInterface.children[18] = 17129; localRSInterface.childX[18] = 0; localRSInterface.childY[18] = 216;
  508. localRSInterface.children[19] = 17130; localRSInterface.childX[19] = 0; localRSInterface.childY[19] = 228;
  509. }
  510.  
  511. public static void ColorChanger(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  512. RSInterface localRSInterface = addTabInterface(31000);
  513. addSprite(31001, "PrivateChat/Private");
  514. addSprite(31057, "sample 0");
  515. addHoverButton(31002, "PrivateChat/Color 0", 16, 16, "Use", -1, 31003, 1);
  516. addHoveredButton(31003, "PrivateChat/GoldBox", 19, 20, 31004);
  517. addHoverButton(31005, "PrivateChat/Color 1", 16, 16, "Use", -1, 31006, 1);
  518. addHoveredButton(31006, "PrivateChat/GoldBox", 19, 20, 31007);
  519. addHoverButton(31008, "PrivateChat/Color 2", 16, 16, "Use", -1, 31009, 1);
  520. addHoveredButton(31009, "PrivateChat/GoldBox", 19, 20, 31010);
  521. addHoverButton(31011, "PrivateChat/Color 3", 16, 16, "Use", -1, 31012, 1);
  522. addHoveredButton(31012, "PrivateChat/GoldBox", 19, 20, 31013);
  523. addHoverButton(31014, "PrivateChat/Color 4", 16, 16, "Use", -1, 31015, 1);
  524. addHoveredButton(31015, "PrivateChat/GoldBox", 19, 20, 31016);
  525. addHoverButton(31017, "PrivateChat/Color 5", 16, 16, "Use", -1, 31018, 1);
  526. addHoveredButton(31018, "PrivateChat/GoldBox", 19, 20, 31019);
  527. addHoverButton(31020, "PrivateChat/Color 6", 16, 16, "Use", -1, 31021, 1);
  528. addHoveredButton(31021, "PrivateChat/GoldBox", 19, 20, 31022);
  529. addHoverButton(31023, "PrivateChat/Color 7", 16, 16, "Use", -1, 31024, 1);
  530. addHoveredButton(31024, "PrivateChat/GoldBox", 19, 20, 31025);
  531. addHoverButton(31026, "PrivateChat/Color 8", 16, 16, "Use", -1, 31027, 1);
  532. addHoveredButton(31027, "PrivateChat/GoldBox", 19, 20, 31028);
  533. addHoverButton(31029, "PrivateChat/Color 9", 16, 16, "Use", -1, 31030, 1);
  534. addHoveredButton(31030, "PrivateChat/GoldBox", 19, 20, 31031);
  535. addHoverButton(31032, "PrivateChat/Color 10", 16, 16, "Use", -1, 31033, 1);
  536. addHoveredButton(31033, "PrivateChat/GoldBox", 19, 20, 31034);
  537. addHoverButton(31035, "PrivateChat/Color 11", 16, 16, "Use", -1, 31036, 1);
  538. addHoveredButton(31036, "PrivateChat/GoldBox", 19, 20, 31037);
  539. addHoverButton(31038, "PrivateChat/Color 12", 16, 16, "Use", -1, 31039, 1);
  540. addHoveredButton(31039, "PrivateChat/GoldBox", 19, 20, 31040);
  541. addHoverButton(31041, "PrivateChat/Color 13", 16, 16, "Use", -1, 31042, 1);
  542. addHoveredButton(31042, "PrivateChat/GoldBox", 19, 20, 31043);
  543. addHoverButton(31044, "PrivateChat/Color 14", 16, 16, "Use", -1, 31045, 1);
  544. addHoveredButton(31045, "PrivateChat/GoldBox", 19, 20, 31046);
  545. addHoverButton(31047, "PrivateChat/X", 16, 15, "Close", -1, 31048, 1);
  546. addHoveredButton(31048, "PrivateChat/HX", 16, 15, 31049);
  547. addToggleButton(31050, 0, 2, "PrivateChat/CHECK", "Toggle", 1, 4, 500);
  548. addHoverButton(31054, "close", 0, 200, 30, "Back", -1, 31055, 1);
  549. addHoveredButton(31055, "close", 1, 200, 30, 31056);
  550. addText(31059, "Sample Text", client.getChatColor(), false, true, -1, paramArrayOfTextDrawingArea, 0);
  551. localRSInterface.totalChildren(38);
  552. localRSInterface.child(0, 31001, 0, 2);
  553. localRSInterface.child(1, 31002, 26, 119);
  554. localRSInterface.child(2, 31003, 25, 117);
  555. localRSInterface.child(3, 31005, 56, 119);
  556. localRSInterface.child(4, 31006, 55, 117);
  557. localRSInterface.child(5, 31008, 86, 119);
  558. localRSInterface.child(6, 31009, 85, 117);
  559. localRSInterface.child(7, 31011, 116, 119);
  560. localRSInterface.child(8, 31012, 115, 117);
  561. localRSInterface.child(9, 31014, 146, 119);
  562. localRSInterface.child(10, 31015, 145, 117);
  563. localRSInterface.child(11, 31017, 26, 149);
  564. localRSInterface.child(12, 31018, 25, 147);
  565. localRSInterface.child(13, 31020, 56, 149);
  566. localRSInterface.child(14, 31021, 55, 147);
  567. localRSInterface.child(15, 31023, 86, 149);
  568. localRSInterface.child(16, 31024, 85, 147);
  569. localRSInterface.child(17, 31026, 116, 149);
  570. localRSInterface.child(18, 31027, 115, 147);
  571. localRSInterface.child(19, 31029, 146, 149);
  572. localRSInterface.child(20, 31030, 145, 147);
  573. localRSInterface.child(21, 31032, 26, 179);
  574. localRSInterface.child(22, 31033, 25, 177);
  575. localRSInterface.child(23, 31035, 56, 179);
  576. localRSInterface.child(24, 31036, 55, 177);
  577. localRSInterface.child(25, 31038, 86, 179);
  578. localRSInterface.child(26, 31039, 85, 177);
  579. localRSInterface.child(27, 31041, 116, 179);
  580. localRSInterface.child(28, 31042, 115, 177);
  581. localRSInterface.child(29, 31044, 146, 179);
  582. localRSInterface.child(30, 31045, 145, 177);
  583. localRSInterface.child(31, 31047, 167, 10);
  584. localRSInterface.child(32, 31048, 167, 10);
  585. localRSInterface.child(33, 31050, 167, 50);
  586. localRSInterface.child(34, 31054, 170, 5);
  587. localRSInterface.child(35, 31055, 170, 5);
  588. localRSInterface.child(36, 31057, 20, 220);
  589. localRSInterface.child(37, 31059, 64, 225);
  590. }
  591.  
  592. public static void Rules(TextDrawingArea[] paramArrayOfTextDrawingArea)
  593. {
  594. RSInterface localRSInterface = addTabInterface(17250);
  595. addSprite(17251, 0, "WELCOME");
  596. addText(17802, "~ Rules of BetaScape ~", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
  597. addText(17803, "Those are the rules you need to go by.", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  598. addText(17804, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
  599. addText(17805, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  600. addText(17806, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
  601. addText(17807, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  602. addText(17808, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
  603. addText(17809, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  604. addText(17810, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
  605. addText(17811, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  606. addHoverButton(17812, "close", 0, 200, 30, "Back", -1, 17813, 1);
  607. addHoveredButton(17813, "close", 1, 200, 30, 17814);
  608. localRSInterface.totalChildren(14);
  609. localRSInterface.child(0, 17251, 0, 0);
  610. localRSInterface.child(1, 17802, 22, 37);
  611. localRSInterface.child(2, 17803, 210, 40);
  612. localRSInterface.child(3, 17804, 26, 64);
  613. localRSInterface.child(4, 17805, 26, 79);
  614. localRSInterface.child(5, 17806, 26, 91);
  615. localRSInterface.child(6, 17807, 26, 106);
  616. localRSInterface.child(7, 17808, 26, 118);
  617. localRSInterface.child(8, 17809, 26, 133);
  618. localRSInterface.child(9, 17810, 26, 145);
  619. localRSInterface.child(10, 17811, 26, 160);
  620. localRSInterface.child(11, 14000, 0, 58);
  621. localRSInterface.child(12, 17812, 475, 15);
  622. localRSInterface.child(13, 17813, 475, 15);
  623. localRSInterface = addTabInterface(14000);
  624. localRSInterface.width = 476;
  625. localRSInterface.height = 213;
  626. localRSInterface.scrollMax = 405;
  627. for (int i = 14001; i <= 14030; i++) {
  628. addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
  629. addText(14001, "Offensive Language:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  630. addText(14002, "Offensive language including racism, sexism is not tolerated.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
  631. addText(14004, "Staff Impersonation:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  632. addText(14005, "Pretending to act like a member of the staff is not allowed.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
  633. addText(14007, "Scamming", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  634. addText(14008, "Scamming players items is not allowed.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
  635. addText(14010, "Bug Abuse:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  636. addText(14011, "Abusing a glitch is not allowed, you must report it immediately", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
  637. addText(14013, "Advertising/Spamming:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  638. addText(14014, "Advertising servers and spamming will not be tolerated.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
  639. addText(14016, "Encouraging Rule Breaking:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  640. addText(14017, "Encouraging others to break rules is strictly forbidden", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
  641. addText(14019, "Personal Information:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  642. addText(14020, "Do not give out any personal information, keep it to yourself and the people you know.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
  643. }
  644. localRSInterface.totalChildren(30);
  645. i = 0;
  646. int j = 5;
  647. for (int k = 14001; k <= 14030; k++) {
  648. localRSInterface.child(i, k, 248, j);
  649. i++;
  650. j += 13;
  651. }
  652. }
  653.  
  654. public static void addHoverButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, String paramString2, int paramInt4, int paramInt5, int paramInt6) {
  655. RSInterface localRSInterface = addTabInterface(paramInt1);
  656. localRSInterface.id = paramInt1;
  657. localRSInterface.parentID = paramInt1;
  658. localRSInterface.type = 5;
  659. localRSInterface.atActionType = paramInt6;
  660. localRSInterface.contentType = paramInt4;
  661. localRSInterface.opacity = 0;
  662. localRSInterface.mOverInterToTrigger = paramInt5;
  663. localRSInterface.sprite1 = imageLoader(paramString1);
  664. localRSInterface.sprite2 = imageLoader(paramString1);
  665. localRSInterface.width = paramInt2;
  666. localRSInterface.height = paramInt3;
  667. localRSInterface.tooltip = paramString2;
  668. }
  669. private static Sprite imageLoader(String paramString) {
  670. long l = TextClass.method585(paramString) << 8;
  671. Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
  672. if (localSprite != null)
  673. return localSprite;
  674. try {
  675. localSprite = new Sprite(paramString);
  676. aMRUNodes_238.removeFromCache(localSprite, l);
  677. } catch (Exception localException) {
  678. return null;
  679. }
  680. return localSprite;
  681. }
  682.  
  683. public static void addHoverImage(int paramInt, String paramString) {
  684. RSInterface localRSInterface = addTabInterface(paramInt);
  685. localRSInterface.id = paramInt;
  686. localRSInterface.parentID = paramInt;
  687. localRSInterface.type = 5;
  688. localRSInterface.atActionType = 0;
  689. localRSInterface.contentType = 0;
  690. localRSInterface.width = 512;
  691. localRSInterface.height = 334;
  692. localRSInterface.opacity = 0;
  693. localRSInterface.mOverInterToTrigger = 52;
  694. localRSInterface.sprite1 = imageLoader(paramString);
  695. localRSInterface.sprite2 = imageLoader(paramString);
  696. }
  697.  
  698. public static void addHoveredButton(int paramInt1, String paramString, int paramInt2, int paramInt3, int paramInt4) {
  699. RSInterface localRSInterface = addTabInterface(paramInt1);
  700. localRSInterface.parentID = paramInt1;
  701. localRSInterface.id = paramInt1;
  702. localRSInterface.type = 0;
  703. localRSInterface.atActionType = 0;
  704. localRSInterface.width = paramInt2;
  705. localRSInterface.height = paramInt3;
  706. localRSInterface.isMouseoverTriggered = true;
  707. localRSInterface.opacity = 0;
  708. localRSInterface.mOverInterToTrigger = -1;
  709. localRSInterface.scrollMax = 0;
  710. addHoverImage(paramInt4, paramString);
  711. localRSInterface.totalChildren(1);
  712. localRSInterface.child(0, paramInt4, 0, 0);
  713. }
  714.  
  715. public static void addSprite(int paramInt, String paramString) {
  716. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  717. localRSInterface.id = paramInt;
  718. localRSInterface.parentID = paramInt;
  719. localRSInterface.type = 5;
  720. localRSInterface.atActionType = 0;
  721. localRSInterface.contentType = 0;
  722. localRSInterface.opacity = 0;
  723. localRSInterface.mOverInterToTrigger = 52;
  724. localRSInterface.sprite1 = imageLoader(paramString);
  725. localRSInterface.sprite2 = imageLoader(paramString);
  726. localRSInterface.width = 512;
  727. localRSInterface.height = 334;
  728. }
  729.  
  730. public static void addTooltip(int paramInt1, String paramString, int paramInt2, int paramInt3) {
  731. RSInterface localRSInterface = addTabInterface(paramInt1);
  732. localRSInterface.id = paramInt1;
  733. localRSInterface.type = 0;
  734. localRSInterface.isMouseoverTriggered = true;
  735. localRSInterface.mOverInterToTrigger = -1;
  736. addTooltipBox(paramInt1 + 1, paramString);
  737. localRSInterface.totalChildren(1);
  738. localRSInterface.child(0, paramInt1 + 1, 0, 0);
  739. localRSInterface.height = paramInt2;
  740. localRSInterface.width = paramInt3;
  741. }
  742.  
  743. public static void addPrayer(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, String paramString, int paramInt7) {
  744. RSInterface localRSInterface = addTabInterface(paramInt1);
  745. localRSInterface.id = paramInt1;
  746. localRSInterface.parentID = 22500;
  747. localRSInterface.type = 5;
  748. localRSInterface.atActionType = 4;
  749. localRSInterface.contentType = 0;
  750. localRSInterface.opacity = 0;
  751. localRSInterface.mOverInterToTrigger = paramInt7;
  752. localRSInterface.sprite1 = imageLoader(0, "Curses/GLOW");
  753. localRSInterface.sprite2 = imageLoader(1, "Curses/GLOW");
  754.  
  755. localRSInterface.width = 34;
  756. localRSInterface.height = 34;
  757. localRSInterface.valueCompareType = new int[1];
  758. localRSInterface.requiredValues = new int[1];
  759. localRSInterface.valueCompareType[0] = 1;
  760. localRSInterface.requiredValues[0] = paramInt2;
  761. localRSInterface.valueIndexArray = new int[1][3];
  762. localRSInterface.valueIndexArray[0][0] = 5;
  763. localRSInterface.valueIndexArray[0][1] = paramInt3;
  764. localRSInterface.valueIndexArray[0][2] = 0;
  765. localRSInterface.tooltip = ("Activate@or1@ " + paramString);
  766. localRSInterface = addTabInterface(paramInt1 + 1);
  767. localRSInterface.id = (paramInt1 + 1);
  768. localRSInterface.parentID = 22500;
  769. localRSInterface.type = 5;
  770. localRSInterface.atActionType = 0;
  771. localRSInterface.contentType = 0;
  772. localRSInterface.opacity = 0;
  773. localRSInterface.sprite1 = imageLoader(paramInt6, "Curses/PRAYON");
  774. localRSInterface.sprite2 = imageLoader(paramInt6, "Curses/PRAYOFF");
  775. localRSInterface.width = 34;
  776. localRSInterface.height = 34;
  777. localRSInterface.valueCompareType = new int[1];
  778. localRSInterface.requiredValues = new int[1];
  779. localRSInterface.valueCompareType[0] = 2;
  780. localRSInterface.requiredValues[0] = (paramInt2 + 1);
  781. localRSInterface.valueIndexArray = new int[1][3];
  782. localRSInterface.valueIndexArray[0][0] = 5;
  783. localRSInterface.valueIndexArray[0][1] = paramInt4;
  784. localRSInterface.valueIndexArray[0][2] = 0;
  785. }
  786.  
  787. public static void Curses(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  788. RSInterface localRSInterface = addTabInterface(22500);
  789. int i = 0;
  790. addText(687, "99/99", 16750623, false, false, -1, paramArrayOfTextDrawingArea, 1);
  791. addSprite(22502, 0, "Curses/ICON");
  792.  
  793. addPrayer(22503, 0, 610, 630, 49, 7, "Protect Item", 22582);
  794. addPrayer(22505, 0, 611, 631, 49, 4, "Sap Warrior", 22544);
  795. addPrayer(22507, 0, 612, 632, 51, 5, "Sap Ranger", 22546);
  796. addPrayer(22509, 0, 613, 633, 53, 3, "Sap Mage", 22548);
  797. addPrayer(22511, 0, 614, 634, 55, 2, "Sap Spirit", 22550);
  798. addPrayer(22513, 0, 615, 635, 58, 18, "Berserker", 22552);
  799. addPrayer(22515, 0, 616, 636, 61, 15, "Deflect Summoning", 22554);
  800. addPrayer(22517, 0, 617, 637, 64, 17, "Deflect Magic", 22556);
  801. addPrayer(22519, 0, 618, 638, 63, 16, "Deflect Missiles", 22558);
  802. addPrayer(22521, 0, 619, 639, 70, 6, "Deflect Melee", 22560);
  803. addPrayer(22523, 0, 620, 640, 73, 9, "Leech Attack", 22562);
  804. addPrayer(22525, 0, 621, 641, 75, 10, "Leech Ranged", 22564);
  805. addPrayer(22527, 0, 622, 642, 77, 11, "Leech Magic", 22566);
  806. addPrayer(22529, 0, 623, 643, 79, 12, "Leech Defence", 22568);
  807. addPrayer(22531, 0, 624, 644, 81, 13, "Leech Strength", 22570);
  808. addPrayer(22533, 0, 625, 645, 83, 14, "Leech Energy", 22572);
  809. addPrayer(22535, 0, 626, 646, 85, 19, "Leech Special Attack", 22574);
  810. addPrayer(22537, 0, 627, 647, 88, 1, "Wrath", 22576);
  811. addPrayer(22539, 0, 628, 648, 91, 8, "Soul Split", 22578);
  812. addPrayer(22541, 0, 105, 649, 94, 0, "Turmoil", 22580);
  813.  
  814. localRSInterface.totalChildren(62);
  815.  
  816. localRSInterface.child(0, 687, 85, 241);
  817. localRSInterface.child(1, 22502, 65, 241);
  818. localRSInterface.child(2, 22503, 2, 5);
  819. localRSInterface.child(3, 22504, 8, 8);
  820. localRSInterface.child(4, 22505, 40, 5);
  821. localRSInterface.child(5, 22506, 47, 12);
  822. localRSInterface.child(6, 22507, 76, 5);
  823. localRSInterface.child(7, 22508, 82, 11);
  824. localRSInterface.child(8, 22509, 113, 5);
  825. localRSInterface.child(9, 22510, 116, 8);
  826. localRSInterface.child(10, 22511, 150, 5);
  827. localRSInterface.child(11, 22512, 155, 10);
  828. localRSInterface.child(12, 22513, 2, 45);
  829. localRSInterface.child(13, 22514, 9, 48);
  830. localRSInterface.child(14, 22515, 39, 45);
  831. localRSInterface.child(15, 22516, 42, 47);
  832. localRSInterface.child(16, 22517, 76, 45);
  833. localRSInterface.child(17, 22518, 79, 48);
  834. localRSInterface.child(18, 22519, 113, 45);
  835. localRSInterface.child(19, 22520, 116, 48);
  836. localRSInterface.child(20, 22521, 151, 45);
  837. localRSInterface.child(21, 22522, 154, 48);
  838. localRSInterface.child(22, 22523, 2, 82);
  839. localRSInterface.child(23, 22524, 6, 86);
  840. localRSInterface.child(24, 22525, 40, 82);
  841. localRSInterface.child(25, 22526, 42, 86);
  842. localRSInterface.child(26, 22527, 77, 82);
  843. localRSInterface.child(27, 22528, 79, 86);
  844. localRSInterface.child(28, 22529, 114, 83);
  845. localRSInterface.child(29, 22530, 119, 87);
  846. localRSInterface.child(30, 22531, 153, 83);
  847. localRSInterface.child(31, 22532, 156, 86);
  848. localRSInterface.child(32, 22533, 2, 120);
  849. localRSInterface.child(33, 22534, 7, 125);
  850. localRSInterface.child(34, 22535, 40, 120);
  851. localRSInterface.child(35, 22536, 45, 124);
  852. localRSInterface.child(36, 22537, 78, 120);
  853. localRSInterface.child(37, 22538, 86, 124);
  854. localRSInterface.child(38, 22539, 114, 120);
  855. localRSInterface.child(39, 22540, 120, 125);
  856. localRSInterface.child(40, 22541, 151, 120);
  857. localRSInterface.child(41, 22542, 153, 127);
  858.  
  859. localRSInterface.child(42, 22582, 2, 5);
  860. localRSInterface.child(43, 22544, 40, 5);
  861. localRSInterface.child(44, 22546, 76, 5);
  862. localRSInterface.child(45, 22548, 113, 5);
  863. localRSInterface.child(46, 22550, 150, 5);
  864.  
  865. localRSInterface.child(47, 22552, 2, 45);
  866. localRSInterface.child(48, 22554, 40, 45);
  867. localRSInterface.child(49, 22556, 76, 45);
  868. localRSInterface.child(50, 22558, 113, 45);
  869. localRSInterface.child(51, 22560, 150, 45);
  870.  
  871. localRSInterface.child(52, 22562, 2, 82);
  872. localRSInterface.child(53, 22564, 40, 82);
  873. localRSInterface.child(54, 22566, 76, 82);
  874. localRSInterface.child(55, 22568, 113, 82);
  875. localRSInterface.child(56, 22570, 150, 82);
  876.  
  877. localRSInterface.child(57, 22572, 2, 120);
  878. localRSInterface.child(58, 22574, 40, 120);
  879. localRSInterface.child(59, 22576, 76, 120);
  880. localRSInterface.child(60, 22578, 113, 120);
  881. localRSInterface.child(61, 22580, 150, 120);
  882. }
  883.  
  884. public static void Emotes()
  885. {
  886. RSInterface localRSInterface1 = addTabInterface(147);
  887. RSInterface localRSInterface2 = addTabInterface(148);
  888. localRSInterface1.totalChildren(1);
  889. localRSInterface1.child(0, 148, 0, 1);
  890. int[] arrayOfInt1 = { 168, 169, 164, 165, 162, 163, 13370, 171, 167, 170, 13366, 13368, 166, 13363, 13364, 13365, 161, 11100, 13362, 13367, 172, 13369, 13383, 13384, 667, 6503, 6506, 666, 18464, 18465, 15166, 18686, 18689, 18688, 18691, 18692, 18687, 154, 22586, 22587, 22588, 22589, 22590, 22591, 22592, 22593, 22594 };
  891. int[] arrayOfInt2 = { 10, 54, 98, 137, 9, 48, 95, 137, 7, 51, 95, 139, 6, 50, 90, 135, 8, 51, 99, 137, 10, 53, 88, 138, 3, 52, 96, 141, 5, 53, 88, 142, 10, 51, 139, 88, 12, 49, 97, 140, 10, 50, 90, 140, 10, 60, 90 };
  892. int[] arrayOfInt3 = { 6, 6, 13, 6, 55, 55, 55, 55, 104, 104, 103, 104, 153, 153, 153, 153, 203, 202, 203, 202, 250, 250, 255, 249, 300, 299, 299, 299, 349, 350, 352, 350, 401, 402, 406, 402, 452, 450, 452, 452, 505, 505, 505, 505, 560, 560, 560 };
  893. int[] arrayOfInt4 = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 33, 34, 35, 36, 28, 29, 30, 37, 31, 32, 38, 39, 40, 41, 42, 43, 44, 45, 46 };
  894. String[] arrayOfString = { "Yes", "No", "Bow", "Angry", "Think", "Wave", "Shrug", "Cheer", "Beckon", "Laugh", "Jump for Joy", "Yawn", "Dance", "Jig", "Spin", "Headbang", "Cry", "Blow Kiss", "Panic", "Raspberry", "Clap", "Salute", "Goblin Bow", "Goblin Salute", "Glass Box", "Climb Rope", "Lean on Air", "Glass Wall", "Idea", "Stomp", "Flap", "Slap Head", "Zombie Walk", "Zombie Dance", "Scared", "Zombie Hand", "Bunny Hop", "Skill Cape", "Snowman Dance", "Air Guitar", "Safety First", "Explore", "Trick", "Freeze & Melt", "Give Thanks", "Around The World In Eggty Days", "Dramatic Point" };
  895. localRSInterface2.totalChildren(arrayOfInt1.length);
  896. for (int i = 0; i < arrayOfInt1.length; i++) {
  897. addButton(arrayOfInt1[i], arrayOfInt4[i], "Emotes/EMOTE", arrayOfString[i]);
  898. }
  899. for (i = 0; i < arrayOfInt1.length; i++) {
  900. localRSInterface2.child(i, arrayOfInt1[i], arrayOfInt2[i], arrayOfInt3[i]);
  901. }
  902. localRSInterface2.width = 173;
  903. localRSInterface2.height = 260;
  904. localRSInterface2.scrollMax = 610;
  905. }
  906.  
  907. private static void addButton(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString1, int paramInt6, int paramInt7, String paramString2, int paramInt8, int paramInt9)
  908. {
  909. RSInterface localRSInterface = addInterface(paramInt1);
  910. localRSInterface.id = paramInt1;
  911. localRSInterface.parentID = paramInt1;
  912. localRSInterface.atActionType = paramInt2;
  913. localRSInterface.width = paramInt6;
  914. localRSInterface.height = paramInt7;
  915. localRSInterface.valueIndexArray = new int[1][3];
  916. localRSInterface.valueIndexArray[0][0] = 5;
  917. localRSInterface.valueIndexArray[0][1] = paramInt8;
  918. localRSInterface.valueIndexArray[0][2] = 0;
  919. localRSInterface.tooltip = paramString2;
  920. }
  921.  
  922. public static void addSprite(int paramInt1, int paramInt2, int paramInt3) {
  923. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  924. localRSInterface.id = paramInt1;
  925. localRSInterface.parentID = paramInt1;
  926. localRSInterface.atActionType = 1;
  927. localRSInterface.contentType = 0;
  928. localRSInterface.width = 20;
  929. localRSInterface.height = 20;
  930. }
  931.  
  932. public static RSInterface addTab(int paramInt)
  933. {
  934. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  935. localRSInterface.id = paramInt;
  936. localRSInterface.parentID = paramInt;
  937. localRSInterface.type = 0;
  938. localRSInterface.atActionType = 0;
  939. localRSInterface.contentType = 0;
  940. localRSInterface.width = 512;
  941. localRSInterface.height = 334;
  942. localRSInterface.opacity = 0;
  943. localRSInterface.hoverType = 0;
  944. return localRSInterface;
  945. }
  946.  
  947. public static void ConfigsInterface(TextDrawingArea[] paramArrayOfTextDrawingArea)
  948. {
  949. RSInterface localRSInterface = addTabInterface(38000);
  950. int i = 0;
  951. String str = "Config/";
  952. addSprite(38001, str + "Border");
  953. addSprite(38002, str + "Background");
  954. addSprite(38003, str + "TextBox");
  955. addSprite(38004, str + "SmallerTextBox");
  956. addText(38005, "Gameframe", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  957. addText(38006, "Remember Me", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  958. addText(38007, "Hitmarks", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  959. addText(38008, "Hitpoint Bar", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  960. addText(38009, "Names", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  961. addText(38010, "10x Damage", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  962. addText(38011, "Exp Lock", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  963. addText(38012, "525", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  964. addText(38019, "Client Configs", 16751360, true, true, -1, paramArrayOfTextDrawingArea, 2);
  965. addText(38020, "Back", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  966. addText(38050, "0", 16777215, false, true, -1, paramArrayOfTextDrawingArea, 1);
  967. addHoverButton(38013, str + "SmallButton", 0, 36, 18, "Change", -1, 38014, 1);
  968. addHoveredButton(38014, str + "SmallButton", 1, 36, 18, 38015);
  969. addHoverButton(38016, str + "ModernButton", 0, 49, 18, "Back", -1, 38017, 1);
  970. addHoveredButton(38017, str + "ModernButton", 1, 49, 18, 38018);
  971. addButton(38021, 4, 38022, 0, 1, str + "SelectButton", 18, 18, "Toggle new Menus", 350, 0);
  972. addButton(38023, 4, 38024, 0, 1, str + "SelectButton", 18, 18, "Toggle new Hitmarks", 351, 0);
  973. addButton(38025, 4, 38026, 0, 1, str + "SelectButton", 18, 18, "Toggle new Hp Bar", 352, 0);
  974. addButton(38027, 4, 38028, 0, 1, str + "SelectButton", 18, 18, "Toggle names above head", 353, 0);
  975. addButton(38029, 4, 38030, 0, 1, str + "SelectButton", 18, 18, "Toggle 10X damage", 354, 0);
  976. addButton(38031, 4, 38032, 0, 1, str + "SelectButton", 18, 18, "Toggle Exp Lock", 355, 0);
  977. addButton(37007, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  978. setChildren(30, localRSInterface);
  979. setBounds(38001, 3, 22, i, localRSInterface);
  980. i++;
  981. setBounds(38002, 3, 24, i, localRSInterface);
  982. i++;
  983. setBounds(38001, 3, 249, i, localRSInterface);
  984. i++;
  985. setBounds(38004, 13, 35, i, localRSInterface);
  986. i++;
  987. setBounds(38003, 13, 62, i, localRSInterface);
  988. i++;
  989. setBounds(38003, 13, 89, i, localRSInterface);
  990. i++;
  991. setBounds(38003, 13, 116, i, localRSInterface);
  992. i++;
  993. setBounds(38003, 13, 143, i, localRSInterface);
  994. i++;
  995. setBounds(38003, 13, 170, i, localRSInterface);
  996. i++;
  997. setBounds(38003, 13, 197, i, localRSInterface);
  998. i++;
  999. setBounds(38016, 64, 224, i, localRSInterface);
  1000. i++;
  1001. setBounds(38017, 64, 224, i, localRSInterface);
  1002. i++;
  1003. setBounds(38013, 143, 35, i, localRSInterface);
  1004. i++;
  1005. setBounds(38014, 143, 35, i, localRSInterface);
  1006. i++;
  1007. setBounds(38005, 74, 36, i, localRSInterface);
  1008. i++;
  1009. setBounds(38006, 83, 63, i, localRSInterface);
  1010. i++;
  1011. setBounds(38007, 83, 90, i, localRSInterface);
  1012. i++;
  1013. setBounds(38008, 83, 117, i, localRSInterface);
  1014. i++;
  1015. setBounds(38009, 83, 144, i, localRSInterface);
  1016. i++;
  1017. setBounds(38010, 83, 171, i, localRSInterface);
  1018. i++;
  1019. setBounds(38011, 83, 198, i, localRSInterface);
  1020. i++;
  1021. setBounds(38020, 88, 225, i, localRSInterface);
  1022. i++;
  1023. setBounds(38012, 161, 36, i, localRSInterface);
  1024. i++;
  1025. setBounds(38021, 161, 62, i, localRSInterface);
  1026. i++;
  1027. setBounds(38023, 161, 89, i, localRSInterface);
  1028. i++;
  1029. setBounds(38025, 161, 116, i, localRSInterface);
  1030. i++;
  1031. setBounds(38027, 161, 143, i, localRSInterface);
  1032. i++;
  1033. setBounds(38029, 161, 170, i, localRSInterface);
  1034. i++;
  1035. setBounds(38031, 161, 197, i, localRSInterface);
  1036. i++;
  1037. setBounds(38019, 95, 4, i, localRSInterface);
  1038. i++;
  1039. }
  1040.  
  1041. public static void graphic(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1042. RSInterface localRSInterface = addTabInterface(100);
  1043. addSprite(151, 0, "/Graphic/GRAPHIC");
  1044. addHoverButton(560, "close", 0, 50, 50, "Close", -1, 561, 1);
  1045. addHoveredButton(561, "close", 1, 20, 20, 17269);
  1046. addButton(25805, 5, -1, 2, 2, "OptionTab/OPTION", 32, 32, "Adjust Brightness", 166, 1);
  1047. addButton(25806, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 1);
  1048. addButton(25807, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 2);
  1049. addButton(25808, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 3);
  1050. addButton(25809, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 4);
  1051. localRSInterface.totalChildren(8);
  1052. localRSInterface.child(0, 151, 7, 50);
  1053. localRSInterface.child(1, 25806, 205, 105);
  1054. localRSInterface.child(2, 25807, 236, 105);
  1055. localRSInterface.child(3, 25808, 267, 105);
  1056. localRSInterface.child(4, 25809, 301, 105);
  1057. localRSInterface.child(5, 25805, 165, 97);
  1058. localRSInterface.child(6, 560, 480, 52);
  1059. localRSInterface.child(7, 561, 480, 52);
  1060. localRSInterface = addTabInterface(1400);
  1061. localRSInterface.width = 474;
  1062. localRSInterface.height = 213;
  1063. localRSInterface.scrollMax = 305;
  1064. for (int i = 1401; i <= 1430; i++) {
  1065. addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
  1066. }
  1067. localRSInterface.totalChildren(30);
  1068. i = 0;
  1069. int j = 5;
  1070. for (int k = 1401; k <= 1430; k++) {
  1071. localRSInterface.child(i, k, 248, j);
  1072. i++;
  1073. j += 13;
  1074. }
  1075. }
  1076.  
  1077. public static void audio(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1078. RSInterface localRSInterface = addTabInterface(400);
  1079. addSprite(451, 1, "OptionTab/AUDIO");
  1080. addHoverButton(460, "close", 0, 50, 50, "Close", -1, 461, 1);
  1081. addHoveredButton(461, "close", 1, 20, 20, 17269);
  1082.  
  1083. addButton(25810, 5, -1, 3, 4, "OptionTab/OPTION", 32, 32, "Adjust Music Level", 168, 4);
  1084. addButton(25811, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 4);
  1085. addButton(25812, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 3);
  1086. addButton(25813, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 2);
  1087. addButton(25814, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 1);
  1088. addButton(25815, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 0);
  1089.  
  1090. addButton(25816, 5, -1, 5, 6, "OptionTab/OPTION", 32, 32, "Adjust Sounds", 169, 4);
  1091. addButton(25817, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 4);
  1092. addButton(25818, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 3);
  1093. addButton(25819, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 2);
  1094. addButton(25820, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 1);
  1095. addButton(25821, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 0);
  1096.  
  1097. addButton(25822, 5, -1, 7, 8, "OptionTab/OPTION", 32, 32, "Adjust Sound Effects", 400, 0);
  1098. addButton(25823, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 0);
  1099. addButton(25824, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 1);
  1100. addButton(25825, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 2);
  1101. addButton(25826, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 3);
  1102. addButton(25827, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 4);
  1103.  
  1104. localRSInterface.totalChildren(21);
  1105. localRSInterface.child(0, 451, 178, 43);
  1106. localRSInterface.child(1, 25811, 204, 113);
  1107. localRSInterface.child(2, 25812, 228, 113);
  1108. localRSInterface.child(3, 25813, 255, 113);
  1109. localRSInterface.child(4, 25814, 281, 113);
  1110. localRSInterface.child(5, 25815, 306, 113);
  1111. localRSInterface.child(6, 25810, 248, 79);
  1112. localRSInterface.child(7, 460, 328, 47);
  1113. localRSInterface.child(8, 461, 328, 47);
  1114. localRSInterface.child(9, 25817, 204, 169);
  1115. localRSInterface.child(10, 25818, 228, 169);
  1116. localRSInterface.child(11, 25819, 255, 169);
  1117. localRSInterface.child(12, 25820, 281, 169);
  1118. localRSInterface.child(13, 25821, 306, 169);
  1119. localRSInterface.child(14, 25816, 248, 135);
  1120. localRSInterface.child(15, 25823, 204, 228);
  1121. localRSInterface.child(16, 25824, 228, 228);
  1122. localRSInterface.child(17, 25825, 255, 228);
  1123. localRSInterface.child(18, 25826, 281, 228);
  1124. localRSInterface.child(19, 25827, 306, 228);
  1125. localRSInterface.child(20, 25822, 250, 193);
  1126. localRSInterface = addTabInterface(1400);
  1127. localRSInterface.width = 474;
  1128. localRSInterface.height = 213;
  1129. localRSInterface.scrollMax = 305;
  1130. for (int i = 1401; i <= 1430; i++) {
  1131. addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
  1132. }
  1133. localRSInterface.totalChildren(30);
  1134. i = 0;
  1135. int j = 5;
  1136. for (int k = 1401; k <= 1430; k++) {
  1137. localRSInterface.child(i, k, 248, j);
  1138. i++;
  1139. j += 13;
  1140. }
  1141. }
  1142.  
  1143. public static void optionTwo(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1144. RSInterface localRSInterface = addTabInterface(904);
  1145. addSprite(351, 0, "OptionTab/OPTION");
  1146. addButton(360, 4, 361, 1, 1, "OptionTab/OPT", 40, 40, "Graphic Settings", 160, 1);
  1147. drawTooltip(361, "Toggle Mouse Buttons");
  1148. addButton(364, 4, 365, 2, 2, "OptionTab/OPT", 40, 40, "Audio Settings", 161, 1);
  1149. drawTooltip(366, "Toggle Mouse Buttons");
  1150.  
  1151. addButton(25828, 4, 25829, 9, 10, "OptionTab/OPTION", 90, 90, "Toggle Number of Mouse Buttons", 170, 1);
  1152. drawTooltip(25829, "Mouse buttons\n(currently 2)");
  1153. addButton(25831, 4, 25832, 9, 10, "OptionTab/OPTION", 40, 40, "Toggle Chat Effects", 171, 1);
  1154. drawTooltip(25832, "Toggle Chat Effects");
  1155. addButton(25834, 4, 25835, 9, 10, "OptionTab/OPTION", 40, 40, "Split Private Chat", 287, 1);
  1156. drawTooltip(25835, "Split Private Chat");
  1157. addButton(25837, 4, 25838, 9, 10, "OptionTab/OPTION", 40, 40, "Toggle Accept Aid", 427, 0);
  1158. drawTooltip(25838, "Toggle Accept Aid");
  1159. addButton(152, 4, 25841, 9, 10, "OptionTab/OPTION", 40, 40, "Toggle Run", 173, 1);
  1160. drawTooltip(25841, "Toggle Run");
  1161. addButton(25843, 9, 25844, 9, 0, "OptionTab/OPTION", 40, 40, "Open Other Settings", 175, 1);
  1162. drawTooltip(25844, "Open Other Settings");
  1163. addSprite(380, 11, "OptionTab/OPTION");
  1164. addSprite(381, 12, "OptionTab/OPTION");
  1165. addSprite(382, 13, "OptionTab/OPTION");
  1166. addSprite(383, 14, "OptionTab/OPTION");
  1167. addSprite(384, 15, "OptionTab/OPTION");
  1168. addSprite(385, 17, "OptionTab/OPTION");
  1169. addText(390, "100%", paramArrayOfTextDrawingArea, 0, 16750592, true, true);
  1170. localRSInterface.totalChildren(22);
  1171. localRSInterface.child(0, 351, 0, 0);
  1172. localRSInterface.child(1, 25828, 19, 129);
  1173. localRSInterface.child(2, 25829, 19, 102);
  1174. localRSInterface.child(3, 25831, 75, 129);
  1175. localRSInterface.child(4, 25832, 78, 102);
  1176. localRSInterface.child(5, 25834, 131, 129);
  1177. localRSInterface.child(6, 25835, 71, 102);
  1178. localRSInterface.child(7, 25837, 19, 202);
  1179. localRSInterface.child(8, 25838, 19, 183);
  1180. localRSInterface.child(9, 152, 75, 202);
  1181. localRSInterface.child(10, 25841, 78, 183);
  1182. localRSInterface.child(11, 25843, 130, 202);
  1183. localRSInterface.child(12, 25844, 133, 183);
  1184. localRSInterface.child(13, 380, 23, 133);
  1185. localRSInterface.child(14, 381, 79, 133);
  1186. localRSInterface.child(15, 382, 135, 133);
  1187. localRSInterface.child(16, 383, 23, 207);
  1188. localRSInterface.child(17, 384, 84, 205);
  1189. localRSInterface.child(18, 385, 137, 208);
  1190. localRSInterface.child(19, 390, 95, 225);
  1191.  
  1192. localRSInterface.child(20, 360, 40, 35);
  1193. localRSInterface.child(21, 364, 110, 35);
  1194. localRSInterface = addTabInterface(1400);
  1195. localRSInterface.width = 474;
  1196. localRSInterface.height = 213;
  1197. localRSInterface.scrollMax = 305;
  1198. for (int i = 1401; i <= 1430; i++) {
  1199. addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
  1200. }
  1201. localRSInterface.totalChildren(30);
  1202. i = 0;
  1203. int j = 5;
  1204. for (int k = 1401; k <= 1430; k++) {
  1205. localRSInterface.child(i, k, 248, j);
  1206. i++;
  1207. j += 13;
  1208. }
  1209. }
  1210.  
  1211. public static void PassChanger(TextDrawingArea[] paramArrayOfTextDrawingArea)
  1212. {
  1213. RSInterface localRSInterface = addTabInterface(39000);
  1214. int i = 0;
  1215. String str = "Password/";
  1216. addSprite(39001, str + "BackgroundBorder");
  1217. addSprite(39002, str + "Background");
  1218. addSprite(39003, str + "InputBorder");
  1219. addSprite(39004, str + "InputBackground");
  1220. addSprite(39005, str + "PasswordIcon");
  1221. addHoverButton(39006, str + "GrayButton", 0, 53, 21, "Change", 615, 39007, 1);
  1222. addHoveredButton(39007, str + "GrayButton", 1, 53, 21, 39008);
  1223. addHoverButton(39009, str + "GrayButton", 0, 53, 21, "Cancel", -1, 39010, 3);
  1224. addHoveredButton(39010, str + "GrayButton", 1, 53, 21, 39011);
  1225. addText(39012, "Password Changer", 16751360, true, true, -1, paramArrayOfTextDrawingArea, 2);
  1226. addText(39013, "Change", 49152, true, true, -1, paramArrayOfTextDrawingArea, 0);
  1227. addText(39014, "Cancel", 12582912, true, true, -1, paramArrayOfTextDrawingArea, 0);
  1228. addText(39015, "Choose your new password.", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 0);
  1229. addText(39016, "Password Security: None", 11645361, false, true, -1, paramArrayOfTextDrawingArea, 1);
  1230. addText(39017, "member", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
  1231. setChildren(15, localRSInterface);
  1232. setBounds(39001, 81, 139, i, localRSInterface);
  1233. i++;
  1234. setBounds(39002, 86, 144, i, localRSInterface);
  1235. i++;
  1236. setBounds(39003, 169, 187, i, localRSInterface);
  1237. i++;
  1238. setBounds(39004, 171, 189, i, localRSInterface);
  1239. i++;
  1240. setBounds(39005, 98, 176, i, localRSInterface);
  1241. i++;
  1242. setBounds(39006, 201, 253, i, localRSInterface);
  1243. i++;
  1244. setBounds(39007, 201, 253, i, localRSInterface);
  1245. i++;
  1246. setBounds(39009, 296, 253, i, localRSInterface);
  1247. i++;
  1248. setBounds(39010, 296, 253, i, localRSInterface);
  1249. i++;
  1250. setBounds(39012, 266, 146, i, localRSInterface);
  1251. i++;
  1252. setBounds(39013, 227, 257, i, localRSInterface);
  1253. i++;
  1254. setBounds(39014, 322, 257, i, localRSInterface);
  1255. i++;
  1256. setBounds(39015, 303, 169, i, localRSInterface);
  1257. i++;
  1258. setBounds(39016, 98, 235, i, localRSInterface);
  1259. i++;
  1260. setBounds(39017, 303, 196, i, localRSInterface);
  1261. i++;
  1262. }
  1263.  
  1264. public static final void tele2(TextDrawingArea[] paramArrayOfTextDrawingArea)
  1265. {
  1266. RSInterface localRSInterface = addTabInterface(45500);
  1267. addText(45501, "Barrows Teleport", 16751360, false, true, 52, paramArrayOfTextDrawingArea, 2);
  1268. addHoverButton(45502, "Interfaces/Minigame/Hover", 0, 172, 24, "Dharok", -1, 45503, 1);
  1269. addHoveredButton(45503, "Interfaces/Minigame/Hover", 1, 172, 24, 45504);
  1270. addHoverButton(45518, "Interfaces/Minigame/Hover", 0, 172, 24, "Guthan", -1, 45519, 1);
  1271. addHoveredButton(45519, "Interfaces/Minigame/Hover", 1, 172, 24, 45520);
  1272. addHoverButton(45521, "Interfaces/Minigame/Hover", 0, 172, 24, "Verac", -1, 45522, 1);
  1273. addHoveredButton(45522, "Interfaces/Minigame/Hover", 1, 172, 24, 45523);
  1274. addHoverButton(45524, "Interfaces/Minigame/Hover", 0, 172, 24, "Torag", -1, 45525, 1);
  1275. addHoveredButton(45525, "Interfaces/Minigame/Hover", 1, 172, 24, 45526);
  1276. addHoverButton(45527, "Interfaces/Minigame/Hover", 0, 172, 24, "Ahrim", -1, 45528, 1);
  1277. addHoveredButton(45528, "Interfaces/Minigame/Hover", 1, 172, 24, 45529);
  1278. addHoverButton(45530, "Interfaces/Minigame/Hover", 0, 172, 24, "Karil", -1, 45531, 1);
  1279. addHoveredButton(45531, "Interfaces/Minigame/Hover", 1, 172, 24, 45532);
  1280. addHoverButton(45533, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45534, 1);
  1281. addHoveredButton(45534, "Interfaces/Minigame/Back", 1, 16, 16, 45535);
  1282. addSprite(45505, 1, "Interfaces/Minigame/Blank");
  1283. addSprite(45506, 1, "Interfaces/Minigame/Blank");
  1284. addSprite(45507, 1, "Interfaces/Minigame/Blank");
  1285. addSprite(45508, 1, "Interfaces/Minigame/Blank");
  1286. addSprite(45509, 1, "Interfaces/Minigame/Blank");
  1287. addSprite(45510, 1, "Interfaces/Minigame/Blank");
  1288. addSprite(45511, 1, "Interfaces/Minigame/Background");
  1289. addText(45512, "Dharok", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1290. addText(45513, "Guthan", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1291. addText(45514, "Verac", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1292. addText(45515, "Torag", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1293. addText(45516, "Ahrim", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1294. addText(45517, "Karil", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1295. localRSInterface.totalChildren(28);
  1296. localRSInterface.child(0, 45511, 0, 0);
  1297. localRSInterface.child(1, 45501, 33, 7);
  1298. localRSInterface.child(2, 45502, 8, 35);
  1299. localRSInterface.child(3, 45503, 8, 35);
  1300. localRSInterface.child(4, 45512, 80, 39);
  1301. localRSInterface.child(5, 45518, 8, 72);
  1302. localRSInterface.child(6, 45519, 8, 72);
  1303. localRSInterface.child(7, 45513, 80, 76);
  1304. localRSInterface.child(8, 45521, 8, 109);
  1305. localRSInterface.child(9, 45522, 8, 109);
  1306. localRSInterface.child(10, 45514, 80, 113);
  1307. localRSInterface.child(11, 45524, 8, 146);
  1308. localRSInterface.child(12, 45525, 8, 146);
  1309. localRSInterface.child(13, 45515, 80, 150);
  1310. localRSInterface.child(14, 45527, 8, 183);
  1311. localRSInterface.child(15, 45528, 8, 183);
  1312. localRSInterface.child(16, 45516, 80, 187);
  1313. localRSInterface.child(17, 45530, 8, 220);
  1314. localRSInterface.child(18, 45531, 8, 220);
  1315. localRSInterface.child(19, 45517, 80, 224);
  1316. localRSInterface.child(20, 45505, 148, 33);
  1317. localRSInterface.child(21, 45506, 148, 70);
  1318. localRSInterface.child(22, 45507, 148, 104);
  1319. localRSInterface.child(23, 45508, 148, 140);
  1320. localRSInterface.child(24, 45509, 148, 179);
  1321. localRSInterface.child(25, 45510, 148, 219);
  1322. localRSInterface.child(26, 45533, 10, 6);
  1323. localRSInterface.child(27, 45534, 10, 6);
  1324. }
  1325.  
  1326. public static final void achievments(TextDrawingArea[] paramArrayOfTextDrawingArea)
  1327. {
  1328. RSInterface localRSInterface1 = addTabInterface(17000);
  1329. RSInterface localRSInterface2 = addTabInterface(17001);
  1330. addText(17002, "BetaScape Tasks", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  1331.  
  1332. localRSInterface1.totalChildren(2);
  1333. localRSInterface1.child(0, 17002, 5, 5);
  1334. localRSInterface1.child(1, 17001, 0, 25);
  1335.  
  1336. localRSInterface2.width = 174; localRSInterface2.height = 224; localRSInterface2.scrollMax = 1250;
  1337.  
  1338. addText(17006, " ", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  1339. addClickableText(17007, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1340. addClickableText(17008, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1341. addClickableText(17009, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1342. addClickableText(17010, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1343. addClickableText(17011, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1344. addClickableText(17012, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1345. addClickableText(17013, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1346. addClickableText(17014, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1347. addClickableText(17015, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1348. addText(17016, " ", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  1349. addClickableText(17017, "Kill 100 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1350. addClickableText(17018, "Kill 145 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1351. addClickableText(17019, "Kill 190 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1352. addClickableText(17020, "Kill 250 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1353. addClickableText(17021, "Kill 325 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1354. addClickableText(17022, "Kill 400 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1355. addClickableText(17023, "Kill 500 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1356. addClickableText(17024, "Kill 1500 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1357. addText(17025, "Skilling", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  1358. addClickableText(17026, "99 Mining", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1359. addClickableText(17027, "99 Fishing", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1360. addClickableText(17028, "99 Herblore", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1361. addClickableText(17029, "99 Thieving", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1362. addClickableText(17030, "99 Crafting", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1363. addClickableText(17031, "99 Hunter", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1364. addClickableText(17032, "99 Dungeoneering", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1365. addClickableText(17033, "99 Slayer", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1366. addClickableText(17034, "All Stat's 99", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1367. addText(17035, "Creations", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  1368. addClickableText(17036, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1369. addClickableText(17037, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1370. addClickableText(17038, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1371. addClickableText(17039, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1372. addClickableText(17040, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1373. addClickableText(17041, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1374. addClickableText(17042, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1375. addClickableText(17043, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1376. addClickableText(17044, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1377. addClickableText(17045, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1378. addClickableText(17046, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1379. addClickableText(17047, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
  1380. addClickableText(17048, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 458496, 90, 11);
  1381. localRSInterface2.totalChildren(43);
  1382. localRSInterface2.child(0, 17007, 5, 47);
  1383. localRSInterface2.child(1, 17008, 5, 61);
  1384. localRSInterface2.child(2, 17009, 5, 75);
  1385. localRSInterface2.child(3, 17010, 5, 89);
  1386. localRSInterface2.child(4, 17011, 5, 103);
  1387. localRSInterface2.child(5, 17006, 5, 20);
  1388. localRSInterface2.child(6, 17012, 5, 117);
  1389. localRSInterface2.child(7, 17013, 5, 131);
  1390. localRSInterface2.child(8, 17014, 5, 145);
  1391. localRSInterface2.child(9, 17015, 5, 159);
  1392. localRSInterface2.child(10, 17016, 5, 187);
  1393. localRSInterface2.child(11, 17017, 5, 215);
  1394. localRSInterface2.child(12, 17018, 5, 229);
  1395. localRSInterface2.child(13, 17019, 5, 243);
  1396. localRSInterface2.child(14, 17020, 5, 257);
  1397. localRSInterface2.child(15, 17021, 5, 271);
  1398. localRSInterface2.child(16, 17022, 5, 285);
  1399. localRSInterface2.child(17, 17023, 5, 299);
  1400. localRSInterface2.child(18, 17024, 5, 313);
  1401. localRSInterface2.child(19, 17025, 5, 341);
  1402. localRSInterface2.child(20, 17026, 5, 369);
  1403. localRSInterface2.child(21, 17027, 5, 383);
  1404. localRSInterface2.child(22, 17028, 5, 397);
  1405. localRSInterface2.child(23, 17029, 5, 411);
  1406. localRSInterface2.child(24, 17030, 5, 424);
  1407. localRSInterface2.child(25, 17031, 5, 439);
  1408. localRSInterface2.child(26, 17032, 5, 453);
  1409. localRSInterface2.child(27, 17033, 5, 467);
  1410. localRSInterface2.child(28, 17034, 5, 481);
  1411. localRSInterface2.child(29, 17035, 5, 509);
  1412. localRSInterface2.child(30, 17036, 5, 537);
  1413. localRSInterface2.child(31, 17037, 5, 551);
  1414. localRSInterface2.child(32, 17038, 5, 565);
  1415. localRSInterface2.child(33, 17039, 5, 579);
  1416. localRSInterface2.child(34, 17040, 5, 593);
  1417. localRSInterface2.child(35, 17041, 5, 607);
  1418. localRSInterface2.child(36, 17042, 5, 621);
  1419. localRSInterface2.child(37, 17043, 5, 635);
  1420. localRSInterface2.child(38, 17044, 5, 649);
  1421. localRSInterface2.child(39, 17045, 5, 663);
  1422. localRSInterface2.child(40, 17046, 5, 677);
  1423. localRSInterface2.child(41, 17047, 5, 691);
  1424. localRSInterface2.child(42, 17048, 5, 705);
  1425. }
  1426.  
  1427. public static void GodWars(TextDrawingArea[] paramArrayOfTextDrawingArea)
  1428. {
  1429. RSInterface localRSInterface = addTabInterface(16210);
  1430. addText(16211, "Godwars Killcount: @cya@0", paramArrayOfTextDrawingArea, 0, 16748608, false, true);
  1431. localRSInterface.totalChildren(1);
  1432. localRSInterface.child(0, 16211, 400, 8);
  1433. }
  1434.  
  1435. public static void teleport(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1436. RSInterface localRSInterface = addTabInterface(176);
  1437. addHoverButton(17652, "CLICK", 3, 200, 30, "Toggle", -1, 17653, 1);
  1438. addHoveredButton(17653, "CLICK", 3, 200, 30, 17654);
  1439. addHoverButton(17655, "CLICK", 3, 200, 30, "Toggle", -1, 17656, 1);
  1440. addHoveredButton(17656, "CLICK", 3, 200, 30, 17657);
  1441. addHoverButton(17658, "CLICK", 3, 200, 30, "Toggle", -1, 17659, 1);
  1442. addHoveredButton(17659, "CLICK", 3, 200, 30, 17660);
  1443. addHoverButton(17661, "CLICK", 3, 200, 30, "Toggle", -1, 17662, 1);
  1444. addHoveredButton(17662, "CLICK", 3, 200, 30, 17663);
  1445. addHoverButton(17664, "CLICK", 3, 200, 30, "Toggle", -1, 17665, 1);
  1446. addHoveredButton(17665, "CLICK", 3, 200, 30, 17666);
  1447. addHoverButton(17667, "CLICK", 3, 200, 30, "Toggle", -1, 17668, 1);
  1448. addHoveredButton(17668, "CLICK", 3, 200, 30, 17669);
  1449. addHoverButton(17670, "CLICK", 3, 200, 30, "Toggle", -1, 17671, 1);
  1450. addHoveredButton(17671, "CLICK", 3, 200, 30, 17672);
  1451. addHoverButton(17673, "close", 0, 200, 30, "Back", -1, 17674, 1);
  1452. addHoveredButton(17674, "close", 1, 200, 30, 17675);
  1453. addText(12804, "@or1@Reset:@red@ Defence", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  1454. addText(12808, "@or1@Reset:@red@ Attack", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  1455. addText(12812, "@or1@Reset:@red@ Strength", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  1456. addText(12816, "@or1@Reset:@red@ Hitpoints", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  1457. addText(12820, "@or1@Reset:@red@ Magic", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  1458. addText(12824, "@or1@Reset:@red@ Ranged", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  1459. addText(12828, "@or1@Reset:@red@ Prayer", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  1460. addText(12830, "@red@CLICKING WILL RESET INSTANT!", paramArrayOfTextDrawingArea, 0, 16748608, false, true);
  1461. localRSInterface.totalChildren(25);
  1462. localRSInterface.child(0, 17652, 12, 40);
  1463. localRSInterface.child(1, 17653, 11, 40);
  1464. localRSInterface.child(2, 17655, 12, 65);
  1465. localRSInterface.child(3, 17656, 11, 65);
  1466. localRSInterface.child(4, 12800, 68, 78);
  1467. localRSInterface.child(5, 17658, 12, 90);
  1468. localRSInterface.child(6, 17659, 11, 90);
  1469. localRSInterface.child(7, 17661, 12, 115);
  1470. localRSInterface.child(8, 17662, 11, 115);
  1471. localRSInterface.child(9, 17664, 12, 143);
  1472. localRSInterface.child(10, 17665, 11, 143);
  1473. localRSInterface.child(11, 17667, 12, 168);
  1474. localRSInterface.child(12, 17668, 11, 168);
  1475. localRSInterface.child(13, 17670, 12, 193);
  1476. localRSInterface.child(14, 17671, 11, 193);
  1477. localRSInterface.child(15, 17673, 170, 0);
  1478. localRSInterface.child(16, 17674, 170, 0);
  1479. localRSInterface.child(17, 12804, 38, 45);
  1480. localRSInterface.child(18, 12808, 38, 70);
  1481. localRSInterface.child(19, 12812, 38, 95);
  1482. localRSInterface.child(20, 12816, 38, 120);
  1483. localRSInterface.child(21, 12820, 38, 147);
  1484. localRSInterface.child(22, 12824, 38, 174);
  1485. localRSInterface.child(23, 12828, 38, 201);
  1486. localRSInterface.child(24, 12830, 10, 10);
  1487. localRSInterface = addTabInterface(14000);
  1488. localRSInterface.width = 474;
  1489. localRSInterface.height = 213;
  1490. localRSInterface.scrollMax = 305;
  1491. for (int i = 14001; i <= 14030; i++) {
  1492. addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
  1493. }
  1494. localRSInterface.totalChildren(30);
  1495. i = 0;
  1496. int j = 5;
  1497. for (int k = 14001; k <= 14030; k++) {
  1498. localRSInterface.child(i, k, 248, j);
  1499. i++;
  1500. j += 13;
  1501. }
  1502. }
  1503.  
  1504. public static void SettingsTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1505. RSInterface localRSInterface = addTabInterface(178);
  1506. addSprite(37001, 1, "Switcher/Background");
  1507. addButton(37046, 1, "Switcher/Top", 63, 24, "Settings Menu", 1);
  1508. addText(37050, "Gameframe", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1509. addText(37051, "New Hitpoints Bar", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1510. addText(37052, "New Hitmarks", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1511. addText(37053, "X10 Hitting", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1512. addText(37054, "Remember Me", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1513. addText(37055, "Names Above Heads", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1514. addText(37056, "HP Above Heads", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1515. addText(37057, "Fog", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1516. addText(37058, "525", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1517. addText(37059, "On", paramArrayOfTextDrawingArea, 0, 6808320, false, true);
  1518. addText(37060, "On", paramArrayOfTextDrawingArea, 0, 6808320, false, true);
  1519. addText(37061, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
  1520. addText(37062, "On", paramArrayOfTextDrawingArea, 0, 6808320, false, true);
  1521. addText(37063, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
  1522. addText(37064, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
  1523. addText(37065, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
  1524. addButton(37002, 1, "Switcher/SmallerTextBox", 63, 24, "Change gameframe", 1);
  1525. addButton(37003, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  1526. addButton(37004, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  1527. addButton(37005, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  1528. addButton(37006, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  1529. addButton(37007, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  1530. addButton(37008, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  1531. addButton(37009, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
  1532. addHoverButton(37020, "Switcher/SmallButton", 0, 200, 30, "Change Gameframe", -1, 37021, 1);
  1533. addHoveredButton(37021, "Switcher/SmallButton", 1, 200, 30, 37022);
  1534. addHoverButton(37023, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37024, 1);
  1535. addHoveredButton(37024, "Switcher/SmallButton", 1, 200, 30, 37025);
  1536. addHoverButton(37026, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37027, 1);
  1537. addHoveredButton(37027, "Switcher/SmallButton", 1, 200, 30, 37028);
  1538. addHoverButton(37029, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37030, 1);
  1539. addHoveredButton(37030, "Switcher/SmallButton", 1, 200, 30, 37031);
  1540. addHoverButton(37033, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37034, 1);
  1541. addHoveredButton(37034, "Switcher/SmallButton", 1, 200, 30, 37035);
  1542. addHoverButton(37036, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37037, 1);
  1543. addHoveredButton(37037, "Switcher/SmallButton", 1, 200, 30, 37038);
  1544. addHoverButton(37039, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37040, 1);
  1545. addHoveredButton(37040, "Switcher/SmallButton", 1, 200, 30, 37042);
  1546. addHoverButton(37043, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37044, 1);
  1547. addHoveredButton(37044, "Switcher/SmallButton", 1, 200, 30, 37045);
  1548. addHoverButton(37047, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 37048, 1);
  1549. addHoveredButton(37048, "Interfaces/Minigame/Back", 1, 16, 16, 37049);
  1550. localRSInterface.totalChildren(44);
  1551.  
  1552. localRSInterface.child(0, 37001, 0, 0);
  1553. localRSInterface.child(1, 37002, 5, 20);
  1554. localRSInterface.child(2, 37003, 5, 50);
  1555. localRSInterface.child(3, 37004, 5, 80);
  1556. localRSInterface.child(4, 37005, 5, 110);
  1557. localRSInterface.child(5, 37006, 5, 140);
  1558. localRSInterface.child(6, 37007, 5, 170);
  1559. localRSInterface.child(7, 37008, 5, 200);
  1560. localRSInterface.child(8, 37009, 5, 230);
  1561.  
  1562. localRSInterface.child(9, 37020, 140, 20);
  1563. localRSInterface.child(10, 37021, 140, 20);
  1564. localRSInterface.child(11, 37023, 150, 50);
  1565. localRSInterface.child(12, 37024, 150, 50);
  1566. localRSInterface.child(13, 37026, 150, 80);
  1567. localRSInterface.child(14, 37027, 150, 80);
  1568. localRSInterface.child(15, 37029, 150, 110);
  1569. localRSInterface.child(16, 37030, 150, 110);
  1570. localRSInterface.child(17, 37033, 150, 140);
  1571. localRSInterface.child(18, 37034, 150, 140);
  1572. localRSInterface.child(19, 37036, 150, 170);
  1573. localRSInterface.child(20, 37037, 150, 170);
  1574. localRSInterface.child(21, 37039, 150, 200);
  1575. localRSInterface.child(22, 37040, 150, 200);
  1576. localRSInterface.child(23, 37043, 150, 230);
  1577. localRSInterface.child(24, 37044, 150, 230);
  1578.  
  1579. localRSInterface.child(25, 37046, 35, 0);
  1580. localRSInterface.child(26, 37047, 0, 0);
  1581. localRSInterface.child(27, 37048, 0, 0);
  1582.  
  1583. localRSInterface.child(43, 37050, 8, 23);
  1584. localRSInterface.child(28, 37051, 8, 53);
  1585. localRSInterface.child(29, 37052, 8, 83);
  1586. localRSInterface.child(30, 37053, 8, 113);
  1587. localRSInterface.child(31, 37054, 8, 143);
  1588. localRSInterface.child(32, 37055, 8, 173);
  1589. localRSInterface.child(33, 37056, 8, 203);
  1590. localRSInterface.child(34, 37057, 8, 233);
  1591.  
  1592. localRSInterface.child(35, 37058, 149, 23);
  1593. localRSInterface.child(36, 37059, 159, 53);
  1594. localRSInterface.child(37, 37060, 159, 83);
  1595. localRSInterface.child(38, 37061, 159, 113);
  1596. localRSInterface.child(39, 37062, 159, 143);
  1597. localRSInterface.child(40, 37063, 159, 173);
  1598. localRSInterface.child(41, 37064, 159, 203);
  1599. localRSInterface.child(42, 37065, 159, 233);
  1600. }
  1601.  
  1602. public static void addToggleButton(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2, int paramInt4, int paramInt5, int paramInt6)
  1603. {
  1604. RSInterface localRSInterface = addTabInterface(paramInt1);
  1605. localRSInterface.parentID = paramInt1;
  1606. localRSInterface.id = paramInt1;
  1607. localRSInterface.type = 5;
  1608. localRSInterface.atActionType = paramInt5;
  1609. localRSInterface.contentType = 0;
  1610. localRSInterface.opacity = 0;
  1611. localRSInterface.mOverInterToTrigger = 52;
  1612. localRSInterface.requiredValues = new int[1];
  1613. localRSInterface.valueCompareType = new int[1];
  1614. localRSInterface.requiredValues[0] = 1;
  1615. localRSInterface.valueCompareType[0] = paramInt4;
  1616. localRSInterface.valueIndexArray = new int[1][3];
  1617. localRSInterface.valueIndexArray[0][0] = 5;
  1618. localRSInterface.valueIndexArray[0][1] = paramInt6;
  1619. localRSInterface.valueIndexArray[0][2] = 0;
  1620. localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
  1621. localRSInterface.sprite2 = imageLoader(paramInt3, paramString1);
  1622. localRSInterface.width = localRSInterface.sprite1.myWidth;
  1623. localRSInterface.height = localRSInterface.sprite1.myHeight;
  1624. localRSInterface.tooltip = paramString2;
  1625. }
  1626.  
  1627. public static void clanChatTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  1628. {
  1629. RSInterface localRSInterface1 = addTabInterface(122);
  1630. addHoverButton(18129, "Interfaces/Clan Chat/SPRITE", 6, 72, 32, "Join Chat", 550, 18130, 1);
  1631. addHoveredButton(18130, "Interfaces/Clan Chat/SPRITE", 7, 72, 32, 18131);
  1632. addHoverButton(18132, "Interfaces/Clan Chat/SPRITE", 6, 72, 32, "Leave Chat", -1, 18133, 5);
  1633. addHoveredButton(18133, "Interfaces/Clan Chat/SPRITE", 7, 72, 32, 18134);
  1634. addToggleButton(18250, 0, 1, "Interfaces/Clan Chat/Lootshare", "Toggle-Lootshare", 1, 4, 500);
  1635. drawTooltip(18251, "Toggle-Lootshare");
  1636. addText(18135, "Join Chat", paramArrayOfTextDrawingArea, 0, 16751360, true, true);
  1637. addText(18136, "Leave Chat", paramArrayOfTextDrawingArea, 0, 16751360, true, true);
  1638. addSprite(18137, 37, "Interfaces/Clan Chat/SPRITE");
  1639. addText(18138, "Clan Chat", paramArrayOfTextDrawingArea, 1, 16751360, true, true);
  1640. addText(18139, "Talking in: Not in chat", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  1641. addText(18140, "Owner: None", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
  1642. localRSInterface1.totalChildren(13);
  1643. localRSInterface1.child(0, 18137, 3, 57);
  1644. localRSInterface1.child(1, 18143, 7, 62);
  1645. localRSInterface1.child(2, 18129, 15, 227);
  1646. localRSInterface1.child(3, 18130, 15, 227);
  1647. localRSInterface1.child(4, 18132, 103, 226);
  1648. localRSInterface1.child(5, 18133, 103, 226);
  1649. localRSInterface1.child(6, 18135, 51, 238);
  1650. localRSInterface1.child(7, 18136, 139, 238);
  1651. localRSInterface1.child(8, 18138, 95, 3);
  1652. localRSInterface1.child(9, 18139, 10, 23);
  1653. localRSInterface1.child(10, 18140, 25, 38);
  1654. localRSInterface1.child(11, 18250, 148, 24);
  1655. localRSInterface1.child(12, 18251, 74, 60);
  1656.  
  1657. RSInterface localRSInterface2 = addTabInterface(18143);
  1658. localRSInterface2.totalChildren(100);
  1659. for (int i = 18144; i <= 18244; i++) {
  1660. addText(i, "", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  1661. }
  1662. i = 18144; for (int j = 0; (i <= 18243) && (j <= 99); j++) {
  1663. localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 5;
  1664. int k = 18144; for (int m = 1; (k <= 18243) && (m <= 99); m++) {
  1665. localRSInterface2.childY[0] = 2;
  1666. localRSInterface2.childY[m] = (localRSInterface2.childY[(m - 1)] + 14);
  1667.  
  1668. k++;
  1669. }
  1670. i++;
  1671. }
  1672.  
  1673. localRSInterface2.height = 152;
  1674. localRSInterface2.width = 164;
  1675. localRSInterface2.scrollMax = 1405;
  1676. }
  1677.  
  1678. public static void PVPInterface(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1679. RSInterface localRSInterface = addInterface(1100);
  1680. addText(1101, " EP: 0%", paramArrayOfTextDrawingArea, 1, 16750621, false, true);
  1681. addText(1102, "110 - 126", paramArrayOfTextDrawingArea, 1, 16750621, false, true);
  1682. int i = 2;
  1683. localRSInterface.children = new int[i];
  1684. localRSInterface.childX = new int[i];
  1685. localRSInterface.childY = new int[i];
  1686. setBounds(1101, 437, 320, 0, localRSInterface);
  1687. setBounds(1102, 432, 301, 1, localRSInterface);
  1688. }
  1689.  
  1690. public static void SafeTimer(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1691. RSInterface localRSInterface = addInterface(4535);
  1692. addSprite(4537, 0, "Other/INWILD1");
  1693. addText(4536, "", paramArrayOfTextDrawingArea, 1, 16748608, true, true);
  1694. int i = 2;
  1695. localRSInterface.children = new int[i];
  1696. localRSInterface.childX = new int[i];
  1697. localRSInterface.childY = new int[i];
  1698. setBounds(4537, 460, 0, 0, localRSInterface);
  1699. setBounds(4536, 470, 25, 1, localRSInterface);
  1700. }
  1701.  
  1702. public static void PVPInterface2(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1703. RSInterface localRSInterface = addInterface(21300);
  1704. addSprite(21301, 0, "Other/INWILD1");
  1705. addText(21302, "", paramArrayOfTextDrawingArea, 1, 16748608, true, true);
  1706. addText(21303, "EP:", paramArrayOfTextDrawingArea, 2, 16748608, true, true);
  1707. int i = 3;
  1708. localRSInterface.children = new int[i];
  1709. localRSInterface.childX = new int[i];
  1710. localRSInterface.childY = new int[i];
  1711. setBounds(21301, 470, 0, 0, localRSInterface);
  1712. setBounds(21302, 485, 25, 1, localRSInterface);
  1713. setBounds(21303, 480, 38, 2, localRSInterface);
  1714. }
  1715. public static void Multi(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1716. RSInterface localRSInterface = addInterface(199);
  1717. addSprite(200, 0, "Other/Multi");
  1718. int i = 1;
  1719. localRSInterface.children = new int[i];
  1720. localRSInterface.childX = new int[i];
  1721. localRSInterface.childY = new int[i];
  1722. setBounds(200, 485, 5, 0, localRSInterface);
  1723. }
  1724.  
  1725. public static void addText(int paramInt1, String paramString, int paramInt2, boolean paramBoolean1, boolean paramBoolean2, int paramInt3, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt4) {
  1726. RSInterface localRSInterface = addInterface(paramInt1);
  1727. localRSInterface.parentID = paramInt1;
  1728. localRSInterface.id = paramInt1;
  1729. localRSInterface.type = 4;
  1730. localRSInterface.atActionType = 0;
  1731. localRSInterface.width = 0;
  1732. localRSInterface.height = 0;
  1733. localRSInterface.contentType = 0;
  1734. localRSInterface.opacity = 0;
  1735. localRSInterface.mOverInterToTrigger = paramInt3;
  1736. localRSInterface.centerText = paramBoolean1;
  1737. localRSInterface.textShadow = paramBoolean2;
  1738. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt4];
  1739. localRSInterface.message = paramString;
  1740. localRSInterface.aString228 = "";
  1741. localRSInterface.textColor = paramInt2;
  1742. }
  1743.  
  1744. public static void Trade(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1745. RSInterface localRSInterface = addTabInterface(3323);
  1746. setChildren(15, localRSInterface);
  1747. addSprite(3324, 6, "Bank/TRADE");
  1748. addHover(3442, 3, 0, 3325, 1, "Bank/BANK", 17, 17, "Close Window");
  1749. addHovered(3325, 2, "Bank/BANK", 17, 17, 3326);
  1750. addText(3417, "Trading With:", 16750899, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1751. addText(3418, "Trader's Offer", 16750899, false, true, 52, paramArrayOfTextDrawingArea, 1);
  1752. addText(3419, "Your Offer", 16750899, false, true, 52, paramArrayOfTextDrawingArea, 1);
  1753. addText(3421, "Accept", 49152, true, true, 52, paramArrayOfTextDrawingArea, 1);
  1754. addText(3423, "Decline", 12582912, true, true, 52, paramArrayOfTextDrawingArea, 1);
  1755. addText(3431, "Waiting For Other Player", 16777215, true, true, 52, paramArrayOfTextDrawingArea, 1);
  1756. addHover(3420, 1, 0, 3327, 5, "Bank/TRADE", 65, 32, "Accept");
  1757. addHovered(3327, 2, "Bank/TRADE", 65, 32, 3328);
  1758. addHover(3422, 3, 0, 3329, 5, "Bank/TRADE", 65, 32, "Close Window");
  1759. addHovered(3329, 2, "Bank/TRADE", 65, 32, 3330);
  1760. setBounds(3324, 0, 16, 0, localRSInterface);
  1761. setBounds(3442, 485, 24, 1, localRSInterface);
  1762. setBounds(3325, 485, 24, 2, localRSInterface);
  1763. setBounds(3417, 258, 25, 3, localRSInterface);
  1764. setBounds(3418, 355, 51, 4, localRSInterface);
  1765. setBounds(3419, 68, 51, 5, localRSInterface);
  1766. setBounds(3420, 223, 120, 6, localRSInterface);
  1767. setBounds(3327, 223, 120, 7, localRSInterface);
  1768. setBounds(3422, 223, 160, 8, localRSInterface);
  1769. setBounds(3329, 223, 160, 9, localRSInterface);
  1770. setBounds(3421, 256, 127, 10, localRSInterface);
  1771. setBounds(3423, 256, 167, 11, localRSInterface);
  1772. setBounds(3431, 256, 272, 12, localRSInterface);
  1773. setBounds(3415, 12, 64, 13, localRSInterface);
  1774. setBounds(3416, 321, 64, 14, localRSInterface);
  1775. localRSInterface = addTabInterface(3443);
  1776. setChildren(15, localRSInterface);
  1777. addSprite(3444, 3, "Bank/TRADE");
  1778. addButton(3546, 2, "Bank/SHOP", 63, 24, "Accept", 1);
  1779. addButton(3548, 2, "Bank/SHOP", 63, 24, "Decline", 1);
  1780. addText(3547, "Accept", 49152, true, true, 52, paramArrayOfTextDrawingArea, 1);
  1781. addText(3549, "Decline", 12582912, true, true, 52, paramArrayOfTextDrawingArea, 1);
  1782. addText(3450, "Trading With:", 65535, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1783. addText(3451, "Yourself", 65535, true, true, 52, paramArrayOfTextDrawingArea, 2);
  1784. setBounds(3444, 12, 20, 0, localRSInterface);
  1785. setBounds(3442, 470, 32, 1, localRSInterface);
  1786. setBounds(3325, 470, 32, 2, localRSInterface);
  1787. setBounds(3535, 130, 28, 3, localRSInterface);
  1788. setBounds(3536, 105, 47, 4, localRSInterface);
  1789. setBounds(3546, 189, 295, 5, localRSInterface);
  1790. setBounds(3548, 258, 295, 6, localRSInterface);
  1791. setBounds(3547, 220, 299, 7, localRSInterface);
  1792. setBounds(3549, 288, 299, 8, localRSInterface);
  1793. setBounds(3557, 71, 87, 9, localRSInterface);
  1794. setBounds(3558, 315, 87, 10, localRSInterface);
  1795. setBounds(3533, 64, 70, 11, localRSInterface);
  1796. setBounds(3534, 297, 70, 12, localRSInterface);
  1797. setBounds(3450, 95, 289, 13, localRSInterface);
  1798. setBounds(3451, 95, 304, 14, localRSInterface);
  1799. }
  1800.  
  1801. public static void Bank() {
  1802. RSInterface localRSInterface = addTabInterface(5292);
  1803. setChildren(21, localRSInterface);
  1804. addSprite(5293, 0, "Bank/BANK");
  1805. setBounds(5293, 13, 13, 0, localRSInterface);
  1806. addHover(5384, 3, 0, 5380, 1, "Bank/BANK", 17, 17, "Close Window");
  1807. addHovered(5380, 2, "Bank/BANK", 17, 17, 5379);
  1808. addHoverButton(22020, "Interfaces/Equipment/BANK", 0, 72, 32, "Equipment Stats", -1, 22021, 5);
  1809. addHoveredButton(22021, "Interfaces/Equipment/BANK", 1, 72, 32, 22022);
  1810. setBounds(5384, 476, 16, 3, localRSInterface);
  1811. setBounds(5380, 476, 16, 4, localRSInterface);
  1812.  
  1813. setBounds(22020, 457, 35, 19, localRSInterface);
  1814. setBounds(22021, 457, 35, 20, localRSInterface);
  1815.  
  1816. addHover(5294, 4, 0, 5295, 3, "Bank/BANK", 114, 25, "Set A Bank PIN");
  1817. addHovered(5295, 4, "Bank/BANK", 114, 25, 5296);
  1818. setBounds(5294, 110, 285, 5, localRSInterface);
  1819. setBounds(5295, 110, 285, 6, localRSInterface);
  1820. addBankHover(21000, 4, 21001, 5, 8, "Bank/BANK", 35, 25, 304, 1, "Swap Withdraw Mode", 21002, 7, 6, "Bank/BANK", 21003, "Switch to insert items \nmode", "Switch to swap items \nmode.", 12, 20);
  1821. setBounds(21000, 25, 285, 7, localRSInterface);
  1822. setBounds(21001, 10, 225, 8, localRSInterface);
  1823. addBankHover(21004, 4, 21005, 13, 15, "Bank/BANK", 35, 25, 0, 1, "Search", 21006, 14, 16, "Bank/BANK", 21007, "Click here to search your \nbank", "Click here to search your \nbank", 12, 20);
  1824. setBounds(21004, 65, 285, 9, localRSInterface);
  1825. setBounds(21005, 50, 225, 10, localRSInterface);
  1826. addBankHover(21008, 4, 21009, 9, 11, "Bank/BANK", 35, 25, 115, 1, "Swap Items Noted", 21010, 10, 12, "Bank/BANK", 21011, "Switch to note withdrawal \nmode", "Switch to item withdrawal \nmode", 12, 20);
  1827. setBounds(21008, 240, 285, 11, localRSInterface);
  1828. setBounds(21009, 225, 225, 12, localRSInterface);
  1829. addBankHover1(21012, 5, 21013, 17, "Bank/BANK", 35, 25, "Deposit carried items", 21014, 18, "Bank/BANK", 21015, "Empty your backpack into\nyour bank", 0, 20);
  1830. setBounds(21012, 375, 285, 13, localRSInterface);
  1831. setBounds(21013, 360, 225, 14, localRSInterface);
  1832. addBankHover1(21016, 5, 21017, 19, "Bank/BANK", 35, 25, "Deposit worn items", 21018, 20, "Bank/BANK", 21019, "Empty the items your are\nwearing into your bank", 0, 20);
  1833. setBounds(21016, 415, 285, 15, localRSInterface);
  1834. setBounds(21017, 400, 225, 16, localRSInterface);
  1835. addBankHover1(21020, 5, 21021, 21, "Bank/BANK", 35, 25, "Deposit beast of burden inventory", 21022, 22, "Bank/BANK", 21023, "Empty your BoB's inventory\ninto your bank", 0, 20);
  1836. setBounds(21020, 455, 285, 17, localRSInterface);
  1837. setBounds(21021, 440, 225, 18, localRSInterface);
  1838. setBounds(5383, 170, 15, 1, localRSInterface);
  1839. setBounds(5385, -4, 74, 2, localRSInterface);
  1840. localRSInterface = interfaceCache[5385];
  1841. localRSInterface.height = 206;
  1842. localRSInterface.width = 480;
  1843. localRSInterface = interfaceCache[5382];
  1844. localRSInterface.width = 10;
  1845. localRSInterface.invSpritePadX = 12;
  1846. localRSInterface.height = 35;
  1847. }
  1848.  
  1849. public static void itemsKeptOnDeath(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  1850. RSInterface localRSInterface1 = addTabInterface(18100);
  1851. RSInterface localRSInterface2 = addTabInterface(18111);
  1852. addSprite(18101, 2, "Equipment/SPRITE");
  1853. addHButton(18102, "close", 0, 16, 16, "Close Button", 18103, 3, 1);
  1854. addText(18105, "Items Kept on Death", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
  1855. addText(18106, "Items you will keep on death (if not skulled):", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
  1856. addText(18107, "Items you will lose on death (if not skulled):", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
  1857. addText(18108, "Information:", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
  1858. addText(18109, "Max Items Kept on death:", paramArrayOfTextDrawingArea, 1, 16763955, false, true);
  1859. addText(18110, " 3, 4 With Protect Item", paramArrayOfTextDrawingArea, 1, 16763955, true, true);
  1860.  
  1861. localRSInterface1.totalChildren(12);
  1862. int[] arrayOfInt1 = { 18101, 18102, 18103, 18105, 18106, 18107, 18108, 18109, 18110, 18111, 10494, 10600 };
  1863. int[] arrayOfInt2 = { 7, 480, 480, 255, 22, 22, 347, 349, 398, 348, 26, 26 };
  1864. int[] arrayOfInt3 = { 8, 17, 17, 23, 48, 108, 47, 270, 298, 64, 74, 133 };
  1865. for (int i = 0; i < arrayOfInt1.length; i++) {
  1866. localRSInterface1.child(i, arrayOfInt1[i], arrayOfInt2[i], arrayOfInt3[i]);
  1867. }
  1868.  
  1869. for (i = 18112; i <= 18131; i++) {
  1870. addText(i, "Line id: " + i + "", paramArrayOfTextDrawingArea, 0, 16750623, false, false);
  1871. }
  1872. localRSInterface2.totalChildren(21);
  1873. i = 18112; int j = 0; for (int k = 2; i <= 18132; i++) {
  1874. localRSInterface2.child(j, i, 1, k);
  1875. j++;
  1876. k += 12;
  1877. }
  1878. localRSInterface2.scrollMax = 280;
  1879. localRSInterface2.width = 130;
  1880. localRSInterface2.height = 197;
  1881. }
  1882.  
  1883. private static void addHButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, int paramInt4, String paramString2, int paramInt5, int paramInt6, int paramInt7) {
  1884. addHoverButton(paramInt1, paramString1, paramInt2, paramInt3, paramInt4, paramString2, 0, paramInt5, paramInt6);
  1885. addHoveredButton(paramInt5, paramString1, paramInt7, paramInt3, paramInt4, paramInt5 + 1);
  1886. }
  1887.  
  1888. public static void Shop(TextDrawingArea[] paramArrayOfTextDrawingArea)
  1889. {
  1890. RSInterface localRSInterface = addTabInterface(3824);
  1891. setChildren(8, localRSInterface);
  1892. addSprite(3825, 0, "Bank/SHOP");
  1893. addHover(3902, 3, 0, 3826, 1, "Bank/BANK", 17, 17, "Close Window");
  1894. addHovered(3826, 2, "Bank/BANK", 17, 17, 3827);
  1895. addText(19679, "Main Stock", 16750623, false, true, 52, paramArrayOfTextDrawingArea, 1);
  1896. addText(19680, "", 12547357, false, true, 52, paramArrayOfTextDrawingArea, 1);
  1897. addButton(19681, 2, "Bank/SHOP", 95, 19, "Store Information", 1);
  1898. setBounds(3825, 12, 12, 0, localRSInterface);
  1899. setBounds(3902, 471, 22, 1, localRSInterface);
  1900. setBounds(3826, 471, 22, 2, localRSInterface);
  1901. setBounds(3900, 60, 85, 3, localRSInterface);
  1902. setBounds(3901, 240, 21, 4, localRSInterface);
  1903. setBounds(19679, 42, 54, 5, localRSInterface);
  1904. setBounds(19680, 150, 54, 6, localRSInterface);
  1905. setBounds(19681, 129, 50, 7, localRSInterface);
  1906. localRSInterface = interfaceCache[3900];
  1907. localRSInterface.invSpritePadX = 8;
  1908. localRSInterface.width = 10;
  1909. localRSInterface.height = 4;
  1910. localRSInterface.invSpritePadY = 19;
  1911. localRSInterface = addTabInterface(19682);
  1912. addSprite(19683, 1, "Bank/SHOP");
  1913. addText(19684, "Main Stock", 12547357, false, true, 52, paramArrayOfTextDrawingArea, 1);
  1914. addText(19685, "", 16750623, false, true, 52, paramArrayOfTextDrawingArea, 1);
  1915. addButton(19686, 2, "Bank/SHOP", 95, 19, "Main Stock", 1);
  1916. setChildren(7, localRSInterface);
  1917. setBounds(19683, 12, 12, 0, localRSInterface);
  1918. setBounds(3901, 240, 21, 1, localRSInterface);
  1919. setBounds(19684, 42, 54, 2, localRSInterface);
  1920. setBounds(19685, 150, 54, 3, localRSInterface);
  1921. setBounds(19686, 23, 50, 4, localRSInterface);
  1922. setBounds(3902, 471, 22, 5, localRSInterface);
  1923. setBounds(3826, 60, 85, 6, localRSInterface);
  1924. }
  1925.  
  1926. public static void addPouch(int paramInt)
  1927. {
  1928. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  1929. localRSInterface.actions = new String[5];
  1930. localRSInterface.spritesX = new int[36];
  1931. localRSInterface.invStackSizes = new int[36];
  1932. localRSInterface.inv = new int[36];
  1933. localRSInterface.spritesY = new int[36];
  1934.  
  1935. localRSInterface.children = new int[0];
  1936. localRSInterface.childX = new int[0];
  1937. localRSInterface.childY = new int[0];
  1938.  
  1939. localRSInterface.spritesY[0] = 0;
  1940. localRSInterface.spritesY[1] = 0;
  1941. localRSInterface.spritesY[2] = 0;
  1942. localRSInterface.spritesY[3] = 0;
  1943. localRSInterface.spritesY[4] = 0;
  1944. localRSInterface.spritesY[5] = 0;
  1945. localRSInterface.spritesY[6] = 0;
  1946. localRSInterface.spritesY[7] = 0;
  1947. localRSInterface.spritesY[8] = 0;
  1948. localRSInterface.spritesY[9] = 0;
  1949. localRSInterface.spritesY[10] = 0;
  1950. localRSInterface.spritesY[11] = 0;
  1951. localRSInterface.spritesY[12] = 0;
  1952. localRSInterface.spritesY[13] = 0;
  1953. localRSInterface.spritesY[14] = 0;
  1954. localRSInterface.spritesY[15] = 0;
  1955. localRSInterface.spritesY[16] = 0;
  1956. localRSInterface.spritesY[17] = 0;
  1957. localRSInterface.spritesY[18] = 0;
  1958. localRSInterface.spritesY[19] = 0;
  1959. localRSInterface.spritesY[20] = 0;
  1960. localRSInterface.spritesY[21] = 0;
  1961. localRSInterface.spritesY[22] = 0;
  1962. localRSInterface.spritesY[23] = 0;
  1963. localRSInterface.spritesY[24] = 0;
  1964. localRSInterface.spritesY[25] = 0;
  1965. localRSInterface.spritesY[26] = 0;
  1966. localRSInterface.spritesY[27] = 0;
  1967. localRSInterface.spritesY[28] = 0;
  1968. localRSInterface.spritesY[29] = 0;
  1969. localRSInterface.spritesY[30] = 0;
  1970. localRSInterface.spritesY[31] = 0;
  1971. localRSInterface.spritesY[32] = 0;
  1972. localRSInterface.spritesY[33] = 0;
  1973. localRSInterface.spritesY[34] = 0;
  1974. localRSInterface.spritesY[35] = 0;
  1975. localRSInterface.invStackSizes[0] = 0;
  1976. localRSInterface.invStackSizes[1] = 0;
  1977. localRSInterface.invStackSizes[2] = 0;
  1978. localRSInterface.invStackSizes[3] = 0;
  1979. localRSInterface.invStackSizes[4] = 0;
  1980. localRSInterface.invStackSizes[5] = 0;
  1981. localRSInterface.invStackSizes[6] = 0;
  1982. localRSInterface.invStackSizes[7] = 0;
  1983. localRSInterface.invStackSizes[8] = 0;
  1984. localRSInterface.invStackSizes[9] = 0;
  1985. localRSInterface.invStackSizes[10] = 0;
  1986. localRSInterface.invStackSizes[11] = 0;
  1987. localRSInterface.invStackSizes[12] = 0;
  1988. localRSInterface.invStackSizes[13] = 0;
  1989. localRSInterface.invStackSizes[14] = 0;
  1990. localRSInterface.invStackSizes[15] = 0;
  1991. localRSInterface.invStackSizes[16] = 0;
  1992. localRSInterface.invStackSizes[17] = 0;
  1993. localRSInterface.invStackSizes[18] = 0;
  1994. localRSInterface.invStackSizes[19] = 0;
  1995. localRSInterface.invStackSizes[20] = 0;
  1996. localRSInterface.invStackSizes[21] = 0;
  1997. localRSInterface.invStackSizes[22] = 0;
  1998. localRSInterface.invStackSizes[23] = 0;
  1999. localRSInterface.invStackSizes[24] = 0;
  2000. localRSInterface.invStackSizes[25] = 0;
  2001. localRSInterface.invStackSizes[26] = 0;
  2002. localRSInterface.invStackSizes[27] = 0;
  2003. localRSInterface.invStackSizes[28] = 0;
  2004. localRSInterface.invStackSizes[29] = 0;
  2005. localRSInterface.invStackSizes[30] = 0;
  2006. localRSInterface.invStackSizes[31] = 0;
  2007. localRSInterface.invStackSizes[32] = 0;
  2008. localRSInterface.invStackSizes[33] = 0;
  2009. localRSInterface.invStackSizes[34] = 0;
  2010. localRSInterface.invStackSizes[35] = 0;
  2011. localRSInterface.inv[0] = 0;
  2012. localRSInterface.inv[1] = 0;
  2013. localRSInterface.inv[2] = 0;
  2014. localRSInterface.inv[3] = 0;
  2015. localRSInterface.inv[4] = 0;
  2016. localRSInterface.inv[5] = 0;
  2017. localRSInterface.inv[6] = 0;
  2018. localRSInterface.inv[7] = 0;
  2019. localRSInterface.inv[8] = 0;
  2020. localRSInterface.inv[9] = 0;
  2021. localRSInterface.inv[10] = 0;
  2022. localRSInterface.inv[11] = 0;
  2023. localRSInterface.inv[12] = 0;
  2024. localRSInterface.inv[13] = 0;
  2025. localRSInterface.inv[14] = 0;
  2026. localRSInterface.inv[15] = 0;
  2027. localRSInterface.inv[16] = 0;
  2028. localRSInterface.inv[17] = 0;
  2029. localRSInterface.inv[18] = 0;
  2030. localRSInterface.inv[19] = 0;
  2031. localRSInterface.inv[20] = 0;
  2032. localRSInterface.inv[21] = 0;
  2033. localRSInterface.inv[22] = 0;
  2034. localRSInterface.inv[23] = 0;
  2035. localRSInterface.inv[24] = 0;
  2036. localRSInterface.inv[25] = 0;
  2037. localRSInterface.inv[26] = 0;
  2038. localRSInterface.inv[27] = 0;
  2039. localRSInterface.inv[28] = 0;
  2040. localRSInterface.inv[29] = 0;
  2041. localRSInterface.inv[30] = 0;
  2042. localRSInterface.inv[31] = 0;
  2043. localRSInterface.inv[32] = 0;
  2044. localRSInterface.inv[33] = 0;
  2045. localRSInterface.inv[34] = 0;
  2046. localRSInterface.inv[35] = 0;
  2047. localRSInterface.spritesX[0] = 0;
  2048. localRSInterface.spritesX[1] = 0;
  2049. localRSInterface.spritesX[2] = 0;
  2050. localRSInterface.spritesX[3] = 0;
  2051. localRSInterface.spritesX[4] = 0;
  2052. localRSInterface.spritesX[5] = 0;
  2053. localRSInterface.spritesX[6] = 0;
  2054. localRSInterface.spritesX[7] = 0;
  2055. localRSInterface.spritesX[8] = 0;
  2056. localRSInterface.spritesX[9] = 0;
  2057. localRSInterface.spritesX[10] = 0;
  2058. localRSInterface.spritesX[11] = 0;
  2059. localRSInterface.spritesX[12] = 0;
  2060. localRSInterface.spritesX[13] = 0;
  2061. localRSInterface.spritesX[14] = 0;
  2062. localRSInterface.spritesX[15] = 0;
  2063. localRSInterface.spritesX[16] = 0;
  2064. localRSInterface.spritesX[17] = 0;
  2065. localRSInterface.spritesX[18] = 0;
  2066. localRSInterface.spritesX[19] = 0;
  2067. localRSInterface.spritesX[20] = 0;
  2068. localRSInterface.spritesX[21] = 0;
  2069. localRSInterface.spritesX[22] = 0;
  2070. localRSInterface.spritesX[23] = 0;
  2071. localRSInterface.spritesX[24] = 0;
  2072. localRSInterface.spritesX[25] = 0;
  2073. localRSInterface.spritesX[26] = 0;
  2074. localRSInterface.spritesX[27] = 0;
  2075. localRSInterface.spritesX[28] = 0;
  2076. localRSInterface.spritesX[29] = 0;
  2077. localRSInterface.spritesX[30] = 0;
  2078. localRSInterface.spritesX[31] = 0;
  2079. localRSInterface.spritesX[32] = 0;
  2080. localRSInterface.spritesX[33] = 0;
  2081. localRSInterface.spritesX[34] = 0;
  2082. localRSInterface.spritesX[35] = 0;
  2083. localRSInterface.actions[0] = "Infuse";
  2084. localRSInterface.actions[1] = "Infuse-5";
  2085. localRSInterface.actions[2] = "Infuse-10";
  2086. localRSInterface.actions[3] = "Infuse-All";
  2087. localRSInterface.actions[4] = "List";
  2088. localRSInterface.centerText = false;
  2089. localRSInterface.aBoolean227 = false;
  2090. localRSInterface.aBoolean235 = false;
  2091. localRSInterface.usableItemInterface = false;
  2092. localRSInterface.isInventoryInterface = false;
  2093. localRSInterface.aBoolean251 = false;
  2094. localRSInterface.aBoolean259 = true;
  2095. localRSInterface.interfaceShown = false;
  2096. localRSInterface.textShadow = false;
  2097. localRSInterface.width = 8;
  2098. localRSInterface.hoverType = -1;
  2099. localRSInterface.invSpritePadX = 24;
  2100. localRSInterface.parentID = 17827;
  2101. localRSInterface.invSpritePadY = 24;
  2102. localRSInterface.id = 17824;
  2103. localRSInterface.type = 2;
  2104. localRSInterface.height = 4;
  2105. }
  2106.  
  2107. public static void drawItem(int paramInt1, int paramInt2, String paramString)
  2108. {
  2109. RSInterface localRSInterface = addInterface(paramInt1);
  2110. localRSInterface.type = 5;
  2111. localRSInterface.atActionType = 0;
  2112. localRSInterface.contentType = 0;
  2113. localRSInterface.opacity = 0;
  2114. localRSInterface.mOverInterToTrigger = 52;
  2115. localRSInterface.sprite1 = imageLoader(paramInt2, "Pouches/CHARM");
  2116. localRSInterface.width = 500;
  2117. localRSInterface.height = 500;
  2118. }
  2119.  
  2120. public static void addItemText(int paramInt1, int paramInt2, int paramInt3, TextDrawingArea[] paramArrayOfTextDrawingArea) {
  2121. RSInterface localRSInterface = addInterface(paramInt1);
  2122. localRSInterface.id = paramInt1;
  2123. localRSInterface.parentID = 1151;
  2124. localRSInterface.type = 4;
  2125. localRSInterface.atActionType = 0;
  2126. localRSInterface.contentType = 0;
  2127. localRSInterface.width = 0;
  2128. localRSInterface.height = 14;
  2129. localRSInterface.opacity = 0;
  2130. localRSInterface.mOverInterToTrigger = -1;
  2131. localRSInterface.valueCompareType = new int[1];
  2132. localRSInterface.requiredValues = new int[1];
  2133. localRSInterface.valueCompareType[0] = 3;
  2134. localRSInterface.requiredValues[0] = paramInt2;
  2135. localRSInterface.valueIndexArray = new int[1][4];
  2136. localRSInterface.valueIndexArray[0][0] = 4;
  2137. localRSInterface.valueIndexArray[0][1] = 3214;
  2138. localRSInterface.valueIndexArray[0][2] = paramInt3;
  2139. localRSInterface.valueIndexArray[0][3] = 0;
  2140. localRSInterface.centerText = true;
  2141. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[0];
  2142. localRSInterface.textShadow = true;
  2143. localRSInterface.message = ("%1/" + paramInt2 + "");
  2144. localRSInterface.aString228 = "";
  2145. localRSInterface.textColor = 12582912;
  2146. localRSInterface.anInt219 = 49152;
  2147. }
  2148.  
  2149. public static void vote(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  2150. RSInterface localRSInterface = addTabInterface(4100);
  2151. addSprite(19051, 4, "Vote/CUSTOM");
  2152. addHoverButton(19052, "Vote/CUSTOM", 0, 63, 44, "@red@Misc reward", 0, 19053, 1);
  2153. addHoveredButton(19053, "Vote/CUSTOM", 1, 63, 44, 19054);
  2154. addHoverButton(19055, "Vote/CUSTOM", 2, 39, 45, "@red@Cash reward", 0, 19056, 1);
  2155. addHoveredButton(19056, "Vote/CUSTOM", 3, 39, 45, 19057);
  2156. localRSInterface.totalChildren(5);
  2157. localRSInterface.child(0, 19051, 80, 95);
  2158. localRSInterface.child(1, 19052, 300, 155);
  2159. localRSInterface.child(2, 19053, 300, 155);
  2160. localRSInterface.child(3, 19055, 150, 155);
  2161. localRSInterface.child(4, 19056, 150, 155);
  2162. }
  2163.  
  2164. public static void questTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  2165. RSInterface localRSInterface1 = addTabInterface(638);
  2166. RSInterface localRSInterface2 = addTabInterface(16025);
  2167. addText(640, "Quests", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  2168. addText(663, "Available", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  2169. addText(682, "Members", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  2170. addSprite(16022, 4, "SPRITE");
  2171. addText(16023, "Quest Points: 0", paramArrayOfTextDrawingArea, 0, 15439903, false, true);
  2172. addSprite(16024, 5, "SPRITE");
  2173. localRSInterface1.totalChildren(6);
  2174. localRSInterface1.child(0, 640, 5, 5);
  2175. localRSInterface1.child(1, 16024, 0, 25);
  2176. localRSInterface1.child(2, 16025, 6, 24);
  2177. localRSInterface1.child(3, 16022, 0, 22);
  2178. localRSInterface1.child(4, 16022, 0, 249);
  2179. localRSInterface1.child(5, 16023, 4, 251);
  2180.  
  2181. for (int i = 16026; i <= 16125; i++) {
  2182. addClickableTextB(i, "" + i, "Show", paramArrayOfTextDrawingArea, 0, 16711680, false, true, 150);
  2183. }
  2184. localRSInterface2.totalChildren(101);
  2185. localRSInterface2.child(0, 663, 4, 2);
  2186. i = 1; for (int j = 16026; (i <= 100) && (j <= 16125); j++) {
  2187. localRSInterface2.childY[1] = 18;
  2188. localRSInterface2.child(i, j, 9, localRSInterface2.childY[(i - 1)] + 13);
  2189.  
  2190. i++;
  2191. }
  2192.  
  2193. localRSInterface2.width = 168;
  2194. localRSInterface2.height = 225;
  2195. localRSInterface2.scrollMax = 1320;
  2196. }
  2197.  
  2198. public static void addText(int paramInt1, String paramString, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2, int paramInt4, int paramInt5) {
  2199. RSInterface localRSInterface = addTabInterface(paramInt1);
  2200. localRSInterface.parentID = paramInt1;
  2201. localRSInterface.id = paramInt1;
  2202. localRSInterface.type = 4;
  2203. localRSInterface.atActionType = 0;
  2204. localRSInterface.width = paramInt5;
  2205. localRSInterface.height = paramInt4;
  2206. localRSInterface.contentType = 0;
  2207. localRSInterface.opacity = 0;
  2208. localRSInterface.mOverInterToTrigger = -1;
  2209. localRSInterface.centerText = paramBoolean1;
  2210. localRSInterface.textShadow = paramBoolean2;
  2211. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
  2212. localRSInterface.message = paramString;
  2213. localRSInterface.aString228 = "";
  2214. localRSInterface.textColor = paramInt3;
  2215. localRSInterface.anInt219 = 0;
  2216. localRSInterface.anInt216 = 0;
  2217. localRSInterface.anInt239 = 0;
  2218. }
  2219.  
  2220. public static void levelUp0(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  2221. RSInterface localRSInterface = addTabInterface(13824);
  2222. addSprite(13825, 23, "Skill/LEVELUP");
  2223. addText(13826, "blalblabla", paramArrayOfTextDrawingArea, 2, 0, false, false, 20, 20);
  2224. addText(13827, "blalblabla", paramArrayOfTextDrawingArea, 2, 0, false, false, 20, 20);
  2225.  
  2226. addClickableText(13828, "Click to continue", "Continue", paramArrayOfTextDrawingArea, 1, 1270489, 100, 150, false, 1);
  2227. localRSInterface.totalChildren(4);
  2228. localRSInterface.child(0, 13825, 12, 25);
  2229. localRSInterface.child(1, 13826, 110, 12);
  2230. localRSInterface.child(2, 13827, 160, 34);
  2231. localRSInterface.child(3, 13828, 240, 90);
  2232. }
  2233.  
  2234. public static void pouchMaker(TextDrawingArea[] paramArrayOfTextDrawingArea)
  2235. {
  2236. RSInterface localRSInterface = addTabInterface(17824);
  2237. addHoverButton(17828, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 17829, 3);
  2238. addHoveredButton(17829, "Interfaces/Equipment/SPRITE", 3, 21, 21, 17830);
  2239. addSprite(17825, 1, "Bank/SUMM");
  2240.  
  2241. addHoverButton(17831, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17900, 0);
  2242. addHoverButton(17832, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17901, 0);
  2243. addHoverButton(17833, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17902, 0);
  2244. addHoverButton(17834, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17903, 0);
  2245. addHoverButton(17835, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17904, 0);
  2246. addHoverButton(17836, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17905, 0);
  2247. addHoverButton(17837, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17906, 0);
  2248. addHoverButton(17838, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17907, 0);
  2249. addHoverButton(17839, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17908, 0);
  2250. addHoverButton(17840, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17909, 0);
  2251. addHoverButton(17841, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17910, 0);
  2252. addHoverButton(17842, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17911, 0);
  2253. addHoverButton(17843, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17912, 0);
  2254. addHoverButton(17844, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17913, 0);
  2255. addHoverButton(17845, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17914, 0);
  2256. addHoverButton(17846, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17915, 0);
  2257. addHoverButton(17847, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17916, 0);
  2258. addHoverButton(17848, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17917, 0);
  2259. addHoverButton(17849, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17918, 0);
  2260. addHoverButton(17850, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17919, 0);
  2261. addHoverButton(17851, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17920, 0);
  2262. addHoverButton(17852, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17921, 0);
  2263. addHoverButton(17853, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17922, 0);
  2264. addHoverButton(17854, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17923, 0);
  2265. addHoverButton(17855, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17924, 0);
  2266. addHoverButton(17856, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17925, 0);
  2267. addHoverButton(17857, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17926, 0);
  2268. addHoverButton(17858, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17927, 0);
  2269. addHoverButton(17859, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17928, 0);
  2270. addHoverButton(17860, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17929, 0);
  2271. addHoverButton(17861, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17930, 0);
  2272. addHoverButton(17862, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17931, 0);
  2273. addHoverButton(17863, "Interfaces/Minigame/Forward", 0, 16, 16, "Next Page", 0, 17932, 1);
  2274. addHoverButton(17864, "Interfaces/Minigame/Back", 0, 16, 16, "First Page", 0, 17933, 1);
  2275. addPouch(17827);
  2276. addHoveredButton(17900, "Pouches/hover", 0, 55, 55, 17950);
  2277. addHoveredButton(17901, "Pouches/hover", 0, 55, 55, 17951);
  2278. addHoveredButton(17902, "Pouches/hover", 0, 55, 55, 17952);
  2279. addHoveredButton(17903, "Pouches/hover", 0, 55, 55, 17953);
  2280. addHoveredButton(17904, "Pouches/hover", 0, 55, 55, 17954);
  2281. addHoveredButton(17905, "Pouches/hover", 0, 55, 55, 17955);
  2282. addHoveredButton(17906, "Pouches/hover", 0, 55, 55, 17956);
  2283. addHoveredButton(17907, "Pouches/hover", 0, 55, 55, 17957);
  2284. addHoveredButton(17908, "Pouches/hover", 0, 55, 55, 17958);
  2285. addHoveredButton(17909, "Pouches/hover", 0, 55, 55, 17959);
  2286. addHoveredButton(17910, "Pouches/hover", 0, 55, 55, 17960);
  2287. addHoveredButton(17911, "Pouches/hover", 0, 55, 55, 17961);
  2288. addHoveredButton(17912, "Pouches/hover", 0, 55, 55, 17962);
  2289. addHoveredButton(17913, "Pouches/hover", 0, 55, 55, 17963);
  2290. addHoveredButton(17914, "Pouches/hover", 0, 55, 55, 17964);
  2291. addHoveredButton(17915, "Pouches/hover", 0, 55, 55, 17965);
  2292. addHoveredButton(17916, "Pouches/hover", 0, 55, 55, 17966);
  2293. addHoveredButton(17917, "Pouches/hover", 0, 55, 55, 17967);
  2294. addHoveredButton(17918, "Pouches/hover", 0, 55, 55, 17968);
  2295. addHoveredButton(17919, "Pouches/hover", 0, 55, 55, 17969);
  2296. addHoveredButton(17920, "Pouches/hover", 0, 55, 55, 17970);
  2297. addHoveredButton(17921, "Pouches/hover", 0, 55, 55, 17971);
  2298. addHoveredButton(17922, "Pouches/hover", 0, 55, 55, 17972);
  2299. addHoveredButton(17923, "Pouches/hover", 0, 55, 55, 17973);
  2300. addHoveredButton(17924, "Pouches/hover", 0, 55, 55, 17974);
  2301. addHoveredButton(17925, "Pouches/hover", 0, 55, 55, 17975);
  2302. addHoveredButton(17926, "Pouches/hover", 0, 55, 55, 17976);
  2303. addHoveredButton(17927, "Pouches/hover", 0, 55, 55, 17977);
  2304. addHoveredButton(17928, "Pouches/hover", 0, 55, 55, 17978);
  2305. addHoveredButton(17929, "Pouches/hover", 0, 55, 55, 17979);
  2306. addHoveredButton(17930, "Pouches/hover", 0, 55, 55, 17980);
  2307. addHoveredButton(17931, "Pouches/hover", 0, 55, 55, 17981);
  2308. addHoveredButton(17932, "Interfaces/Minigame/Forward", 1, 16, 16, 17982);
  2309. addHoveredButton(17933, "Interfaces/Minigame/Back", 1, 16, 16, 17983);
  2310.  
  2311. addText(7932, "7", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2312. addText(7933, "8", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2313. addText(7934, "8", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2314. addText(7935, "9", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2315. addText(7936, "7", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2316. addText(7937, "1", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2317. addText(7938, "45", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2318. addText(7939, "57", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2319. addText(7940, "64", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2320. addText(7941, "75", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2321. addText(7942, "51", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2322. addText(7943, "47", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2323. addText(7944, "84", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2324. addText(7945, "81", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2325. addText(7946, "84", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2326. addText(7947, "72", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2327. addText(7948, "11", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2328. addText(7949, "78", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2329. addText(7950, "104", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2330. addText(7951, "111", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2331. addText(7952, "88", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2332. addText(7953, "117", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2333. addText(7954, "12", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2334. addText(7955, "106", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2335. addText(7956, "151", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2336. addText(7957, "109", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2337. addText(7958, "153", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2338. addText(7959, "155", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2339. addText(7960, "154", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2340. addText(7961, "144", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2341. addText(7962, "141", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2342. addText(7963, "119", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
  2343. addText(7964, "Page 1", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  2344. addButton(7965, 0, "sprite", 60, 20, "Scroll infuser", 1);
  2345.  
  2346. localRSInterface.totalChildren(106);
  2347. localRSInterface.child(0, 17825, 12, 12);
  2348. localRSInterface.child(1, 17828, 465, 20);
  2349. localRSInterface.child(2, 17827, 40, 60);
  2350. localRSInterface.child(3, 17829, 465, 20);
  2351. localRSInterface.child(4, 17831, 35, 60);
  2352. localRSInterface.child(5, 17832, 91, 60);
  2353. localRSInterface.child(6, 17833, 147, 60);
  2354. localRSInterface.child(7, 17834, 203, 60);
  2355. localRSInterface.child(8, 17835, 259, 60);
  2356. localRSInterface.child(9, 17836, 315, 60);
  2357. localRSInterface.child(10, 17837, 371, 60);
  2358. localRSInterface.child(11, 17838, 427, 60);
  2359. localRSInterface.child(12, 17839, 35, 117);
  2360. localRSInterface.child(13, 17840, 91, 117);
  2361. localRSInterface.child(14, 17841, 147, 117);
  2362. localRSInterface.child(15, 17842, 203, 117);
  2363. localRSInterface.child(16, 17843, 259, 117);
  2364. localRSInterface.child(17, 17844, 315, 117);
  2365. localRSInterface.child(18, 17845, 371, 117);
  2366. localRSInterface.child(19, 17846, 427, 117);
  2367. localRSInterface.child(20, 17847, 35, 172);
  2368. localRSInterface.child(21, 17848, 91, 172);
  2369. localRSInterface.child(22, 17849, 147, 172);
  2370. localRSInterface.child(23, 17850, 203, 172);
  2371. localRSInterface.child(24, 17851, 259, 172);
  2372. localRSInterface.child(25, 17852, 315, 172);
  2373. localRSInterface.child(26, 17853, 371, 172);
  2374. localRSInterface.child(27, 17854, 427, 172);
  2375. localRSInterface.child(28, 17855, 35, 229);
  2376. localRSInterface.child(29, 17856, 91, 229);
  2377. localRSInterface.child(30, 17857, 147, 229);
  2378. localRSInterface.child(31, 17858, 203, 229);
  2379. localRSInterface.child(32, 17859, 259, 229);
  2380. localRSInterface.child(33, 17860, 315, 229);
  2381. localRSInterface.child(34, 17861, 371, 229);
  2382. localRSInterface.child(35, 17862, 427, 229);
  2383. localRSInterface.child(36, 17900, 35, 60);
  2384. localRSInterface.child(37, 17901, 91, 60);
  2385. localRSInterface.child(38, 17902, 147, 60);
  2386. localRSInterface.child(39, 17903, 203, 60);
  2387. localRSInterface.child(40, 17904, 259, 60);
  2388. localRSInterface.child(41, 17905, 315, 60);
  2389. localRSInterface.child(42, 17906, 371, 60);
  2390. localRSInterface.child(43, 17907, 427, 60);
  2391. localRSInterface.child(44, 17908, 35, 117);
  2392. localRSInterface.child(45, 17909, 91, 117);
  2393. localRSInterface.child(46, 17910, 147, 117);
  2394. localRSInterface.child(47, 17911, 203, 117);
  2395. localRSInterface.child(48, 17912, 259, 117);
  2396. localRSInterface.child(49, 17913, 315, 117);
  2397. localRSInterface.child(50, 17914, 371, 117);
  2398. localRSInterface.child(51, 17915, 427, 117);
  2399. localRSInterface.child(52, 17916, 35, 172);
  2400. localRSInterface.child(53, 17917, 91, 172);
  2401. localRSInterface.child(54, 17918, 147, 172);
  2402. localRSInterface.child(55, 17919, 203, 172);
  2403. localRSInterface.child(56, 17920, 259, 172);
  2404. localRSInterface.child(57, 17921, 315, 172);
  2405. localRSInterface.child(58, 17922, 371, 172);
  2406. localRSInterface.child(59, 17923, 427, 172);
  2407. localRSInterface.child(60, 17924, 35, 229);
  2408. localRSInterface.child(61, 17925, 91, 229);
  2409. localRSInterface.child(62, 17926, 147, 229);
  2410. localRSInterface.child(63, 17927, 203, 229);
  2411. localRSInterface.child(64, 17928, 259, 229);
  2412. localRSInterface.child(65, 17929, 315, 229);
  2413. localRSInterface.child(66, 17930, 371, 229);
  2414. localRSInterface.child(67, 17931, 427, 229);
  2415. localRSInterface.child(68, 7932, 65, 99);
  2416. localRSInterface.child(69, 7933, 119, 99);
  2417. localRSInterface.child(70, 7934, 176, 99);
  2418. localRSInterface.child(71, 7935, 232, 99);
  2419. localRSInterface.child(72, 7936, 288, 99);
  2420. localRSInterface.child(73, 7937, 344, 99);
  2421. localRSInterface.child(74, 7938, 400, 99);
  2422. localRSInterface.child(75, 7939, 456, 99);
  2423. localRSInterface.child(76, 7940, 65, 156);
  2424. localRSInterface.child(77, 7941, 119, 156);
  2425. localRSInterface.child(78, 7942, 176, 156);
  2426. localRSInterface.child(79, 7943, 232, 156);
  2427. localRSInterface.child(80, 7944, 288, 156);
  2428. localRSInterface.child(81, 7945, 344, 156);
  2429. localRSInterface.child(82, 7946, 400, 156);
  2430. localRSInterface.child(83, 7947, 456, 156);
  2431. localRSInterface.child(84, 7948, 65, 211);
  2432. localRSInterface.child(85, 7949, 119, 211);
  2433. localRSInterface.child(86, 7950, 176, 211);
  2434. localRSInterface.child(87, 7951, 232, 211);
  2435. localRSInterface.child(88, 7952, 288, 211);
  2436. localRSInterface.child(89, 7953, 344, 211);
  2437. localRSInterface.child(90, 7954, 400, 211);
  2438. localRSInterface.child(91, 7955, 456, 211);
  2439. localRSInterface.child(92, 7956, 65, 268);
  2440. localRSInterface.child(93, 7957, 119, 268);
  2441. localRSInterface.child(94, 7958, 176, 268);
  2442. localRSInterface.child(95, 7959, 232, 268);
  2443. localRSInterface.child(96, 7960, 288, 268);
  2444. localRSInterface.child(97, 7961, 344, 268);
  2445. localRSInterface.child(98, 7962, 400, 268);
  2446. localRSInterface.child(99, 7963, 456, 268);
  2447. localRSInterface.child(100, 7964, 235, 290);
  2448. localRSInterface.child(101, 17863, 465, 290);
  2449. localRSInterface.child(102, 17932, 465, 290);
  2450. localRSInterface.child(103, 17864, 25, 290);
  2451. localRSInterface.child(104, 17933, 25, 290);
  2452. localRSInterface.child(105, 7965, 98, 28);
  2453. }
  2454.  
  2455. public static void scrollMaker(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  2456. RSInterface localRSInterface = addTabInterface(14824);
  2457. addHoverButton(14828, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 14829, 3);
  2458. addHoveredButton(14829, "Interfaces/Equipment/SPRITE", 3, 21, 21, 14830);
  2459. addSprite(14825, 2, "Bank/SUMM");
  2460. addPouch(14827);
  2461.  
  2462. addHoverButton(14831, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14900, 0);
  2463. addHoverButton(14832, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14901, 0);
  2464. addHoverButton(14833, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14902, 0);
  2465. addHoverButton(14834, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14903, 0);
  2466. addHoverButton(14835, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14904, 0);
  2467. addHoverButton(14836, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14905, 0);
  2468. addHoverButton(14837, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14906, 0);
  2469. addHoverButton(14838, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14907, 0);
  2470. addHoverButton(14839, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14908, 0);
  2471. addHoverButton(14840, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14909, 0);
  2472. addHoverButton(14841, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14910, 0);
  2473. addHoverButton(14842, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14911, 0);
  2474. addHoverButton(14843, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14912, 0);
  2475. addHoverButton(14844, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14913, 0);
  2476. addHoverButton(14845, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14914, 0);
  2477. addHoverButton(14846, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14915, 0);
  2478. addHoverButton(14847, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14916, 0);
  2479. addHoverButton(14848, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14917, 0);
  2480. addHoverButton(14849, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14918, 0);
  2481. addHoverButton(14850, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14919, 0);
  2482. addHoverButton(14851, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14920, 0);
  2483. addHoverButton(14852, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14921, 0);
  2484. addHoverButton(14853, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14922, 0);
  2485. addHoverButton(14854, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14923, 0);
  2486. addHoverButton(14855, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14924, 0);
  2487. addHoverButton(14856, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14925, 0);
  2488. addHoverButton(14857, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14926, 0);
  2489. addHoverButton(14858, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14927, 0);
  2490. addHoverButton(14859, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14928, 0);
  2491. addHoverButton(14860, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14929, 0);
  2492. addHoverButton(14861, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14930, 0);
  2493. addHoverButton(14862, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14931, 0);
  2494. addHoverButton(14863, "Interfaces/Minigame/Forward", 0, 16, 16, "Next Page", 0, 14932, 1);
  2495. addHoverButton(14864, "Interfaces/Minigame/Back", 0, 16, 16, "First Page", 0, 14933, 1);
  2496.  
  2497. addHoveredButton(14900, "Pouches/hover", 0, 55, 55, 14950);
  2498. addHoveredButton(14901, "Pouches/hover", 0, 55, 55, 14951);
  2499. addHoveredButton(14902, "Pouches/hover", 0, 55, 55, 14952);
  2500. addHoveredButton(14903, "Pouches/hover", 0, 55, 55, 14953);
  2501. addHoveredButton(14904, "Pouches/hover", 0, 55, 55, 14954);
  2502. addHoveredButton(14905, "Pouches/hover", 0, 55, 55, 14955);
  2503. addHoveredButton(14906, "Pouches/hover", 0, 55, 55, 14956);
  2504. addHoveredButton(14907, "Pouches/hover", 0, 55, 55, 14957);
  2505. addHoveredButton(14908, "Pouches/hover", 0, 55, 55, 14958);
  2506. addHoveredButton(14909, "Pouches/hover", 0, 55, 55, 14959);
  2507. addHoveredButton(14910, "Pouches/hover", 0, 55, 55, 14960);
  2508. addHoveredButton(14911, "Pouches/hover", 0, 55, 55, 14961);
  2509. addHoveredButton(14912, "Pouches/hover", 0, 55, 55, 14962);
  2510. addHoveredButton(14913, "Pouches/hover", 0, 55, 55, 14963);
  2511. addHoveredButton(14914, "Pouches/hover", 0, 55, 55, 14964);
  2512. addHoveredButton(14915, "Pouches/hover", 0, 55, 55, 14965);
  2513. addHoveredButton(14916, "Pouches/hover", 0, 55, 55, 14966);
  2514. addHoveredButton(14917, "Pouches/hover", 0, 55, 55, 14967);
  2515. addHoveredButton(14918, "Pouches/hover", 0, 55, 55, 14968);
  2516. addHoveredButton(14919, "Pouches/hover", 0, 55, 55, 14969);
  2517. addHoveredButton(14920, "Pouches/hover", 0, 55, 55, 14970);
  2518. addHoveredButton(14921, "Pouches/hover", 0, 55, 55, 14971);
  2519. addHoveredButton(14922, "Pouches/hover", 0, 55, 55, 14972);
  2520. addHoveredButton(14923, "Pouches/hover", 0, 55, 55, 14973);
  2521. addHoveredButton(14924, "Pouches/hover", 0, 55, 55, 14974);
  2522. addHoveredButton(14925, "Pouches/hover", 0, 55, 55, 14975);
  2523. addHoveredButton(14926, "Pouches/hover", 0, 55, 55, 14976);
  2524. addHoveredButton(14927, "Pouches/hover", 0, 55, 55, 14977);
  2525. addHoveredButton(14928, "Pouches/hover", 0, 55, 55, 14978);
  2526. addHoveredButton(14929, "Pouches/hover", 0, 55, 55, 14979);
  2527. addHoveredButton(14930, "Pouches/hover", 0, 55, 55, 14980);
  2528. addHoveredButton(14931, "Pouches/hover", 0, 55, 55, 14981);
  2529. addHoveredButton(14932, "Interfaces/Minigame/Forward", 1, 16, 16, 14982);
  2530. addHoveredButton(14933, "Interfaces/Minigame/Back", 1, 16, 16, 14983);
  2531.  
  2532. addText(13964, "Page 1", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
  2533. addButton(13965, 0, "sprite", 60, 20, "Pouch infuser", 1);
  2534.  
  2535. localRSInterface.totalChildren(74);
  2536. localRSInterface.child(0, 14825, 12, 12);
  2537. localRSInterface.child(1, 14828, 473, 23);
  2538. localRSInterface.child(2, 14827, 40, 60);
  2539. localRSInterface.child(3, 14829, 473, 23);
  2540. localRSInterface.child(4, 14831, 35, 60);
  2541. localRSInterface.child(5, 14832, 91, 60);
  2542. localRSInterface.child(6, 14833, 147, 60);
  2543. localRSInterface.child(7, 14834, 203, 60);
  2544. localRSInterface.child(8, 14835, 259, 60);
  2545. localRSInterface.child(9, 14836, 315, 60);
  2546. localRSInterface.child(10, 14837, 371, 60);
  2547. localRSInterface.child(11, 14838, 427, 60);
  2548. localRSInterface.child(12, 14839, 35, 117);
  2549. localRSInterface.child(13, 14840, 91, 117);
  2550. localRSInterface.child(14, 14841, 147, 117);
  2551. localRSInterface.child(15, 14842, 203, 117);
  2552. localRSInterface.child(16, 14843, 259, 117);
  2553. localRSInterface.child(17, 14844, 315, 117);
  2554. localRSInterface.child(18, 14845, 371, 117);
  2555. localRSInterface.child(19, 14846, 427, 117);
  2556. localRSInterface.child(20, 14847, 35, 172);
  2557. localRSInterface.child(21, 14848, 91, 172);
  2558. localRSInterface.child(22, 14849, 147, 172);
  2559. localRSInterface.child(23, 14850, 203, 172);
  2560. localRSInterface.child(24, 14851, 259, 172);
  2561. localRSInterface.child(25, 14852, 315, 172);
  2562. localRSInterface.child(26, 14853, 371, 172);
  2563. localRSInterface.child(27, 14854, 427, 172);
  2564. localRSInterface.child(28, 14855, 35, 229);
  2565. localRSInterface.child(29, 14856, 91, 229);
  2566. localRSInterface.child(30, 14857, 147, 229);
  2567. localRSInterface.child(31, 14858, 203, 229);
  2568. localRSInterface.child(32, 14859, 259, 229);
  2569. localRSInterface.child(33, 14860, 315, 229);
  2570. localRSInterface.child(34, 14861, 371, 229);
  2571. localRSInterface.child(35, 14862, 427, 229);
  2572. localRSInterface.child(36, 14900, 35, 60);
  2573. localRSInterface.child(37, 14901, 91, 60);
  2574. localRSInterface.child(38, 14902, 147, 60);
  2575. localRSInterface.child(39, 14903, 203, 60);
  2576. localRSInterface.child(40, 14904, 259, 60);
  2577. localRSInterface.child(41, 14905, 315, 60);
  2578. localRSInterface.child(42, 14906, 371, 60);
  2579. localRSInterface.child(43, 14907, 427, 60);
  2580. localRSInterface.child(44, 14908, 35, 117);
  2581. localRSInterface.child(45, 14909, 91, 117);
  2582. localRSInterface.child(46, 14910, 147, 117);
  2583. localRSInterface.child(47, 14911, 203, 117);
  2584. localRSInterface.child(48, 14912, 259, 117);
  2585. localRSInterface.child(49, 14913, 315, 117);
  2586. localRSInterface.child(50, 14914, 371, 117);
  2587. localRSInterface.child(51, 14915, 427, 117);
  2588. localRSInterface.child(52, 14916, 35, 172);
  2589. localRSInterface.child(53, 14917, 91, 172);
  2590. localRSInterface.child(54, 14918, 147, 172);
  2591. localRSInterface.child(55, 14919, 203, 172);
  2592. localRSInterface.child(56, 14920, 259, 172);
  2593. localRSInterface.child(57, 14921, 315, 172);
  2594. localRSInterface.child(58, 14922, 371, 172);
  2595. localRSInterface.child(59, 14923, 427, 172);
  2596. localRSInterface.child(60, 14924, 35, 229);
  2597. localRSInterface.child(61, 14925, 91, 229);
  2598. localRSInterface.child(62, 14926, 147, 229);
  2599. localRSInterface.child(63, 14927, 203, 229);
  2600. localRSInterface.child(64, 14928, 259, 229);
  2601. localRSInterface.child(65, 14929, 315, 229);
  2602. localRSInterface.child(66, 14930, 371, 229);
  2603. localRSInterface.child(67, 14931, 427, 229);
  2604. localRSInterface.child(68, 13964, 235, 290);
  2605. localRSInterface.child(69, 14863, 465, 290);
  2606. localRSInterface.child(70, 14932, 465, 290);
  2607. localRSInterface.child(71, 14864, 25, 290);
  2608. localRSInterface.child(72, 14933, 25, 290);
  2609. localRSInterface.child(73, 13965, 25, 25);
  2610. }
  2611.  
  2612. public static void EquipmentTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  2613. {
  2614. RSInterface localRSInterface = interfaceCache[1644];
  2615. addHoverButton(15201, "CUSTOM", 1, 40, 40, "Show Equipment Screen", 0, 15202, 1);
  2616. addHoveredButton(15202, "CUSTOM", 5, 40, 40, 15203);
  2617. addHoverButton(15204, "CUSTOM", 2, 40, 40, "Items Kept on Death", 0, 15205, 1);
  2618. addHoveredButton(15205, "CUSTOM", 4, 40, 40, 15206);
  2619. addHoverButton(15207, "CUSTOM", 3, 40, 40, "Reseting Options", 0, 15208, 1);
  2620. addHoveredButton(15208, "CUSTOM", 6, 40, 40, 15209);
  2621.  
  2622. localRSInterface.child(23, 15201, 21, 210);
  2623. localRSInterface.child(24, 15202, 21, 210);
  2624. localRSInterface.child(25, 15204, 129, 210);
  2625. localRSInterface.child(26, 15205, 129, 210);
  2626. localRSInterface.child(0, 15207, 75, 210);
  2627. localRSInterface.child(2, 15208, 75, 210);
  2628. }
  2629.  
  2630. public static void EquipmentScreenBank(TextDrawingArea[] paramArrayOfTextDrawingArea)
  2631. {
  2632. RSInterface localRSInterface1 = addTabInterface(15150);
  2633. addSprite(15107, 1, "Interfaces/Equipment/bg");
  2634. addHoverButton(15210, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 15211, 3);
  2635. addHoveredButton(15211, "Interfaces/Equipment/SPRITE", 3, 21, 21, 15212);
  2636.  
  2637. addHoverButton(22024, "Interfaces/Equipment/BANK", 2, 72, 32, "Return To Bank", -1, 22025, 5);
  2638. addHoveredButton(22025, "Interfaces/Equipment/BANK", 3, 72, 32, 22026);
  2639.  
  2640. addText(15111, "", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  2641. addText(15112, "Attack bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
  2642. addText(15113, "Defence bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
  2643. addText(15114, "Other bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
  2644. for (int i = 1675; i <= 1684; i++) textSize(i, paramArrayOfTextDrawingArea, 1);
  2645. textSize(1686, paramArrayOfTextDrawingArea, 1); textSize(1687, paramArrayOfTextDrawingArea, 1);
  2646. addChar(15125);
  2647. localRSInterface1.totalChildren(46);
  2648. localRSInterface1.child(0, 15107, 15, 5);
  2649. localRSInterface1.child(1, 15210, 476, 8);
  2650. localRSInterface1.child(2, 15211, 476, 8);
  2651. localRSInterface1.child(3, 15111, 14, 30);
  2652. i = 4; int j = 45;
  2653. for (int k = 1675; k <= 1679; k++) {
  2654. localRSInterface1.child(i, k, 29, j);
  2655. i++; j += 14;
  2656. }localRSInterface1.child(9, 1680, 29, 137);
  2657. localRSInterface1.child(10, 1681, 29, 153);
  2658. localRSInterface1.child(11, 1682, 29, 168);
  2659. localRSInterface1.child(12, 1683, 29, 183);
  2660. localRSInterface1.child(13, 1684, 29, 197);
  2661. localRSInterface1.child(14, 1686, 29, 238);
  2662. localRSInterface1.child(17, 1687, 29, 252);
  2663. localRSInterface1.child(15, 15125, 170, 200);
  2664. localRSInterface1.child(16, 15112, 24, 30);
  2665. localRSInterface1.child(18, 15113, 24, 122);
  2666. localRSInterface1.child(19, 15114, 24, 223);
  2667. localRSInterface1.child(20, 1645, 399, 97);
  2668. localRSInterface1.child(21, 1646, 399, 163);
  2669. localRSInterface1.child(22, 1647, 399, 163);
  2670. localRSInterface1.child(23, 1648, 399, 204);
  2671. localRSInterface1.child(24, 1649, 343, 176);
  2672. localRSInterface1.child(25, 1650, 343, 212);
  2673. localRSInterface1.child(26, 1651, 455, 176);
  2674. localRSInterface1.child(27, 1652, 455, 212);
  2675. localRSInterface1.child(28, 1653, 369, 139);
  2676. localRSInterface1.child(29, 1654, 428, 139);
  2677. localRSInterface1.child(30, 1655, 379, 100);
  2678. localRSInterface1.child(31, 1656, 433, 99);
  2679. localRSInterface1.child(32, 1657, 399, 62);
  2680. localRSInterface1.child(33, 1658, 358, 101);
  2681. localRSInterface1.child(34, 1659, 399, 101);
  2682. localRSInterface1.child(35, 1660, 440, 101);
  2683. localRSInterface1.child(36, 1661, 343, 140);
  2684. localRSInterface1.child(37, 1662, 399, 140);
  2685. localRSInterface1.child(38, 1663, 455, 140);
  2686. localRSInterface1.child(39, 1664, 399, 180);
  2687. localRSInterface1.child(40, 1665, 399, 220);
  2688. localRSInterface1.child(41, 1666, 343, 220);
  2689. localRSInterface1.child(42, 1667, 455, 220);
  2690. localRSInterface1.child(43, 1688, 345, 102);
  2691.  
  2692. localRSInterface1.child(44, 22024, 457, 30);
  2693. localRSInterface1.child(45, 22025, 457, 30);
  2694. RSInterface localRSInterface2;
  2695. for (k = 1675; k <= 1684; k++) {
  2696. localRSInterface2 = interfaceCache[k];
  2697. localRSInterface2.textColor = 16749056;
  2698. localRSInterface2.centerText = false;
  2699. }for (k = 1686; k <= 1687; k++) {
  2700. localRSInterface2 = interfaceCache[k];
  2701. localRSInterface2.textColor = 16749056;
  2702. localRSInterface2.centerText = false;
  2703. }
  2704. }
  2705.  
  2706. public static void addSkillHovers(int paramInt1, int paramInt2)
  2707. {
  2708. RSInterface localRSInterface = addTabInterface(paramInt1);
  2709. localRSInterface.type = 8;
  2710. localRSInterface.contentType = paramInt2;
  2711. localRSInterface.message = null;
  2712. localRSInterface.height = 27;
  2713. localRSInterface.width = 60;
  2714. }
  2715.  
  2716. public static void addvalueCompareTypeHovers(int paramInt1, int paramInt2)
  2717. {
  2718. RSInterface localRSInterface = addTabInterface(paramInt1);
  2719.  
  2720. localRSInterface.type = 8;
  2721. localRSInterface.contentType = paramInt2;
  2722. localRSInterface.message = null;
  2723. localRSInterface.height = 27;
  2724. localRSInterface.width = 60;
  2725. }
  2726.  
  2727. public static void addSprite(int paramInt1, String paramString1, String paramString2, int paramInt2, int paramInt3, int paramInt4)
  2728. {
  2729. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  2730. localRSInterface.id = paramInt1;
  2731. localRSInterface.parentID = paramInt1;
  2732. localRSInterface.type = 5;
  2733. localRSInterface.atActionType = 1;
  2734. localRSInterface.contentType = -1;
  2735. localRSInterface.opacity = 0;
  2736. localRSInterface.mOverInterToTrigger = 52;
  2737. localRSInterface.sprite1 = imageLoader(paramString1);
  2738. localRSInterface.sprite2 = imageLoader(paramString1);
  2739. localRSInterface.tooltip = paramString2;
  2740. localRSInterface.mOverInterToTrigger = paramInt2;
  2741. localRSInterface.width = paramInt3;
  2742. localRSInterface.height = paramInt4;
  2743. }
  2744.  
  2745. public static void Hovers(TextDrawingArea[] paramArrayOfTextDrawingArea)
  2746. {
  2747. RSInterface localRSInterface = interfaceCache[3984];
  2748. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[2];
  2749. localRSInterface.message = "Total level %1";
  2750. addSkillHovers(9215, 204);
  2751. addSkillHovers(9216, 229);
  2752. addSkillHovers(9217, 206);
  2753. addSkillHovers(9218, 207);
  2754. addSkillHovers(9219, 208);
  2755. addSkillHovers(9220, 209);
  2756. addSkillHovers(9221, 210);
  2757. addSkillHovers(9222, 211);
  2758. addSkillHovers(9223, 212);
  2759. addSkillHovers(9224, 213);
  2760. addSkillHovers(9225, 214);
  2761. addSkillHovers(9226, 215);
  2762. addSkillHovers(9227, 216);
  2763. addSkillHovers(9228, 217);
  2764. addSkillHovers(9229, 218);
  2765. addSkillHovers(9230, 219);
  2766. addSkillHovers(9231, 220);
  2767. addSkillHovers(9232, 221);
  2768. addSkillHovers(9233, 222);
  2769. addSkillHovers(9234, 223);
  2770. addSkillHovers(9235, 224);
  2771. addSkillHovers(9236, 225);
  2772. addSkillHovers(9237, 226);
  2773. addSkillHovers(9238, 227);
  2774. addSkillHovers(9239, 228);
  2775.  
  2776. int[] arrayOfInt = { 22582, 22544, 22546, 22548, 22550, 22552, 22554, 22556, 22558, 22560, 22562, 22564, 22566, 22568, 22570, 22572, 22574, 22576, 22578, 22580 };
  2777.  
  2778. for (int i = 0; i < arrayOfInt.length; i++)
  2779. addvalueCompareTypeHovers(arrayOfInt[i], 240 + i);
  2780. }
  2781.  
  2782. public static void skillTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  2783. {
  2784. RSInterface localRSInterface = addTabInterface(7101);
  2785.  
  2786. addSprite(7102, "Skill/Button", "Open Attack Guide", 9215, 60, 27);
  2787. addSprite(7103, "Skill/Button", "Open Hitpoints Guide", 9216, 60, 27);
  2788. addSprite(7104, "Skill/Button", "Open Mining Guide", 9217, 60, 27);
  2789. addSprite(7105, "Skill/Button", "Open Strength Guide", 9218, 60, 27);
  2790. addSprite(7106, "Skill/Button", "Open Agility Guide", 9219, 60, 27);
  2791. addSprite(7107, "Skill/Button", "Open Smithing Guide", 9220, 60, 27);
  2792. addSprite(7108, "Skill/Button", "Open Defence Guide", 9221, 60, 27);
  2793. addSprite(7109, "Skill/Button", "Open Herblore Guide", 9222, 60, 27);
  2794. addSprite(7110, "Skill/Button", "Open Fishing Guide", 9223, 60, 27);
  2795. addSprite(7111, "Skill/Button", "Open Ranging Guide", 9224, 60, 27);
  2796. addSprite(7112, "Skill/Button", "Open Thieving Guide", 9225, 60, 27);
  2797. addSprite(7113, "Skill/Button", "Open Cooking Guide", 9226, 60, 27);
  2798. addSprite(7114, "Skill/Button", "Open Prayer Guide", 9227, 60, 27);
  2799. addSprite(7115, "Skill/Button", "Open Crafting Guide", 9228, 60, 27);
  2800. addSprite(7116, "Skill/Button", "Open Firemaking Guide", 9229, 60, 27);
  2801. addSprite(7117, "Skill/Button", "Open Magic Guide", 9230, 60, 27);
  2802. addSprite(7118, "Skill/Button", "Open Fletching Guide", 9231, 60, 27);
  2803. addSprite(7119, "Skill/Button", "Open Woodcutting Guide", 9232, 60, 27);
  2804. addSprite(7120, "Skill/Button", "Open Runecrafting Guide", 9233, 60, 27);
  2805. addSprite(7121, "Skill/Button", "Open Slaying Guide", 9234, 60, 27);
  2806. addSprite(7122, "Skill/Button", "Open Farming Guide", 9235, 60, 27);
  2807. addSprite(7123, "Skill/Button", "Open Construction Guide", 9236, 60, 27);
  2808. addSprite(7124, "Skill/Button", "Open Hunter Guide", 9237, 60, 27);
  2809. addSprite(7125, "Skill/Button", "Open Summoning Guide", 9238, 60, 27);
  2810. addSprite(7126, "Skill/Button", "Open Dungeoneering Guide", 9239, 60, 27);
  2811. addText(7127, "Total Level: 2475", 16776960, false, false, 52, paramArrayOfTextDrawingArea, 2);
  2812. addSprite(7128, "Skill/Dungeon");
  2813. addSprite(7129, "Skill/Attack");
  2814. addSprite(7130, "Skill/Strength");
  2815. addSprite(7131, "Skill/Defence");
  2816. addSprite(7132, "Skill/Range");
  2817. addSprite(7133, "Skill/Prayer");
  2818. addSprite(7134, "Skill/Mage");
  2819. addSprite(7135, "Skill/Rune");
  2820. addSprite(7136, "Skill/Construction");
  2821. addSprite(7137, "Skill/HP");
  2822. addSprite(7138, "Skill/Agility");
  2823. addSprite(7139, "Skill/Herblore");
  2824. addSprite(7140, "Skill/Thief");
  2825. addSprite(7141, "Skill/Craft");
  2826. addSprite(7142, "Skill/Fletch");
  2827. addSprite(7143, "Skill/Slay");
  2828. addSprite(7144, "Skill/Hunter");
  2829. addSprite(7145, "Skill/Mine");
  2830. addSprite(7146, "Skill/Smith");
  2831. addSprite(7147, "Skill/Fish");
  2832. addSprite(7148, "Skill/Cook");
  2833. addSprite(7149, "Skill/Fire");
  2834. addSprite(7150, "Skill/Wood");
  2835. addSprite(7151, "Skill/Farm");
  2836. addSprite(7152, "Skill/Summon");
  2837. addText(7157, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2838. addText(7158, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2839. addText(7159, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2840. addText(7160, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2841. addText(7161, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2842. addText(7162, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2843. addText(7163, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2844. addText(7164, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2845. addText(7165, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2846. addText(7166, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2847. addText(7167, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2848. addText(7168, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2849. addText(7169, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2850. addText(7170, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2851. addText(7171, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2852. addText(7172, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2853. addText(7173, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2854. addText(7174, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2855. addText(7175, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2856. addText(7176, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2857. addText(7177, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2858. addText(7178, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2859. addText(7179, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2860. addText(7180, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2861. addText(7181, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2862. addText(7182, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2863. addText(7183, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2864. addText(7184, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2865. addText(7185, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2866. addText(7186, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2867. addText(7187, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2868. addText(7188, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2869. addText(7189, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2870. addText(7190, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2871. addText(7191, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2872. addText(7192, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2873. addText(7193, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2874. addText(7194, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2875. addText(7195, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2876. addText(7196, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2877. addText(7197, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2878. addText(7198, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2879. addText(7199, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2880. addText(7200, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2881. addText(7201, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2882. addText(7202, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2883. addText(7203, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2884. addText(7204, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2885. addText(7205, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2886. addText(7206, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
  2887. localRSInterface.totalChildren(126);
  2888.  
  2889. localRSInterface.child(0, 7102, 3, 5);
  2890. localRSInterface.child(1, 7103, 66, 5);
  2891. localRSInterface.child(2, 7104, 128, 5);
  2892. localRSInterface.child(3, 7105, 3, 33);
  2893. localRSInterface.child(4, 7106, 66, 33);
  2894. localRSInterface.child(5, 7107, 128, 33);
  2895. localRSInterface.child(6, 7108, 3, 61);
  2896. localRSInterface.child(7, 7109, 66, 61);
  2897. localRSInterface.child(8, 7110, 128, 61);
  2898. localRSInterface.child(9, 7111, 3, 89);
  2899. localRSInterface.child(10, 7112, 66, 89);
  2900. localRSInterface.child(11, 7113, 128, 89);
  2901. localRSInterface.child(12, 7114, 3, 117);
  2902. localRSInterface.child(13, 7115, 66, 117);
  2903. localRSInterface.child(14, 7116, 128, 117);
  2904. localRSInterface.child(15, 7117, 3, 145);
  2905. localRSInterface.child(16, 7118, 66, 145);
  2906. localRSInterface.child(17, 7119, 128, 145);
  2907. localRSInterface.child(18, 7120, 3, 173);
  2908. localRSInterface.child(19, 7121, 66, 173);
  2909. localRSInterface.child(20, 7122, 128, 173);
  2910. localRSInterface.child(21, 7123, 3, 201);
  2911. localRSInterface.child(22, 7124, 66, 201);
  2912. localRSInterface.child(23, 7125, 128, 201);
  2913. localRSInterface.child(24, 7126, 3, 229);
  2914.  
  2915. localRSInterface.child(25, 7127, 70, 235);
  2916.  
  2917. localRSInterface.child(26, 7128, 5, 231);
  2918. localRSInterface.child(27, 7129, 4, 7);
  2919. localRSInterface.child(28, 7130, 9, 35);
  2920. localRSInterface.child(29, 7131, 9, 65);
  2921. localRSInterface.child(30, 7132, 6, 93);
  2922. localRSInterface.child(31, 7133, 5, 118);
  2923. localRSInterface.child(32, 7134, 5, 147);
  2924. localRSInterface.child(33, 7135, 5, 174);
  2925. localRSInterface.child(34, 7136, 5, 203);
  2926. localRSInterface.child(35, 7137, 69, 9);
  2927. localRSInterface.child(36, 7138, 67, 34);
  2928. localRSInterface.child(37, 7139, 67, 63);
  2929. localRSInterface.child(38, 7140, 68, 94);
  2930. localRSInterface.child(39, 7141, 70, 120);
  2931. localRSInterface.child(40, 7142, 69, 147);
  2932. localRSInterface.child(41, 7143, 68, 174);
  2933. localRSInterface.child(42, 7144, 68, 202);
  2934. localRSInterface.child(43, 7145, 130, 7);
  2935. localRSInterface.child(44, 7146, 132, 38);
  2936. localRSInterface.child(45, 7147, 132, 62);
  2937. localRSInterface.child(46, 7148, 132, 91);
  2938. localRSInterface.child(47, 7149, 131, 119);
  2939. localRSInterface.child(48, 7150, 132, 147);
  2940. localRSInterface.child(49, 7151, 131, 175);
  2941. localRSInterface.child(50, 7152, 133, 203);
  2942.  
  2943. localRSInterface.child(51, 7157, 32, 231);
  2944. localRSInterface.child(52, 7158, 45, 242);
  2945. localRSInterface.child(53, 7159, 32, 7);
  2946. localRSInterface.child(54, 7160, 45, 18);
  2947. localRSInterface.child(55, 7161, 32, 35);
  2948. localRSInterface.child(56, 7162, 45, 46);
  2949. localRSInterface.child(57, 7163, 32, 63);
  2950. localRSInterface.child(58, 7164, 45, 74);
  2951. localRSInterface.child(59, 7165, 32, 91);
  2952. localRSInterface.child(60, 7166, 45, 102);
  2953. localRSInterface.child(61, 7167, 32, 119);
  2954. localRSInterface.child(62, 7168, 45, 130);
  2955. localRSInterface.child(63, 7169, 32, 147);
  2956. localRSInterface.child(64, 7170, 45, 158);
  2957. localRSInterface.child(65, 7171, 32, 175);
  2958. localRSInterface.child(66, 7172, 45, 186);
  2959. localRSInterface.child(67, 7173, 32, 203);
  2960. localRSInterface.child(68, 7174, 45, 214);
  2961. localRSInterface.child(69, 7175, 95, 7);
  2962. localRSInterface.child(70, 7176, 108, 18);
  2963. localRSInterface.child(71, 7177, 95, 35);
  2964. localRSInterface.child(72, 7178, 108, 46);
  2965. localRSInterface.child(73, 7179, 95, 63);
  2966. localRSInterface.child(74, 7180, 108, 74);
  2967. localRSInterface.child(75, 7181, 95, 91);
  2968. localRSInterface.child(76, 7182, 108, 102);
  2969. localRSInterface.child(77, 7183, 95, 119);
  2970. localRSInterface.child(78, 7184, 108, 130);
  2971. localRSInterface.child(79, 7185, 95, 147);
  2972. localRSInterface.child(80, 7186, 108, 158);
  2973. localRSInterface.child(81, 7187, 95, 175);
  2974. localRSInterface.child(82, 7188, 108, 186);
  2975. localRSInterface.child(83, 7189, 95, 203);
  2976. localRSInterface.child(84, 7190, 108, 214);
  2977. localRSInterface.child(85, 7191, 158, 7);
  2978. localRSInterface.child(86, 7192, 171, 18);
  2979. localRSInterface.child(87, 7193, 158, 35);
  2980. localRSInterface.child(88, 7194, 171, 46);
  2981. localRSInterface.child(89, 7195, 158, 63);
  2982. localRSInterface.child(90, 7196, 171, 74);
  2983. localRSInterface.child(91, 7197, 158, 91);
  2984. localRSInterface.child(92, 7198, 171, 102);
  2985. localRSInterface.child(93, 7199, 158, 119);
  2986. localRSInterface.child(94, 7200, 171, 130);
  2987. localRSInterface.child(95, 7201, 158, 147);
  2988. localRSInterface.child(96, 7202, 171, 158);
  2989. localRSInterface.child(97, 7203, 158, 175);
  2990. localRSInterface.child(98, 7204, 171, 186);
  2991. localRSInterface.child(99, 7205, 158, 203);
  2992. localRSInterface.child(100, 7206, 171, 214);
  2993.  
  2994. localRSInterface.child(101, 9215, 3, 5);
  2995. localRSInterface.child(102, 9216, 66, 5);
  2996. localRSInterface.child(103, 9217, 128, 5);
  2997. localRSInterface.child(104, 9218, 3, 33);
  2998. localRSInterface.child(105, 9219, 66, 33);
  2999. localRSInterface.child(106, 9220, 128, 33);
  3000. localRSInterface.child(107, 9221, 3, 61);
  3001. localRSInterface.child(108, 9222, 66, 61);
  3002. localRSInterface.child(109, 9223, 128, 61);
  3003. localRSInterface.child(110, 9224, 3, 89);
  3004. localRSInterface.child(111, 9225, 66, 89);
  3005. localRSInterface.child(112, 9226, 128, 89);
  3006. localRSInterface.child(113, 9227, 3, 117);
  3007. localRSInterface.child(114, 9228, 66, 117);
  3008. localRSInterface.child(115, 9229, 128, 117);
  3009. localRSInterface.child(116, 9230, 3, 145);
  3010. localRSInterface.child(117, 9231, 66, 145);
  3011. localRSInterface.child(118, 9232, 128, 145);
  3012. localRSInterface.child(119, 9233, 3, 173);
  3013. localRSInterface.child(120, 9234, 66, 173);
  3014. localRSInterface.child(121, 9235, 128, 173);
  3015. localRSInterface.child(122, 9236, 3, 201);
  3016. localRSInterface.child(123, 9237, 66, 201);
  3017. localRSInterface.child(124, 9238, 128, 201);
  3018. localRSInterface.child(125, 9239, 3, 229);
  3019. }
  3020.  
  3021. public static void EquipmentScreen(TextDrawingArea[] paramArrayOfTextDrawingArea)
  3022. {
  3023. RSInterface localRSInterface1 = addTabInterface(15106);
  3024. addSprite(15107, 1, "Interfaces/Equipment/bg");
  3025. addHoverButton(15210, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 15211, 3);
  3026. addHoveredButton(15211, "Interfaces/Equipment/SPRITE", 3, 21, 21, 15212);
  3027. addText(15111, "", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  3028. addText(15112, "Attack bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
  3029. addText(15113, "Defence bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
  3030. addText(15114, "Other bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
  3031. for (int i = 1675; i <= 1684; i++) textSize(i, paramArrayOfTextDrawingArea, 1);
  3032. textSize(1686, paramArrayOfTextDrawingArea, 1); textSize(1687, paramArrayOfTextDrawingArea, 1);
  3033. addChar(15125);
  3034. localRSInterface1.totalChildren(44);
  3035. localRSInterface1.child(0, 15107, 15, 5);
  3036. localRSInterface1.child(1, 15210, 476, 8);
  3037. localRSInterface1.child(2, 15211, 476, 8);
  3038. localRSInterface1.child(3, 15111, 14, 30);
  3039. i = 4; int j = 45;
  3040. for (int k = 1675; k <= 1679; k++) {
  3041. localRSInterface1.child(i, k, 29, j);
  3042. i++; j += 14;
  3043. }localRSInterface1.child(9, 1680, 29, 137);
  3044. localRSInterface1.child(10, 1681, 29, 153);
  3045. localRSInterface1.child(11, 1682, 29, 168);
  3046. localRSInterface1.child(12, 1683, 29, 183);
  3047. localRSInterface1.child(13, 1684, 29, 197);
  3048. localRSInterface1.child(14, 1686, 29, 238);
  3049. localRSInterface1.child(17, 1687, 29, 252);
  3050. localRSInterface1.child(15, 15125, 170, 200);
  3051. localRSInterface1.child(16, 15112, 24, 30);
  3052. localRSInterface1.child(18, 15113, 24, 122);
  3053. localRSInterface1.child(19, 15114, 24, 223);
  3054. localRSInterface1.child(20, 1645, 399, 97);
  3055. localRSInterface1.child(21, 1646, 399, 163);
  3056. localRSInterface1.child(22, 1647, 399, 163);
  3057. localRSInterface1.child(23, 1648, 399, 204);
  3058. localRSInterface1.child(24, 1649, 343, 176);
  3059. localRSInterface1.child(25, 1650, 343, 212);
  3060. localRSInterface1.child(26, 1651, 455, 176);
  3061. localRSInterface1.child(27, 1652, 455, 212);
  3062. localRSInterface1.child(28, 1653, 369, 139);
  3063. localRSInterface1.child(29, 1654, 428, 139);
  3064. localRSInterface1.child(30, 1655, 379, 100);
  3065. localRSInterface1.child(31, 1656, 433, 99);
  3066. localRSInterface1.child(32, 1657, 399, 62);
  3067. localRSInterface1.child(33, 1658, 358, 101);
  3068. localRSInterface1.child(34, 1659, 399, 101);
  3069. localRSInterface1.child(35, 1660, 440, 101);
  3070. localRSInterface1.child(36, 1661, 343, 140);
  3071. localRSInterface1.child(37, 1662, 399, 140);
  3072. localRSInterface1.child(38, 1663, 455, 140);
  3073. localRSInterface1.child(39, 1664, 399, 180);
  3074. localRSInterface1.child(40, 1665, 399, 220);
  3075. localRSInterface1.child(41, 1666, 343, 220);
  3076. localRSInterface1.child(42, 1667, 455, 220);
  3077. localRSInterface1.child(43, 1688, 345, 102);
  3078. RSInterface localRSInterface2;
  3079. for (k = 1675; k <= 1684; k++) {
  3080. localRSInterface2 = interfaceCache[k];
  3081. localRSInterface2.textColor = 16749056;
  3082. localRSInterface2.centerText = false;
  3083. }for (k = 1686; k <= 1687; k++) {
  3084. localRSInterface2 = interfaceCache[k];
  3085. localRSInterface2.textColor = 16749056;
  3086. localRSInterface2.centerText = false;
  3087. }
  3088. }
  3089.  
  3090. public static void cornerText(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  3091. RSInterface localRSInterface = addScreenInterface(16128);
  3092. addText(16129, "Barrows Killcount", paramArrayOfTextDrawingArea, 1, 3684408, true, true);
  3093. localRSInterface.totalChildren(1);
  3094. localRSInterface.child(0, 16129, 470, 317);
  3095. }
  3096. public static void addPrayerTooltip(int paramInt, String paramString) {
  3097. RSInterface localRSInterface = addTabInterface(paramInt);
  3098. localRSInterface.type = 8;
  3099. localRSInterface.message = paramString;
  3100. localRSInterface.height = 34;
  3101. localRSInterface.width = 34;
  3102. localRSInterface.inventoryhover = true;
  3103. }
  3104.  
  3105. public static void setBoundry(int paramInt1, int paramInt2, int paramInt3, int paramInt4, RSInterface paramRSInterface)
  3106. {
  3107. paramRSInterface.children[paramInt1] = paramInt2;
  3108. paramRSInterface.childX[paramInt1] = paramInt3;
  3109. paramRSInterface.childY[paramInt1] = paramInt4;
  3110. }
  3111.  
  3112. public static void addPrayer(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString) {
  3113. RSInterface localRSInterface1 = addTabInterface(paramInt1);
  3114. localRSInterface1.id = paramInt1;
  3115. localRSInterface1.parentID = 5608;
  3116. localRSInterface1.type = 5;
  3117. localRSInterface1.atActionType = 4;
  3118. localRSInterface1.contentType = 0;
  3119. localRSInterface1.opacity = 0;
  3120. localRSInterface1.mOverInterToTrigger = -1;
  3121. localRSInterface1.sprite1 = imageLoader(0, "PRAYERGLOW");
  3122. localRSInterface1.sprite2 = imageLoader(1, "PRAYERGLOW");
  3123. localRSInterface1.width = 34;
  3124. localRSInterface1.height = 34;
  3125. localRSInterface1.valueCompareType = new int[1];
  3126. localRSInterface1.requiredValues = new int[1];
  3127. localRSInterface1.valueCompareType[0] = 1;
  3128. localRSInterface1.requiredValues[0] = paramInt2;
  3129. localRSInterface1.valueIndexArray = new int[1][3];
  3130. localRSInterface1.valueIndexArray[0][0] = 5;
  3131. localRSInterface1.valueIndexArray[0][1] = paramInt3;
  3132. localRSInterface1.valueIndexArray[0][2] = 0;
  3133.  
  3134. RSInterface localRSInterface2 = addTabInterface(paramInt1 + 1);
  3135. localRSInterface2.id = (paramInt1 + 1);
  3136. localRSInterface2.parentID = 5608;
  3137. localRSInterface2.type = 5;
  3138. localRSInterface2.atActionType = 0;
  3139. localRSInterface2.contentType = 0;
  3140. localRSInterface2.opacity = 0;
  3141. localRSInterface2.mOverInterToTrigger = -1;
  3142. localRSInterface2.sprite1 = imageLoader(paramInt5, "Prayer/PRAYON");
  3143. localRSInterface2.sprite2 = imageLoader(paramInt5, "Prayer/PRAYOFF");
  3144. localRSInterface2.width = 34;
  3145. localRSInterface2.height = 34;
  3146. localRSInterface2.valueCompareType = new int[1];
  3147. localRSInterface2.requiredValues = new int[1];
  3148. localRSInterface2.valueCompareType[0] = 2;
  3149. localRSInterface2.requiredValues[0] = (paramInt2 + 1);
  3150. localRSInterface2.valueIndexArray = new int[1][3];
  3151. localRSInterface2.valueIndexArray[0][0] = 5;
  3152. localRSInterface2.valueIndexArray[0][1] = 2;
  3153. localRSInterface2.valueIndexArray[0][2] = 0;
  3154. }
  3155.  
  3156. public static void prayerTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  3157. {
  3158. RSInterface localRSInterface1 = addTabInterface(5608);
  3159. RSInterface localRSInterface2 = interfaceCache[687];
  3160. localRSInterface2.textColor = 16750623;
  3161. localRSInterface2.textShadow = true;
  3162. localRSInterface2.message = "%1/%2";
  3163. addSprite(5651, 0, "PRAYER");
  3164. addPrayer(18000, 0, 601, 7, 0, "Sharp Eye");
  3165. addPrayer(18002, 0, 602, 8, 1, "Mystic Will");
  3166. addPrayer(18004, 0, 603, 25, 2, "Hawk Eye");
  3167. addPrayer(18006, 0, 604, 26, 3, "Mystic Lore");
  3168. addPrayer(18008, 0, 605, 43, 4, "Eagle Eye");
  3169. addPrayer(18010, 0, 606, 44, 5, "Mystic Might");
  3170. addPrayer(18012, 0, 607, 59, 6, "Chivalry");
  3171. addPrayer(18014, 0, 608, 69, 7, "Piety");
  3172. localRSInterface1.totalChildren(54);
  3173. localRSInterface1.child(0, 5609, 6, 4);
  3174. localRSInterface1.child(1, 5610, 42, 4);
  3175. localRSInterface1.child(2, 5611, 78, 4);
  3176. localRSInterface1.child(3, 5612, 6, 40);
  3177. localRSInterface1.child(4, 5613, 42, 40);
  3178. localRSInterface1.child(5, 5614, 78, 40);
  3179. localRSInterface1.child(6, 5615, 114, 40);
  3180. localRSInterface1.child(7, 5616, 150, 40);
  3181. localRSInterface1.child(8, 5617, 6, 76);
  3182. localRSInterface1.child(9, 5618, 114, 76);
  3183. localRSInterface1.child(10, 5619, 150, 76);
  3184. localRSInterface1.child(11, 5620, 6, 112);
  3185. localRSInterface1.child(12, 5621, 42, 112);
  3186. localRSInterface1.child(13, 5622, 78, 112);
  3187. localRSInterface1.child(14, 5623, 114, 112);
  3188. localRSInterface1.child(15, 683, 42, 148);
  3189. localRSInterface1.child(16, 684, 78, 148);
  3190. localRSInterface1.child(17, 685, 114, 148);
  3191. localRSInterface1.child(18, 5632, 8, 6);
  3192. localRSInterface1.child(19, 5633, 44, 6);
  3193. localRSInterface1.child(20, 5634, 80, 6);
  3194. localRSInterface1.child(21, 5635, 8, 42);
  3195. localRSInterface1.child(22, 5636, 44, 42);
  3196. localRSInterface1.child(23, 5637, 80, 42);
  3197. localRSInterface1.child(24, 5638, 116, 42);
  3198. localRSInterface1.child(25, 5639, 152, 42);
  3199. localRSInterface1.child(26, 5640, 8, 79);
  3200. localRSInterface1.child(27, 5641, 116, 78);
  3201. localRSInterface1.child(28, 5642, 152, 78);
  3202. localRSInterface1.child(29, 5643, 8, 114);
  3203. localRSInterface1.child(30, 5644, 44, 114);
  3204. localRSInterface1.child(31, 686, 80, 114);
  3205. localRSInterface1.child(32, 5645, 116, 114);
  3206. localRSInterface1.child(33, 5649, 44, 150);
  3207. localRSInterface1.child(34, 5647, 80, 150);
  3208. localRSInterface1.child(35, 5648, 116, 150);
  3209. localRSInterface1.child(36, 18000, 114, 4);
  3210. localRSInterface1.child(37, 18001, 117, 8);
  3211. localRSInterface1.child(38, 18002, 150, 4);
  3212. localRSInterface1.child(39, 18003, 153, 7);
  3213. localRSInterface1.child(40, 18004, 42, 76);
  3214. localRSInterface1.child(41, 18005, 45, 80);
  3215. localRSInterface1.child(42, 18006, 78, 76);
  3216. localRSInterface1.child(43, 18007, 81, 79);
  3217. localRSInterface1.child(44, 18008, 150, 112);
  3218. localRSInterface1.child(45, 18009, 153, 116);
  3219. localRSInterface1.child(46, 18010, 6, 148);
  3220. localRSInterface1.child(47, 18011, 9, 151);
  3221. localRSInterface1.child(48, 18012, 154, 149);
  3222. localRSInterface1.child(49, 18013, 157, 151);
  3223. localRSInterface1.child(50, 18014, 6, 194);
  3224. localRSInterface1.child(51, 18015, 8, 194);
  3225. localRSInterface1.child(52, 5651, 65, 242);
  3226. localRSInterface1.child(53, 687, 85, 241);
  3227. String[] arrayOfString = { "Thick Skin", "Burst of Strength", "Clarity of Thought", "Rock Skin", "Superhuman Strength", "Improved Reflexes", "Rapid Restore", "Rapid Heal", "Protect Item", "Steel Skin", "Ultimate Strength", "Incredible Reflexes", "Protect from Magic", "Protect from Range", "Protect from Melee", "Retribution", "Redemption", "Smite", "Chivalry", "Piety" };
  3228.  
  3229. int i = 0;
  3230. RSInterface localRSInterface3;
  3231. for (int j = 5609; j <= 5623; j++) {
  3232. localRSInterface3 = interfaceCache[j];
  3233. localRSInterface3.tooltip = ("Activate @or2@" + arrayOfString[(i++)]);
  3234. }
  3235. for (j = 683; j <= 685; j++) {
  3236. localRSInterface3 = interfaceCache[j];
  3237. localRSInterface3.tooltip = ("Activate @or2@" + arrayOfString[(i++)]);
  3238. }
  3239. }
  3240.  
  3241. public static void configureLunar(TextDrawingArea[] paramArrayOfTextDrawingArea)
  3242. {
  3243. homeTeleport();
  3244. drawRune(30003, 1, "Fire");
  3245. drawRune(30004, 2, "Water");
  3246. drawRune(30005, 3, "Air");
  3247. drawRune(30006, 4, "Earth");
  3248. drawRune(30007, 5, "Mind");
  3249. drawRune(30008, 6, "Body");
  3250. drawRune(30009, 7, "Death");
  3251. drawRune(30010, 8, "Nature");
  3252. drawRune(30011, 9, "Chaos");
  3253. drawRune(30012, 10, "Law");
  3254. drawRune(30013, 11, "Cosmic");
  3255. drawRune(30014, 12, "Blood");
  3256. drawRune(30015, 13, "Soul");
  3257. drawRune(30016, 14, "Astral");
  3258. addLunar3RunesSmallBox(30017, 9075, 554, 555, 0, 4, 3, 30003, 30004, 64, "Bake Pie", "Bake pies without a stove", paramArrayOfTextDrawingArea, 0, 16, 2);
  3259. addLunar2RunesSmallBox(30025, 9075, 557, 0, 7, 30006, 65, "Cure Plant", "Cure disease on farming patch", paramArrayOfTextDrawingArea, 1, 4, 2);
  3260. addLunar3RunesBigBox(30032, 9075, 564, 558, 0, 0, 0, 30013, 30007, 65, "Monster Examine", "Detect the combat statistics of a\\nmonster", paramArrayOfTextDrawingArea, 2, 2, 2);
  3261. addLunar3RunesSmallBox(30040, 9075, 564, 556, 0, 0, 1, 30013, 30005, 66, "NPC Contact", "Speak with varied NPCs", paramArrayOfTextDrawingArea, 3, 0, 2);
  3262. addLunar3RunesSmallBox(30048, 9075, 563, 557, 0, 0, 9, 30012, 30006, 67, "Cure Other", "Cure poisoned players", paramArrayOfTextDrawingArea, 4, 8, 2);
  3263. addLunar3RunesSmallBox(30056, 9075, 555, 554, 0, 2, 0, 30004, 30003, 67, "Humidify", "fills certain vessels with water", paramArrayOfTextDrawingArea, 5, 0, 5);
  3264. addLunar3RunesSmallBox(30064, 9075, 563, 557, 1, 0, 1, 30012, 30006, 68, "Town Teleport", "Teleports you to Various Towns", paramArrayOfTextDrawingArea, 6, 0, 5);
  3265. addLunar3RunesBigBox(30075, 9075, 563, 557, 1, 0, 3, 30012, 30006, 69, "Mini Teleports 1", "Teleport to various Mini's.", paramArrayOfTextDrawingArea, 7, 0, 5);
  3266. addLunar3RunesSmallBox(30083, 9075, 563, 557, 1, 0, 5, 30012, 30006, 70, "RuneCrafting Teleport", "Teleports You To Runecrafting Spots", paramArrayOfTextDrawingArea, 8, 0, 5);
  3267. addLunar3RunesSmallBox(30091, 9075, 564, 563, 1, 1, 0, 30013, 30012, 70, "Cure Me", "Cures Poison", paramArrayOfTextDrawingArea, 9, 0, 5);
  3268. addLunar2RunesSmallBox(30099, 9075, 557, 1, 1, 30006, 70, "Hunter Kit", "Get a kit of hunting gear", paramArrayOfTextDrawingArea, 10, 0, 5);
  3269. addLunar3RunesSmallBox(30106, 9075, 563, 555, 1, 0, 0, 30012, 30004, 71, "Monster Teleport 1", "Teleport to various Monster's.", paramArrayOfTextDrawingArea, 11, 0, 5);
  3270. addLunar3RunesBigBox(30114, 9075, 563, 555, 1, 0, 4, 30012, 30004, 72, "Monster Teleport 2", "Teleport to various Monster's.", paramArrayOfTextDrawingArea, 12, 0, 5);
  3271. addLunar3RunesSmallBox(30122, 9075, 564, 563, 1, 1, 1, 30013, 30012, 73, "Cure Group", "Cures Poison on players", paramArrayOfTextDrawingArea, 13, 0, 5);
  3272. addLunar3RunesBigBox(30130, 9075, 564, 559, 1, 1, 4, 30013, 30008, 74, "Stat Spy", "Cast on another player to see their\\nskill levels", paramArrayOfTextDrawingArea, 14, 8, 2);
  3273. addLunar3RunesBigBox(30138, 9075, 563, 554, 1, 1, 2, 30012, 30003, 74, "Wilderness Teleport", "Teleport to various Wildy spots.", paramArrayOfTextDrawingArea, 15, 0, 5);
  3274. addLunar3RunesBigBox(30146, 9075, 563, 554, 1, 1, 5, 30012, 30003, 75, "Tele Group Barbarian", "Teleports players to the Barbarian\\noutpost", paramArrayOfTextDrawingArea, 16, 0, 5);
  3275. addLunar3RunesSmallBox(30154, 9075, 554, 556, 1, 5, 9, 30003, 30005, 76, "Superglass Make", "Make glass without a furnace", paramArrayOfTextDrawingArea, 17, 16, 2);
  3276. addLunar3RunesSmallBox(30162, 9075, 563, 555, 1, 1, 3, 30012, 30004, 77, "Khazard Teleport", "Teleports you to Port khazard", paramArrayOfTextDrawingArea, 18, 0, 5);
  3277. addLunar3RunesSmallBox(30170, 9075, 563, 555, 1, 1, 7, 30012, 30004, 78, "Tele Group Khazard", "Teleports players to Port khazard", paramArrayOfTextDrawingArea, 19, 0, 5);
  3278. addLunar3RunesBigBox(30178, 9075, 564, 559, 1, 0, 4, 30013, 30008, 78, "Dream", "Take a rest and restore hitpoints 3\\n times faster", paramArrayOfTextDrawingArea, 20, 0, 5);
  3279. addLunar3RunesSmallBox(30186, 9075, 557, 555, 1, 9, 4, 30006, 30004, 79, "String Jewellery", "String amulets without wool", paramArrayOfTextDrawingArea, 21, 0, 5);
  3280. addLunar3RunesLargeBox(30194, 9075, 557, 555, 1, 9, 9, 30006, 30004, 80, "Stat Restore Pot\\nShare", "Share a potion with up to 4 nearby\\nplayers", paramArrayOfTextDrawingArea, 22, 0, 5);
  3281. addLunar3RunesSmallBox(30202, 9075, 554, 555, 1, 6, 6, 30003, 30004, 81, "Magic Imbue", "Combine runes without a talisman", paramArrayOfTextDrawingArea, 23, 0, 5);
  3282. addLunar3RunesBigBox(30210, 9075, 561, 557, 2, 1, 14, 30010, 30006, 82, "Fertile Soil", "Fertilise a farming patch with super\\ncompost", paramArrayOfTextDrawingArea, 24, 4, 2);
  3283. addLunar3RunesBigBox(30218, 9075, 557, 555, 2, 11, 9, 30006, 30004, 83, "Boost Potion Share", "Shares a potion with up to 4 nearby\\nplayers", paramArrayOfTextDrawingArea, 25, 0, 5);
  3284. addLunar3RunesSmallBox(30226, 9075, 563, 555, 2, 2, 9, 30012, 30004, 84, "Fishing Guild Teleport", "Teleports you to the fishing guild", paramArrayOfTextDrawingArea, 26, 0, 5);
  3285. addLunar3RunesLargeBox(30234, 9075, 563, 555, 1, 2, 13, 30012, 30004, 85, "Tele Group Fishing\\nGuild", "Teleports players to the Fishing\\nGuild", paramArrayOfTextDrawingArea, 27, 0, 5);
  3286. addLunar3RunesSmallBox(30242, 9075, 557, 561, 2, 14, 0, 30006, 30010, 85, "Plank Make", "Turn Logs into planks", paramArrayOfTextDrawingArea, 28, 16, 5);
  3287. addLunar3RunesSmallBox(30250, 9075, 563, 555, 2, 2, 9, 30012, 30004, 86, "Catherby Teleport", "Teleports you to Catherby", paramArrayOfTextDrawingArea, 29, 0, 5);
  3288. addLunar3RunesSmallBox(30258, 9075, 563, 555, 2, 2, 14, 30012, 30004, 87, "Tele Group Catherby", "Teleports players to Catherby", paramArrayOfTextDrawingArea, 30, 0, 5);
  3289. addLunar3RunesSmallBox(30266, 9075, 563, 555, 2, 2, 7, 30012, 30004, 88, "Ice Plateau Teleport", "Teleports you to Ice Plateau", paramArrayOfTextDrawingArea, 31, 0, 5);
  3290. addLunar3RunesBigBox(30274, 9075, 563, 555, 2, 2, 15, 30012, 30004, 89, "Tele Group Ice\\n Plateau", "Teleports players to Ice Plateau", paramArrayOfTextDrawingArea, 32, 0, 5);
  3291. addLunar3RunesBigBox(30282, 9075, 563, 561, 2, 1, 0, 30012, 30010, 90, "Energy Transfer", "Spend hitpoints and SA Energy to\\n give another player hitpoints and run energy", paramArrayOfTextDrawingArea, 33, 8, 2);
  3292. addLunar3RunesBigBox(30290, 9075, 563, 565, 2, 2, 0, 30012, 30014, 91, "Heal Other", "Transfer up to 75% of hitpoints\\n to another player", paramArrayOfTextDrawingArea, 34, 8, 2);
  3293. addLunar3RunesBigBox(30298, 9075, 560, 557, 2, 1, 9, 30009, 30006, 92, "Vengeance Other", "Allows another player to rebound\\ndamage to an opponent", paramArrayOfTextDrawingArea, 35, 8, 2);
  3294. addLunar3RunesSmallBox(30306, 9075, 560, 557, 3, 1, 9, 30009, 30006, 93, "Vengeance", "Rebound damage to an opponent", paramArrayOfTextDrawingArea, 36, 0, 5);
  3295. addLunar3RunesBigBox(30314, 9075, 565, 563, 3, 2, 5, 30014, 30012, 94, "Heal Group", "Transfer up to 75% of hitpoints to a group", paramArrayOfTextDrawingArea, 37, 0, 5);
  3296. addLunar3RunesBigBox(30322, 9075, 564, 563, 2, 1, 0, 30013, 30012, 95, "Spellbook Swap", "Change to another spellbook for 1\\nspell cast", paramArrayOfTextDrawingArea, 38, 0, 5);
  3297. }
  3298.  
  3299. public static void constructLunar() {
  3300. RSInterface localRSInterface = addInterface(29999);
  3301. setChildren(71, localRSInterface);
  3302. setBounds(30000, 11, 10, 0, localRSInterface);
  3303. setBounds(30017, 40, 9, 1, localRSInterface);
  3304. setBounds(30025, 71, 12, 2, localRSInterface);
  3305. setBounds(30032, 103, 10, 3, localRSInterface);
  3306. setBounds(30040, 135, 12, 4, localRSInterface);
  3307. setBounds(30048, 165, 10, 5, localRSInterface);
  3308. setBounds(30056, 8, 38, 6, localRSInterface);
  3309. setBounds(30064, 39, 39, 7, localRSInterface);
  3310. setBounds(30075, 71, 39, 8, localRSInterface);
  3311. setBounds(30083, 103, 39, 9, localRSInterface);
  3312. setBounds(30091, 135, 39, 10, localRSInterface);
  3313. setBounds(30099, 165, 37, 11, localRSInterface);
  3314. setBounds(30106, 12, 68, 12, localRSInterface);
  3315. setBounds(30114, 42, 68, 13, localRSInterface);
  3316. setBounds(30122, 71, 68, 14, localRSInterface);
  3317. setBounds(30130, 103, 68, 15, localRSInterface);
  3318. setBounds(30138, 135, 68, 16, localRSInterface);
  3319. setBounds(30146, 165, 68, 17, localRSInterface);
  3320. setBounds(30154, 14, 97, 18, localRSInterface);
  3321. setBounds(30162, 42, 97, 19, localRSInterface);
  3322. setBounds(30170, 71, 97, 20, localRSInterface);
  3323. setBounds(30178, 101, 97, 21, localRSInterface);
  3324. setBounds(30186, 135, 98, 22, localRSInterface);
  3325. setBounds(30194, 168, 98, 23, localRSInterface);
  3326. setBounds(30202, 11, 125, 24, localRSInterface);
  3327. setBounds(30210, 42, 124, 25, localRSInterface);
  3328. setBounds(30218, 74, 125, 26, localRSInterface);
  3329. setBounds(30226, 103, 125, 27, localRSInterface);
  3330. setBounds(30234, 135, 125, 28, localRSInterface);
  3331. setBounds(30242, 164, 126, 29, localRSInterface);
  3332. setBounds(30250, 10, 155, 30, localRSInterface);
  3333. setBounds(30258, 42, 155, 31, localRSInterface);
  3334. setBounds(30266, 71, 155, 32, localRSInterface);
  3335. setBounds(30274, 103, 155, 33, localRSInterface);
  3336. setBounds(30282, 136, 155, 34, localRSInterface);
  3337. setBounds(30290, 165, 155, 35, localRSInterface);
  3338. setBounds(30298, 13, 185, 36, localRSInterface);
  3339. setBounds(30306, 42, 185, 37, localRSInterface);
  3340. setBounds(30314, 71, 184, 38, localRSInterface);
  3341. setBounds(30322, 104, 184, 39, localRSInterface);
  3342. setBounds(30001, 6, 184, 40, localRSInterface);
  3343. setBounds(30018, 5, 176, 41, localRSInterface);
  3344. setBounds(30026, 5, 176, 42, localRSInterface);
  3345. setBounds(30033, 5, 163, 43, localRSInterface);
  3346. setBounds(30041, 5, 176, 44, localRSInterface);
  3347. setBounds(30049, 5, 176, 45, localRSInterface);
  3348. setBounds(30057, 5, 176, 46, localRSInterface);
  3349. setBounds(30065, 5, 176, 47, localRSInterface);
  3350. setBounds(30076, 5, 163, 48, localRSInterface);
  3351. setBounds(30084, 5, 176, 49, localRSInterface);
  3352. setBounds(30092, 5, 176, 50, localRSInterface);
  3353. setBounds(30100, 5, 176, 51, localRSInterface);
  3354. setBounds(30107, 5, 176, 52, localRSInterface);
  3355. setBounds(30115, 5, 163, 53, localRSInterface);
  3356. setBounds(30123, 5, 176, 54, localRSInterface);
  3357. setBounds(30131, 5, 163, 55, localRSInterface);
  3358. setBounds(30139, 5, 163, 56, localRSInterface);
  3359. setBounds(30147, 5, 163, 57, localRSInterface);
  3360. setBounds(30155, 5, 176, 58, localRSInterface);
  3361. setBounds(30163, 5, 176, 59, localRSInterface);
  3362. setBounds(30171, 5, 176, 60, localRSInterface);
  3363. setBounds(30179, 5, 163, 61, localRSInterface);
  3364. setBounds(30187, 5, 176, 62, localRSInterface);
  3365. setBounds(30195, 5, 149, 63, localRSInterface);
  3366. setBounds(30203, 5, 176, 64, localRSInterface);
  3367. setBounds(30211, 5, 163, 65, localRSInterface);
  3368. setBounds(30219, 5, 163, 66, localRSInterface);
  3369. setBounds(30227, 5, 176, 67, localRSInterface);
  3370. setBounds(30235, 5, 149, 68, localRSInterface);
  3371. setBounds(30243, 5, 176, 69, localRSInterface);
  3372. setBounds(30251, 5, 176, 70, localRSInterface);
  3373. }
  3374.  
  3375. public static void magicTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  3376. RSInterface localRSInterface1 = addTabInterface(1151);
  3377. RSInterface localRSInterface2 = addTabInterface(1196);
  3378. RSInterface localRSInterface3 = interfaceCache[12424];
  3379. localRSInterface3.scrollMax = 0; localRSInterface3.height = 260; localRSInterface3.width = 190;
  3380. int[] arrayOfInt = { 1196, 1199, 1206, 1215, 1224, 1231, 1240, 1249, 1258, 1267, 1274, 1283, 1573, 1290, 1299, 1308, 1315, 1324, 1333, 1340, 1349, 1358, 1367, 1374, 1381, 1388, 1397, 1404, 1583, 12038, 1414, 1421, 1430, 1437, 1446, 1453, 1460, 1469, 15878, 1602, 1613, 1624, 7456, 1478, 1485, 1494, 1503, 1512, 1521, 1530, 1544, 1553, 1563, 1593, 1635, 12426, 12436, 12446, 12456, 6004, 18471 };
  3381.  
  3382. localRSInterface1.totalChildren(63);
  3383. localRSInterface1.child(0, 12424, 13, 24);
  3384. for (int i = 0; i < arrayOfInt.length; i++) {
  3385. int j = i > 34 ? 8 : 183;
  3386. localRSInterface1.child(1, 1195, 13, 24);
  3387. localRSInterface1.child(i + 2, arrayOfInt[i], 5, j);
  3388. addButton(1195, 1, "Magic/Home", "Cast @gre@Home Teleport");
  3389. RSInterface localRSInterface4 = interfaceCache[1195];
  3390. localRSInterface4.hoverType = 1196;
  3391. }
  3392. for (i = 0; i < arrayOfInt.length; i++) {
  3393. if (i < 60)
  3394. localRSInterface3.childX[i] += 24;
  3395. if ((i == 6) || (i == 12) || (i == 19) || (i == 35) || (i == 41) || (i == 44) || (i == 49) || (i == 51))
  3396. localRSInterface3.childX[i] = 0;
  3397. localRSInterface3.childY[6] = 24; localRSInterface3.childY[12] = 48;
  3398. localRSInterface3.childY[19] = 72; localRSInterface3.childY[49] = 96;
  3399. localRSInterface3.childY[44] = 120; localRSInterface3.childY[51] = 144;
  3400. localRSInterface3.childY[35] = 170; localRSInterface3.childY[41] = 192;
  3401. }
  3402. }
  3403.  
  3404. public static void ancientMagicTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  3405. RSInterface localRSInterface1 = addInterface(12855);
  3406. addButton(12856, 1, "Magic/Home", "Cast @gre@Home Teleport");
  3407. RSInterface localRSInterface2 = interfaceCache[12856];
  3408. localRSInterface2.hoverType = 1196;
  3409. int[] arrayOfInt = { 12856, 12939, 12987, 13035, 12901, 12861, 13045, 12963, 13011, 13053, 12919, 12881, 13061, 12951, 12999, 13069, 12911, 12871, 13079, 12975, 13023, 13087, 12929, 12891, 13095, 1196, 12940, 12988, 13036, 12902, 12862, 13046, 12964, 13012, 13054, 12920, 12882, 13062, 12952, 13000, 13070, 12912, 12872, 13080, 12976, 13024, 13088, 12930, 12892, 13096 };
  3410.  
  3411. localRSInterface1.totalChildren(arrayOfInt.length);
  3412. int i = 0; int j = 18; for (int k = 8; i < arrayOfInt.length; j += 45) {
  3413. if (j > 175) {
  3414. j = 18; k += 28;
  3415. }
  3416. if (i < 25)
  3417. localRSInterface1.child(i, arrayOfInt[i], j, k);
  3418. if (i > 24) {
  3419. k = i < 41 ? 181 : 1;
  3420. localRSInterface1.child(i, arrayOfInt[i], 4, k);
  3421. }
  3422. i++;
  3423. }
  3424. }
  3425.  
  3426. public static void drawBlackBox(int paramInt1, int paramInt2)
  3427. {
  3428. DrawingArea.drawPixels(71, paramInt2 - 1, paramInt1 - 2, 7496785, 1);
  3429. DrawingArea.drawPixels(69, paramInt2, paramInt1 + 174, 7496785, 1);
  3430. DrawingArea.drawPixels(1, paramInt2 - 2, paramInt1 - 2, 7496785, 178);
  3431. DrawingArea.drawPixels(1, paramInt2 + 68, paramInt1, 7496785, 174);
  3432.  
  3433. DrawingArea.drawPixels(71, paramInt2 - 1, paramInt1 - 1, 3025699, 1);
  3434. DrawingArea.drawPixels(71, paramInt2 - 1, paramInt1 + 175, 3025699, 1);
  3435. DrawingArea.drawPixels(1, paramInt2 - 1, paramInt1, 3025699, 175);
  3436. DrawingArea.drawPixels(1, paramInt2 + 69, paramInt1, 3025699, 175);
  3437.  
  3438. DrawingArea.method335(0, paramInt2, 174, 68, 220, paramInt1);
  3439. }
  3440.  
  3441. public static void addButton(int paramInt1, int paramInt2, String paramString1, String paramString2) {
  3442. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  3443. localRSInterface.id = paramInt1;
  3444. localRSInterface.parentID = paramInt1;
  3445. localRSInterface.type = 5;
  3446. localRSInterface.atActionType = 1;
  3447. localRSInterface.contentType = 0;
  3448. localRSInterface.opacity = 0;
  3449. localRSInterface.mOverInterToTrigger = 52;
  3450. localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
  3451. localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
  3452. localRSInterface.width = localRSInterface.sprite1.myWidth;
  3453. localRSInterface.height = localRSInterface.sprite2.myHeight;
  3454. localRSInterface.tooltip = paramString2;
  3455. }
  3456.  
  3457. public static void addClickableTextB(int paramInt1, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2, int paramInt4) {
  3458. RSInterface localRSInterface = addTabInterface(paramInt1);
  3459. localRSInterface.parentID = paramInt1;
  3460. localRSInterface.id = paramInt1;
  3461. localRSInterface.type = 4;
  3462. localRSInterface.atActionType = 1;
  3463. localRSInterface.width = paramInt4;
  3464. localRSInterface.height = 11;
  3465. localRSInterface.contentType = 0;
  3466. localRSInterface.opacity = 0;
  3467. localRSInterface.mOverInterToTrigger = -1;
  3468. localRSInterface.centerText = paramBoolean1;
  3469. localRSInterface.textShadow = paramBoolean2;
  3470. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
  3471. localRSInterface.message = paramString1;
  3472. localRSInterface.aString228 = "";
  3473. localRSInterface.textColor = paramInt3;
  3474. localRSInterface.anInt219 = 0;
  3475. localRSInterface.anInt216 = 16777215;
  3476. localRSInterface.anInt239 = 0;
  3477. localRSInterface.tooltip = paramString2;
  3478. }
  3479.  
  3480. public static void addClickableText(int paramInt1, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, int paramInt4, int paramInt5)
  3481. {
  3482. RSInterface localRSInterface = addTabInterface(paramInt1);
  3483. localRSInterface.parentID = paramInt1;
  3484. localRSInterface.id = paramInt1;
  3485. localRSInterface.type = 4;
  3486. localRSInterface.atActionType = 1;
  3487. localRSInterface.width = paramInt4;
  3488. localRSInterface.height = paramInt5;
  3489. localRSInterface.contentType = 0;
  3490. localRSInterface.opacity = 0;
  3491. localRSInterface.mOverInterToTrigger = -1;
  3492. localRSInterface.centerText = false;
  3493. localRSInterface.textShadow = true;
  3494. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
  3495. localRSInterface.message = paramString1;
  3496. localRSInterface.tooltip = paramString2;
  3497. localRSInterface.aString228 = "";
  3498. localRSInterface.textColor = paramInt3;
  3499. localRSInterface.anInt219 = 0;
  3500. localRSInterface.anInt216 = 16777215;
  3501. localRSInterface.anInt239 = 0;
  3502. }
  3503.  
  3504. public static void addClickableText(int paramInt1, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, int paramInt4, int paramInt5, boolean paramBoolean, int paramInt6)
  3505. {
  3506. RSInterface localRSInterface = addTabInterface(paramInt1);
  3507. localRSInterface.parentID = paramInt1;
  3508. localRSInterface.id = paramInt1;
  3509. localRSInterface.type = 4;
  3510. localRSInterface.atActionType = paramInt6;
  3511. localRSInterface.width = paramInt4;
  3512. localRSInterface.height = paramInt5;
  3513. localRSInterface.contentType = 0;
  3514. localRSInterface.opacity = 0;
  3515. localRSInterface.mOverInterToTrigger = -1;
  3516. localRSInterface.centerText = false;
  3517. localRSInterface.textShadow = paramBoolean;
  3518. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
  3519. localRSInterface.message = paramString1;
  3520. localRSInterface.tooltip = paramString2;
  3521. localRSInterface.aString228 = "";
  3522. localRSInterface.textColor = paramInt3;
  3523. localRSInterface.anInt219 = 0;
  3524. localRSInterface.anInt216 = 16777215;
  3525. localRSInterface.anInt239 = 0;
  3526. }
  3527.  
  3528. public static void addTooltipBox(int paramInt, String paramString)
  3529. {
  3530. RSInterface localRSInterface = addInterface(paramInt);
  3531. localRSInterface.id = paramInt;
  3532. localRSInterface.parentID = paramInt;
  3533. localRSInterface.type = 8;
  3534. localRSInterface.popupString = paramString;
  3535. }
  3536. public static void addTooltip(int paramInt, String paramString) {
  3537. RSInterface localRSInterface = addInterface(paramInt);
  3538. localRSInterface.id = paramInt;
  3539. localRSInterface.type = 0;
  3540. localRSInterface.isMouseoverTriggered = true;
  3541. localRSInterface.mOverInterToTrigger = -1;
  3542. addTooltipBox(paramInt + 1, paramString);
  3543. localRSInterface.totalChildren(1);
  3544. localRSInterface.child(0, paramInt + 1, 0, 0);
  3545. }
  3546.  
  3547. public static void friendsTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  3548. {
  3549. RSInterface localRSInterface1 = addTabInterface(5065);
  3550. RSInterface localRSInterface2 = interfaceCache[5066];
  3551. addText(5067, "Friends List", paramArrayOfTextDrawingArea, 1, 16750899, true, true);
  3552. addText(5070, "Add Friend", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
  3553. addText(5071, "Delete Friend", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
  3554. addSprite(16126, 4, "/Friends/SPRITE");
  3555. addSprite(16127, 8, "/Friends/SPRITE");
  3556. addHoverButton(5068, "/Friends/SPRITE", 6, 72, 32, "Add Friend", 201, 5072, 1);
  3557. addHoveredButton(5072, "/Friends/SPRITE", 7, 72, 32, 5073);
  3558. addHoverButton(5069, "/Friends/SPRITE", 6, 72, 32, "Delete Friend", 202, 5074, 1);
  3559. addHoveredButton(5074, "/Friends/SPRITE", 7, 72, 32, 5075);
  3560. localRSInterface1.totalChildren(11);
  3561. localRSInterface1.child(0, 5067, 95, 4);
  3562. localRSInterface1.child(1, 16127, 0, 25);
  3563. localRSInterface1.child(2, 16126, 0, 221);
  3564. localRSInterface1.child(3, 5066, 0, 24);
  3565. localRSInterface1.child(4, 16126, 0, 22);
  3566. localRSInterface1.child(5, 5068, 15, 226);
  3567. localRSInterface1.child(6, 5072, 15, 226);
  3568. localRSInterface1.child(7, 5069, 103, 226);
  3569. localRSInterface1.child(8, 5074, 103, 226);
  3570. localRSInterface1.child(9, 5070, 25, 237);
  3571. localRSInterface1.child(10, 5071, 106, 237);
  3572. localRSInterface2.height = 196; localRSInterface2.width = 174;
  3573. int i = 5092; for (int j = 0; (i <= 5191) && (j <= 99); j++) {
  3574. localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 3; localRSInterface2.childY[j] -= 7;
  3575.  
  3576. i++;
  3577. }
  3578. i = 5192; for (j = 100; (i <= 5291) && (j <= 199); j++) {
  3579. localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 131; localRSInterface2.childY[j] -= 7;
  3580.  
  3581. i++;
  3582. }
  3583. }
  3584.  
  3585. public static void ignoreTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  3586. {
  3587. RSInterface localRSInterface1 = addTabInterface(5715);
  3588. RSInterface localRSInterface2 = interfaceCache[5716];
  3589. addText(5717, "Ignore List", paramArrayOfTextDrawingArea, 1, 16750899, true, true);
  3590. addText(5720, "Add Name", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
  3591. addText(5721, "Delete Name", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
  3592. addHoverButton(5718, "/Friends/SPRITE", 6, 72, 32, "Add Name", 501, 5722, 1);
  3593. addHoveredButton(5722, "/Friends/SPRITE", 7, 72, 32, 5723);
  3594. addHoverButton(5719, "/Friends/SPRITE", 6, 72, 32, "Delete Name", 502, 5724, 1);
  3595. addHoveredButton(5724, "/Friends/SPRITE", 7, 72, 32, 5725);
  3596. localRSInterface1.totalChildren(11);
  3597. localRSInterface1.child(0, 5717, 95, 4);
  3598. localRSInterface1.child(1, 16127, 0, 25);
  3599. localRSInterface1.child(2, 16126, 0, 221);
  3600. localRSInterface1.child(3, 5716, 0, 24);
  3601. localRSInterface1.child(4, 16126, 0, 22);
  3602. localRSInterface1.child(5, 5718, 15, 226);
  3603. localRSInterface1.child(6, 5722, 15, 226);
  3604. localRSInterface1.child(7, 5719, 103, 226);
  3605. localRSInterface1.child(8, 5724, 103, 226);
  3606. localRSInterface1.child(9, 5720, 27, 237);
  3607. localRSInterface1.child(10, 5721, 108, 237);
  3608. localRSInterface2.height = 196;
  3609. localRSInterface2.width = 174;
  3610. int i = 5742; for (int j = 0; (i <= 5841) && (j <= 99); j++) {
  3611. localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 3; localRSInterface2.childY[j] -= 7;
  3612.  
  3613. i++;
  3614. }
  3615. }
  3616.  
  3617. private static Sprite CustomSpriteLoader(int paramInt, String paramString)
  3618. {
  3619. long l = (TextClass.method585(paramString) << 8) + paramInt;
  3620. Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
  3621. if (localSprite != null) return localSprite; try
  3622. {
  3623. localSprite = new Sprite("/Attack/" + paramInt + paramString);
  3624. aMRUNodes_238.removeFromCache(localSprite, l);
  3625. } catch (Exception localException) {
  3626. return null;
  3627. }return localSprite;
  3628. }
  3629.  
  3630. public static RSInterface addInterface(int paramInt)
  3631. {
  3632. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  3633. localRSInterface.id = paramInt;
  3634. localRSInterface.parentID = paramInt;
  3635. localRSInterface.width = 512;
  3636. localRSInterface.height = 334;
  3637. return localRSInterface;
  3638. }
  3639.  
  3640. public static void addText(int paramInt1, String paramString, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean) {
  3641. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  3642. if (paramBoolean)
  3643. localRSInterface.centerText = true;
  3644. localRSInterface.textShadow = true;
  3645. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
  3646. localRSInterface.message = paramString;
  3647. localRSInterface.textColor = paramInt3;
  3648. localRSInterface.id = paramInt1;
  3649. localRSInterface.type = 4;
  3650. }
  3651.  
  3652. public static void addBankHover(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString1, int paramInt6, int paramInt7, int paramInt8, int paramInt9, String paramString2, int paramInt10, int paramInt11, int paramInt12, String paramString3, int paramInt13, String paramString4, String paramString5, int paramInt14, int paramInt15) {
  3653. RSInterface localRSInterface = addTabInterface(paramInt1);
  3654. localRSInterface.id = paramInt1;
  3655. localRSInterface.parentID = paramInt1;
  3656. localRSInterface.type = 5;
  3657. localRSInterface.atActionType = paramInt2;
  3658. localRSInterface.contentType = 0;
  3659. localRSInterface.opacity = 0;
  3660. localRSInterface.mOverInterToTrigger = paramInt3;
  3661. localRSInterface.sprite1 = imageLoader(paramInt4, paramString1);
  3662. localRSInterface.sprite2 = imageLoader(paramInt5, paramString1);
  3663. localRSInterface.width = paramInt6;
  3664. localRSInterface.tooltip = paramString2;
  3665. localRSInterface.height = paramInt7;
  3666. localRSInterface.valueCompareType = new int[1];
  3667. localRSInterface.requiredValues = new int[1];
  3668. localRSInterface.valueCompareType[0] = 1;
  3669. localRSInterface.requiredValues[0] = paramInt9;
  3670. localRSInterface.valueIndexArray = new int[1][3];
  3671. localRSInterface.valueIndexArray[0][0] = 5;
  3672. localRSInterface.valueIndexArray[0][1] = paramInt8;
  3673. localRSInterface.valueIndexArray[0][2] = 0;
  3674. localRSInterface = addTabInterface(paramInt3);
  3675. localRSInterface.parentID = paramInt3;
  3676. localRSInterface.id = paramInt3;
  3677. localRSInterface.type = 0;
  3678. localRSInterface.atActionType = 0;
  3679. localRSInterface.width = 550;
  3680. localRSInterface.height = 334;
  3681. localRSInterface.isMouseoverTriggered = true;
  3682. localRSInterface.mOverInterToTrigger = -1;
  3683. addSprite(paramInt10, paramInt11, paramInt12, paramString3, paramInt9, paramInt8);
  3684. addHoverBox(paramInt13, paramInt1, paramString4, paramString5, paramInt9, paramInt8);
  3685. setChildren(2, localRSInterface);
  3686. setBounds(paramInt10, 15, 60, 0, localRSInterface);
  3687. setBounds(paramInt13, paramInt14, paramInt15, 1, localRSInterface);
  3688. }
  3689. public static void addBankHover1(int paramInt1, int paramInt2, int paramInt3, int paramInt4, String paramString1, int paramInt5, int paramInt6, String paramString2, int paramInt7, int paramInt8, String paramString3, int paramInt9, String paramString4, int paramInt10, int paramInt11) {
  3690. RSInterface localRSInterface = addTabInterface(paramInt1);
  3691. localRSInterface.id = paramInt1;
  3692. localRSInterface.parentID = paramInt1;
  3693. localRSInterface.type = 5;
  3694. localRSInterface.atActionType = paramInt2;
  3695. localRSInterface.contentType = 0;
  3696. localRSInterface.opacity = 0;
  3697. localRSInterface.mOverInterToTrigger = paramInt3;
  3698. localRSInterface.sprite1 = imageLoader(paramInt4, paramString1);
  3699. localRSInterface.width = paramInt5;
  3700. localRSInterface.tooltip = paramString2;
  3701. localRSInterface.height = paramInt6;
  3702. localRSInterface = addTabInterface(paramInt3);
  3703. localRSInterface.parentID = paramInt3;
  3704. localRSInterface.id = paramInt3;
  3705. localRSInterface.type = 0;
  3706. localRSInterface.atActionType = 0;
  3707. localRSInterface.width = 550;
  3708. localRSInterface.height = 334;
  3709. localRSInterface.isMouseoverTriggered = true;
  3710. localRSInterface.mOverInterToTrigger = -1;
  3711. addSprite(paramInt7, paramInt8, paramInt8, paramString3, 0, 0);
  3712. addHoverBox(paramInt9, paramInt1, paramString4, paramString4, 0, 0);
  3713. setChildren(2, localRSInterface);
  3714. setBounds(paramInt7, 15, 60, 0, localRSInterface);
  3715. setBounds(paramInt9, paramInt10, paramInt11, 1, localRSInterface);
  3716. }
  3717.  
  3718. public static void addHoverBox(int paramInt1, int paramInt2, String paramString1, String paramString2, int paramInt3, int paramInt4) {
  3719. RSInterface localRSInterface = addTabInterface(paramInt1);
  3720. localRSInterface.id = paramInt1;
  3721. localRSInterface.parentID = paramInt2;
  3722. localRSInterface.type = 8;
  3723. localRSInterface.aString228 = paramString1;
  3724. localRSInterface.message = paramString2;
  3725. localRSInterface.valueCompareType = new int[1];
  3726. localRSInterface.requiredValues = new int[1];
  3727. localRSInterface.valueCompareType[0] = 1;
  3728. localRSInterface.requiredValues[0] = paramInt3;
  3729. localRSInterface.valueIndexArray = new int[1][3];
  3730. localRSInterface.valueIndexArray[0][0] = 5;
  3731. localRSInterface.valueIndexArray[0][1] = paramInt4;
  3732. localRSInterface.valueIndexArray[0][2] = 0;
  3733. }
  3734. public static void addSprite(int paramInt1, int paramInt2, int paramInt3, String paramString, int paramInt4, int paramInt5) {
  3735. RSInterface localRSInterface = addTabInterface(paramInt1);
  3736. localRSInterface.id = paramInt1;
  3737. localRSInterface.parentID = paramInt1;
  3738. localRSInterface.type = 5;
  3739. localRSInterface.atActionType = 0;
  3740. localRSInterface.contentType = 0;
  3741. localRSInterface.width = 512;
  3742. localRSInterface.height = 334;
  3743. localRSInterface.opacity = 0;
  3744. localRSInterface.mOverInterToTrigger = -1;
  3745. localRSInterface.valueCompareType = new int[1];
  3746. localRSInterface.requiredValues = new int[1];
  3747. localRSInterface.valueCompareType[0] = 1;
  3748. localRSInterface.requiredValues[0] = paramInt4;
  3749. localRSInterface.valueIndexArray = new int[1][3];
  3750. localRSInterface.valueIndexArray[0][0] = 5;
  3751. localRSInterface.valueIndexArray[0][1] = paramInt5;
  3752. localRSInterface.valueIndexArray[0][2] = 0;
  3753. localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
  3754. localRSInterface.sprite2 = imageLoader(paramInt3, paramString);
  3755. }
  3756.  
  3757. public static void textColor(int paramInt1, int paramInt2) {
  3758. RSInterface localRSInterface = interfaceCache[paramInt1]; localRSInterface.textColor = paramInt2;
  3759. }
  3760. public static void textSize(int paramInt1, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2) {
  3761. RSInterface localRSInterface = interfaceCache[paramInt1]; localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
  3762. }
  3763.  
  3764. public static void addCacheSprite(int paramInt1, int paramInt2, int paramInt3, String paramString) {
  3765. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  3766. localRSInterface.sprite1 = method207(paramInt2, aClass44, paramString);
  3767. localRSInterface.sprite2 = method207(paramInt3, aClass44, paramString);
  3768. localRSInterface.parentID = paramInt1;
  3769. localRSInterface.id = paramInt1;
  3770. localRSInterface.type = 5;
  3771. }
  3772.  
  3773. public static void sprite1(int paramInt1, int paramInt2) {
  3774. RSInterface localRSInterface = interfaceCache[paramInt1];
  3775. localRSInterface.sprite1 = CustomSpriteLoader(paramInt2, "");
  3776. }
  3777.  
  3778. public static void addActionButton(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString)
  3779. {
  3780. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  3781. localRSInterface.sprite1 = CustomSpriteLoader(paramInt2, "");
  3782. if (paramInt3 == paramInt2)
  3783. localRSInterface.sprite2 = CustomSpriteLoader(paramInt2, "a");
  3784. else
  3785. localRSInterface.sprite2 = CustomSpriteLoader(paramInt3, "");
  3786. localRSInterface.tooltip = paramString;
  3787. localRSInterface.contentType = 0;
  3788. localRSInterface.atActionType = 1;
  3789. localRSInterface.width = paramInt4;
  3790. localRSInterface.mOverInterToTrigger = 52;
  3791. localRSInterface.parentID = paramInt1;
  3792. localRSInterface.id = paramInt1;
  3793. localRSInterface.type = 5;
  3794. localRSInterface.height = paramInt5;
  3795. }
  3796.  
  3797. public static void addToggleButton(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString)
  3798. {
  3799. RSInterface localRSInterface = addInterface(paramInt1);
  3800. localRSInterface.sprite1 = CustomSpriteLoader(paramInt2, "");
  3801. localRSInterface.sprite2 = CustomSpriteLoader(paramInt2, "a");
  3802. localRSInterface.requiredValues = new int[1];
  3803. localRSInterface.requiredValues[0] = 1;
  3804. localRSInterface.valueCompareType = new int[1];
  3805. localRSInterface.valueCompareType[0] = 1;
  3806. localRSInterface.valueIndexArray = new int[1][3];
  3807. localRSInterface.valueIndexArray[0][0] = 5;
  3808. localRSInterface.valueIndexArray[0][1] = paramInt3;
  3809. localRSInterface.valueIndexArray[0][2] = 0;
  3810. localRSInterface.atActionType = 4;
  3811. localRSInterface.width = paramInt4;
  3812. localRSInterface.mOverInterToTrigger = -1;
  3813. localRSInterface.parentID = paramInt1;
  3814. localRSInterface.id = paramInt1;
  3815. localRSInterface.type = 5;
  3816. localRSInterface.height = paramInt5;
  3817. localRSInterface.tooltip = paramString;
  3818. }
  3819.  
  3820. public void totalChildren(int paramInt1, int paramInt2, int paramInt3)
  3821. {
  3822. this.children = new int[paramInt1]; this.childX = new int[paramInt2]; this.childY = new int[paramInt3];
  3823. }
  3824. public static void removeSomething(int paramInt) {
  3825. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  3826. }
  3827.  
  3828. public void specialBar(int paramInt)
  3829. {
  3830. addActionButton(paramInt - 12, 7587, -1, 150, 26, "Use @gre@Special Attack");
  3831.  
  3832. for (int i = paramInt - 11; i < paramInt; i++) {
  3833. removeSomething(i);
  3834. }
  3835. RSInterface localRSInterface = interfaceCache[(paramInt - 12)];
  3836. localRSInterface.width = 150;
  3837. localRSInterface.height = 26;
  3838.  
  3839. localRSInterface = interfaceCache[paramInt];
  3840. localRSInterface.width = 150;
  3841. localRSInterface.height = 26;
  3842.  
  3843. localRSInterface.child(0, paramInt - 12, 0, 0);
  3844.  
  3845. localRSInterface.child(12, paramInt + 1, 3, 7);
  3846.  
  3847. localRSInterface.child(23, paramInt + 12, 16, 8);
  3848.  
  3849. for (int j = 13; j < 23; j++) {
  3850. localRSInterface.childY[j] -= 1;
  3851. }
  3852.  
  3853. localRSInterface = interfaceCache[(paramInt + 1)];
  3854. localRSInterface.type = 5;
  3855. localRSInterface.sprite1 = CustomSpriteLoader(7600, "");
  3856.  
  3857. for (j = paramInt + 2; j < paramInt + 12; j++) {
  3858. localRSInterface = interfaceCache[j];
  3859. localRSInterface.type = 5;
  3860. }
  3861.  
  3862. sprite1(paramInt + 2, 7601); sprite1(paramInt + 3, 7602);
  3863. sprite1(paramInt + 4, 7603); sprite1(paramInt + 5, 7604);
  3864. sprite1(paramInt + 6, 7605); sprite1(paramInt + 7, 7606);
  3865. sprite1(paramInt + 8, 7607); sprite1(paramInt + 9, 7608);
  3866. sprite1(paramInt + 10, 7609); sprite1(paramInt + 11, 7610);
  3867. }
  3868.  
  3869. public static void Sidebar0(TextDrawingArea[] paramArrayOfTextDrawingArea)
  3870. {
  3871. Sidebar0a(1698, 1701, 7499, "Chop", "Hack", "Smash", "Block", 42, 75, 127, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3872. Sidebar0a(2276, 2279, 7574, "Stab", "Lunge", "Slash", "Block", 43, 75, 124, 75, 41, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3873. Sidebar0a(2423, 2426, 7599, "Chop", "Slash", "Lunge", "Block", 42, 75, 125, 75, 40, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3874. Sidebar0a(3796, 3799, 7624, "Pound", "Pummel", "Spike", "Block", 39, 75, 121, 75, 41, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3875. Sidebar0a(4679, 4682, 7674, "Lunge", "Swipe", "Pound", "Block", 40, 75, 124, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3876. Sidebar0a(4705, 4708, 7699, "Chop", "Slash", "Smash", "Block", 42, 75, 125, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3877. Sidebar0a(5570, 5573, 7724, "Spike", "Impale", "Smash", "Block", 41, 75, 123, 75, 39, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3878. Sidebar0a(7762, 7765, 7800, "Chop", "Slash", "Lunge", "Block", 42, 75, 125, 75, 40, 128, 125, 128, 122, 103, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3879.  
  3880. Sidebar0b(776, 779, "Reap", "Chop", "Jab", "Block", 42, 75, 126, 75, 46, 128, 125, 128, 122, 103, 122, 50, 40, 103, 40, 50, paramArrayOfTextDrawingArea);
  3881.  
  3882. Sidebar0c(425, 428, 7474, "Pound", "Pummel", "Block", 39, 75, 121, 75, 42, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
  3883. Sidebar0c(1749, 1752, 7524, "Accurate", "Rapid", "Longrange", 33, 75, 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
  3884. Sidebar0c(1764, 1767, 7549, "Accurate", "Rapid", "Longrange", 33, 75, 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
  3885. Sidebar0c(4446, 4449, 7649, "Accurate", "Rapid", "Longrange", 33, 75, 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
  3886. Sidebar0c(5855, 5857, 7749, "Punch", "Kick", "Block", 40, 75, 129, 75, 42, 128, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
  3887. Sidebar0c(6103, 6132, 6117, "Bash", "Pound", "Block", 43, 75, 124, 75, 42, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
  3888. Sidebar0c(8460, 8463, 8493, "Jab", "Swipe", "Fend", 46, 75, 124, 75, 43, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
  3889. Sidebar0c(12290, 12293, 12323, "Flick", "Lash", "Deflect", 44, 75, 127, 75, 36, 128, 40, 50, 40, 103, 122, 50, paramArrayOfTextDrawingArea);
  3890.  
  3891. Sidebar0d(328, 331, "Bash", "Pound", "Focus", 42, 66, 39, 101, 41, 136, 40, 120, 40, 50, 40, 85, paramArrayOfTextDrawingArea);
  3892.  
  3893. RSInterface localRSInterface = addInterface(19300);
  3894.  
  3895. textSize(3983, paramArrayOfTextDrawingArea, 0);
  3896.  
  3897. addToggleButton(150, 150, 172, 150, 44, "Auto Retaliate");
  3898.  
  3899. localRSInterface.totalChildren(2, 2, 2);
  3900. localRSInterface.child(0, 3983, 52, 25);
  3901. localRSInterface.child(1, 150, 21, 153);
  3902.  
  3903. localRSInterface = interfaceCache[3983];
  3904. localRSInterface.centerText = true;
  3905. localRSInterface.textColor = 16750623;
  3906. }
  3907.  
  3908. public static void Sidebar0a(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2, String paramString3, String paramString4, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10, int paramInt11, int paramInt12, int paramInt13, int paramInt14, int paramInt15, int paramInt16, int paramInt17, int paramInt18, int paramInt19, TextDrawingArea[] paramArrayOfTextDrawingArea)
  3909. {
  3910. RSInterface localRSInterface = addInterface(paramInt1);
  3911.  
  3912. addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
  3913. addText(paramInt2 + 11, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3914. addText(paramInt2 + 12, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3915. addText(paramInt2 + 13, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3916. addText(paramInt2 + 14, paramString4, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3917.  
  3918. localRSInterface.specialBar(paramInt3);
  3919.  
  3920. localRSInterface.width = 190;
  3921. localRSInterface.height = 261;
  3922.  
  3923. int i = 15; int j = 0;
  3924. localRSInterface.totalChildren(i, i, i);
  3925.  
  3926. localRSInterface.child(j, paramInt2 + 3, 21, 46); j++;
  3927. localRSInterface.child(j, paramInt2 + 4, 104, 99); j++;
  3928. localRSInterface.child(j, paramInt2 + 5, 21, 99); j++;
  3929. localRSInterface.child(j, paramInt2 + 6, 105, 46); j++;
  3930.  
  3931. localRSInterface.child(j, paramInt2 + 7, paramInt12, paramInt13); j++;
  3932. localRSInterface.child(j, paramInt2 + 8, paramInt14, paramInt15); j++;
  3933. localRSInterface.child(j, paramInt2 + 9, paramInt16, paramInt17); j++;
  3934. localRSInterface.child(j, paramInt2 + 10, paramInt18, paramInt19); j++;
  3935.  
  3936. localRSInterface.child(j, paramInt2 + 11, paramInt4, paramInt5); j++;
  3937. localRSInterface.child(j, paramInt2 + 12, paramInt6, paramInt7); j++;
  3938. localRSInterface.child(j, paramInt2 + 13, paramInt8, paramInt9); j++;
  3939. localRSInterface.child(j, paramInt2 + 14, paramInt10, paramInt11); j++;
  3940.  
  3941. localRSInterface.child(j, 19300, 0, 0); j++;
  3942. localRSInterface.child(j, paramInt2, 94, 4); j++;
  3943. localRSInterface.child(j, paramInt3, 21, 205); j++;
  3944.  
  3945. for (int k = paramInt2 + 3; k < paramInt2 + 7; k++) {
  3946. localRSInterface = interfaceCache[k];
  3947. localRSInterface.sprite1 = CustomSpriteLoader(19301, ""); localRSInterface.sprite2 = CustomSpriteLoader(19301, "a");
  3948. localRSInterface.width = 68; localRSInterface.height = 44;
  3949. }
  3950. }
  3951.  
  3952. public static void Sidebar0b(int paramInt1, int paramInt2, String paramString1, String paramString2, String paramString3, String paramString4, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10, int paramInt11, int paramInt12, int paramInt13, int paramInt14, int paramInt15, int paramInt16, int paramInt17, int paramInt18, TextDrawingArea[] paramArrayOfTextDrawingArea)
  3953. {
  3954. RSInterface localRSInterface = addInterface(paramInt1);
  3955.  
  3956. addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
  3957. addText(paramInt2 + 11, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3958. addText(paramInt2 + 12, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3959. addText(paramInt2 + 13, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3960. addText(paramInt2 + 14, paramString4, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3961.  
  3962. localRSInterface.width = 190;
  3963. localRSInterface.height = 261;
  3964.  
  3965. int i = 14; int j = 0;
  3966. localRSInterface.totalChildren(i, i, i);
  3967.  
  3968. localRSInterface.child(j, paramInt2 + 3, 21, 46); j++;
  3969. localRSInterface.child(j, paramInt2 + 4, 104, 99); j++;
  3970. localRSInterface.child(j, paramInt2 + 5, 21, 99); j++;
  3971. localRSInterface.child(j, paramInt2 + 6, 105, 46); j++;
  3972.  
  3973. localRSInterface.child(j, paramInt2 + 7, paramInt11, paramInt12); j++;
  3974. localRSInterface.child(j, paramInt2 + 8, paramInt13, paramInt14); j++;
  3975. localRSInterface.child(j, paramInt2 + 9, paramInt15, paramInt16); j++;
  3976. localRSInterface.child(j, paramInt2 + 10, paramInt17, paramInt18); j++;
  3977.  
  3978. localRSInterface.child(j, paramInt2 + 11, paramInt3, paramInt4); j++;
  3979. localRSInterface.child(j, paramInt2 + 12, paramInt5, paramInt6); j++;
  3980. localRSInterface.child(j, paramInt2 + 13, paramInt7, paramInt8); j++;
  3981. localRSInterface.child(j, paramInt2 + 14, paramInt9, paramInt10); j++;
  3982.  
  3983. localRSInterface.child(j, 19300, 0, 0); j++;
  3984. localRSInterface.child(j, paramInt2, 94, 4); j++;
  3985.  
  3986. for (int k = paramInt2 + 3; k < paramInt2 + 7; k++) {
  3987. localRSInterface = interfaceCache[k];
  3988. localRSInterface.sprite1 = CustomSpriteLoader(19301, ""); localRSInterface.sprite2 = CustomSpriteLoader(19301, "a");
  3989. localRSInterface.width = 68; localRSInterface.height = 44;
  3990. }
  3991. }
  3992.  
  3993. public static void Sidebar0c(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2, String paramString3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10, int paramInt11, int paramInt12, int paramInt13, int paramInt14, int paramInt15, TextDrawingArea[] paramArrayOfTextDrawingArea)
  3994. {
  3995. RSInterface localRSInterface = addInterface(paramInt1);
  3996.  
  3997. addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
  3998. addText(paramInt2 + 9, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
  3999. addText(paramInt2 + 10, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
  4000. addText(paramInt2 + 11, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
  4001.  
  4002. localRSInterface.specialBar(paramInt3);
  4003.  
  4004. localRSInterface.width = 190;
  4005. localRSInterface.height = 261;
  4006.  
  4007. int i = 12; int j = 0;
  4008. localRSInterface.totalChildren(i, i, i);
  4009.  
  4010. localRSInterface.child(j, paramInt2 + 3, 21, 99); j++;
  4011. localRSInterface.child(j, paramInt2 + 4, 105, 46); j++;
  4012. localRSInterface.child(j, paramInt2 + 5, 21, 46); j++;
  4013.  
  4014. localRSInterface.child(j, paramInt2 + 6, paramInt10, paramInt11); j++;
  4015. localRSInterface.child(j, paramInt2 + 7, paramInt12, paramInt13); j++;
  4016. localRSInterface.child(j, paramInt2 + 8, paramInt14, paramInt15); j++;
  4017.  
  4018. localRSInterface.child(j, paramInt2 + 9, paramInt4, paramInt5); j++;
  4019. localRSInterface.child(j, paramInt2 + 10, paramInt6, paramInt7); j++;
  4020. localRSInterface.child(j, paramInt2 + 11, paramInt8, paramInt9); j++;
  4021.  
  4022. localRSInterface.child(j, 19300, 0, 0); j++;
  4023. localRSInterface.child(j, paramInt2, 94, 4); j++;
  4024. localRSInterface.child(j, paramInt3, 21, 205); j++;
  4025.  
  4026. for (int k = paramInt2 + 3; k < paramInt2 + 6; k++) {
  4027. localRSInterface = interfaceCache[k];
  4028. localRSInterface.sprite1 = CustomSpriteLoader(19301, ""); localRSInterface.sprite2 = CustomSpriteLoader(19301, "a");
  4029. localRSInterface.width = 68; localRSInterface.height = 44;
  4030. }
  4031. }
  4032.  
  4033. public static void Sidebar0d(int paramInt1, int paramInt2, String paramString1, String paramString2, String paramString3, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10, int paramInt11, int paramInt12, int paramInt13, int paramInt14, TextDrawingArea[] paramArrayOfTextDrawingArea)
  4034. {
  4035. RSInterface localRSInterface = addInterface(paramInt1);
  4036. addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
  4037. addText(paramInt2 + 9, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
  4038. addText(paramInt2 + 10, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
  4039. addText(paramInt2 + 11, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
  4040.  
  4041. addText(353, "Spell", paramArrayOfTextDrawingArea, 0, 16750623, true);
  4042. addText(354, "Spell", paramArrayOfTextDrawingArea, 0, 16750623, true);
  4043.  
  4044. addCacheSprite(337, 19, 0, "combaticons");
  4045. addCacheSprite(338, 13, 0, "combaticons2");
  4046. addCacheSprite(339, 14, 0, "combaticons2");
  4047.  
  4048. addToggleButton(349, 349, 129, 68, 44, "Select");
  4049. addToggleButton(350, 350, 108, 68, 44, "Select");
  4050.  
  4051. localRSInterface.width = 190;
  4052. localRSInterface.height = 261;
  4053.  
  4054. int i = 15; int j = 0;
  4055. localRSInterface.totalChildren(i, i, i);
  4056.  
  4057. localRSInterface.child(j, paramInt2 + 3, 20, 115); j++;
  4058. localRSInterface.child(j, paramInt2 + 4, 20, 80); j++;
  4059. localRSInterface.child(j, paramInt2 + 5, 20, 45); j++;
  4060.  
  4061. localRSInterface.child(j, paramInt2 + 6, paramInt9, paramInt10); j++;
  4062. localRSInterface.child(j, paramInt2 + 7, paramInt11, paramInt12); j++;
  4063. localRSInterface.child(j, paramInt2 + 8, paramInt13, paramInt14); j++;
  4064.  
  4065. localRSInterface.child(j, paramInt2 + 9, paramInt3, paramInt4); j++;
  4066. localRSInterface.child(j, paramInt2 + 10, paramInt5, paramInt6); j++;
  4067. localRSInterface.child(j, paramInt2 + 11, paramInt7, paramInt8); j++;
  4068.  
  4069. localRSInterface.child(j, 349, 105, 46); j++;
  4070. localRSInterface.child(j, 350, 104, 106); j++;
  4071.  
  4072. localRSInterface.child(j, 353, 139, 74); j++;
  4073. localRSInterface.child(j, 354, 139, 134); j++;
  4074.  
  4075. localRSInterface.child(j, 19300, 0, 0); j++;
  4076. localRSInterface.child(j, paramInt2, 94, 4); j++;
  4077. }
  4078.  
  4079. public static void emoteTab()
  4080. {
  4081. RSInterface localRSInterface1 = addTabInterface(147);
  4082. RSInterface localRSInterface2 = addTabInterface(148);
  4083. localRSInterface1.totalChildren(1);
  4084. localRSInterface1.child(0, 148, 0, 1);
  4085. addButton(168, 0, "/Emotes/EMOTE", "Yes", 41, 47);
  4086. addButton(169, 1, "/Emotes/EMOTE", "No", 41, 47);
  4087. addButton(164, 2, "/Emotes/EMOTE", "Bow", 41, 47);
  4088. addButton(165, 3, "/Emotes/EMOTE", "Angry", 41, 47);
  4089. addButton(162, 4, "/Emotes/EMOTE", "Think", 41, 47);
  4090. addButton(163, 5, "/Emotes/EMOTE", "Wave", 41, 47);
  4091. addButton(13370, 6, "/Emotes/EMOTE", "Shrug", 41, 47);
  4092. addButton(171, 7, "/Emotes/EMOTE", "Cheer", 41, 47);
  4093. addButton(167, 8, "/Emotes/EMOTE", "Beckon", 41, 47);
  4094. addButton(170, 9, "/Emotes/EMOTE", "Laugh", 41, 47);
  4095. addButton(13366, 10, "/Emotes/EMOTE", "Jump for Joy", 41, 47);
  4096. addButton(13368, 11, "/Emotes/EMOTE", "Yawn", 41, 47);
  4097. addButton(166, 12, "/Emotes/EMOTE", "Dance", 41, 47);
  4098. addButton(13363, 13, "/Emotes/EMOTE", "Jig", 41, 47);
  4099. addButton(13364, 14, "/Emotes/EMOTE", "Spin", 41, 47);
  4100. addButton(13365, 15, "/Emotes/EMOTE", "Headbang", 41, 47);
  4101. addButton(161, 16, "/Emotes/EMOTE", "Cry", 41, 47);
  4102. addButton(11100, 17, "/Emotes/EMOTE", "Blow kiss", 41, 47);
  4103. addButton(13362, 18, "/Emotes/EMOTE", "Panic", 41, 47);
  4104. addButton(13367, 19, "/Emotes/EMOTE", "Raspberry", 41, 47);
  4105. addButton(172, 20, "/Emotes/EMOTE", "Clap", 41, 47);
  4106. addButton(13369, 21, "/Emotes/EMOTE", "Salute", 41, 47);
  4107. addButton(13383, 22, "/Emotes/EMOTE", "Goblin Bow", 41, 47);
  4108. addButton(13384, 23, "/Emotes/EMOTE", "Goblin Salute", 41, 47);
  4109. addButton(667, 24, "/Emotes/EMOTE", "Glass Box", 41, 47);
  4110. addButton(6503, 25, "/Emotes/EMOTE", "Climb Rope", 41, 47);
  4111. addButton(6506, 26, "/Emotes/EMOTE", "Lean On Air", 41, 47);
  4112. addButton(666, 27, "/Emotes/EMOTE", "Glass Wall", 41, 47);
  4113. addButton(18464, 28, "/Emotes/EMOTE", "Zombie Walk", 41, 47);
  4114. addButton(18465, 29, "/Emotes/EMOTE", "Zombie Dance", 41, 47);
  4115. addButton(15166, 30, "/Emotes/EMOTE", "Scared", 41, 47);
  4116. addButton(18686, 31, "/Emotes/EMOTE", "Rabbit Hop", 41, 47);
  4117. addConfigButton(154, 147, 33, 32, "/Emotes/EMOTE", 41, 47, "Skillcape Emote", 0, 1, 700);
  4118. localRSInterface2.totalChildren(33);
  4119. localRSInterface2.child(0, 168, 10, 7);
  4120. localRSInterface2.child(1, 169, 54, 7);
  4121. localRSInterface2.child(2, 164, 98, 14);
  4122. localRSInterface2.child(3, 165, 137, 7);
  4123. localRSInterface2.child(4, 162, 9, 56);
  4124. localRSInterface2.child(5, 163, 48, 56);
  4125. localRSInterface2.child(6, 13370, 95, 56);
  4126. localRSInterface2.child(7, 171, 137, 56);
  4127. localRSInterface2.child(8, 167, 7, 105);
  4128. localRSInterface2.child(9, 170, 51, 105);
  4129. localRSInterface2.child(10, 13366, 95, 104);
  4130. localRSInterface2.child(11, 13368, 139, 105);
  4131. localRSInterface2.child(12, 166, 6, 154);
  4132. localRSInterface2.child(13, 13363, 50, 154);
  4133. localRSInterface2.child(14, 13364, 90, 154);
  4134. localRSInterface2.child(15, 13365, 135, 154);
  4135. localRSInterface2.child(16, 161, 8, 204);
  4136. localRSInterface2.child(17, 11100, 51, 203);
  4137. localRSInterface2.child(18, 13362, 99, 204);
  4138. localRSInterface2.child(19, 13367, 137, 203);
  4139. localRSInterface2.child(20, 172, 10, 253);
  4140. localRSInterface2.child(21, 13369, 53, 253);
  4141. localRSInterface2.child(22, 13383, 88, 258);
  4142. localRSInterface2.child(23, 13384, 138, 252);
  4143. localRSInterface2.child(24, 667, 2, 303);
  4144. localRSInterface2.child(25, 6503, 49, 302);
  4145. localRSInterface2.child(26, 6506, 93, 302);
  4146. localRSInterface2.child(27, 666, 137, 302);
  4147. localRSInterface2.child(28, 18464, 9, 352);
  4148. localRSInterface2.child(29, 18465, 50, 352);
  4149. localRSInterface2.child(30, 15166, 94, 356);
  4150. localRSInterface2.child(31, 18686, 141, 353);
  4151. localRSInterface2.child(32, 154, 5, 401);
  4152. localRSInterface2.width = 173; localRSInterface2.height = 258; localRSInterface2.scrollMax = 450;
  4153. }
  4154.  
  4155. public static void drawTooltip(int paramInt, String paramString) {
  4156. RSInterface localRSInterface = addTabInterface(paramInt);
  4157. localRSInterface.parentID = paramInt;
  4158. addTooltipBox(paramInt + 1, paramString);
  4159. localRSInterface.totalChildren(1);
  4160. localRSInterface.child(0, paramInt + 1, 0, 0);
  4161. }
  4162.  
  4163. public static void optionTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  4164. {
  4165. RSInterface localRSInterface1 = addTabInterface(904);
  4166. RSInterface localRSInterface2 = interfaceCache['•'];
  4167. localRSInterface2.textColor = 16750899;
  4168. addSprite(905, 9, "/Options/SPRITE");
  4169. addSprite(907, 18, "/Options/SPRITE");
  4170. addSprite(909, 29, "/Options/SPRITE");
  4171. addSprite(951, 32, "/Options/SPRITE");
  4172. addSprite(953, 33, "/Options/SPRITE");
  4173. addSprite(955, 34, "/Options/SPRITE");
  4174. addSprite(947, 36, "/Options/SPRITE");
  4175. addSprite(949, 35, "/Options/SPRITE");
  4176. addSprite(959, 30, "/Options/SPRITE");
  4177.  
  4178. addConfigButton(152, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-run", 1, 5, 173);
  4179. addConfigButton(906, 904, 10, 14, "/Options/SPRITE", 32, 16, "Dark", 1, 5, 166);
  4180. addConfigButton(908, 904, 11, 15, "/Options/SPRITE", 32, 16, "Normal", 2, 5, 166);
  4181. addConfigButton(910, 904, 12, 16, "/Options/SPRITE", 32, 16, "Bright", 3, 5, 166);
  4182. addConfigButton(912, 904, 13, 17, "/Options/SPRITE", 32, 16, "Very Bright", 4, 5, 166);
  4183. addConfigButton(930, 904, 19, 24, "/Options/SPRITE", 26, 16, "Music Off", 4, 5, 168);
  4184. addConfigButton(931, 904, 20, 25, "/Options/SPRITE", 26, 16, "Music Level-1", 3, 5, 168);
  4185. addConfigButton(932, 904, 21, 26, "/Options/SPRITE", 26, 16, "Music Level-2", 2, 5, 168);
  4186. addConfigButton(933, 904, 22, 27, "/Options/SPRITE", 26, 16, "Music Level-3", 1, 5, 168);
  4187. addConfigButton(934, 904, 23, 28, "/Options/SPRITE", 24, 16, "Music Level-4", 0, 5, 168);
  4188. addConfigButton(941, 904, 19, 24, "/Options/SPRITE", 26, 16, "Sound Effects Off", 4, 5, 169);
  4189. addConfigButton(942, 904, 20, 25, "/Options/SPRITE", 26, 16, "Sound Effects Level-1", 3, 5, 169);
  4190. addConfigButton(943, 904, 21, 26, "/Options/SPRITE", 26, 16, "Sound Effects Level-2", 2, 5, 169);
  4191. addConfigButton(944, 904, 22, 27, "/Options/SPRITE", 26, 16, "Sound Effects Level-3", 1, 5, 169);
  4192. addConfigButton(945, 904, 23, 28, "/Options/SPRITE", 24, 16, "Sound Effects Level-4", 0, 5, 169);
  4193. addConfigButton(913, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-Mouse Buttons", 0, 5, 170);
  4194. addConfigButton(915, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-Chat Effects", 0, 5, 171);
  4195. addConfigButton(957, 904, 30, 30, "/Options/SPRITE", 40, 40, "Toggle Private Chat Settings", 1, 5, 287);
  4196. addConfigButton(12464, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-Accept Aid", 0, 5, 427);
  4197. addConfigButton(960, 904, 37, 37, "/Options/SPRITE", 40, 40, "Toggle Settings", 1, 5, 179);
  4198. addToggleButton(961, 0, 2, "PrivateChat/CHECK", "EXP-Lock", 1, 4, 180);
  4199. addText(962, "EXP-Lock: @red@Off", 3394815, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4200. localRSInterface1.totalChildren(32);
  4201. int i = 0;
  4202. int j = 2;
  4203. localRSInterface1.child(0, 905, 13 + i, 10 + j);
  4204. localRSInterface1.child(1, 906, 48 + i, 18 + j);
  4205. localRSInterface1.child(2, 908, 80 + i, 18 + j);
  4206. localRSInterface1.child(3, 910, 112 + i, 18 + j);
  4207. localRSInterface1.child(4, 912, 144 + i, 18 + j);
  4208. localRSInterface1.child(5, 907, 14 + i, 55 + j);
  4209. localRSInterface1.child(6, 930, 49 + i, 61 + j);
  4210. localRSInterface1.child(7, 931, 75 + i, 61 + j);
  4211. localRSInterface1.child(8, 932, 101 + i, 61 + j);
  4212. localRSInterface1.child(9, 933, 127 + i, 61 + j);
  4213. localRSInterface1.child(10, 934, 151 + i, 61 + j);
  4214. localRSInterface1.child(11, 909, 13 + i, 99 + j);
  4215. localRSInterface1.child(12, 941, 49 + i, 104 + j);
  4216. localRSInterface1.child(13, 942, 75 + i, 104 + j);
  4217. localRSInterface1.child(14, 943, 101 + i, 104 + j);
  4218. localRSInterface1.child(15, 944, 127 + i, 104 + j);
  4219. localRSInterface1.child(16, 945, 151 + i, 104 + j);
  4220. localRSInterface1.child(28, 959, 136, 208);
  4221. localRSInterface1.child(29, 960, 140, 212);
  4222. localRSInterface1.child(30, 961, 14, 135);
  4223. localRSInterface1.child(31, 962, 30, 135);
  4224. localRSInterface1.child(17, 913, 15, 153);
  4225. localRSInterface1.child(18, 955, 19, 159);
  4226. localRSInterface1.child(19, 915, 75, 153);
  4227. localRSInterface1.child(20, 953, 79, 160);
  4228. localRSInterface1.child(21, 957, 135, 153);
  4229. localRSInterface1.child(22, 951, 139, 159);
  4230. localRSInterface1.child(23, 12464, 15, 208);
  4231. localRSInterface1.child(24, 949, 20, 213);
  4232. localRSInterface1.child(25, 152, 75, 208);
  4233. localRSInterface1.child(26, 947, 87, 212);
  4234. localRSInterface1.child(27, 149, 80, 231);
  4235. }
  4236. public static void Pestpanel(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  4237. RSInterface localRSInterface = addInterface(21119);
  4238. addText(21120, "What", 10066329, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4239. addText(21121, "What", 3394560, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4240. addText(21122, "(Need 5 to 25 players)", 16763955, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4241. addText(21123, "Points", 3394815, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4242. int i = 4;
  4243. localRSInterface.children = new int[i];
  4244. localRSInterface.childX = new int[i];
  4245. localRSInterface.childY = new int[i];
  4246. setBounds(21120, 15, 12, 0, localRSInterface);
  4247. setBounds(21121, 15, 30, 1, localRSInterface);
  4248. setBounds(21122, 15, 48, 2, localRSInterface);
  4249. setBounds(21123, 15, 66, 3, localRSInterface);
  4250. }
  4251.  
  4252. public static void Pestpanel2(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  4253. RSInterface localRSInterface = addInterface(21100);
  4254. addSprite(21101, 0, "Pest Control/PEST1");
  4255. addSprite(21102, 1, "Pest Control/PEST1");
  4256. addSprite(21103, 2, "Pest Control/PEST1");
  4257. addSprite(21104, 3, "Pest Control/PEST1");
  4258. addSprite(21105, 4, "Pest Control/PEST1");
  4259. addSprite(21106, 5, "Pest Control/PEST1");
  4260. addText(21107, "", 13369548, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4261. addText(21108, "", 255, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4262. addText(21109, "", 16777028, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4263. addText(21110, "", 13369344, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4264. addText(21111, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4265. addText(21112, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4266. addText(21113, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4267. addText(21114, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4268. addText(21115, "200", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4269. addText(21116, "0", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
  4270. addText(21117, "Time Remaining:", 16777215, false, true, 52, paramArrayOfTextDrawingArea, 0);
  4271. addText(21118, "", 16777215, false, true, 52, paramArrayOfTextDrawingArea, 0);
  4272. int i = 18;
  4273. localRSInterface.children = new int[i];
  4274. localRSInterface.childX = new int[i];
  4275. localRSInterface.childY = new int[i];
  4276. setBounds(21101, 361, 26, 0, localRSInterface);
  4277. setBounds(21102, 396, 26, 1, localRSInterface);
  4278. setBounds(21103, 436, 26, 2, localRSInterface);
  4279. setBounds(21104, 474, 26, 3, localRSInterface);
  4280. setBounds(21105, 3, 21, 4, localRSInterface);
  4281. setBounds(21106, 3, 50, 5, localRSInterface);
  4282. setBounds(21107, 371, 60, 6, localRSInterface);
  4283. setBounds(21108, 409, 60, 7, localRSInterface);
  4284. setBounds(21109, 443, 60, 8, localRSInterface);
  4285. setBounds(21110, 479, 60, 9, localRSInterface);
  4286. setBounds(21111, 362, 10, 10, localRSInterface);
  4287. setBounds(21112, 398, 10, 11, localRSInterface);
  4288. setBounds(21113, 436, 10, 12, localRSInterface);
  4289. setBounds(21114, 475, 10, 13, localRSInterface);
  4290. setBounds(21115, 32, 32, 14, localRSInterface);
  4291. setBounds(21116, 32, 62, 15, localRSInterface);
  4292. setBounds(21117, 8, 88, 16, localRSInterface);
  4293. setBounds(21118, 87, 88, 17, localRSInterface);
  4294. }
  4295. public static void customPortal2(TextDrawingArea[] paramArrayOfTextDrawingArea) {
  4296. RSInterface localRSInterface = addTabInterface(14040);
  4297. addSprite(14041, 7, "Equipment/CUSTOM");
  4298. addHoverButton(14042, "Equipment/CUSTOM", 8, 21, 21, "Close", 250, 14043, 3);
  4299. addHoveredButton(14043, "Equipment/CUSTOM", 9, 21, 21, 14044);
  4300. addHoverButton(14045, "Other/CUSTOM", 18, 119, 171, "@red@Bandos", 0, 14046, 1);
  4301. addHoveredButton(14046, "Other/CUSTOM", 17, 119, 171, 14047);
  4302. addHoverButton(14048, "Other/CUSTOM", 20, 238, 159, "@red@Armadyll", 0, 14049, 1);
  4303. addHoveredButton(14049, "Other/CUSTOM", 19, 238, 159, 14050);
  4304. addText(14051, "Choose which god...", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
  4305. addHoverButton(14052, "Other/CUSTOM", 22, 170, 205, "@red@Zamorak", 0, 14053, 1);
  4306. addHoveredButton(14053, "Other/CUSTOM", 21, 170, 205, 14054);
  4307. addHoverButton(14055, "Other/CUSTOM", 24, 83, 97, "@red@Saradomin", 0, 14056, 1);
  4308. addHoveredButton(14056, "Other/CUSTOM", 23, 83, 97, 14057);
  4309. localRSInterface.totalChildren(12);
  4310. localRSInterface.child(0, 14041, 4, 20);
  4311. localRSInterface.child(1, 14045, 365, 150);
  4312. localRSInterface.child(2, 14046, 365, 150);
  4313. localRSInterface.child(3, 14048, 257, 21);
  4314. localRSInterface.child(4, 14049, 257, 21);
  4315. localRSInterface.child(5, 14051, 200, 162);
  4316. localRSInterface.child(6, 14052, 5, 21);
  4317. localRSInterface.child(7, 14053, 5, 21);
  4318. localRSInterface.child(8, 14055, 71, 219);
  4319. localRSInterface.child(9, 14056, 71, 219);
  4320. localRSInterface.child(10, 14042, 476, 29);
  4321. localRSInterface.child(11, 14043, 476, 29);
  4322. }
  4323.  
  4324. public static void addCloseButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, String paramString2)
  4325. {
  4326. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  4327. localRSInterface.id = paramInt1;
  4328. localRSInterface.parentID = paramInt1;
  4329. localRSInterface.type = 5;
  4330. localRSInterface.atActionType = 1;
  4331. localRSInterface.contentType = 0;
  4332. localRSInterface.width = paramInt2;
  4333. localRSInterface.height = paramInt3;
  4334. localRSInterface.opacity = 0;
  4335. localRSInterface.hoverType = 52;
  4336. localRSInterface.sprite1 = imageLoader(0, paramString1);
  4337. localRSInterface.sprite2 = imageLoader(0, paramString1);
  4338. localRSInterface.tooltip = paramString2;
  4339. }
  4340.  
  4341. public static void addActionButton(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2)
  4342. {
  4343. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  4344. localRSInterface.id = paramInt1;
  4345. localRSInterface.parentID = paramInt1;
  4346. localRSInterface.type = 5;
  4347. localRSInterface.atActionType = 1;
  4348. localRSInterface.contentType = 0;
  4349. localRSInterface.width = paramInt2;
  4350. localRSInterface.height = paramInt3;
  4351. localRSInterface.opacity = 0;
  4352. localRSInterface.hoverType = 52;
  4353. localRSInterface.sprite1 = imageLoader(paramString2);
  4354. localRSInterface.sprite2 = imageLoader(paramString2);
  4355. localRSInterface.tooltip = paramString1;
  4356. }
  4357.  
  4358. public static void addBob(int paramInt)
  4359. {
  4360. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  4361. localRSInterface.actions = new String[5];
  4362. localRSInterface.spritesX = new int[20];
  4363. localRSInterface.invStackSizes = new int[30];
  4364. localRSInterface.inv = new int[30];
  4365. localRSInterface.spritesY = new int[20];
  4366.  
  4367. localRSInterface.children = new int[0];
  4368. localRSInterface.childX = new int[0];
  4369. localRSInterface.childY = new int[0];
  4370.  
  4371. localRSInterface.spritesY[0] = 0;
  4372. localRSInterface.spritesY[1] = 0;
  4373. localRSInterface.spritesY[2] = 0;
  4374. localRSInterface.spritesY[3] = 0;
  4375. localRSInterface.spritesY[4] = 0;
  4376. localRSInterface.spritesY[5] = 0;
  4377. localRSInterface.spritesY[6] = 0;
  4378. localRSInterface.spritesY[7] = 0;
  4379. localRSInterface.spritesY[8] = 0;
  4380. localRSInterface.spritesY[9] = 0;
  4381. localRSInterface.spritesY[10] = 0;
  4382. localRSInterface.spritesY[11] = 0;
  4383. localRSInterface.spritesY[12] = 0;
  4384. localRSInterface.spritesY[13] = 0;
  4385. localRSInterface.spritesY[14] = 0;
  4386. localRSInterface.spritesY[15] = 0;
  4387. localRSInterface.spritesY[16] = 0;
  4388. localRSInterface.spritesY[17] = 0;
  4389. localRSInterface.spritesY[18] = 0;
  4390. localRSInterface.spritesY[19] = 0;
  4391. localRSInterface.invStackSizes[0] = 0;
  4392. localRSInterface.invStackSizes[1] = 0;
  4393. localRSInterface.invStackSizes[2] = 0;
  4394. localRSInterface.invStackSizes[3] = 0;
  4395. localRSInterface.invStackSizes[4] = 0;
  4396. localRSInterface.invStackSizes[5] = 0;
  4397. localRSInterface.invStackSizes[6] = 0;
  4398. localRSInterface.invStackSizes[7] = 0;
  4399. localRSInterface.invStackSizes[8] = 0;
  4400. localRSInterface.invStackSizes[9] = 0;
  4401. localRSInterface.invStackSizes[10] = 0;
  4402. localRSInterface.invStackSizes[11] = 0;
  4403. localRSInterface.invStackSizes[12] = 0;
  4404. localRSInterface.invStackSizes[13] = 0;
  4405. localRSInterface.invStackSizes[14] = 0;
  4406. localRSInterface.invStackSizes[15] = 0;
  4407. localRSInterface.invStackSizes[16] = 0;
  4408. localRSInterface.invStackSizes[17] = 0;
  4409. localRSInterface.invStackSizes[18] = 0;
  4410. localRSInterface.invStackSizes[19] = 0;
  4411. localRSInterface.invStackSizes[20] = 0;
  4412. localRSInterface.invStackSizes[21] = 0;
  4413. localRSInterface.invStackSizes[22] = 0;
  4414. localRSInterface.invStackSizes[23] = 0;
  4415. localRSInterface.invStackSizes[24] = 0;
  4416. localRSInterface.invStackSizes[25] = 0;
  4417. localRSInterface.invStackSizes[26] = 0;
  4418. localRSInterface.invStackSizes[27] = 0;
  4419. localRSInterface.invStackSizes[28] = 0;
  4420. localRSInterface.invStackSizes[29] = 0;
  4421. localRSInterface.inv[0] = 0;
  4422. localRSInterface.inv[1] = 0;
  4423. localRSInterface.inv[2] = 0;
  4424. localRSInterface.inv[3] = 0;
  4425. localRSInterface.inv[4] = 0;
  4426. localRSInterface.inv[5] = 0;
  4427. localRSInterface.inv[6] = 0;
  4428. localRSInterface.inv[7] = 0;
  4429. localRSInterface.inv[8] = 0;
  4430. localRSInterface.inv[9] = 0;
  4431. localRSInterface.inv[10] = 0;
  4432. localRSInterface.inv[11] = 0;
  4433. localRSInterface.inv[12] = 0;
  4434. localRSInterface.inv[13] = 0;
  4435. localRSInterface.inv[14] = 0;
  4436. localRSInterface.inv[15] = 0;
  4437. localRSInterface.inv[16] = 0;
  4438. localRSInterface.inv[17] = 0;
  4439. localRSInterface.inv[18] = 0;
  4440. localRSInterface.inv[19] = 0;
  4441. localRSInterface.inv[20] = 0;
  4442. localRSInterface.inv[21] = 0;
  4443. localRSInterface.inv[22] = 0;
  4444. localRSInterface.inv[23] = 0;
  4445. localRSInterface.inv[24] = 0;
  4446. localRSInterface.inv[25] = 0;
  4447. localRSInterface.inv[26] = 0;
  4448. localRSInterface.inv[27] = 0;
  4449. localRSInterface.inv[28] = 0;
  4450. localRSInterface.inv[29] = 0;
  4451. localRSInterface.spritesX[0] = 0;
  4452. localRSInterface.spritesX[1] = 0;
  4453. localRSInterface.spritesX[2] = 0;
  4454. localRSInterface.spritesX[3] = 0;
  4455. localRSInterface.spritesX[4] = 0;
  4456. localRSInterface.spritesX[5] = 0;
  4457. localRSInterface.spritesX[6] = 0;
  4458. localRSInterface.spritesX[7] = 0;
  4459. localRSInterface.spritesX[8] = 0;
  4460. localRSInterface.spritesX[9] = 0;
  4461. localRSInterface.spritesX[10] = 0;
  4462. localRSInterface.spritesX[11] = 0;
  4463. localRSInterface.spritesX[12] = 0;
  4464. localRSInterface.spritesX[13] = 0;
  4465. localRSInterface.spritesX[14] = 0;
  4466. localRSInterface.spritesX[15] = 0;
  4467. localRSInterface.spritesX[16] = 0;
  4468. localRSInterface.spritesX[17] = 0;
  4469. localRSInterface.spritesX[18] = 0;
  4470. localRSInterface.spritesX[19] = 0;
  4471. localRSInterface.actions[0] = "Take 1";
  4472. localRSInterface.actions[1] = "Take 5";
  4473. localRSInterface.actions[2] = "Take 10";
  4474. localRSInterface.actions[3] = "Take All";
  4475. localRSInterface.centerText = false;
  4476. localRSInterface.aBoolean227 = false;
  4477. localRSInterface.aBoolean235 = false;
  4478. localRSInterface.usableItemInterface = false;
  4479. localRSInterface.isInventoryInterface = false;
  4480. localRSInterface.aBoolean251 = false;
  4481. localRSInterface.aBoolean259 = true;
  4482. localRSInterface.interfaceShown = false;
  4483. localRSInterface.textShadow = false;
  4484.  
  4485. localRSInterface.hoverType = -1;
  4486. localRSInterface.invSpritePadX = 24;
  4487. localRSInterface.invSpritePadY = 24;
  4488. localRSInterface.height = 5;
  4489. localRSInterface.width = 6;
  4490. localRSInterface.parentID = 2702;
  4491. localRSInterface.id = 2700;
  4492. localRSInterface.type = 2;
  4493. }
  4494.  
  4495. public static void WFjoinTeam(TextDrawingArea[] paramArrayOfTextDrawingArea)
  4496. {
  4497. RSInterface localRSInterface = addTabInterface(11250);
  4498. addSprite(11251, 0, "Waving Fortune/Team");
  4499. addHoverButton(11252, "Waving Fortune/Team", 1, 72, 32, "Join Team", -1, 11253, 1);
  4500. addHoveredButton(11253, "Waving Fortune/Team", 2, 72, 32, 11257);
  4501. addHoverButton(11254, "Waving Fortune/Team", 4, 72, 32, "No Thanks", -1, 11255, 1);
  4502. addHoveredButton(11255, "Waving Fortune/Team", 3, 72, 32, 11258);
  4503. addText(11259, "Would you like to join ##'s team?", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4504. addText(11260, "Team Members: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4505. addText(11261, "Combined Total: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4506. addText(11262, "Member 1: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4507. addText(11263, "Member 2: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4508. addText(11264, "Member 3: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4509. addText(11265, "Member 4: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4510. addText(11266, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4511. addText(11267, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4512. addText(11268, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4513. addText(11269, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
  4514. localRSInterface.totalChildren(16);
  4515. localRSInterface.child(0, 11251, 14, 14);
  4516. localRSInterface.child(1, 11252, 130, 278);
  4517. localRSInterface.child(2, 11253, 130, 278);
  4518. localRSInterface.child(3, 11254, 300, 278);
  4519. localRSInterface.child(4, 11255, 300, 278);
  4520. localRSInterface.child(5, 11259, 150, 42);
  4521. localRSInterface.child(6, 11260, 30, 72);
  4522. localRSInterface.child(7, 11261, 30, 92);
  4523. localRSInterface.child(8, 11262, 30, 182);
  4524. localRSInterface.child(9, 11263, 30, 202);
  4525. localRSInterface.child(10, 11264, 30, 222);
  4526. localRSInterface.child(11, 11265, 30, 242);
  4527. localRSInterface.child(12, 11266, 30, 112);
  4528. localRSInterface.child(13, 11267, 30, 132);
  4529. localRSInterface.child(14, 11268, 30, 152);
  4530. localRSInterface.child(15, 11269, 30, 172);
  4531. }
  4532.  
  4533. public static void sumInv(TextDrawingArea[] paramArrayOfTextDrawingArea)
  4534. {
  4535. RSInterface localRSInterface = addTabInterface(2700);
  4536. addSprite(2701, 20, "SummonTab/SUMMON");
  4537. addBob(2702);
  4538. addHoverButton(2703, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 2704, 3);
  4539. addHoveredButton(2704, "Interfaces/Equipment/SPRITE", 3, 21, 21, 2705);
  4540. addButton(2706, 0, "sprite", 30, 30, "Beast of burden inventory", 1);
  4541. localRSInterface.totalChildren(5);
  4542. localRSInterface.child(0, 2701, 90, 14);
  4543. localRSInterface.child(1, 2702, 100, 56);
  4544. localRSInterface.child(2, 2703, 431, 23);
  4545. localRSInterface.child(3, 2704, 431, 23);
  4546. localRSInterface.child(4, 2706, 427, 290);
  4547. }
  4548.  
  4549. private static void addHead2(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
  4550. {
  4551. RSInterface localRSInterface = addTab(paramInt1);
  4552. localRSInterface.type = 6;
  4553. localRSInterface.modelZoom = paramInt4;
  4554. localRSInterface.modelRotation1 = 40;
  4555. localRSInterface.modelRotation2 = 1900;
  4556. localRSInterface.height = paramInt3;
  4557. localRSInterface.width = paramInt2;
  4558. }
  4559.  
  4560. public static void SummoningTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
  4561. {
  4562. RSInterface localRSInterface = addTabInterface(7011);
  4563. addSprite(7012, 6, "SummonTab/SUMMON");
  4564. addButton(7013, 7, "/SummonTab/SUMMON", "@gre@Special Move");
  4565. addSprite(7014, 6, "SummonTab/SUMMON");
  4566. addConfigButton(7015, 18032, 14, 8, "/SummonTab/SUMMON", 20, 30, "Familiar Special", 1, 5, 300);
  4567.  
  4568. addHoverButton(7018, "/SummonTab/SUMMON", 2, 38, 36, "Beast of burden Inventory", -1, 7028, 1);
  4569. addHoveredButton(7028, "/SummonTab/SUMMON", 12, 38, 36, 7029);
  4570. addHoverButton(7022, "/SummonTab/SUMMON", 1, 38, 36, "Call Familiar", -1, 7030, 1);
  4571. addHoveredButton(7030, "/SummonTab/SUMMON", 13, 38, 36, 7031);
  4572. addHoverButton(7023, "/SummonTab/SUMMON", 3, 38, 36, "Dismiss Familiar", -1, 7033, 1);
  4573. addHoveredButton(7033, "/SummonTab/SUMMON", 15, 38, 36, 7034);
  4574. addSprite(7016, 5, "SummonTab/SUMMON");
  4575. addText(7017, " No Familar", paramArrayOfTextDrawingArea, 2, 14329120, false, true);
  4576. addSprite(7019, 9, "SummonTab/SUMMON");
  4577. addText(7021, " 0.00", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
  4578. addSprite(7020, 10, "SummonTab/SUMMON");
  4579. addSprite(7024, 11, "SummonTab/SUMMON");
  4580. addText(7025, "99/99", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
  4581. addText(7026, "0", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
  4582. addHead2(7027, 75, 55, 10000);
  4583. addText(7040, "", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
  4584. localRSInterface.totalChildren(20);
  4585. localRSInterface.child(0, 7012, 10, 25);
  4586. localRSInterface.child(1, 7013, 28, 7);
  4587. localRSInterface.child(2, 7014, 10, 25);
  4588. localRSInterface.child(3, 7015, 11, 25);
  4589. localRSInterface.child(4, 7016, 15, 140);
  4590. localRSInterface.child(5, 7017, 40, 143);
  4591. localRSInterface.child(6, 7018, 20, 170);
  4592. localRSInterface.child(7, 7019, 115, 167);
  4593. localRSInterface.child(8, 7020, 143, 170);
  4594. localRSInterface.child(9, 7021, 135, 197);
  4595. localRSInterface.child(10, 7022, 20, 213);
  4596. localRSInterface.child(11, 7023, 67, 193);
  4597. localRSInterface.child(12, 7024, 135, 214);
  4598. localRSInterface.child(13, 7025, 135, 240);
  4599. localRSInterface.child(14, 7026, 21, 59);
  4600. localRSInterface.child(15, 7027, 75, 55);
  4601. localRSInterface.child(16, 7028, 20, 170);
  4602. localRSInterface.child(17, 7030, 20, 213);
  4603. localRSInterface.child(18, 7033, 67, 193);
  4604. localRSInterface.child(19, 7040, 40, 9);
  4605. }
  4606.  
  4607. public static void addHoverBox(int paramInt, String paramString)
  4608. {
  4609. RSInterface localRSInterface = interfaceCache[paramInt];
  4610. localRSInterface.id = paramInt;
  4611. localRSInterface.parentID = paramInt;
  4612. localRSInterface.isMouseoverTriggered = true;
  4613. localRSInterface.type = 8;
  4614. localRSInterface.hoverText = paramString;
  4615. }
  4616.  
  4617. public static void addText(int paramInt1, String paramString, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2) {
  4618. RSInterface localRSInterface = addTabInterface(paramInt1);
  4619. localRSInterface.parentID = paramInt1;
  4620. localRSInterface.id = paramInt1;
  4621. localRSInterface.type = 4;
  4622. localRSInterface.atActionType = 0;
  4623. localRSInterface.width = 0;
  4624. localRSInterface.height = 11;
  4625. localRSInterface.contentType = 0;
  4626. localRSInterface.opacity = 0;
  4627. localRSInterface.mOverInterToTrigger = -1;
  4628. localRSInterface.centerText = paramBoolean1;
  4629. localRSInterface.textShadow = paramBoolean2;
  4630. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
  4631. localRSInterface.message = paramString;
  4632. localRSInterface.aString228 = "";
  4633. localRSInterface.textColor = paramInt3;
  4634. localRSInterface.anInt219 = 0;
  4635. localRSInterface.anInt216 = 0;
  4636. localRSInterface.anInt239 = 0;
  4637. }
  4638.  
  4639. public static void addButton(int paramInt1, int paramInt2, String paramString1, String paramString2, int paramInt3, int paramInt4) {
  4640. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  4641. localRSInterface.id = paramInt1;
  4642. localRSInterface.parentID = paramInt1;
  4643. localRSInterface.type = 5;
  4644. localRSInterface.atActionType = 1;
  4645. localRSInterface.contentType = 0;
  4646. localRSInterface.opacity = 0;
  4647. localRSInterface.mOverInterToTrigger = 52;
  4648. localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
  4649. localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
  4650. localRSInterface.width = paramInt3;
  4651. localRSInterface.height = paramInt4;
  4652. localRSInterface.tooltip = paramString2;
  4653. }
  4654.  
  4655. public static void addButton(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2, int paramInt4, int paramInt5) {
  4656. RSInterface localRSInterface = interfaceCache[paramInt2] = = new RSInterface();
  4657. localRSInterface.id = paramInt2;
  4658. localRSInterface.parentID = paramInt2;
  4659. localRSInterface.type = 5;
  4660. localRSInterface.atActionType = 1;
  4661. localRSInterface.contentType = 0;
  4662. localRSInterface.opacity = 0;
  4663. localRSInterface.mOverInterToTrigger = 52;
  4664. localRSInterface.sprite1 = imageLoader(paramInt3, paramString1);
  4665. localRSInterface.sprite2 = imageLoader(paramInt3, paramString1);
  4666. localRSInterface.width = paramInt4;
  4667. localRSInterface.height = paramInt5;
  4668. localRSInterface.tooltip = paramString2;
  4669. }
  4670.  
  4671. public static void addConfigButton(int paramInt1, int paramInt2, int paramInt3, int paramInt4, String paramString1, int paramInt5, int paramInt6, String paramString2, int paramInt7, int paramInt8, int paramInt9) {
  4672. RSInterface localRSInterface = addTabInterface(paramInt1);
  4673. localRSInterface.parentID = paramInt2;
  4674. localRSInterface.id = paramInt1;
  4675. localRSInterface.type = 5;
  4676. localRSInterface.atActionType = paramInt8;
  4677. localRSInterface.contentType = 0;
  4678. localRSInterface.width = paramInt5;
  4679. localRSInterface.height = paramInt6;
  4680. localRSInterface.opacity = 0;
  4681. localRSInterface.mOverInterToTrigger = -1;
  4682. localRSInterface.valueCompareType = new int[1];
  4683. localRSInterface.requiredValues = new int[1];
  4684. localRSInterface.valueCompareType[0] = 1;
  4685. localRSInterface.requiredValues[0] = paramInt7;
  4686. localRSInterface.valueIndexArray = new int[1][3];
  4687. localRSInterface.valueIndexArray[0][0] = 5;
  4688. localRSInterface.valueIndexArray[0][1] = paramInt9;
  4689. localRSInterface.valueIndexArray[0][2] = 0;
  4690. localRSInterface.sprite1 = imageLoader(paramInt3, paramString1);
  4691. localRSInterface.sprite2 = imageLoader(paramInt4, paramString1);
  4692. localRSInterface.tooltip = paramString2;
  4693. }
  4694.  
  4695. public static void addSprite(int paramInt1, int paramInt2, String paramString) {
  4696. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  4697. localRSInterface.id = paramInt1;
  4698. localRSInterface.parentID = paramInt1;
  4699. localRSInterface.type = 5;
  4700. localRSInterface.atActionType = 0;
  4701. localRSInterface.contentType = 0;
  4702. localRSInterface.opacity = 0;
  4703. localRSInterface.mOverInterToTrigger = 52;
  4704. localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
  4705. localRSInterface.sprite2 = imageLoader(paramInt2, paramString);
  4706. localRSInterface.width = 512;
  4707. localRSInterface.height = 334;
  4708. }
  4709.  
  4710. public static void addHovered(int paramInt1, int paramInt2, String paramString, int paramInt3, int paramInt4, int paramInt5) {
  4711. RSInterface localRSInterface = addTabInterface(paramInt1);
  4712. localRSInterface.parentID = paramInt1;
  4713. localRSInterface.id = paramInt1;
  4714. localRSInterface.type = 0;
  4715. localRSInterface.atActionType = 0;
  4716. localRSInterface.width = paramInt3;
  4717. localRSInterface.height = paramInt4;
  4718. localRSInterface.isMouseoverTriggered = true;
  4719. localRSInterface.mOverInterToTrigger = -1;
  4720. addSprite(paramInt5, paramInt2, paramString);
  4721. setChildren(1, localRSInterface);
  4722. setBounds(paramInt5, 0, 0, 0, localRSInterface);
  4723. }
  4724.  
  4725. public static void addHover(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString1, int paramInt6, int paramInt7, String paramString2) {
  4726. RSInterface localRSInterface = addTabInterface(paramInt1);
  4727. localRSInterface.id = paramInt1;
  4728. localRSInterface.parentID = paramInt1;
  4729. localRSInterface.type = 5;
  4730. localRSInterface.atActionType = paramInt2;
  4731. localRSInterface.contentType = paramInt3;
  4732. localRSInterface.mOverInterToTrigger = paramInt4;
  4733. localRSInterface.sprite1 = imageLoader(paramInt5, paramString1);
  4734. localRSInterface.sprite2 = imageLoader(paramInt5, paramString1);
  4735. localRSInterface.width = paramInt6;
  4736. localRSInterface.height = paramInt7;
  4737. localRSInterface.tooltip = paramString2;
  4738. }
  4739.  
  4740. public static void addHoverButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, int paramInt4, String paramString2, int paramInt5, int paramInt6, int paramInt7) {
  4741. RSInterface localRSInterface = addTabInterface(paramInt1);
  4742. localRSInterface.id = paramInt1;
  4743. localRSInterface.parentID = paramInt1;
  4744. localRSInterface.type = 5;
  4745. localRSInterface.atActionType = paramInt7;
  4746. localRSInterface.contentType = paramInt5;
  4747. localRSInterface.opacity = 0;
  4748. localRSInterface.mOverInterToTrigger = paramInt6;
  4749. localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
  4750. localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
  4751. localRSInterface.width = paramInt3;
  4752. localRSInterface.height = paramInt4;
  4753. localRSInterface.tooltip = paramString2;
  4754. }
  4755.  
  4756. public static void addHoveredButton(int paramInt1, String paramString, int paramInt2, int paramInt3, int paramInt4, int paramInt5) {
  4757. RSInterface localRSInterface = addTabInterface(paramInt1);
  4758. localRSInterface.parentID = paramInt1;
  4759. localRSInterface.id = paramInt1;
  4760. localRSInterface.type = 0;
  4761. localRSInterface.atActionType = 0;
  4762. localRSInterface.width = paramInt3;
  4763. localRSInterface.height = paramInt4;
  4764. localRSInterface.isMouseoverTriggered = true;
  4765. localRSInterface.opacity = 0;
  4766. localRSInterface.mOverInterToTrigger = -1;
  4767. localRSInterface.scrollMax = 0;
  4768. addHoverImage(paramInt5, paramInt2, paramInt2, paramString);
  4769. localRSInterface.totalChildren(1);
  4770. localRSInterface.child(0, paramInt5, 0, 0);
  4771. }
  4772.  
  4773. public static void addHoverImage(int paramInt1, int paramInt2, int paramInt3, String paramString) {
  4774. RSInterface localRSInterface = addTabInterface(paramInt1);
  4775. localRSInterface.id = paramInt1;
  4776. localRSInterface.parentID = paramInt1;
  4777. localRSInterface.type = 5;
  4778. localRSInterface.atActionType = 0;
  4779. localRSInterface.contentType = 0;
  4780. localRSInterface.width = 512;
  4781. localRSInterface.height = 334;
  4782. localRSInterface.opacity = 0;
  4783. localRSInterface.mOverInterToTrigger = 52;
  4784. localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
  4785. localRSInterface.sprite2 = imageLoader(paramInt3, paramString);
  4786. }
  4787.  
  4788. public static void addTransparentSprite(int paramInt1, int paramInt2, String paramString) {
  4789. RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
  4790. localRSInterface.id = paramInt1;
  4791. localRSInterface.parentID = paramInt1;
  4792. localRSInterface.type = 5;
  4793. localRSInterface.atActionType = 0;
  4794. localRSInterface.contentType = 0;
  4795. localRSInterface.opacity = 0;
  4796. localRSInterface.mOverInterToTrigger = 52;
  4797. localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
  4798. localRSInterface.sprite2 = imageLoader(paramInt2, paramString);
  4799. localRSInterface.width = 512;
  4800. localRSInterface.height = 334;
  4801. localRSInterface.drawsTransparent = true;
  4802. }
  4803.  
  4804. public static RSInterface addScreenInterface(int paramInt) {
  4805. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  4806. localRSInterface.id = paramInt;
  4807. localRSInterface.parentID = paramInt;
  4808. localRSInterface.type = 0;
  4809. localRSInterface.atActionType = 0;
  4810. localRSInterface.contentType = 0;
  4811. localRSInterface.width = 512;
  4812. localRSInterface.height = 334;
  4813. localRSInterface.opacity = 0;
  4814. localRSInterface.mOverInterToTrigger = 0;
  4815. return localRSInterface;
  4816. }
  4817.  
  4818. public static RSInterface addTabInterface(int paramInt) {
  4819. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  4820. localRSInterface.id = paramInt;
  4821. localRSInterface.parentID = paramInt;
  4822. localRSInterface.type = 0;
  4823. localRSInterface.atActionType = 0;
  4824. localRSInterface.contentType = 0;
  4825. localRSInterface.width = 512;
  4826. localRSInterface.height = 700;
  4827. localRSInterface.opacity = 0;
  4828. localRSInterface.mOverInterToTrigger = -1;
  4829. return localRSInterface;
  4830. }
  4831.  
  4832. private static Sprite imageLoader(int paramInt, String paramString) {
  4833. long l = (TextClass.method585(paramString) << 8) + paramInt;
  4834. Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
  4835. if (localSprite != null)
  4836. return localSprite;
  4837. try {
  4838. localSprite = new Sprite(paramString + " " + paramInt);
  4839. aMRUNodes_238.removeFromCache(localSprite, l);
  4840. } catch (Exception localException) {
  4841. return null;
  4842. }
  4843. return localSprite;
  4844. }
  4845.  
  4846. public void child(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
  4847. this.children[paramInt1] = paramInt2;
  4848. this.childX[paramInt1] = paramInt3;
  4849. this.childY[paramInt1] = paramInt4;
  4850. }
  4851.  
  4852. public void totalChildren(int paramInt) {
  4853. this.children = new int[paramInt];
  4854. this.childX = new int[paramInt];
  4855. this.childY = new int[paramInt];
  4856. }
  4857.  
  4858. private Model method206(int paramInt1, int paramInt2)
  4859. {
  4860. Model localModel = (Model)aMRUNodes_264.insertFromCache((paramInt1 << 16) + paramInt2);
  4861. if (localModel != null)
  4862. return localModel;
  4863. if (paramInt1 == 1)
  4864. localModel = Model.method462(paramInt2);
  4865. if (paramInt1 == 2)
  4866. localModel = EntityDef.forID(paramInt2).method160();
  4867. if (paramInt1 == 3)
  4868. localModel = client.myPlayer.method453();
  4869. if (paramInt1 == 4)
  4870. localModel = ItemDef.forID(paramInt2).method202(50);
  4871. if (paramInt1 == 5)
  4872. localModel = null;
  4873. if (localModel != null)
  4874. aMRUNodes_264.removeFromCache(localModel, (paramInt1 << 16) + paramInt2);
  4875. return localModel;
  4876. }
  4877.  
  4878. private static Sprite method207(int paramInt, StreamLoader paramStreamLoader, String paramString) {
  4879. long l = (TextClass.method585(paramString) << 8) + paramInt;
  4880. Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
  4881. if (localSprite != null)
  4882. return localSprite;
  4883. try {
  4884. localSprite = new Sprite(paramStreamLoader, paramString, paramInt);
  4885. aMRUNodes_238.removeFromCache(localSprite, l);
  4886. } catch (Exception localException) {
  4887. return null;
  4888. }
  4889. return localSprite;
  4890. }
  4891.  
  4892. public static void method208(boolean paramBoolean, Model paramModel) {
  4893. int i = 0;
  4894. int j = 5;
  4895. if (paramBoolean)
  4896. return;
  4897. aMRUNodes_264.unlinkAll();
  4898. if ((paramModel != null) && (j != 4))
  4899. aMRUNodes_264.removeFromCache(paramModel, (j << 16) + i);
  4900. }
  4901.  
  4902. public Model method209(int paramInt1, int paramInt2, boolean paramBoolean)
  4903. {
  4904. Model localModel1;
  4905. if (paramBoolean)
  4906. localModel1 = method206(this.anInt255, this.anInt256);
  4907. else
  4908. localModel1 = method206(this.anInt233, this.mediaID);
  4909. if (localModel1 == null)
  4910. return null;
  4911. if ((paramInt2 == -1) && (paramInt1 == -1) && (localModel1.anIntArray1640 == null))
  4912. return localModel1;
  4913. Model localModel2 = new Model(true, Class36.method532(paramInt2) & Class36.method532(paramInt1), false, localModel1);
  4914. if ((paramInt2 != -1) || (paramInt1 != -1))
  4915. localModel2.method469();
  4916. if (paramInt2 != -1)
  4917. localModel2.method470(paramInt2);
  4918. if (paramInt1 != -1)
  4919. localModel2.method470(paramInt1);
  4920. localModel2.method479(64, 768, -50, -10, -50, true);
  4921. return localModel2;
  4922. }
  4923.  
  4924. public static void equipmentScreen(TextDrawingArea[] paramArrayOfTextDrawingArea)
  4925. {
  4926. RSInterface localRSInterface1 = interfaceCache[1644];
  4927. addButton(19144, 6, "Equipment/CUSTOM", 150, 40, "Show Equipment Stats", 1);
  4928. removeSomething(19145);
  4929. removeSomething(19146);
  4930. removeSomething(19147);
  4931. setBounds(19144, 21, 210, 23, localRSInterface1);
  4932. setBounds(19145, 40, 210, 24, localRSInterface1);
  4933. setBounds(19146, 40, 210, 25, localRSInterface1);
  4934. setBounds(19147, 40, 210, 26, localRSInterface1);
  4935.  
  4936. RSInterface localRSInterface2 = addTabInterface(15106);
  4937. addSprite(15107, 7, "Equipment/CUSTOM");
  4938. addHoverButton(15210, "Equipment/CUSTOM", 8, 21, 21, "Close", 250, 15211, 3);
  4939. addHoveredButton(15211, "Equipment/CUSTOM", 9, 21, 21, 15212);
  4940. addText(15111, "Equip Your Character...", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  4941. addText(15112, "Attack bonus", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  4942. addText(15113, "Defence bonus", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  4943. addText(15114, "Other bonuses", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
  4944. for (int i = 1675; i <= 1684; i++) textSize(i, paramArrayOfTextDrawingArea, 1);
  4945. textSize(1686, paramArrayOfTextDrawingArea, 1); textSize(1687, paramArrayOfTextDrawingArea, 1);
  4946. addChar(15125);
  4947. localRSInterface2.totalChildren(44);
  4948. localRSInterface2.child(0, 15107, 4, 20);
  4949. localRSInterface2.child(1, 15210, 476, 29);
  4950. localRSInterface2.child(2, 15211, 476, 29);
  4951. localRSInterface2.child(3, 15111, 14, 30);
  4952. i = 4; int j = 69;
  4953. for (int k = 1675; k <= 1679; k++) {
  4954. localRSInterface2.child(i, k, 20, j);
  4955. i++; j += 14;
  4956. }localRSInterface2.child(9, 1680, 20, 161);
  4957. localRSInterface2.child(10, 1681, 20, 177);
  4958. localRSInterface2.child(11, 1682, 20, 192);
  4959. localRSInterface2.child(12, 1683, 20, 207);
  4960. localRSInterface2.child(13, 1684, 20, 221);
  4961. localRSInterface2.child(14, 1686, 20, 262);
  4962. localRSInterface2.child(15, 15125, 170, 200);
  4963. localRSInterface2.child(16, 15112, 16, 55);
  4964. localRSInterface2.child(17, 1687, 20, 276);
  4965. localRSInterface2.child(18, 15113, 16, 147);
  4966. localRSInterface2.child(19, 15114, 16, 248);
  4967. localRSInterface2.child(20, 1645, 399, 97);
  4968. localRSInterface2.child(21, 1646, 399, 163);
  4969. localRSInterface2.child(22, 1647, 399, 163);
  4970. localRSInterface2.child(23, 1648, 399, 204);
  4971. localRSInterface2.child(24, 1649, 343, 176);
  4972. localRSInterface2.child(25, 1650, 343, 212);
  4973. localRSInterface2.child(26, 1651, 455, 176);
  4974. localRSInterface2.child(27, 1652, 455, 212);
  4975. localRSInterface2.child(28, 1653, 369, 139);
  4976. localRSInterface2.child(29, 1654, 428, 139);
  4977. localRSInterface2.child(30, 1655, 379, 100);
  4978. localRSInterface2.child(31, 1656, 433, 99);
  4979. localRSInterface2.child(32, 1657, 399, 62);
  4980. localRSInterface2.child(33, 1658, 358, 101);
  4981. localRSInterface2.child(34, 1659, 399, 101);
  4982. localRSInterface2.child(35, 1660, 440, 101);
  4983. localRSInterface2.child(36, 1661, 343, 140);
  4984. localRSInterface2.child(37, 1662, 399, 140);
  4985. localRSInterface2.child(38, 1663, 455, 140);
  4986. localRSInterface2.child(39, 1664, 399, 180);
  4987. localRSInterface2.child(40, 1665, 399, 220);
  4988. localRSInterface2.child(41, 1666, 343, 220);
  4989. localRSInterface2.child(42, 1667, 455, 220);
  4990. localRSInterface2.child(43, 1688, 345, 102);
  4991. RSInterface localRSInterface3;
  4992. for (k = 1675; k <= 1684; k++) {
  4993. localRSInterface3 = interfaceCache[k];
  4994. localRSInterface3.textColor = 14983494;
  4995. localRSInterface3.centerText = false;
  4996. }for (k = 1686; k <= 1687; k++) {
  4997. localRSInterface3 = interfaceCache[k];
  4998. localRSInterface3.textColor = 14983494;
  4999. localRSInterface3.centerText = false;
  5000. }
  5001. }
  5002.  
  5003. public static void addChar(int paramInt) {
  5004. RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
  5005. localRSInterface.id = paramInt;
  5006. localRSInterface.parentID = paramInt;
  5007. localRSInterface.type = 6;
  5008. localRSInterface.atActionType = 0;
  5009. localRSInterface.contentType = 328;
  5010. localRSInterface.width = 180;
  5011. localRSInterface.height = 190;
  5012. localRSInterface.opacity = 0;
  5013. localRSInterface.mOverInterToTrigger = 0;
  5014. localRSInterface.modelZoom = 560;
  5015. localRSInterface.modelRotation1 = 30;
  5016. localRSInterface.modelRotation2 = 0;
  5017. localRSInterface.anInt257 = -1;
  5018. localRSInterface.anInt258 = -1;
  5019. }
  5020.  
  5021. private static Sprite LoadLunarSprite(int paramInt, String paramString) {
  5022. Sprite localSprite = imageLoader(paramInt, "/Lunar/" + paramString);
  5023. return localSprite;
  5024. }
  5025.  
  5026. public static void addLunarSprite(int paramInt1, int paramInt2, String paramString) {
  5027. RSInterface localRSInterface = addInterface(paramInt1);
  5028. localRSInterface.id = paramInt1;
  5029. localRSInterface.parentID = paramInt1;
  5030. localRSInterface.type = 5;
  5031. localRSInterface.atActionType = 0;
  5032. localRSInterface.drawsTransparent = true;
  5033. localRSInterface.transAmount = 230;
  5034. localRSInterface.contentType = 0;
  5035. localRSInterface.opacity = 0;
  5036. localRSInterface.mOverInterToTrigger = 52;
  5037. localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
  5038. localRSInterface.width = 500;
  5039. localRSInterface.height = 500;
  5040. localRSInterface.tooltip = "";
  5041. }
  5042.  
  5043. public static void drawRune(int paramInt1, int paramInt2, String paramString) {
  5044. RSInterface localRSInterface = addInterface(paramInt1);
  5045. localRSInterface.type = 5;
  5046. localRSInterface.atActionType = 0;
  5047. localRSInterface.contentType = 0;
  5048. localRSInterface.opacity = 0;
  5049. localRSInterface.mOverInterToTrigger = 52;
  5050. localRSInterface.sprite1 = imageLoader(paramInt2, "Lunar/RUNE");
  5051. localRSInterface.width = 500;
  5052. localRSInterface.height = 500;
  5053. }
  5054.  
  5055. public static void addRuneText(int paramInt1, int paramInt2, int paramInt3, TextDrawingArea[] paramArrayOfTextDrawingArea) {
  5056. RSInterface localRSInterface = addInterface(paramInt1);
  5057. localRSInterface.id = paramInt1;
  5058. localRSInterface.parentID = 1151;
  5059. localRSInterface.type = 4;
  5060. localRSInterface.atActionType = 0;
  5061. localRSInterface.contentType = 0;
  5062. localRSInterface.width = 0;
  5063. localRSInterface.height = 14;
  5064. localRSInterface.opacity = 0;
  5065. localRSInterface.mOverInterToTrigger = -1;
  5066. localRSInterface.valueCompareType = new int[1];
  5067. localRSInterface.requiredValues = new int[1];
  5068. localRSInterface.valueCompareType[0] = 3;
  5069. localRSInterface.requiredValues[0] = paramInt2;
  5070. localRSInterface.valueIndexArray = new int[1][4];
  5071. localRSInterface.valueIndexArray[0][0] = 4;
  5072. localRSInterface.valueIndexArray[0][1] = 3214;
  5073. localRSInterface.valueIndexArray[0][2] = paramInt3;
  5074. localRSInterface.valueIndexArray[0][3] = 0;
  5075. localRSInterface.centerText = true;
  5076. localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[0];
  5077. localRSInterface.textShadow = true;
  5078. localRSInterface.message = ("%1/" + paramInt2 + "");
  5079. localRSInterface.aString228 = "";
  5080. localRSInterface.textColor = 12582912;
  5081. localRSInterface.anInt219 = 49152;
  5082. }
  5083.  
  5084. public static void homeTeleport() {
  5085. RSInterface localRSInterface1 = addInterface(30000);
  5086. localRSInterface1.tooltip = "Cast @gre@Lunar Home Teleport";
  5087. localRSInterface1.id = 30000;
  5088. localRSInterface1.parentID = 30000;
  5089. localRSInterface1.type = 5;
  5090. localRSInterface1.atActionType = 5;
  5091. localRSInterface1.contentType = 0;
  5092. localRSInterface1.opacity = 0;
  5093. localRSInterface1.mOverInterToTrigger = 30001;
  5094. localRSInterface1.sprite1 = imageLoader(1, "Lunar/SPRITE");
  5095. localRSInterface1.width = 20;
  5096. localRSInterface1.height = 20;
  5097. RSInterface localRSInterface2 = addInterface(30001);
  5098. localRSInterface2.isMouseoverTriggered = true;
  5099. setChildren(1, localRSInterface2);
  5100. addLunarSprite(30002, 0, "SPRITE");
  5101. setBounds(30002, 0, 0, 0, localRSInterface2);
  5102. }
  5103.  
  5104. public static void addLunar2RunesSmallBox(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt8, int paramInt9, int paramInt10) {
  5105. RSInterface localRSInterface1 = addInterface(paramInt1);
  5106. localRSInterface1.id = paramInt1;
  5107. localRSInterface1.parentID = 1151;
  5108. localRSInterface1.type = 5;
  5109. localRSInterface1.atActionType = paramInt10;
  5110. localRSInterface1.contentType = 0;
  5111. localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
  5112. localRSInterface1.spellUsableOn = paramInt9;
  5113. localRSInterface1.selectedActionName = "Cast On";
  5114. localRSInterface1.width = 20;
  5115. localRSInterface1.height = 20;
  5116. localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
  5117. localRSInterface1.spellName = paramString1;
  5118. localRSInterface1.valueCompareType = new int[3];
  5119. localRSInterface1.requiredValues = new int[3];
  5120. localRSInterface1.valueCompareType[0] = 3;
  5121. localRSInterface1.requiredValues[0] = paramInt4;
  5122. localRSInterface1.valueCompareType[1] = 3;
  5123. localRSInterface1.requiredValues[1] = paramInt5;
  5124. localRSInterface1.valueCompareType[2] = 3;
  5125. localRSInterface1.requiredValues[2] = paramInt7;
  5126. localRSInterface1.valueIndexArray = new int[3][];
  5127. localRSInterface1.valueIndexArray[0] = new int[4];
  5128. localRSInterface1.valueIndexArray[0][0] = 4;
  5129. localRSInterface1.valueIndexArray[0][1] = 3214;
  5130. localRSInterface1.valueIndexArray[0][2] = paramInt2;
  5131. localRSInterface1.valueIndexArray[0][3] = 0;
  5132. localRSInterface1.valueIndexArray[1] = new int[4];
  5133. localRSInterface1.valueIndexArray[1][0] = 4;
  5134. localRSInterface1.valueIndexArray[1][1] = 3214;
  5135. localRSInterface1.valueIndexArray[1][2] = paramInt3;
  5136. localRSInterface1.valueIndexArray[1][3] = 0;
  5137. localRSInterface1.valueIndexArray[2] = new int[3];
  5138. localRSInterface1.valueIndexArray[2][0] = 1;
  5139. localRSInterface1.valueIndexArray[2][1] = 6;
  5140. localRSInterface1.valueIndexArray[2][2] = 0;
  5141. localRSInterface1.sprite2 = imageLoader(paramInt8, "Lunar/LUNARON");
  5142. localRSInterface1.sprite1 = imageLoader(paramInt8, "Lunar/LUNARON");
  5143. RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
  5144. localRSInterface2.isMouseoverTriggered = true;
  5145. setChildren(7, localRSInterface2);
  5146. addLunarSprite(paramInt1 + 2, 0, "Lunar/BOX");
  5147. setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
  5148. addText(paramInt1 + 3, "Level " + (paramInt7 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1);
  5149. setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
  5150. addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0);
  5151. setBounds(paramInt1 + 4, 90, 19, 2, localRSInterface2);
  5152. setBounds(30016, 37, 35, 3, localRSInterface2);
  5153. setBounds(paramInt6, 112, 35, 4, localRSInterface2);
  5154. addRuneText(paramInt1 + 5, paramInt4 + 1, paramInt2, paramArrayOfTextDrawingArea);
  5155. setBounds(paramInt1 + 5, 50, 66, 5, localRSInterface2);
  5156. addRuneText(paramInt1 + 6, paramInt5 + 1, paramInt3, paramArrayOfTextDrawingArea);
  5157. setBounds(paramInt1 + 6, 123, 66, 6, localRSInterface2);
  5158. }
  5159.  
  5160. public static void addLunar3RunesSmallBox(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt11, int paramInt12, int paramInt13)
  5161. {
  5162. RSInterface localRSInterface1 = addInterface(paramInt1);
  5163. localRSInterface1.id = paramInt1;
  5164. localRSInterface1.parentID = 1151;
  5165. localRSInterface1.type = 5;
  5166. localRSInterface1.atActionType = paramInt13;
  5167. localRSInterface1.contentType = 0;
  5168. localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
  5169. localRSInterface1.spellUsableOn = paramInt12;
  5170. localRSInterface1.selectedActionName = "Cast on";
  5171. localRSInterface1.width = 20;
  5172. localRSInterface1.height = 20;
  5173. localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
  5174. localRSInterface1.spellName = paramString1;
  5175. localRSInterface1.valueCompareType = new int[4];
  5176. localRSInterface1.requiredValues = new int[4];
  5177. localRSInterface1.valueCompareType[0] = 3;
  5178. localRSInterface1.requiredValues[0] = paramInt5;
  5179. localRSInterface1.valueCompareType[1] = 3;
  5180. localRSInterface1.requiredValues[1] = paramInt6;
  5181. localRSInterface1.valueCompareType[2] = 3;
  5182. localRSInterface1.requiredValues[2] = paramInt7;
  5183. localRSInterface1.valueCompareType[3] = 3;
  5184. localRSInterface1.requiredValues[3] = paramInt10;
  5185. localRSInterface1.valueIndexArray = new int[4][];
  5186. localRSInterface1.valueIndexArray[0] = new int[4];
  5187. localRSInterface1.valueIndexArray[0][0] = 4;
  5188. localRSInterface1.valueIndexArray[0][1] = 3214;
  5189. localRSInterface1.valueIndexArray[0][2] = paramInt2;
  5190. localRSInterface1.valueIndexArray[0][3] = 0;
  5191. localRSInterface1.valueIndexArray[1] = new int[4];
  5192. localRSInterface1.valueIndexArray[1][0] = 4;
  5193. localRSInterface1.valueIndexArray[1][1] = 3214;
  5194. localRSInterface1.valueIndexArray[1][2] = paramInt3;
  5195. localRSInterface1.valueIndexArray[1][3] = 0;
  5196. localRSInterface1.valueIndexArray[2] = new int[4];
  5197. localRSInterface1.valueIndexArray[2][0] = 4;
  5198. localRSInterface1.valueIndexArray[2][1] = 3214;
  5199. localRSInterface1.valueIndexArray[2][2] = paramInt4;
  5200. localRSInterface1.valueIndexArray[2][3] = 0;
  5201. localRSInterface1.valueIndexArray[3] = new int[3];
  5202. localRSInterface1.valueIndexArray[3][0] = 1;
  5203. localRSInterface1.valueIndexArray[3][1] = 6;
  5204. localRSInterface1.valueIndexArray[3][2] = 0;
  5205. localRSInterface1.sprite2 = imageLoader(paramInt11, "Lunar/LUNARON");
  5206. localRSInterface1.sprite1 = imageLoader(paramInt11, "Lunar/LUNARON");
  5207. RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
  5208. localRSInterface2.isMouseoverTriggered = true;
  5209. setChildren(9, localRSInterface2);
  5210. addLunarSprite(paramInt1 + 2, 0, "Lunar/BOX");
  5211. setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
  5212. addText(paramInt1 + 3, "Level " + (paramInt10 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1); setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
  5213. addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0); setBounds(paramInt1 + 4, 90, 19, 2, localRSInterface2);
  5214. setBounds(30016, 14, 35, 3, localRSInterface2);
  5215. setBounds(paramInt8, 74, 35, 4, localRSInterface2);
  5216. setBounds(paramInt9, 130, 35, 5, localRSInterface2);
  5217. addRuneText(paramInt1 + 5, paramInt5 + 1, paramInt2, paramArrayOfTextDrawingArea);
  5218. setBounds(paramInt1 + 5, 26, 66, 6, localRSInterface2);
  5219. addRuneText(paramInt1 + 6, paramInt6 + 1, paramInt3, paramArrayOfTextDrawingArea);
  5220. setBounds(paramInt1 + 6, 87, 66, 7, localRSInterface2);
  5221. addRuneText(paramInt1 + 7, paramInt7 + 1, paramInt4, paramArrayOfTextDrawingArea);
  5222. setBounds(paramInt1 + 7, 142, 66, 8, localRSInterface2);
  5223. }
  5224.  
  5225. public static void addLunar3RunesBigBox(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt11, int paramInt12, int paramInt13) {
  5226. RSInterface localRSInterface1 = addInterface(paramInt1);
  5227. localRSInterface1.id = paramInt1;
  5228. localRSInterface1.parentID = 1151;
  5229. localRSInterface1.type = 5;
  5230. localRSInterface1.atActionType = paramInt13;
  5231. localRSInterface1.contentType = 0;
  5232. localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
  5233. localRSInterface1.spellUsableOn = paramInt12;
  5234. localRSInterface1.selectedActionName = "Cast on";
  5235. localRSInterface1.width = 20;
  5236. localRSInterface1.height = 20;
  5237. localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
  5238. localRSInterface1.spellName = paramString1;
  5239. localRSInterface1.valueCompareType = new int[4];
  5240. localRSInterface1.requiredValues = new int[4];
  5241. localRSInterface1.valueCompareType[0] = 3;
  5242. localRSInterface1.requiredValues[0] = paramInt5;
  5243. localRSInterface1.valueCompareType[1] = 3;
  5244. localRSInterface1.requiredValues[1] = paramInt6;
  5245. localRSInterface1.valueCompareType[2] = 3;
  5246. localRSInterface1.requiredValues[2] = paramInt7;
  5247. localRSInterface1.valueCompareType[3] = 3;
  5248. localRSInterface1.requiredValues[3] = paramInt10;
  5249. localRSInterface1.valueIndexArray = new int[4][];
  5250. localRSInterface1.valueIndexArray[0] = new int[4];
  5251. localRSInterface1.valueIndexArray[0][0] = 4;
  5252. localRSInterface1.valueIndexArray[0][1] = 3214;
  5253. localRSInterface1.valueIndexArray[0][2] = paramInt2;
  5254. localRSInterface1.valueIndexArray[0][3] = 0;
  5255. localRSInterface1.valueIndexArray[1] = new int[4];
  5256. localRSInterface1.valueIndexArray[1][0] = 4;
  5257. localRSInterface1.valueIndexArray[1][1] = 3214;
  5258. localRSInterface1.valueIndexArray[1][2] = paramInt3;
  5259. localRSInterface1.valueIndexArray[1][3] = 0;
  5260. localRSInterface1.valueIndexArray[2] = new int[4];
  5261. localRSInterface1.valueIndexArray[2][0] = 4;
  5262. localRSInterface1.valueIndexArray[2][1] = 3214;
  5263. localRSInterface1.valueIndexArray[2][2] = paramInt4;
  5264. localRSInterface1.valueIndexArray[2][3] = 0;
  5265. localRSInterface1.valueIndexArray[3] = new int[3];
  5266. localRSInterface1.valueIndexArray[3][0] = 1;
  5267. localRSInterface1.valueIndexArray[3][1] = 6;
  5268. localRSInterface1.valueIndexArray[3][2] = 0;
  5269. localRSInterface1.sprite2 = imageLoader(paramInt11, "Lunar/LUNARON");
  5270. localRSInterface1.sprite1 = imageLoader(paramInt11, "Lunar/LUNARON");
  5271. RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
  5272. localRSInterface2.isMouseoverTriggered = true;
  5273. setChildren(9, localRSInterface2);
  5274. addLunarSprite(paramInt1 + 2, 1, "Lunar/BOX");
  5275. setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
  5276. addText(paramInt1 + 3, "Level " + (paramInt10 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1); setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
  5277. addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0); setBounds(paramInt1 + 4, 90, 21, 2, localRSInterface2);
  5278. setBounds(30016, 14, 48, 3, localRSInterface2);
  5279. setBounds(paramInt8, 74, 48, 4, localRSInterface2);
  5280. setBounds(paramInt9, 130, 48, 5, localRSInterface2);
  5281. addRuneText(paramInt1 + 5, paramInt5 + 1, paramInt2, paramArrayOfTextDrawingArea);
  5282. setBounds(paramInt1 + 5, 26, 79, 6, localRSInterface2);
  5283. addRuneText(paramInt1 + 6, paramInt6 + 1, paramInt3, paramArrayOfTextDrawingArea);
  5284. setBounds(paramInt1 + 6, 87, 79, 7, localRSInterface2);
  5285. addRuneText(paramInt1 + 7, paramInt7 + 1, paramInt4, paramArrayOfTextDrawingArea);
  5286. setBounds(paramInt1 + 7, 142, 79, 8, localRSInterface2);
  5287. }
  5288.  
  5289. public static void addLunar3RunesLargeBox(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8, int paramInt9, int paramInt10, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt11, int paramInt12, int paramInt13) {
  5290. RSInterface localRSInterface1 = addInterface(paramInt1);
  5291. localRSInterface1.id = paramInt1;
  5292. localRSInterface1.parentID = 1151;
  5293. localRSInterface1.type = 5;
  5294. localRSInterface1.atActionType = paramInt13;
  5295. localRSInterface1.contentType = 0;
  5296. localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
  5297. localRSInterface1.spellUsableOn = paramInt12;
  5298. localRSInterface1.selectedActionName = "Cast on";
  5299. localRSInterface1.width = 20;
  5300. localRSInterface1.height = 20;
  5301. localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
  5302. localRSInterface1.spellName = paramString1;
  5303. localRSInterface1.valueCompareType = new int[4];
  5304. localRSInterface1.requiredValues = new int[4];
  5305. localRSInterface1.valueCompareType[0] = 3;
  5306. localRSInterface1.requiredValues[0] = paramInt5;
  5307. localRSInterface1.valueCompareType[1] = 3;
  5308. localRSInterface1.requiredValues[1] = paramInt6;
  5309. localRSInterface1.valueCompareType[2] = 3;
  5310. localRSInterface1.requiredValues[2] = paramInt7;
  5311. localRSInterface1.valueCompareType[3] = 3;
  5312. localRSInterface1.requiredValues[3] = paramInt10;
  5313. localRSInterface1.valueIndexArray = new int[4][];
  5314. localRSInterface1.valueIndexArray[0] = new int[4];
  5315. localRSInterface1.valueIndexArray[0][0] = 4;
  5316. localRSInterface1.valueIndexArray[0][1] = 3214;
  5317. localRSInterface1.valueIndexArray[0][2] = paramInt2;
  5318. localRSInterface1.valueIndexArray[0][3] = 0;
  5319. localRSInterface1.valueIndexArray[1] = new int[4];
  5320. localRSInterface1.valueIndexArray[1][0] = 4;
  5321. localRSInterface1.valueIndexArray[1][1] = 3214;
  5322. localRSInterface1.valueIndexArray[1][2] = paramInt3;
  5323. localRSInterface1.valueIndexArray[1][3] = 0;
  5324. localRSInterface1.valueIndexArray[2] = new int[4];
  5325. localRSInterface1.valueIndexArray[2][0] = 4;
  5326. localRSInterface1.valueIndexArray[2][1] = 3214;
  5327. localRSInterface1.valueIndexArray[2][2] = paramInt4;
  5328. localRSInterface1.valueIndexArray[2][3] = 0;
  5329. localRSInterface1.valueIndexArray[3] = new int[3];
  5330. localRSInterface1.valueIndexArray[3][0] = 1;
  5331. localRSInterface1.valueIndexArray[3][1] = 6;
  5332. localRSInterface1.valueIndexArray[3][2] = 0;
  5333. localRSInterface1.sprite2 = imageLoader(paramInt11, "Lunar/LUNARON");
  5334. localRSInterface1.sprite1 = imageLoader(paramInt11, "Lunar/LUNARON");
  5335. RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
  5336. localRSInterface2.isMouseoverTriggered = true;
  5337. setChildren(9, localRSInterface2);
  5338. addLunarSprite(paramInt1 + 2, 2, "Lunar/BOX");
  5339. setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
  5340. addText(paramInt1 + 3, "Level " + (paramInt10 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1);
  5341. setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
  5342. addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0);
  5343. setBounds(paramInt1 + 4, 90, 34, 2, localRSInterface2);
  5344. setBounds(30016, 14, 61, 3, localRSInterface2);
  5345. setBounds(paramInt8, 74, 61, 4, localRSInterface2);
  5346. setBounds(paramInt9, 130, 61, 5, localRSInterface2);
  5347. addRuneText(paramInt1 + 5, paramInt5 + 1, paramInt2, paramArrayOfTextDrawingArea);
  5348. setBounds(paramInt1 + 5, 26, 92, 6, localRSInterface2);
  5349. addRuneText(paramInt1 + 6, paramInt6 + 1, paramInt3, paramArrayOfTextDrawingArea);
  5350. setBounds(paramInt1 + 6, 87, 92, 7, localRSInterface2);
  5351. addRuneText(paramInt1 + 7, paramInt7 + 1, paramInt4, paramArrayOfTextDrawingArea);
  5352. setBounds(paramInt1 + 7, 142, 92, 8, localRSInterface2);
  5353. }
  5354.  
  5355. public static void setBounds(int paramInt1, int paramInt2, int paramInt3, int paramInt4, RSInterface paramRSInterface)
  5356. {
  5357. paramRSInterface.children[paramInt4] = paramInt1;
  5358. paramRSInterface.childX[paramInt4] = paramInt2;
  5359. paramRSInterface.childY[paramInt4] = paramInt3;
  5360. }
  5361.  
  5362. public static void addButton(int paramInt1, int paramInt2, String paramString1, int paramInt3, int paramInt4, String paramString2, int paramInt5) {
  5363. RSInterface localRSInterface = addInterface(paramInt1);
  5364. localRSInterface.id = paramInt1;
  5365. localRSInterface.parentID = paramInt1;
  5366. localRSInterface.type = 5;
  5367. localRSInterface.atActionType = paramInt5;
  5368. localRSInterface.contentType = 0;
  5369. localRSInterface.opacity = 0;
  5370. localRSInterface.mOverInterToTrigger = 52;
  5371. localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
  5372. localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
  5373. localRSInterface.width = paramInt3;
  5374. localRSInterface.height = paramInt4;
  5375. localRSInterface.tooltip = paramString2;
  5376. }
  5377. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement