Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public final class RSInterface
- {
- public int transAmount;
- public boolean textCentered;
- public boolean textShadowed;
- public String disabledMessage;
- public String enabledMessage;
- public int disabledColor;
- public int enabledColor;
- public int disabledHoverColor;
- public int enabledHoverColor;
- public String popupString;
- public String hoverText;
- public static StreamLoader aClass44;
- public boolean drawsTransparent;
- public Sprite sprite1;
- public int anInt208;
- public Sprite[] sprites;
- public static RSInterface[] interfaceCache;
- public int[] requiredValues;
- public int contentType;
- public int[] spritesX;
- public boolean inventoryhover;
- public int anInt216;
- public int atActionType;
- public String spellName;
- public int anInt219;
- public int width;
- public String tooltip;
- public String selectedActionName;
- public boolean centerText;
- public int scrollPosition;
- public String[] actions;
- public int[][] valueIndexArray;
- public boolean aBoolean227;
- public String aString228;
- public int mOverInterToTrigger;
- public int invSpritePadX;
- public int textColor;
- public int anInt233;
- public int mediaID;
- public boolean aBoolean235;
- public int parentID;
- public int spellUsableOn;
- private static MRUNodes aMRUNodes_238;
- public int anInt239;
- public Sprite disabledSprite;
- public int[] children;
- public int[] childX;
- public boolean usableItemInterface;
- public TextDrawingArea textDrawingAreas;
- public int invSpritePadY;
- public boolean interfaceShown;
- public int[] valueCompareType;
- public int hoverType;
- public int anInt246;
- public int[] spritesY;
- public String message;
- public boolean isInventoryInterface;
- public int id;
- public int[] invStackSizes;
- public int[] inv;
- public byte opacity;
- private int anInt255;
- private int anInt256;
- public int anInt257;
- public int anInt258;
- public boolean aBoolean259;
- public Sprite sprite2;
- public int scrollMax;
- public int type;
- public int anInt263;
- private static final MRUNodes aMRUNodes_264 = new MRUNodes(30);
- public int anInt265;
- public boolean isMouseoverTriggered;
- public int height;
- public boolean textShadow;
- public boolean aBoolean251;
- public int modelZoom;
- public int modelRotation1;
- public int modelRotation2;
- public int[] childY;
- public static void unpack(StreamLoader paramStreamLoader1, TextDrawingArea[] paramArrayOfTextDrawingArea, StreamLoader paramStreamLoader2)
- {
- aMRUNodes_238 = new MRUNodes(50000);
- Stream localStream = new Stream(paramStreamLoader1.getDataForName("data"));
- int i = -1;
- int j = localStream.readUnsignedWord();
- interfaceCache = new RSInterface[j + 50000];
- while (localStream.currentOffset < localStream.buffer.length) {
- int k = localStream.readUnsignedWord();
- if (k == 65535) {
- i = localStream.readUnsignedWord();
- k = localStream.readUnsignedWord();
- }
- RSInterface localRSInterface = interfaceCache[k] = = new RSInterface();
- localRSInterface.id = k;
- localRSInterface.parentID = i;
- localRSInterface.type = localStream.readUnsignedByte();
- localRSInterface.atActionType = localStream.readUnsignedByte();
- localRSInterface.contentType = localStream.readUnsignedWord();
- localRSInterface.width = localStream.readUnsignedWord();
- localRSInterface.height = localStream.readUnsignedWord();
- localRSInterface.opacity = (byte)localStream.readUnsignedByte();
- localRSInterface.mOverInterToTrigger = localStream.readUnsignedByte();
- if (localRSInterface.mOverInterToTrigger != 0)
- localRSInterface.mOverInterToTrigger = ((localRSInterface.mOverInterToTrigger - 1 << 8) + localStream.readUnsignedByte());
- else
- localRSInterface.mOverInterToTrigger = -1;
- int m = localStream.readUnsignedByte();
- if (m > 0) {
- localRSInterface.valueCompareType = new int[m];
- localRSInterface.requiredValues = new int[m];
- for (n = 0; n < m; n++) {
- localRSInterface.valueCompareType[n] = localStream.readUnsignedByte();
- localRSInterface.requiredValues[n] = localStream.readUnsignedWord();
- }
- }
- int n = localStream.readUnsignedByte();
- int i1;
- int i3;
- if (n > 0) {
- localRSInterface.valueIndexArray = new int[n][];
- for (i1 = 0; i1 < n; i1++) {
- i3 = localStream.readUnsignedWord();
- localRSInterface.valueIndexArray[i1] = new int[i3];
- for (int i4 = 0; i4 < i3; i4++) {
- localRSInterface.valueIndexArray[i1][i4] = localStream.readUnsignedWord();
- }
- }
- }
- if (localRSInterface.type == 0) {
- localRSInterface.drawsTransparent = false;
- localRSInterface.scrollMax = localStream.readUnsignedWord();
- localRSInterface.isMouseoverTriggered = (localStream.readUnsignedByte() == 1);
- i1 = localStream.readUnsignedWord();
- localRSInterface.children = new int[i1];
- localRSInterface.childX = new int[i1];
- localRSInterface.childY = new int[i1];
- for (i3 = 0; i3 < i1; i3++) {
- localRSInterface.children[i3] = localStream.readUnsignedWord();
- localRSInterface.childX[i3] = localStream.readSignedWord();
- localRSInterface.childY[i3] = localStream.readSignedWord();
- }
- }
- if (localRSInterface.type == 1) {
- localStream.readUnsignedWord();
- localStream.readUnsignedByte();
- }
- if (localRSInterface.type == 2) {
- localRSInterface.inv = new int[localRSInterface.width * localRSInterface.height];
- localRSInterface.invStackSizes = new int[localRSInterface.width * localRSInterface.height];
- localRSInterface.aBoolean259 = (localStream.readUnsignedByte() == 1);
- localRSInterface.isInventoryInterface = (localStream.readUnsignedByte() == 1);
- localRSInterface.usableItemInterface = (localStream.readUnsignedByte() == 1);
- localRSInterface.aBoolean235 = (localStream.readUnsignedByte() == 1);
- localRSInterface.invSpritePadX = localStream.readUnsignedByte();
- localRSInterface.invSpritePadY = localStream.readUnsignedByte();
- localRSInterface.spritesX = new int[20];
- localRSInterface.spritesY = new int[20];
- localRSInterface.sprites = new Sprite[20];
- for (i1 = 0; i1 < 20; i1++) {
- i3 = localStream.readUnsignedByte();
- if (i3 == 1) {
- localRSInterface.spritesX[i1] = localStream.readSignedWord();
- localRSInterface.spritesY[i1] = localStream.readSignedWord();
- String str2 = localStream.readString();
- if ((paramStreamLoader2 != null) && (str2.length() > 0)) {
- int i5 = str2.lastIndexOf(",");
- localRSInterface.sprites[i1] = method207(Integer.parseInt(str2.substring(i5 + 1)), paramStreamLoader2, str2.substring(0, i5));
- }
- }
- }
- localRSInterface.actions = new String[5];
- for (i1 = 0; i1 < 5; i1++) {
- localRSInterface.actions[i1] = localStream.readString();
- if (localRSInterface.actions[i1].length() == 0)
- localRSInterface.actions[i1] = null;
- if (localRSInterface.parentID == 3824)
- localRSInterface.actions[4] = "Buy 50";
- if (localRSInterface.parentID == 17824)
- localRSInterface.actions[4] = "Infuse 50";
- if (localRSInterface.parentID == 1644)
- localRSInterface.actions[2] = "Operate";
- }
- }
- if (localRSInterface.type == 3)
- localRSInterface.aBoolean227 = (localStream.readUnsignedByte() == 1);
- if ((localRSInterface.type == 4) || (localRSInterface.type == 1)) {
- localRSInterface.centerText = (localStream.readUnsignedByte() == 1);
- i1 = localStream.readUnsignedByte();
- if (paramArrayOfTextDrawingArea != null)
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[i1];
- localRSInterface.textShadow = (localStream.readUnsignedByte() == 1);
- }
- if (localRSInterface.type == 4) {
- localRSInterface.message = localStream.readString().replaceAll("RuneScape", "BetaScape");
- localRSInterface.aString228 = localStream.readString();
- }
- if ((localRSInterface.type == 1) || (localRSInterface.type == 3) || (localRSInterface.type == 4))
- localRSInterface.textColor = localStream.readDWord();
- if ((localRSInterface.type == 3) || (localRSInterface.type == 4)) {
- localRSInterface.anInt219 = localStream.readDWord();
- localRSInterface.anInt216 = localStream.readDWord();
- localRSInterface.anInt239 = localStream.readDWord();
- }
- if (localRSInterface.type == 5) {
- localRSInterface.drawsTransparent = false;
- String str1 = localStream.readString();
- if ((paramStreamLoader2 != null) && (str1.length() > 0)) {
- i3 = str1.lastIndexOf(",");
- localRSInterface.sprite1 = method207(Integer.parseInt(str1.substring(i3 + 1)), paramStreamLoader2, str1.substring(0, i3));
- }
- str1 = localStream.readString();
- if ((paramStreamLoader2 != null) && (str1.length() > 0)) {
- i3 = str1.lastIndexOf(",");
- localRSInterface.sprite2 = method207(Integer.parseInt(str1.substring(i3 + 1)), paramStreamLoader2, str1.substring(0, i3));
- }
- }
- int i2;
- if (localRSInterface.type == 6) {
- i2 = localStream.readUnsignedByte();
- if (i2 != 0) {
- localRSInterface.anInt233 = 1;
- localRSInterface.mediaID = ((i2 - 1 << 8) + localStream.readUnsignedByte());
- }
- i2 = localStream.readUnsignedByte();
- if (i2 != 0) {
- localRSInterface.anInt255 = 1;
- localRSInterface.anInt256 = ((i2 - 1 << 8) + localStream.readUnsignedByte());
- }
- i2 = localStream.readUnsignedByte();
- if (i2 != 0)
- localRSInterface.anInt257 = ((i2 - 1 << 8) + localStream.readUnsignedByte());
- else
- localRSInterface.anInt257 = -1;
- i2 = localStream.readUnsignedByte();
- if (i2 != 0)
- localRSInterface.anInt258 = ((i2 - 1 << 8) + localStream.readUnsignedByte());
- else
- localRSInterface.anInt258 = -1;
- localRSInterface.modelZoom = localStream.readUnsignedWord();
- localRSInterface.modelRotation1 = localStream.readUnsignedWord();
- localRSInterface.modelRotation2 = localStream.readUnsignedWord();
- }
- if (localRSInterface.type == 7) {
- localRSInterface.inv = new int[localRSInterface.width * localRSInterface.height];
- localRSInterface.invStackSizes = new int[localRSInterface.width * localRSInterface.height];
- localRSInterface.centerText = (localStream.readUnsignedByte() == 1);
- i2 = localStream.readUnsignedByte();
- if (paramArrayOfTextDrawingArea != null)
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[i2];
- localRSInterface.textShadow = (localStream.readUnsignedByte() == 1);
- localRSInterface.textColor = localStream.readDWord();
- localRSInterface.invSpritePadX = localStream.readSignedWord();
- localRSInterface.invSpritePadY = localStream.readSignedWord();
- localRSInterface.isInventoryInterface = (localStream.readUnsignedByte() == 1);
- localRSInterface.actions = new String[5];
- for (i3 = 0; i3 < 5; i3++) {
- localRSInterface.actions[i3] = localStream.readString();
- if (localRSInterface.actions[i3].length() == 0) {
- localRSInterface.actions[i3] = null;
- }
- }
- }
- if ((localRSInterface.atActionType == 2) || (localRSInterface.type == 2)) {
- localRSInterface.selectedActionName = localStream.readString();
- localRSInterface.spellName = localStream.readString();
- localRSInterface.spellUsableOn = localStream.readUnsignedWord();
- }
- if (localRSInterface.type == 8) {
- localRSInterface.message = localStream.readString();
- }
- if ((localRSInterface.atActionType == 1) || (localRSInterface.atActionType == 4) || (localRSInterface.atActionType == 5) || (localRSInterface.atActionType == 6)) {
- localRSInterface.tooltip = localStream.readString();
- if (localRSInterface.tooltip.length() == 0) {
- if (localRSInterface.atActionType == 1)
- localRSInterface.tooltip = "Ok";
- if (localRSInterface.atActionType == 4)
- localRSInterface.tooltip = "Select";
- if (localRSInterface.atActionType == 5)
- localRSInterface.tooltip = "Select";
- if (localRSInterface.atActionType == 6)
- localRSInterface.tooltip = "Continue";
- }
- }
- }
- aClass44 = paramStreamLoader1;
- SummoningTab(paramArrayOfTextDrawingArea);
- prayerTab(paramArrayOfTextDrawingArea);
- EquipmentScreen(paramArrayOfTextDrawingArea);
- EquipmentScreenBank(paramArrayOfTextDrawingArea);
- skillTab(paramArrayOfTextDrawingArea);
- Hovers(paramArrayOfTextDrawingArea);
- EquipmentTab(paramArrayOfTextDrawingArea);
- questTab(paramArrayOfTextDrawingArea);
- Curses(paramArrayOfTextDrawingArea);
- Trade(paramArrayOfTextDrawingArea);
- Bank();
- clanChatTab(paramArrayOfTextDrawingArea);
- Shop(paramArrayOfTextDrawingArea);
- constructLunar();
- pouchMaker(paramArrayOfTextDrawingArea);
- scrollMaker(paramArrayOfTextDrawingArea);
- levelUp0(paramArrayOfTextDrawingArea);
- emoteTab();
- GodWars(paramArrayOfTextDrawingArea);
- PVPInterface(paramArrayOfTextDrawingArea);
- PVPInterface2(paramArrayOfTextDrawingArea);
- optionTab(paramArrayOfTextDrawingArea);
- Sidebar0(paramArrayOfTextDrawingArea);
- friendsTab(paramArrayOfTextDrawingArea);
- ignoreTab(paramArrayOfTextDrawingArea);
- SafeTimer(paramArrayOfTextDrawingArea);
- Pestpanel(paramArrayOfTextDrawingArea);
- Pestpanel2(paramArrayOfTextDrawingArea);
- magicTab(paramArrayOfTextDrawingArea);
- itemsOnDeath(paramArrayOfTextDrawingArea);
- itemsOnDeathDATA(paramArrayOfTextDrawingArea);
- ancientMagicTab(paramArrayOfTextDrawingArea);
- configureLunar(paramArrayOfTextDrawingArea);
- playerinfo(paramArrayOfTextDrawingArea);
- customPortal2(paramArrayOfTextDrawingArea);
- vote(paramArrayOfTextDrawingArea);
- cornerText(paramArrayOfTextDrawingArea);
- teleport(paramArrayOfTextDrawingArea);
- SettingsTab(paramArrayOfTextDrawingArea);
- Multi(paramArrayOfTextDrawingArea);
- ColorChanger(paramArrayOfTextDrawingArea);
- Rules(paramArrayOfTextDrawingArea);
- PassChanger(paramArrayOfTextDrawingArea);
- achievments(paramArrayOfTextDrawingArea);
- sumInv(paramArrayOfTextDrawingArea);
- WFjoinTeam(paramArrayOfTextDrawingArea);
- tele2(paramArrayOfTextDrawingArea);
- ConfigsInterface(paramArrayOfTextDrawingArea);
- Emotes();
- aMRUNodes_238 = null;
- }
- public void swapInventoryItems(int paramInt1, int paramInt2) {
- int i = this.inv[paramInt1];
- this.inv[paramInt1] = this.inv[paramInt2];
- this.inv[paramInt2] = i;
- i = this.invStackSizes[paramInt1];
- this.invStackSizes[paramInt1] = this.invStackSizes[paramInt2];
- this.invStackSizes[paramInt2] = i;
- }
- public static void setChildren(int paramInt, RSInterface paramRSInterface)
- {
- paramRSInterface.children = new int[paramInt];
- paramRSInterface.childX = new int[paramInt];
- paramRSInterface.childY = new int[paramInt];
- }
- public static void disabledColor(int paramInt1, int paramInt2)
- {
- RSInterface localRSInterface = interfaceCache[paramInt1];
- localRSInterface.disabledColor = paramInt2;
- }
- public static void disabledSprite(int paramInt1, int paramInt2) {
- RSInterface localRSInterface = interfaceCache[paramInt1];
- localRSInterface.disabledSprite = CustomSpriteLoader(paramInt2, "");
- }
- public static void playerinfo(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addScreenInterface(26099);
- addSprite(26100, 7, "User/CUSTOM");
- addHead2(26101, 50, 50, 1600);
- addText(26102, "", paramArrayOfTextDrawingArea, 2, 65535, true, false);
- addButton(26103, 8, "Equipment/CUSTOM", "Close");
- addText(26104, " ", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
- addText(26105, " ", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
- addText(26106, " ", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
- addText(26107, "Player Name", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
- addText(26108, "Combat Level", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
- addText(26109, "Rank", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 1);
- addText(26110, "", 16751360, false, true, 38, paramArrayOfTextDrawingArea, 0);
- addText(26111, "Source Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26112, "Activity Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26113, "PK Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addButton(26114, 7, "User/Button", "Invite");
- addText(26115, "Boss Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26116, "Pest Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26117, "Assult Points", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26118, "Gambles Won", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26119, "Gambles Lost", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26120, "Battles Won", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26121, "Battles Lost", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(26122, "NPC Kills", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- localRSInterface.totalChildren(23);
- localRSInterface.child(0, 26100, 4, 16);
- localRSInterface.child(1, 26101, 77, 124);
- localRSInterface.child(2, 26102, 266, 27);
- localRSInterface.child(3, 26103, 477, 21);
- localRSInterface.child(14, 26114, 198, 239);
- localRSInterface.child(4, 26104, 175, 91);
- localRSInterface.child(5, 26105, 175, 115);
- localRSInterface.child(6, 26106, 175, 143);
- localRSInterface.child(7, 26107, 34, 236);
- localRSInterface.child(8, 26108, 34, 259);
- localRSInterface.child(9, 26109, 34, 280);
- localRSInterface.child(10, 26110, 477, 282);
- localRSInterface.child(11, 26111, 325, 45);
- localRSInterface.child(12, 26112, 325, 65);
- localRSInterface.child(13, 26113, 325, 85);
- localRSInterface.child(15, 26115, 325, 105);
- localRSInterface.child(16, 26116, 325, 125);
- localRSInterface.child(17, 26117, 325, 145);
- localRSInterface.child(18, 26118, 325, 190);
- localRSInterface.child(19, 26119, 325, 210);
- localRSInterface.child(20, 26120, 325, 230);
- localRSInterface.child(21, 26121, 325, 250);
- localRSInterface.child(22, 26122, 325, 270);
- }
- public static void itemsOnDeath(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(17100);
- addSprite(17101, 2, "SPRITE");
- addHoverButton(17102, "SPRITE", 1, 21, 21, "Close", 250, 10601, 3);
- addHoveredButton(10601, "SPRITE", 3, 17, 21, 10602);
- addText(17103, "Items kept on death", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17104, "Items I will keep...", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17105, "Items I will lose...", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17106, "Info", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
- addText(17107, "BetaScape", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17108, "", paramArrayOfTextDrawingArea, 1, 16763955, false, true);
- localRSInterface.scrollMax = 0;
- localRSInterface.children = new int[12]; localRSInterface.childX = new int[12]; localRSInterface.childY = new int[12];
- localRSInterface.children[0] = 17101; localRSInterface.childX[0] = 7; localRSInterface.childY[0] = 8;
- localRSInterface.children[1] = 17102; localRSInterface.childX[1] = 480; localRSInterface.childY[1] = 17;
- localRSInterface.children[2] = 17103; localRSInterface.childX[2] = 185; localRSInterface.childY[2] = 18;
- localRSInterface.children[3] = 17104; localRSInterface.childX[3] = 18; localRSInterface.childY[3] = 50;
- localRSInterface.children[4] = 17105; localRSInterface.childX[4] = 18; localRSInterface.childY[4] = 110;
- localRSInterface.children[5] = 17106; localRSInterface.childX[5] = 347; localRSInterface.childY[5] = 47;
- localRSInterface.children[6] = 17107; localRSInterface.childX[6] = 349; localRSInterface.childY[6] = 270;
- localRSInterface.children[7] = 17108; localRSInterface.childX[7] = 398; localRSInterface.childY[7] = 298;
- localRSInterface.children[8] = 17115; localRSInterface.childX[8] = 348; localRSInterface.childY[8] = 64;
- localRSInterface.children[9] = 10494; localRSInterface.childX[9] = 26; localRSInterface.childY[9] = 74;
- localRSInterface.children[10] = 10600; localRSInterface.childX[10] = 26; localRSInterface.childY[10] = 133;
- localRSInterface.children[11] = 10601; localRSInterface.childX[11] = 480; localRSInterface.childY[11] = 17;
- }
- public static void itemsOnDeathDATA(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addInterface(17115);
- addText(17106, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17107, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17108, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17109, "a", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17110, "b", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17111, "c", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17112, "d", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17113, "e", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17114, "f", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17117, "g", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17118, "h", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17119, "i", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17120, "j", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17121, "k", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17122, "l", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17123, "m", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17124, "n", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17125, "o", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17126, "p", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17127, "q", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17128, "r", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17129, "s", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(17130, "t", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- localRSInterface.parentID = 17115;
- localRSInterface.id = 17115;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 130;
- localRSInterface.height = 197;
- localRSInterface.scrollMax = 280;
- localRSInterface.children = new int[20]; localRSInterface.childX = new int[20]; localRSInterface.childY = new int[20];
- localRSInterface.children[0] = 17109; localRSInterface.childX[0] = 0; localRSInterface.childY[0] = 0;
- localRSInterface.children[1] = 17110; localRSInterface.childX[1] = 0; localRSInterface.childY[1] = 12;
- localRSInterface.children[2] = 17111; localRSInterface.childX[2] = 0; localRSInterface.childY[2] = 24;
- localRSInterface.children[3] = 17112; localRSInterface.childX[3] = 0; localRSInterface.childY[3] = 36;
- localRSInterface.children[4] = 17113; localRSInterface.childX[4] = 0; localRSInterface.childY[4] = 48;
- localRSInterface.children[5] = 17114; localRSInterface.childX[5] = 0; localRSInterface.childY[5] = 60;
- localRSInterface.children[6] = 17117; localRSInterface.childX[6] = 0; localRSInterface.childY[6] = 72;
- localRSInterface.children[7] = 17118; localRSInterface.childX[7] = 0; localRSInterface.childY[7] = 84;
- localRSInterface.children[8] = 17119; localRSInterface.childX[8] = 0; localRSInterface.childY[8] = 96;
- localRSInterface.children[9] = 17120; localRSInterface.childX[9] = 0; localRSInterface.childY[9] = 108;
- localRSInterface.children[10] = 17121; localRSInterface.childX[10] = 0; localRSInterface.childY[10] = 120;
- localRSInterface.children[11] = 17122; localRSInterface.childX[11] = 0; localRSInterface.childY[11] = 132;
- localRSInterface.children[12] = 17123; localRSInterface.childX[12] = 0; localRSInterface.childY[12] = 144;
- localRSInterface.children[13] = 17124; localRSInterface.childX[13] = 0; localRSInterface.childY[13] = 156;
- localRSInterface.children[14] = 17125; localRSInterface.childX[14] = 0; localRSInterface.childY[14] = 168;
- localRSInterface.children[15] = 17126; localRSInterface.childX[15] = 0; localRSInterface.childY[15] = 180;
- localRSInterface.children[16] = 17127; localRSInterface.childX[16] = 0; localRSInterface.childY[16] = 192;
- localRSInterface.children[17] = 17128; localRSInterface.childX[17] = 0; localRSInterface.childY[17] = 204;
- localRSInterface.children[18] = 17129; localRSInterface.childX[18] = 0; localRSInterface.childY[18] = 216;
- localRSInterface.children[19] = 17130; localRSInterface.childX[19] = 0; localRSInterface.childY[19] = 228;
- }
- public static void ColorChanger(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(31000);
- addSprite(31001, "PrivateChat/Private");
- addSprite(31057, "sample 0");
- addHoverButton(31002, "PrivateChat/Color 0", 16, 16, "Use", -1, 31003, 1);
- addHoveredButton(31003, "PrivateChat/GoldBox", 19, 20, 31004);
- addHoverButton(31005, "PrivateChat/Color 1", 16, 16, "Use", -1, 31006, 1);
- addHoveredButton(31006, "PrivateChat/GoldBox", 19, 20, 31007);
- addHoverButton(31008, "PrivateChat/Color 2", 16, 16, "Use", -1, 31009, 1);
- addHoveredButton(31009, "PrivateChat/GoldBox", 19, 20, 31010);
- addHoverButton(31011, "PrivateChat/Color 3", 16, 16, "Use", -1, 31012, 1);
- addHoveredButton(31012, "PrivateChat/GoldBox", 19, 20, 31013);
- addHoverButton(31014, "PrivateChat/Color 4", 16, 16, "Use", -1, 31015, 1);
- addHoveredButton(31015, "PrivateChat/GoldBox", 19, 20, 31016);
- addHoverButton(31017, "PrivateChat/Color 5", 16, 16, "Use", -1, 31018, 1);
- addHoveredButton(31018, "PrivateChat/GoldBox", 19, 20, 31019);
- addHoverButton(31020, "PrivateChat/Color 6", 16, 16, "Use", -1, 31021, 1);
- addHoveredButton(31021, "PrivateChat/GoldBox", 19, 20, 31022);
- addHoverButton(31023, "PrivateChat/Color 7", 16, 16, "Use", -1, 31024, 1);
- addHoveredButton(31024, "PrivateChat/GoldBox", 19, 20, 31025);
- addHoverButton(31026, "PrivateChat/Color 8", 16, 16, "Use", -1, 31027, 1);
- addHoveredButton(31027, "PrivateChat/GoldBox", 19, 20, 31028);
- addHoverButton(31029, "PrivateChat/Color 9", 16, 16, "Use", -1, 31030, 1);
- addHoveredButton(31030, "PrivateChat/GoldBox", 19, 20, 31031);
- addHoverButton(31032, "PrivateChat/Color 10", 16, 16, "Use", -1, 31033, 1);
- addHoveredButton(31033, "PrivateChat/GoldBox", 19, 20, 31034);
- addHoverButton(31035, "PrivateChat/Color 11", 16, 16, "Use", -1, 31036, 1);
- addHoveredButton(31036, "PrivateChat/GoldBox", 19, 20, 31037);
- addHoverButton(31038, "PrivateChat/Color 12", 16, 16, "Use", -1, 31039, 1);
- addHoveredButton(31039, "PrivateChat/GoldBox", 19, 20, 31040);
- addHoverButton(31041, "PrivateChat/Color 13", 16, 16, "Use", -1, 31042, 1);
- addHoveredButton(31042, "PrivateChat/GoldBox", 19, 20, 31043);
- addHoverButton(31044, "PrivateChat/Color 14", 16, 16, "Use", -1, 31045, 1);
- addHoveredButton(31045, "PrivateChat/GoldBox", 19, 20, 31046);
- addHoverButton(31047, "PrivateChat/X", 16, 15, "Close", -1, 31048, 1);
- addHoveredButton(31048, "PrivateChat/HX", 16, 15, 31049);
- addToggleButton(31050, 0, 2, "PrivateChat/CHECK", "Toggle", 1, 4, 500);
- addHoverButton(31054, "close", 0, 200, 30, "Back", -1, 31055, 1);
- addHoveredButton(31055, "close", 1, 200, 30, 31056);
- addText(31059, "Sample Text", client.getChatColor(), false, true, -1, paramArrayOfTextDrawingArea, 0);
- localRSInterface.totalChildren(38);
- localRSInterface.child(0, 31001, 0, 2);
- localRSInterface.child(1, 31002, 26, 119);
- localRSInterface.child(2, 31003, 25, 117);
- localRSInterface.child(3, 31005, 56, 119);
- localRSInterface.child(4, 31006, 55, 117);
- localRSInterface.child(5, 31008, 86, 119);
- localRSInterface.child(6, 31009, 85, 117);
- localRSInterface.child(7, 31011, 116, 119);
- localRSInterface.child(8, 31012, 115, 117);
- localRSInterface.child(9, 31014, 146, 119);
- localRSInterface.child(10, 31015, 145, 117);
- localRSInterface.child(11, 31017, 26, 149);
- localRSInterface.child(12, 31018, 25, 147);
- localRSInterface.child(13, 31020, 56, 149);
- localRSInterface.child(14, 31021, 55, 147);
- localRSInterface.child(15, 31023, 86, 149);
- localRSInterface.child(16, 31024, 85, 147);
- localRSInterface.child(17, 31026, 116, 149);
- localRSInterface.child(18, 31027, 115, 147);
- localRSInterface.child(19, 31029, 146, 149);
- localRSInterface.child(20, 31030, 145, 147);
- localRSInterface.child(21, 31032, 26, 179);
- localRSInterface.child(22, 31033, 25, 177);
- localRSInterface.child(23, 31035, 56, 179);
- localRSInterface.child(24, 31036, 55, 177);
- localRSInterface.child(25, 31038, 86, 179);
- localRSInterface.child(26, 31039, 85, 177);
- localRSInterface.child(27, 31041, 116, 179);
- localRSInterface.child(28, 31042, 115, 177);
- localRSInterface.child(29, 31044, 146, 179);
- localRSInterface.child(30, 31045, 145, 177);
- localRSInterface.child(31, 31047, 167, 10);
- localRSInterface.child(32, 31048, 167, 10);
- localRSInterface.child(33, 31050, 167, 50);
- localRSInterface.child(34, 31054, 170, 5);
- localRSInterface.child(35, 31055, 170, 5);
- localRSInterface.child(36, 31057, 20, 220);
- localRSInterface.child(37, 31059, 64, 225);
- }
- public static void Rules(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(17250);
- addSprite(17251, 0, "WELCOME");
- addText(17802, "~ Rules of BetaScape ~", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
- addText(17803, "Those are the rules you need to go by.", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(17804, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
- addText(17805, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(17806, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
- addText(17807, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(17808, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
- addText(17809, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(17810, "", paramArrayOfTextDrawingArea, 2, 16750623, false, true);
- addText(17811, "", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addHoverButton(17812, "close", 0, 200, 30, "Back", -1, 17813, 1);
- addHoveredButton(17813, "close", 1, 200, 30, 17814);
- localRSInterface.totalChildren(14);
- localRSInterface.child(0, 17251, 0, 0);
- localRSInterface.child(1, 17802, 22, 37);
- localRSInterface.child(2, 17803, 210, 40);
- localRSInterface.child(3, 17804, 26, 64);
- localRSInterface.child(4, 17805, 26, 79);
- localRSInterface.child(5, 17806, 26, 91);
- localRSInterface.child(6, 17807, 26, 106);
- localRSInterface.child(7, 17808, 26, 118);
- localRSInterface.child(8, 17809, 26, 133);
- localRSInterface.child(9, 17810, 26, 145);
- localRSInterface.child(10, 17811, 26, 160);
- localRSInterface.child(11, 14000, 0, 58);
- localRSInterface.child(12, 17812, 475, 15);
- localRSInterface.child(13, 17813, 475, 15);
- localRSInterface = addTabInterface(14000);
- localRSInterface.width = 476;
- localRSInterface.height = 213;
- localRSInterface.scrollMax = 405;
- for (int i = 14001; i <= 14030; i++) {
- addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
- addText(14001, "Offensive Language:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(14002, "Offensive language including racism, sexism is not tolerated.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
- addText(14004, "Staff Impersonation:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(14005, "Pretending to act like a member of the staff is not allowed.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
- addText(14007, "Scamming", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(14008, "Scamming players items is not allowed.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
- addText(14010, "Bug Abuse:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(14011, "Abusing a glitch is not allowed, you must report it immediately", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
- addText(14013, "Advertising/Spamming:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(14014, "Advertising servers and spamming will not be tolerated.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
- addText(14016, "Encouraging Rule Breaking:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(14017, "Encouraging others to break rules is strictly forbidden", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
- addText(14019, "Personal Information:", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(14020, "Do not give out any personal information, keep it to yourself and the people you know.", paramArrayOfTextDrawingArea, 0, 16750623, true, true);
- }
- localRSInterface.totalChildren(30);
- i = 0;
- int j = 5;
- for (int k = 14001; k <= 14030; k++) {
- localRSInterface.child(i, k, 248, j);
- i++;
- j += 13;
- }
- }
- public static void addHoverButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, String paramString2, int paramInt4, int paramInt5, int paramInt6) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt6;
- localRSInterface.contentType = paramInt4;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = paramInt5;
- localRSInterface.sprite1 = imageLoader(paramString1);
- localRSInterface.sprite2 = imageLoader(paramString1);
- localRSInterface.width = paramInt2;
- localRSInterface.height = paramInt3;
- localRSInterface.tooltip = paramString2;
- }
- private static Sprite imageLoader(String paramString) {
- long l = TextClass.method585(paramString) << 8;
- Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
- if (localSprite != null)
- return localSprite;
- try {
- localSprite = new Sprite(paramString);
- aMRUNodes_238.removeFromCache(localSprite, l);
- } catch (Exception localException) {
- return null;
- }
- return localSprite;
- }
- public static void addHoverImage(int paramInt, String paramString) {
- RSInterface localRSInterface = addTabInterface(paramInt);
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramString);
- localRSInterface.sprite2 = imageLoader(paramString);
- }
- public static void addHoveredButton(int paramInt1, String paramString, int paramInt2, int paramInt3, int paramInt4) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.width = paramInt2;
- localRSInterface.height = paramInt3;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.scrollMax = 0;
- addHoverImage(paramInt4, paramString);
- localRSInterface.totalChildren(1);
- localRSInterface.child(0, paramInt4, 0, 0);
- }
- public static void addSprite(int paramInt, String paramString) {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramString);
- localRSInterface.sprite2 = imageLoader(paramString);
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- }
- public static void addTooltip(int paramInt1, String paramString, int paramInt2, int paramInt3) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.type = 0;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.mOverInterToTrigger = -1;
- addTooltipBox(paramInt1 + 1, paramString);
- localRSInterface.totalChildren(1);
- localRSInterface.child(0, paramInt1 + 1, 0, 0);
- localRSInterface.height = paramInt2;
- localRSInterface.width = paramInt3;
- }
- public static void addPrayer(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, String paramString, int paramInt7) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = 22500;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 4;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = paramInt7;
- localRSInterface.sprite1 = imageLoader(0, "Curses/GLOW");
- localRSInterface.sprite2 = imageLoader(1, "Curses/GLOW");
- localRSInterface.width = 34;
- localRSInterface.height = 34;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 1;
- localRSInterface.requiredValues[0] = paramInt2;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt3;
- localRSInterface.valueIndexArray[0][2] = 0;
- localRSInterface.tooltip = ("Activate@or1@ " + paramString);
- localRSInterface = addTabInterface(paramInt1 + 1);
- localRSInterface.id = (paramInt1 + 1);
- localRSInterface.parentID = 22500;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.sprite1 = imageLoader(paramInt6, "Curses/PRAYON");
- localRSInterface.sprite2 = imageLoader(paramInt6, "Curses/PRAYOFF");
- localRSInterface.width = 34;
- localRSInterface.height = 34;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 2;
- localRSInterface.requiredValues[0] = (paramInt2 + 1);
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt4;
- localRSInterface.valueIndexArray[0][2] = 0;
- }
- public static void Curses(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(22500);
- int i = 0;
- addText(687, "99/99", 16750623, false, false, -1, paramArrayOfTextDrawingArea, 1);
- addSprite(22502, 0, "Curses/ICON");
- addPrayer(22503, 0, 610, 630, 49, 7, "Protect Item", 22582);
- addPrayer(22505, 0, 611, 631, 49, 4, "Sap Warrior", 22544);
- addPrayer(22507, 0, 612, 632, 51, 5, "Sap Ranger", 22546);
- addPrayer(22509, 0, 613, 633, 53, 3, "Sap Mage", 22548);
- addPrayer(22511, 0, 614, 634, 55, 2, "Sap Spirit", 22550);
- addPrayer(22513, 0, 615, 635, 58, 18, "Berserker", 22552);
- addPrayer(22515, 0, 616, 636, 61, 15, "Deflect Summoning", 22554);
- addPrayer(22517, 0, 617, 637, 64, 17, "Deflect Magic", 22556);
- addPrayer(22519, 0, 618, 638, 63, 16, "Deflect Missiles", 22558);
- addPrayer(22521, 0, 619, 639, 70, 6, "Deflect Melee", 22560);
- addPrayer(22523, 0, 620, 640, 73, 9, "Leech Attack", 22562);
- addPrayer(22525, 0, 621, 641, 75, 10, "Leech Ranged", 22564);
- addPrayer(22527, 0, 622, 642, 77, 11, "Leech Magic", 22566);
- addPrayer(22529, 0, 623, 643, 79, 12, "Leech Defence", 22568);
- addPrayer(22531, 0, 624, 644, 81, 13, "Leech Strength", 22570);
- addPrayer(22533, 0, 625, 645, 83, 14, "Leech Energy", 22572);
- addPrayer(22535, 0, 626, 646, 85, 19, "Leech Special Attack", 22574);
- addPrayer(22537, 0, 627, 647, 88, 1, "Wrath", 22576);
- addPrayer(22539, 0, 628, 648, 91, 8, "Soul Split", 22578);
- addPrayer(22541, 0, 105, 649, 94, 0, "Turmoil", 22580);
- localRSInterface.totalChildren(62);
- localRSInterface.child(0, 687, 85, 241);
- localRSInterface.child(1, 22502, 65, 241);
- localRSInterface.child(2, 22503, 2, 5);
- localRSInterface.child(3, 22504, 8, 8);
- localRSInterface.child(4, 22505, 40, 5);
- localRSInterface.child(5, 22506, 47, 12);
- localRSInterface.child(6, 22507, 76, 5);
- localRSInterface.child(7, 22508, 82, 11);
- localRSInterface.child(8, 22509, 113, 5);
- localRSInterface.child(9, 22510, 116, 8);
- localRSInterface.child(10, 22511, 150, 5);
- localRSInterface.child(11, 22512, 155, 10);
- localRSInterface.child(12, 22513, 2, 45);
- localRSInterface.child(13, 22514, 9, 48);
- localRSInterface.child(14, 22515, 39, 45);
- localRSInterface.child(15, 22516, 42, 47);
- localRSInterface.child(16, 22517, 76, 45);
- localRSInterface.child(17, 22518, 79, 48);
- localRSInterface.child(18, 22519, 113, 45);
- localRSInterface.child(19, 22520, 116, 48);
- localRSInterface.child(20, 22521, 151, 45);
- localRSInterface.child(21, 22522, 154, 48);
- localRSInterface.child(22, 22523, 2, 82);
- localRSInterface.child(23, 22524, 6, 86);
- localRSInterface.child(24, 22525, 40, 82);
- localRSInterface.child(25, 22526, 42, 86);
- localRSInterface.child(26, 22527, 77, 82);
- localRSInterface.child(27, 22528, 79, 86);
- localRSInterface.child(28, 22529, 114, 83);
- localRSInterface.child(29, 22530, 119, 87);
- localRSInterface.child(30, 22531, 153, 83);
- localRSInterface.child(31, 22532, 156, 86);
- localRSInterface.child(32, 22533, 2, 120);
- localRSInterface.child(33, 22534, 7, 125);
- localRSInterface.child(34, 22535, 40, 120);
- localRSInterface.child(35, 22536, 45, 124);
- localRSInterface.child(36, 22537, 78, 120);
- localRSInterface.child(37, 22538, 86, 124);
- localRSInterface.child(38, 22539, 114, 120);
- localRSInterface.child(39, 22540, 120, 125);
- localRSInterface.child(40, 22541, 151, 120);
- localRSInterface.child(41, 22542, 153, 127);
- localRSInterface.child(42, 22582, 2, 5);
- localRSInterface.child(43, 22544, 40, 5);
- localRSInterface.child(44, 22546, 76, 5);
- localRSInterface.child(45, 22548, 113, 5);
- localRSInterface.child(46, 22550, 150, 5);
- localRSInterface.child(47, 22552, 2, 45);
- localRSInterface.child(48, 22554, 40, 45);
- localRSInterface.child(49, 22556, 76, 45);
- localRSInterface.child(50, 22558, 113, 45);
- localRSInterface.child(51, 22560, 150, 45);
- localRSInterface.child(52, 22562, 2, 82);
- localRSInterface.child(53, 22564, 40, 82);
- localRSInterface.child(54, 22566, 76, 82);
- localRSInterface.child(55, 22568, 113, 82);
- localRSInterface.child(56, 22570, 150, 82);
- localRSInterface.child(57, 22572, 2, 120);
- localRSInterface.child(58, 22574, 40, 120);
- localRSInterface.child(59, 22576, 76, 120);
- localRSInterface.child(60, 22578, 113, 120);
- localRSInterface.child(61, 22580, 150, 120);
- }
- public static void Emotes()
- {
- RSInterface localRSInterface1 = addTabInterface(147);
- RSInterface localRSInterface2 = addTabInterface(148);
- localRSInterface1.totalChildren(1);
- localRSInterface1.child(0, 148, 0, 1);
- 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 };
- 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 };
- 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 };
- 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 };
- 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" };
- localRSInterface2.totalChildren(arrayOfInt1.length);
- for (int i = 0; i < arrayOfInt1.length; i++) {
- addButton(arrayOfInt1[i], arrayOfInt4[i], "Emotes/EMOTE", arrayOfString[i]);
- }
- for (i = 0; i < arrayOfInt1.length; i++) {
- localRSInterface2.child(i, arrayOfInt1[i], arrayOfInt2[i], arrayOfInt3[i]);
- }
- localRSInterface2.width = 173;
- localRSInterface2.height = 260;
- localRSInterface2.scrollMax = 610;
- }
- 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)
- {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.atActionType = paramInt2;
- localRSInterface.width = paramInt6;
- localRSInterface.height = paramInt7;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt8;
- localRSInterface.valueIndexArray[0][2] = 0;
- localRSInterface.tooltip = paramString2;
- }
- public static void addSprite(int paramInt1, int paramInt2, int paramInt3) {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.atActionType = 1;
- localRSInterface.contentType = 0;
- localRSInterface.width = 20;
- localRSInterface.height = 20;
- }
- public static RSInterface addTab(int paramInt)
- {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- localRSInterface.opacity = 0;
- localRSInterface.hoverType = 0;
- return localRSInterface;
- }
- public static void ConfigsInterface(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(38000);
- int i = 0;
- String str = "Config/";
- addSprite(38001, str + "Border");
- addSprite(38002, str + "Background");
- addSprite(38003, str + "TextBox");
- addSprite(38004, str + "SmallerTextBox");
- addText(38005, "Gameframe", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38006, "Remember Me", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38007, "Hitmarks", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38008, "Hitpoint Bar", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38009, "Names", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38010, "10x Damage", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38011, "Exp Lock", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38012, "525", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38019, "Client Configs", 16751360, true, true, -1, paramArrayOfTextDrawingArea, 2);
- addText(38020, "Back", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(38050, "0", 16777215, false, true, -1, paramArrayOfTextDrawingArea, 1);
- addHoverButton(38013, str + "SmallButton", 0, 36, 18, "Change", -1, 38014, 1);
- addHoveredButton(38014, str + "SmallButton", 1, 36, 18, 38015);
- addHoverButton(38016, str + "ModernButton", 0, 49, 18, "Back", -1, 38017, 1);
- addHoveredButton(38017, str + "ModernButton", 1, 49, 18, 38018);
- addButton(38021, 4, 38022, 0, 1, str + "SelectButton", 18, 18, "Toggle new Menus", 350, 0);
- addButton(38023, 4, 38024, 0, 1, str + "SelectButton", 18, 18, "Toggle new Hitmarks", 351, 0);
- addButton(38025, 4, 38026, 0, 1, str + "SelectButton", 18, 18, "Toggle new Hp Bar", 352, 0);
- addButton(38027, 4, 38028, 0, 1, str + "SelectButton", 18, 18, "Toggle names above head", 353, 0);
- addButton(38029, 4, 38030, 0, 1, str + "SelectButton", 18, 18, "Toggle 10X damage", 354, 0);
- addButton(38031, 4, 38032, 0, 1, str + "SelectButton", 18, 18, "Toggle Exp Lock", 355, 0);
- addButton(37007, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- setChildren(30, localRSInterface);
- setBounds(38001, 3, 22, i, localRSInterface);
- i++;
- setBounds(38002, 3, 24, i, localRSInterface);
- i++;
- setBounds(38001, 3, 249, i, localRSInterface);
- i++;
- setBounds(38004, 13, 35, i, localRSInterface);
- i++;
- setBounds(38003, 13, 62, i, localRSInterface);
- i++;
- setBounds(38003, 13, 89, i, localRSInterface);
- i++;
- setBounds(38003, 13, 116, i, localRSInterface);
- i++;
- setBounds(38003, 13, 143, i, localRSInterface);
- i++;
- setBounds(38003, 13, 170, i, localRSInterface);
- i++;
- setBounds(38003, 13, 197, i, localRSInterface);
- i++;
- setBounds(38016, 64, 224, i, localRSInterface);
- i++;
- setBounds(38017, 64, 224, i, localRSInterface);
- i++;
- setBounds(38013, 143, 35, i, localRSInterface);
- i++;
- setBounds(38014, 143, 35, i, localRSInterface);
- i++;
- setBounds(38005, 74, 36, i, localRSInterface);
- i++;
- setBounds(38006, 83, 63, i, localRSInterface);
- i++;
- setBounds(38007, 83, 90, i, localRSInterface);
- i++;
- setBounds(38008, 83, 117, i, localRSInterface);
- i++;
- setBounds(38009, 83, 144, i, localRSInterface);
- i++;
- setBounds(38010, 83, 171, i, localRSInterface);
- i++;
- setBounds(38011, 83, 198, i, localRSInterface);
- i++;
- setBounds(38020, 88, 225, i, localRSInterface);
- i++;
- setBounds(38012, 161, 36, i, localRSInterface);
- i++;
- setBounds(38021, 161, 62, i, localRSInterface);
- i++;
- setBounds(38023, 161, 89, i, localRSInterface);
- i++;
- setBounds(38025, 161, 116, i, localRSInterface);
- i++;
- setBounds(38027, 161, 143, i, localRSInterface);
- i++;
- setBounds(38029, 161, 170, i, localRSInterface);
- i++;
- setBounds(38031, 161, 197, i, localRSInterface);
- i++;
- setBounds(38019, 95, 4, i, localRSInterface);
- i++;
- }
- public static void graphic(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(100);
- addSprite(151, 0, "/Graphic/GRAPHIC");
- addHoverButton(560, "close", 0, 50, 50, "Close", -1, 561, 1);
- addHoveredButton(561, "close", 1, 20, 20, 17269);
- addButton(25805, 5, -1, 2, 2, "OptionTab/OPTION", 32, 32, "Adjust Brightness", 166, 1);
- addButton(25806, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 1);
- addButton(25807, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 2);
- addButton(25808, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 3);
- addButton(25809, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 166, 4);
- localRSInterface.totalChildren(8);
- localRSInterface.child(0, 151, 7, 50);
- localRSInterface.child(1, 25806, 205, 105);
- localRSInterface.child(2, 25807, 236, 105);
- localRSInterface.child(3, 25808, 267, 105);
- localRSInterface.child(4, 25809, 301, 105);
- localRSInterface.child(5, 25805, 165, 97);
- localRSInterface.child(6, 560, 480, 52);
- localRSInterface.child(7, 561, 480, 52);
- localRSInterface = addTabInterface(1400);
- localRSInterface.width = 474;
- localRSInterface.height = 213;
- localRSInterface.scrollMax = 305;
- for (int i = 1401; i <= 1430; i++) {
- addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
- }
- localRSInterface.totalChildren(30);
- i = 0;
- int j = 5;
- for (int k = 1401; k <= 1430; k++) {
- localRSInterface.child(i, k, 248, j);
- i++;
- j += 13;
- }
- }
- public static void audio(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(400);
- addSprite(451, 1, "OptionTab/AUDIO");
- addHoverButton(460, "close", 0, 50, 50, "Close", -1, 461, 1);
- addHoveredButton(461, "close", 1, 20, 20, 17269);
- addButton(25810, 5, -1, 3, 4, "OptionTab/OPTION", 32, 32, "Adjust Music Level", 168, 4);
- addButton(25811, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 4);
- addButton(25812, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 3);
- addButton(25813, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 2);
- addButton(25814, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 1);
- addButton(25815, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 168, 0);
- addButton(25816, 5, -1, 5, 6, "OptionTab/OPTION", 32, 32, "Adjust Sounds", 169, 4);
- addButton(25817, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 4);
- addButton(25818, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 3);
- addButton(25819, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 2);
- addButton(25820, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 1);
- addButton(25821, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 169, 0);
- addButton(25822, 5, -1, 7, 8, "OptionTab/OPTION", 32, 32, "Adjust Sound Effects", 400, 0);
- addButton(25823, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 0);
- addButton(25824, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 1);
- addButton(25825, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 2);
- addButton(25826, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 3);
- addButton(25827, 5, -1, -1, 18, "OptionTab/OPTION", 16, 16, "Select", 400, 4);
- localRSInterface.totalChildren(21);
- localRSInterface.child(0, 451, 178, 43);
- localRSInterface.child(1, 25811, 204, 113);
- localRSInterface.child(2, 25812, 228, 113);
- localRSInterface.child(3, 25813, 255, 113);
- localRSInterface.child(4, 25814, 281, 113);
- localRSInterface.child(5, 25815, 306, 113);
- localRSInterface.child(6, 25810, 248, 79);
- localRSInterface.child(7, 460, 328, 47);
- localRSInterface.child(8, 461, 328, 47);
- localRSInterface.child(9, 25817, 204, 169);
- localRSInterface.child(10, 25818, 228, 169);
- localRSInterface.child(11, 25819, 255, 169);
- localRSInterface.child(12, 25820, 281, 169);
- localRSInterface.child(13, 25821, 306, 169);
- localRSInterface.child(14, 25816, 248, 135);
- localRSInterface.child(15, 25823, 204, 228);
- localRSInterface.child(16, 25824, 228, 228);
- localRSInterface.child(17, 25825, 255, 228);
- localRSInterface.child(18, 25826, 281, 228);
- localRSInterface.child(19, 25827, 306, 228);
- localRSInterface.child(20, 25822, 250, 193);
- localRSInterface = addTabInterface(1400);
- localRSInterface.width = 474;
- localRSInterface.height = 213;
- localRSInterface.scrollMax = 305;
- for (int i = 1401; i <= 1430; i++) {
- addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
- }
- localRSInterface.totalChildren(30);
- i = 0;
- int j = 5;
- for (int k = 1401; k <= 1430; k++) {
- localRSInterface.child(i, k, 248, j);
- i++;
- j += 13;
- }
- }
- public static void optionTwo(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(904);
- addSprite(351, 0, "OptionTab/OPTION");
- addButton(360, 4, 361, 1, 1, "OptionTab/OPT", 40, 40, "Graphic Settings", 160, 1);
- drawTooltip(361, "Toggle Mouse Buttons");
- addButton(364, 4, 365, 2, 2, "OptionTab/OPT", 40, 40, "Audio Settings", 161, 1);
- drawTooltip(366, "Toggle Mouse Buttons");
- addButton(25828, 4, 25829, 9, 10, "OptionTab/OPTION", 90, 90, "Toggle Number of Mouse Buttons", 170, 1);
- drawTooltip(25829, "Mouse buttons\n(currently 2)");
- addButton(25831, 4, 25832, 9, 10, "OptionTab/OPTION", 40, 40, "Toggle Chat Effects", 171, 1);
- drawTooltip(25832, "Toggle Chat Effects");
- addButton(25834, 4, 25835, 9, 10, "OptionTab/OPTION", 40, 40, "Split Private Chat", 287, 1);
- drawTooltip(25835, "Split Private Chat");
- addButton(25837, 4, 25838, 9, 10, "OptionTab/OPTION", 40, 40, "Toggle Accept Aid", 427, 0);
- drawTooltip(25838, "Toggle Accept Aid");
- addButton(152, 4, 25841, 9, 10, "OptionTab/OPTION", 40, 40, "Toggle Run", 173, 1);
- drawTooltip(25841, "Toggle Run");
- addButton(25843, 9, 25844, 9, 0, "OptionTab/OPTION", 40, 40, "Open Other Settings", 175, 1);
- drawTooltip(25844, "Open Other Settings");
- addSprite(380, 11, "OptionTab/OPTION");
- addSprite(381, 12, "OptionTab/OPTION");
- addSprite(382, 13, "OptionTab/OPTION");
- addSprite(383, 14, "OptionTab/OPTION");
- addSprite(384, 15, "OptionTab/OPTION");
- addSprite(385, 17, "OptionTab/OPTION");
- addText(390, "100%", paramArrayOfTextDrawingArea, 0, 16750592, true, true);
- localRSInterface.totalChildren(22);
- localRSInterface.child(0, 351, 0, 0);
- localRSInterface.child(1, 25828, 19, 129);
- localRSInterface.child(2, 25829, 19, 102);
- localRSInterface.child(3, 25831, 75, 129);
- localRSInterface.child(4, 25832, 78, 102);
- localRSInterface.child(5, 25834, 131, 129);
- localRSInterface.child(6, 25835, 71, 102);
- localRSInterface.child(7, 25837, 19, 202);
- localRSInterface.child(8, 25838, 19, 183);
- localRSInterface.child(9, 152, 75, 202);
- localRSInterface.child(10, 25841, 78, 183);
- localRSInterface.child(11, 25843, 130, 202);
- localRSInterface.child(12, 25844, 133, 183);
- localRSInterface.child(13, 380, 23, 133);
- localRSInterface.child(14, 381, 79, 133);
- localRSInterface.child(15, 382, 135, 133);
- localRSInterface.child(16, 383, 23, 207);
- localRSInterface.child(17, 384, 84, 205);
- localRSInterface.child(18, 385, 137, 208);
- localRSInterface.child(19, 390, 95, 225);
- localRSInterface.child(20, 360, 40, 35);
- localRSInterface.child(21, 364, 110, 35);
- localRSInterface = addTabInterface(1400);
- localRSInterface.width = 474;
- localRSInterface.height = 213;
- localRSInterface.scrollMax = 305;
- for (int i = 1401; i <= 1430; i++) {
- addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
- }
- localRSInterface.totalChildren(30);
- i = 0;
- int j = 5;
- for (int k = 1401; k <= 1430; k++) {
- localRSInterface.child(i, k, 248, j);
- i++;
- j += 13;
- }
- }
- public static void PassChanger(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(39000);
- int i = 0;
- String str = "Password/";
- addSprite(39001, str + "BackgroundBorder");
- addSprite(39002, str + "Background");
- addSprite(39003, str + "InputBorder");
- addSprite(39004, str + "InputBackground");
- addSprite(39005, str + "PasswordIcon");
- addHoverButton(39006, str + "GrayButton", 0, 53, 21, "Change", 615, 39007, 1);
- addHoveredButton(39007, str + "GrayButton", 1, 53, 21, 39008);
- addHoverButton(39009, str + "GrayButton", 0, 53, 21, "Cancel", -1, 39010, 3);
- addHoveredButton(39010, str + "GrayButton", 1, 53, 21, 39011);
- addText(39012, "Password Changer", 16751360, true, true, -1, paramArrayOfTextDrawingArea, 2);
- addText(39013, "Change", 49152, true, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(39014, "Cancel", 12582912, true, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(39015, "Choose your new password.", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(39016, "Password Security: None", 11645361, false, true, -1, paramArrayOfTextDrawingArea, 1);
- addText(39017, "member", 16777215, true, true, -1, paramArrayOfTextDrawingArea, 1);
- setChildren(15, localRSInterface);
- setBounds(39001, 81, 139, i, localRSInterface);
- i++;
- setBounds(39002, 86, 144, i, localRSInterface);
- i++;
- setBounds(39003, 169, 187, i, localRSInterface);
- i++;
- setBounds(39004, 171, 189, i, localRSInterface);
- i++;
- setBounds(39005, 98, 176, i, localRSInterface);
- i++;
- setBounds(39006, 201, 253, i, localRSInterface);
- i++;
- setBounds(39007, 201, 253, i, localRSInterface);
- i++;
- setBounds(39009, 296, 253, i, localRSInterface);
- i++;
- setBounds(39010, 296, 253, i, localRSInterface);
- i++;
- setBounds(39012, 266, 146, i, localRSInterface);
- i++;
- setBounds(39013, 227, 257, i, localRSInterface);
- i++;
- setBounds(39014, 322, 257, i, localRSInterface);
- i++;
- setBounds(39015, 303, 169, i, localRSInterface);
- i++;
- setBounds(39016, 98, 235, i, localRSInterface);
- i++;
- setBounds(39017, 303, 196, i, localRSInterface);
- i++;
- }
- public static final void tele2(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(45500);
- addText(45501, "Barrows Teleport", 16751360, false, true, 52, paramArrayOfTextDrawingArea, 2);
- addHoverButton(45502, "Interfaces/Minigame/Hover", 0, 172, 24, "Dharok", -1, 45503, 1);
- addHoveredButton(45503, "Interfaces/Minigame/Hover", 1, 172, 24, 45504);
- addHoverButton(45518, "Interfaces/Minigame/Hover", 0, 172, 24, "Guthan", -1, 45519, 1);
- addHoveredButton(45519, "Interfaces/Minigame/Hover", 1, 172, 24, 45520);
- addHoverButton(45521, "Interfaces/Minigame/Hover", 0, 172, 24, "Verac", -1, 45522, 1);
- addHoveredButton(45522, "Interfaces/Minigame/Hover", 1, 172, 24, 45523);
- addHoverButton(45524, "Interfaces/Minigame/Hover", 0, 172, 24, "Torag", -1, 45525, 1);
- addHoveredButton(45525, "Interfaces/Minigame/Hover", 1, 172, 24, 45526);
- addHoverButton(45527, "Interfaces/Minigame/Hover", 0, 172, 24, "Ahrim", -1, 45528, 1);
- addHoveredButton(45528, "Interfaces/Minigame/Hover", 1, 172, 24, 45529);
- addHoverButton(45530, "Interfaces/Minigame/Hover", 0, 172, 24, "Karil", -1, 45531, 1);
- addHoveredButton(45531, "Interfaces/Minigame/Hover", 1, 172, 24, 45532);
- addHoverButton(45533, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45534, 1);
- addHoveredButton(45534, "Interfaces/Minigame/Back", 1, 16, 16, 45535);
- addSprite(45505, 1, "Interfaces/Minigame/Blank");
- addSprite(45506, 1, "Interfaces/Minigame/Blank");
- addSprite(45507, 1, "Interfaces/Minigame/Blank");
- addSprite(45508, 1, "Interfaces/Minigame/Blank");
- addSprite(45509, 1, "Interfaces/Minigame/Blank");
- addSprite(45510, 1, "Interfaces/Minigame/Blank");
- addSprite(45511, 1, "Interfaces/Minigame/Background");
- addText(45512, "Dharok", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
- addText(45513, "Guthan", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
- addText(45514, "Verac", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
- addText(45515, "Torag", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
- addText(45516, "Ahrim", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
- addText(45517, "Karil", 14056233, true, true, 52, paramArrayOfTextDrawingArea, 2);
- localRSInterface.totalChildren(28);
- localRSInterface.child(0, 45511, 0, 0);
- localRSInterface.child(1, 45501, 33, 7);
- localRSInterface.child(2, 45502, 8, 35);
- localRSInterface.child(3, 45503, 8, 35);
- localRSInterface.child(4, 45512, 80, 39);
- localRSInterface.child(5, 45518, 8, 72);
- localRSInterface.child(6, 45519, 8, 72);
- localRSInterface.child(7, 45513, 80, 76);
- localRSInterface.child(8, 45521, 8, 109);
- localRSInterface.child(9, 45522, 8, 109);
- localRSInterface.child(10, 45514, 80, 113);
- localRSInterface.child(11, 45524, 8, 146);
- localRSInterface.child(12, 45525, 8, 146);
- localRSInterface.child(13, 45515, 80, 150);
- localRSInterface.child(14, 45527, 8, 183);
- localRSInterface.child(15, 45528, 8, 183);
- localRSInterface.child(16, 45516, 80, 187);
- localRSInterface.child(17, 45530, 8, 220);
- localRSInterface.child(18, 45531, 8, 220);
- localRSInterface.child(19, 45517, 80, 224);
- localRSInterface.child(20, 45505, 148, 33);
- localRSInterface.child(21, 45506, 148, 70);
- localRSInterface.child(22, 45507, 148, 104);
- localRSInterface.child(23, 45508, 148, 140);
- localRSInterface.child(24, 45509, 148, 179);
- localRSInterface.child(25, 45510, 148, 219);
- localRSInterface.child(26, 45533, 10, 6);
- localRSInterface.child(27, 45534, 10, 6);
- }
- public static final void achievments(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(17000);
- RSInterface localRSInterface2 = addTabInterface(17001);
- addText(17002, "BetaScape Tasks", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- localRSInterface1.totalChildren(2);
- localRSInterface1.child(0, 17002, 5, 5);
- localRSInterface1.child(1, 17001, 0, 25);
- localRSInterface2.width = 174; localRSInterface2.height = 224; localRSInterface2.scrollMax = 1250;
- addText(17006, " ", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- addClickableText(17007, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17008, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17009, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17010, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17011, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17012, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17013, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17014, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17015, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addText(17016, " ", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- addClickableText(17017, "Kill 100 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17018, "Kill 145 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17019, "Kill 190 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17020, "Kill 250 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17021, "Kill 325 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17022, "Kill 400 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17023, "Kill 500 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17024, "Kill 1500 Player's", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addText(17025, "Skilling", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- addClickableText(17026, "99 Mining", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17027, "99 Fishing", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17028, "99 Herblore", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17029, "99 Thieving", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17030, "99 Crafting", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17031, "99 Hunter", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17032, "99 Dungeoneering", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17033, "99 Slayer", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17034, "All Stat's 99", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addText(17035, "Creations", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- addClickableText(17036, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17037, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17038, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17039, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17040, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17041, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17042, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17043, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17044, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17045, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17046, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17047, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 16711680, 90, 11);
- addClickableText(17048, " ", "@red@Rewards", paramArrayOfTextDrawingArea, 0, 458496, 90, 11);
- localRSInterface2.totalChildren(43);
- localRSInterface2.child(0, 17007, 5, 47);
- localRSInterface2.child(1, 17008, 5, 61);
- localRSInterface2.child(2, 17009, 5, 75);
- localRSInterface2.child(3, 17010, 5, 89);
- localRSInterface2.child(4, 17011, 5, 103);
- localRSInterface2.child(5, 17006, 5, 20);
- localRSInterface2.child(6, 17012, 5, 117);
- localRSInterface2.child(7, 17013, 5, 131);
- localRSInterface2.child(8, 17014, 5, 145);
- localRSInterface2.child(9, 17015, 5, 159);
- localRSInterface2.child(10, 17016, 5, 187);
- localRSInterface2.child(11, 17017, 5, 215);
- localRSInterface2.child(12, 17018, 5, 229);
- localRSInterface2.child(13, 17019, 5, 243);
- localRSInterface2.child(14, 17020, 5, 257);
- localRSInterface2.child(15, 17021, 5, 271);
- localRSInterface2.child(16, 17022, 5, 285);
- localRSInterface2.child(17, 17023, 5, 299);
- localRSInterface2.child(18, 17024, 5, 313);
- localRSInterface2.child(19, 17025, 5, 341);
- localRSInterface2.child(20, 17026, 5, 369);
- localRSInterface2.child(21, 17027, 5, 383);
- localRSInterface2.child(22, 17028, 5, 397);
- localRSInterface2.child(23, 17029, 5, 411);
- localRSInterface2.child(24, 17030, 5, 424);
- localRSInterface2.child(25, 17031, 5, 439);
- localRSInterface2.child(26, 17032, 5, 453);
- localRSInterface2.child(27, 17033, 5, 467);
- localRSInterface2.child(28, 17034, 5, 481);
- localRSInterface2.child(29, 17035, 5, 509);
- localRSInterface2.child(30, 17036, 5, 537);
- localRSInterface2.child(31, 17037, 5, 551);
- localRSInterface2.child(32, 17038, 5, 565);
- localRSInterface2.child(33, 17039, 5, 579);
- localRSInterface2.child(34, 17040, 5, 593);
- localRSInterface2.child(35, 17041, 5, 607);
- localRSInterface2.child(36, 17042, 5, 621);
- localRSInterface2.child(37, 17043, 5, 635);
- localRSInterface2.child(38, 17044, 5, 649);
- localRSInterface2.child(39, 17045, 5, 663);
- localRSInterface2.child(40, 17046, 5, 677);
- localRSInterface2.child(41, 17047, 5, 691);
- localRSInterface2.child(42, 17048, 5, 705);
- }
- public static void GodWars(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(16210);
- addText(16211, "Godwars Killcount: @cya@0", paramArrayOfTextDrawingArea, 0, 16748608, false, true);
- localRSInterface.totalChildren(1);
- localRSInterface.child(0, 16211, 400, 8);
- }
- public static void teleport(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(176);
- addHoverButton(17652, "CLICK", 3, 200, 30, "Toggle", -1, 17653, 1);
- addHoveredButton(17653, "CLICK", 3, 200, 30, 17654);
- addHoverButton(17655, "CLICK", 3, 200, 30, "Toggle", -1, 17656, 1);
- addHoveredButton(17656, "CLICK", 3, 200, 30, 17657);
- addHoverButton(17658, "CLICK", 3, 200, 30, "Toggle", -1, 17659, 1);
- addHoveredButton(17659, "CLICK", 3, 200, 30, 17660);
- addHoverButton(17661, "CLICK", 3, 200, 30, "Toggle", -1, 17662, 1);
- addHoveredButton(17662, "CLICK", 3, 200, 30, 17663);
- addHoverButton(17664, "CLICK", 3, 200, 30, "Toggle", -1, 17665, 1);
- addHoveredButton(17665, "CLICK", 3, 200, 30, 17666);
- addHoverButton(17667, "CLICK", 3, 200, 30, "Toggle", -1, 17668, 1);
- addHoveredButton(17668, "CLICK", 3, 200, 30, 17669);
- addHoverButton(17670, "CLICK", 3, 200, 30, "Toggle", -1, 17671, 1);
- addHoveredButton(17671, "CLICK", 3, 200, 30, 17672);
- addHoverButton(17673, "close", 0, 200, 30, "Back", -1, 17674, 1);
- addHoveredButton(17674, "close", 1, 200, 30, 17675);
- addText(12804, "@or1@Reset:@red@ Defence", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(12808, "@or1@Reset:@red@ Attack", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(12812, "@or1@Reset:@red@ Strength", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(12816, "@or1@Reset:@red@ Hitpoints", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(12820, "@or1@Reset:@red@ Magic", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(12824, "@or1@Reset:@red@ Ranged", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(12828, "@or1@Reset:@red@ Prayer", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addText(12830, "@red@CLICKING WILL RESET INSTANT!", paramArrayOfTextDrawingArea, 0, 16748608, false, true);
- localRSInterface.totalChildren(25);
- localRSInterface.child(0, 17652, 12, 40);
- localRSInterface.child(1, 17653, 11, 40);
- localRSInterface.child(2, 17655, 12, 65);
- localRSInterface.child(3, 17656, 11, 65);
- localRSInterface.child(4, 12800, 68, 78);
- localRSInterface.child(5, 17658, 12, 90);
- localRSInterface.child(6, 17659, 11, 90);
- localRSInterface.child(7, 17661, 12, 115);
- localRSInterface.child(8, 17662, 11, 115);
- localRSInterface.child(9, 17664, 12, 143);
- localRSInterface.child(10, 17665, 11, 143);
- localRSInterface.child(11, 17667, 12, 168);
- localRSInterface.child(12, 17668, 11, 168);
- localRSInterface.child(13, 17670, 12, 193);
- localRSInterface.child(14, 17671, 11, 193);
- localRSInterface.child(15, 17673, 170, 0);
- localRSInterface.child(16, 17674, 170, 0);
- localRSInterface.child(17, 12804, 38, 45);
- localRSInterface.child(18, 12808, 38, 70);
- localRSInterface.child(19, 12812, 38, 95);
- localRSInterface.child(20, 12816, 38, 120);
- localRSInterface.child(21, 12820, 38, 147);
- localRSInterface.child(22, 12824, 38, 174);
- localRSInterface.child(23, 12828, 38, 201);
- localRSInterface.child(24, 12830, 10, 10);
- localRSInterface = addTabInterface(14000);
- localRSInterface.width = 474;
- localRSInterface.height = 213;
- localRSInterface.scrollMax = 305;
- for (int i = 14001; i <= 14030; i++) {
- addText(i, "", paramArrayOfTextDrawingArea, 1, 16777215, false, true);
- }
- localRSInterface.totalChildren(30);
- i = 0;
- int j = 5;
- for (int k = 14001; k <= 14030; k++) {
- localRSInterface.child(i, k, 248, j);
- i++;
- j += 13;
- }
- }
- public static void SettingsTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(178);
- addSprite(37001, 1, "Switcher/Background");
- addButton(37046, 1, "Switcher/Top", 63, 24, "Settings Menu", 1);
- addText(37050, "Gameframe", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37051, "New Hitpoints Bar", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37052, "New Hitmarks", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37053, "X10 Hitting", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37054, "Remember Me", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37055, "Names Above Heads", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37056, "HP Above Heads", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37057, "Fog", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37058, "525", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(37059, "On", paramArrayOfTextDrawingArea, 0, 6808320, false, true);
- addText(37060, "On", paramArrayOfTextDrawingArea, 0, 6808320, false, true);
- addText(37061, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
- addText(37062, "On", paramArrayOfTextDrawingArea, 0, 6808320, false, true);
- addText(37063, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
- addText(37064, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
- addText(37065, "Off", paramArrayOfTextDrawingArea, 0, 15925281, false, true);
- addButton(37002, 1, "Switcher/SmallerTextBox", 63, 24, "Change gameframe", 1);
- addButton(37003, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- addButton(37004, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- addButton(37005, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- addButton(37006, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- addButton(37007, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- addButton(37008, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- addButton(37009, 1, "Switcher/TextBox", 63, 24, "Toggle On/Off", 1);
- addHoverButton(37020, "Switcher/SmallButton", 0, 200, 30, "Change Gameframe", -1, 37021, 1);
- addHoveredButton(37021, "Switcher/SmallButton", 1, 200, 30, 37022);
- addHoverButton(37023, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37024, 1);
- addHoveredButton(37024, "Switcher/SmallButton", 1, 200, 30, 37025);
- addHoverButton(37026, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37027, 1);
- addHoveredButton(37027, "Switcher/SmallButton", 1, 200, 30, 37028);
- addHoverButton(37029, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37030, 1);
- addHoveredButton(37030, "Switcher/SmallButton", 1, 200, 30, 37031);
- addHoverButton(37033, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37034, 1);
- addHoveredButton(37034, "Switcher/SmallButton", 1, 200, 30, 37035);
- addHoverButton(37036, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37037, 1);
- addHoveredButton(37037, "Switcher/SmallButton", 1, 200, 30, 37038);
- addHoverButton(37039, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37040, 1);
- addHoveredButton(37040, "Switcher/SmallButton", 1, 200, 30, 37042);
- addHoverButton(37043, "Switcher/SmallButton", 0, 200, 30, "Toggle On/Off", -1, 37044, 1);
- addHoveredButton(37044, "Switcher/SmallButton", 1, 200, 30, 37045);
- addHoverButton(37047, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 37048, 1);
- addHoveredButton(37048, "Interfaces/Minigame/Back", 1, 16, 16, 37049);
- localRSInterface.totalChildren(44);
- localRSInterface.child(0, 37001, 0, 0);
- localRSInterface.child(1, 37002, 5, 20);
- localRSInterface.child(2, 37003, 5, 50);
- localRSInterface.child(3, 37004, 5, 80);
- localRSInterface.child(4, 37005, 5, 110);
- localRSInterface.child(5, 37006, 5, 140);
- localRSInterface.child(6, 37007, 5, 170);
- localRSInterface.child(7, 37008, 5, 200);
- localRSInterface.child(8, 37009, 5, 230);
- localRSInterface.child(9, 37020, 140, 20);
- localRSInterface.child(10, 37021, 140, 20);
- localRSInterface.child(11, 37023, 150, 50);
- localRSInterface.child(12, 37024, 150, 50);
- localRSInterface.child(13, 37026, 150, 80);
- localRSInterface.child(14, 37027, 150, 80);
- localRSInterface.child(15, 37029, 150, 110);
- localRSInterface.child(16, 37030, 150, 110);
- localRSInterface.child(17, 37033, 150, 140);
- localRSInterface.child(18, 37034, 150, 140);
- localRSInterface.child(19, 37036, 150, 170);
- localRSInterface.child(20, 37037, 150, 170);
- localRSInterface.child(21, 37039, 150, 200);
- localRSInterface.child(22, 37040, 150, 200);
- localRSInterface.child(23, 37043, 150, 230);
- localRSInterface.child(24, 37044, 150, 230);
- localRSInterface.child(25, 37046, 35, 0);
- localRSInterface.child(26, 37047, 0, 0);
- localRSInterface.child(27, 37048, 0, 0);
- localRSInterface.child(43, 37050, 8, 23);
- localRSInterface.child(28, 37051, 8, 53);
- localRSInterface.child(29, 37052, 8, 83);
- localRSInterface.child(30, 37053, 8, 113);
- localRSInterface.child(31, 37054, 8, 143);
- localRSInterface.child(32, 37055, 8, 173);
- localRSInterface.child(33, 37056, 8, 203);
- localRSInterface.child(34, 37057, 8, 233);
- localRSInterface.child(35, 37058, 149, 23);
- localRSInterface.child(36, 37059, 159, 53);
- localRSInterface.child(37, 37060, 159, 83);
- localRSInterface.child(38, 37061, 159, 113);
- localRSInterface.child(39, 37062, 159, 143);
- localRSInterface.child(40, 37063, 159, 173);
- localRSInterface.child(41, 37064, 159, 203);
- localRSInterface.child(42, 37065, 159, 233);
- }
- public static void addToggleButton(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2, int paramInt4, int paramInt5, int paramInt6)
- {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt5;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues[0] = 1;
- localRSInterface.valueCompareType[0] = paramInt4;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt6;
- localRSInterface.valueIndexArray[0][2] = 0;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt3, paramString1);
- localRSInterface.width = localRSInterface.sprite1.myWidth;
- localRSInterface.height = localRSInterface.sprite1.myHeight;
- localRSInterface.tooltip = paramString2;
- }
- public static void clanChatTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(122);
- addHoverButton(18129, "Interfaces/Clan Chat/SPRITE", 6, 72, 32, "Join Chat", 550, 18130, 1);
- addHoveredButton(18130, "Interfaces/Clan Chat/SPRITE", 7, 72, 32, 18131);
- addHoverButton(18132, "Interfaces/Clan Chat/SPRITE", 6, 72, 32, "Leave Chat", -1, 18133, 5);
- addHoveredButton(18133, "Interfaces/Clan Chat/SPRITE", 7, 72, 32, 18134);
- addToggleButton(18250, 0, 1, "Interfaces/Clan Chat/Lootshare", "Toggle-Lootshare", 1, 4, 500);
- drawTooltip(18251, "Toggle-Lootshare");
- addText(18135, "Join Chat", paramArrayOfTextDrawingArea, 0, 16751360, true, true);
- addText(18136, "Leave Chat", paramArrayOfTextDrawingArea, 0, 16751360, true, true);
- addSprite(18137, 37, "Interfaces/Clan Chat/SPRITE");
- addText(18138, "Clan Chat", paramArrayOfTextDrawingArea, 1, 16751360, true, true);
- addText(18139, "Talking in: Not in chat", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- addText(18140, "Owner: None", paramArrayOfTextDrawingArea, 0, 16751360, false, true);
- localRSInterface1.totalChildren(13);
- localRSInterface1.child(0, 18137, 3, 57);
- localRSInterface1.child(1, 18143, 7, 62);
- localRSInterface1.child(2, 18129, 15, 227);
- localRSInterface1.child(3, 18130, 15, 227);
- localRSInterface1.child(4, 18132, 103, 226);
- localRSInterface1.child(5, 18133, 103, 226);
- localRSInterface1.child(6, 18135, 51, 238);
- localRSInterface1.child(7, 18136, 139, 238);
- localRSInterface1.child(8, 18138, 95, 3);
- localRSInterface1.child(9, 18139, 10, 23);
- localRSInterface1.child(10, 18140, 25, 38);
- localRSInterface1.child(11, 18250, 148, 24);
- localRSInterface1.child(12, 18251, 74, 60);
- RSInterface localRSInterface2 = addTabInterface(18143);
- localRSInterface2.totalChildren(100);
- for (int i = 18144; i <= 18244; i++) {
- addText(i, "", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- }
- i = 18144; for (int j = 0; (i <= 18243) && (j <= 99); j++) {
- localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 5;
- int k = 18144; for (int m = 1; (k <= 18243) && (m <= 99); m++) {
- localRSInterface2.childY[0] = 2;
- localRSInterface2.childY[m] = (localRSInterface2.childY[(m - 1)] + 14);
- k++;
- }
- i++;
- }
- localRSInterface2.height = 152;
- localRSInterface2.width = 164;
- localRSInterface2.scrollMax = 1405;
- }
- public static void PVPInterface(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(1100);
- addText(1101, " EP: 0%", paramArrayOfTextDrawingArea, 1, 16750621, false, true);
- addText(1102, "110 - 126", paramArrayOfTextDrawingArea, 1, 16750621, false, true);
- int i = 2;
- localRSInterface.children = new int[i];
- localRSInterface.childX = new int[i];
- localRSInterface.childY = new int[i];
- setBounds(1101, 437, 320, 0, localRSInterface);
- setBounds(1102, 432, 301, 1, localRSInterface);
- }
- public static void SafeTimer(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(4535);
- addSprite(4537, 0, "Other/INWILD1");
- addText(4536, "", paramArrayOfTextDrawingArea, 1, 16748608, true, true);
- int i = 2;
- localRSInterface.children = new int[i];
- localRSInterface.childX = new int[i];
- localRSInterface.childY = new int[i];
- setBounds(4537, 460, 0, 0, localRSInterface);
- setBounds(4536, 470, 25, 1, localRSInterface);
- }
- public static void PVPInterface2(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(21300);
- addSprite(21301, 0, "Other/INWILD1");
- addText(21302, "", paramArrayOfTextDrawingArea, 1, 16748608, true, true);
- addText(21303, "EP:", paramArrayOfTextDrawingArea, 2, 16748608, true, true);
- int i = 3;
- localRSInterface.children = new int[i];
- localRSInterface.childX = new int[i];
- localRSInterface.childY = new int[i];
- setBounds(21301, 470, 0, 0, localRSInterface);
- setBounds(21302, 485, 25, 1, localRSInterface);
- setBounds(21303, 480, 38, 2, localRSInterface);
- }
- public static void Multi(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(199);
- addSprite(200, 0, "Other/Multi");
- int i = 1;
- localRSInterface.children = new int[i];
- localRSInterface.childX = new int[i];
- localRSInterface.childY = new int[i];
- setBounds(200, 485, 5, 0, localRSInterface);
- }
- public static void addText(int paramInt1, String paramString, int paramInt2, boolean paramBoolean1, boolean paramBoolean2, int paramInt3, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt4) {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 4;
- localRSInterface.atActionType = 0;
- localRSInterface.width = 0;
- localRSInterface.height = 0;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = paramInt3;
- localRSInterface.centerText = paramBoolean1;
- localRSInterface.textShadow = paramBoolean2;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt4];
- localRSInterface.message = paramString;
- localRSInterface.aString228 = "";
- localRSInterface.textColor = paramInt2;
- }
- public static void Trade(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(3323);
- setChildren(15, localRSInterface);
- addSprite(3324, 6, "Bank/TRADE");
- addHover(3442, 3, 0, 3325, 1, "Bank/BANK", 17, 17, "Close Window");
- addHovered(3325, 2, "Bank/BANK", 17, 17, 3326);
- addText(3417, "Trading With:", 16750899, true, true, 52, paramArrayOfTextDrawingArea, 2);
- addText(3418, "Trader's Offer", 16750899, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(3419, "Your Offer", 16750899, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(3421, "Accept", 49152, true, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(3423, "Decline", 12582912, true, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(3431, "Waiting For Other Player", 16777215, true, true, 52, paramArrayOfTextDrawingArea, 1);
- addHover(3420, 1, 0, 3327, 5, "Bank/TRADE", 65, 32, "Accept");
- addHovered(3327, 2, "Bank/TRADE", 65, 32, 3328);
- addHover(3422, 3, 0, 3329, 5, "Bank/TRADE", 65, 32, "Close Window");
- addHovered(3329, 2, "Bank/TRADE", 65, 32, 3330);
- setBounds(3324, 0, 16, 0, localRSInterface);
- setBounds(3442, 485, 24, 1, localRSInterface);
- setBounds(3325, 485, 24, 2, localRSInterface);
- setBounds(3417, 258, 25, 3, localRSInterface);
- setBounds(3418, 355, 51, 4, localRSInterface);
- setBounds(3419, 68, 51, 5, localRSInterface);
- setBounds(3420, 223, 120, 6, localRSInterface);
- setBounds(3327, 223, 120, 7, localRSInterface);
- setBounds(3422, 223, 160, 8, localRSInterface);
- setBounds(3329, 223, 160, 9, localRSInterface);
- setBounds(3421, 256, 127, 10, localRSInterface);
- setBounds(3423, 256, 167, 11, localRSInterface);
- setBounds(3431, 256, 272, 12, localRSInterface);
- setBounds(3415, 12, 64, 13, localRSInterface);
- setBounds(3416, 321, 64, 14, localRSInterface);
- localRSInterface = addTabInterface(3443);
- setChildren(15, localRSInterface);
- addSprite(3444, 3, "Bank/TRADE");
- addButton(3546, 2, "Bank/SHOP", 63, 24, "Accept", 1);
- addButton(3548, 2, "Bank/SHOP", 63, 24, "Decline", 1);
- addText(3547, "Accept", 49152, true, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(3549, "Decline", 12582912, true, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(3450, "Trading With:", 65535, true, true, 52, paramArrayOfTextDrawingArea, 2);
- addText(3451, "Yourself", 65535, true, true, 52, paramArrayOfTextDrawingArea, 2);
- setBounds(3444, 12, 20, 0, localRSInterface);
- setBounds(3442, 470, 32, 1, localRSInterface);
- setBounds(3325, 470, 32, 2, localRSInterface);
- setBounds(3535, 130, 28, 3, localRSInterface);
- setBounds(3536, 105, 47, 4, localRSInterface);
- setBounds(3546, 189, 295, 5, localRSInterface);
- setBounds(3548, 258, 295, 6, localRSInterface);
- setBounds(3547, 220, 299, 7, localRSInterface);
- setBounds(3549, 288, 299, 8, localRSInterface);
- setBounds(3557, 71, 87, 9, localRSInterface);
- setBounds(3558, 315, 87, 10, localRSInterface);
- setBounds(3533, 64, 70, 11, localRSInterface);
- setBounds(3534, 297, 70, 12, localRSInterface);
- setBounds(3450, 95, 289, 13, localRSInterface);
- setBounds(3451, 95, 304, 14, localRSInterface);
- }
- public static void Bank() {
- RSInterface localRSInterface = addTabInterface(5292);
- setChildren(21, localRSInterface);
- addSprite(5293, 0, "Bank/BANK");
- setBounds(5293, 13, 13, 0, localRSInterface);
- addHover(5384, 3, 0, 5380, 1, "Bank/BANK", 17, 17, "Close Window");
- addHovered(5380, 2, "Bank/BANK", 17, 17, 5379);
- addHoverButton(22020, "Interfaces/Equipment/BANK", 0, 72, 32, "Equipment Stats", -1, 22021, 5);
- addHoveredButton(22021, "Interfaces/Equipment/BANK", 1, 72, 32, 22022);
- setBounds(5384, 476, 16, 3, localRSInterface);
- setBounds(5380, 476, 16, 4, localRSInterface);
- setBounds(22020, 457, 35, 19, localRSInterface);
- setBounds(22021, 457, 35, 20, localRSInterface);
- addHover(5294, 4, 0, 5295, 3, "Bank/BANK", 114, 25, "Set A Bank PIN");
- addHovered(5295, 4, "Bank/BANK", 114, 25, 5296);
- setBounds(5294, 110, 285, 5, localRSInterface);
- setBounds(5295, 110, 285, 6, localRSInterface);
- 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);
- setBounds(21000, 25, 285, 7, localRSInterface);
- setBounds(21001, 10, 225, 8, localRSInterface);
- 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);
- setBounds(21004, 65, 285, 9, localRSInterface);
- setBounds(21005, 50, 225, 10, localRSInterface);
- 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);
- setBounds(21008, 240, 285, 11, localRSInterface);
- setBounds(21009, 225, 225, 12, localRSInterface);
- 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);
- setBounds(21012, 375, 285, 13, localRSInterface);
- setBounds(21013, 360, 225, 14, localRSInterface);
- 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);
- setBounds(21016, 415, 285, 15, localRSInterface);
- setBounds(21017, 400, 225, 16, localRSInterface);
- 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);
- setBounds(21020, 455, 285, 17, localRSInterface);
- setBounds(21021, 440, 225, 18, localRSInterface);
- setBounds(5383, 170, 15, 1, localRSInterface);
- setBounds(5385, -4, 74, 2, localRSInterface);
- localRSInterface = interfaceCache[5385];
- localRSInterface.height = 206;
- localRSInterface.width = 480;
- localRSInterface = interfaceCache[5382];
- localRSInterface.width = 10;
- localRSInterface.invSpritePadX = 12;
- localRSInterface.height = 35;
- }
- public static void itemsKeptOnDeath(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface1 = addTabInterface(18100);
- RSInterface localRSInterface2 = addTabInterface(18111);
- addSprite(18101, 2, "Equipment/SPRITE");
- addHButton(18102, "close", 0, 16, 16, "Close Button", 18103, 3, 1);
- addText(18105, "Items Kept on Death", paramArrayOfTextDrawingArea, 2, 16750623, true, true);
- addText(18106, "Items you will keep on death (if not skulled):", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
- addText(18107, "Items you will lose on death (if not skulled):", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
- addText(18108, "Information:", paramArrayOfTextDrawingArea, 1, 16750623, false, true);
- addText(18109, "Max Items Kept on death:", paramArrayOfTextDrawingArea, 1, 16763955, false, true);
- addText(18110, " 3, 4 With Protect Item", paramArrayOfTextDrawingArea, 1, 16763955, true, true);
- localRSInterface1.totalChildren(12);
- int[] arrayOfInt1 = { 18101, 18102, 18103, 18105, 18106, 18107, 18108, 18109, 18110, 18111, 10494, 10600 };
- int[] arrayOfInt2 = { 7, 480, 480, 255, 22, 22, 347, 349, 398, 348, 26, 26 };
- int[] arrayOfInt3 = { 8, 17, 17, 23, 48, 108, 47, 270, 298, 64, 74, 133 };
- for (int i = 0; i < arrayOfInt1.length; i++) {
- localRSInterface1.child(i, arrayOfInt1[i], arrayOfInt2[i], arrayOfInt3[i]);
- }
- for (i = 18112; i <= 18131; i++) {
- addText(i, "Line id: " + i + "", paramArrayOfTextDrawingArea, 0, 16750623, false, false);
- }
- localRSInterface2.totalChildren(21);
- i = 18112; int j = 0; for (int k = 2; i <= 18132; i++) {
- localRSInterface2.child(j, i, 1, k);
- j++;
- k += 12;
- }
- localRSInterface2.scrollMax = 280;
- localRSInterface2.width = 130;
- localRSInterface2.height = 197;
- }
- private static void addHButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, int paramInt4, String paramString2, int paramInt5, int paramInt6, int paramInt7) {
- addHoverButton(paramInt1, paramString1, paramInt2, paramInt3, paramInt4, paramString2, 0, paramInt5, paramInt6);
- addHoveredButton(paramInt5, paramString1, paramInt7, paramInt3, paramInt4, paramInt5 + 1);
- }
- public static void Shop(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(3824);
- setChildren(8, localRSInterface);
- addSprite(3825, 0, "Bank/SHOP");
- addHover(3902, 3, 0, 3826, 1, "Bank/BANK", 17, 17, "Close Window");
- addHovered(3826, 2, "Bank/BANK", 17, 17, 3827);
- addText(19679, "Main Stock", 16750623, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(19680, "", 12547357, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addButton(19681, 2, "Bank/SHOP", 95, 19, "Store Information", 1);
- setBounds(3825, 12, 12, 0, localRSInterface);
- setBounds(3902, 471, 22, 1, localRSInterface);
- setBounds(3826, 471, 22, 2, localRSInterface);
- setBounds(3900, 60, 85, 3, localRSInterface);
- setBounds(3901, 240, 21, 4, localRSInterface);
- setBounds(19679, 42, 54, 5, localRSInterface);
- setBounds(19680, 150, 54, 6, localRSInterface);
- setBounds(19681, 129, 50, 7, localRSInterface);
- localRSInterface = interfaceCache[3900];
- localRSInterface.invSpritePadX = 8;
- localRSInterface.width = 10;
- localRSInterface.height = 4;
- localRSInterface.invSpritePadY = 19;
- localRSInterface = addTabInterface(19682);
- addSprite(19683, 1, "Bank/SHOP");
- addText(19684, "Main Stock", 12547357, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(19685, "", 16750623, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addButton(19686, 2, "Bank/SHOP", 95, 19, "Main Stock", 1);
- setChildren(7, localRSInterface);
- setBounds(19683, 12, 12, 0, localRSInterface);
- setBounds(3901, 240, 21, 1, localRSInterface);
- setBounds(19684, 42, 54, 2, localRSInterface);
- setBounds(19685, 150, 54, 3, localRSInterface);
- setBounds(19686, 23, 50, 4, localRSInterface);
- setBounds(3902, 471, 22, 5, localRSInterface);
- setBounds(3826, 60, 85, 6, localRSInterface);
- }
- public static void addPouch(int paramInt)
- {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.actions = new String[5];
- localRSInterface.spritesX = new int[36];
- localRSInterface.invStackSizes = new int[36];
- localRSInterface.inv = new int[36];
- localRSInterface.spritesY = new int[36];
- localRSInterface.children = new int[0];
- localRSInterface.childX = new int[0];
- localRSInterface.childY = new int[0];
- localRSInterface.spritesY[0] = 0;
- localRSInterface.spritesY[1] = 0;
- localRSInterface.spritesY[2] = 0;
- localRSInterface.spritesY[3] = 0;
- localRSInterface.spritesY[4] = 0;
- localRSInterface.spritesY[5] = 0;
- localRSInterface.spritesY[6] = 0;
- localRSInterface.spritesY[7] = 0;
- localRSInterface.spritesY[8] = 0;
- localRSInterface.spritesY[9] = 0;
- localRSInterface.spritesY[10] = 0;
- localRSInterface.spritesY[11] = 0;
- localRSInterface.spritesY[12] = 0;
- localRSInterface.spritesY[13] = 0;
- localRSInterface.spritesY[14] = 0;
- localRSInterface.spritesY[15] = 0;
- localRSInterface.spritesY[16] = 0;
- localRSInterface.spritesY[17] = 0;
- localRSInterface.spritesY[18] = 0;
- localRSInterface.spritesY[19] = 0;
- localRSInterface.spritesY[20] = 0;
- localRSInterface.spritesY[21] = 0;
- localRSInterface.spritesY[22] = 0;
- localRSInterface.spritesY[23] = 0;
- localRSInterface.spritesY[24] = 0;
- localRSInterface.spritesY[25] = 0;
- localRSInterface.spritesY[26] = 0;
- localRSInterface.spritesY[27] = 0;
- localRSInterface.spritesY[28] = 0;
- localRSInterface.spritesY[29] = 0;
- localRSInterface.spritesY[30] = 0;
- localRSInterface.spritesY[31] = 0;
- localRSInterface.spritesY[32] = 0;
- localRSInterface.spritesY[33] = 0;
- localRSInterface.spritesY[34] = 0;
- localRSInterface.spritesY[35] = 0;
- localRSInterface.invStackSizes[0] = 0;
- localRSInterface.invStackSizes[1] = 0;
- localRSInterface.invStackSizes[2] = 0;
- localRSInterface.invStackSizes[3] = 0;
- localRSInterface.invStackSizes[4] = 0;
- localRSInterface.invStackSizes[5] = 0;
- localRSInterface.invStackSizes[6] = 0;
- localRSInterface.invStackSizes[7] = 0;
- localRSInterface.invStackSizes[8] = 0;
- localRSInterface.invStackSizes[9] = 0;
- localRSInterface.invStackSizes[10] = 0;
- localRSInterface.invStackSizes[11] = 0;
- localRSInterface.invStackSizes[12] = 0;
- localRSInterface.invStackSizes[13] = 0;
- localRSInterface.invStackSizes[14] = 0;
- localRSInterface.invStackSizes[15] = 0;
- localRSInterface.invStackSizes[16] = 0;
- localRSInterface.invStackSizes[17] = 0;
- localRSInterface.invStackSizes[18] = 0;
- localRSInterface.invStackSizes[19] = 0;
- localRSInterface.invStackSizes[20] = 0;
- localRSInterface.invStackSizes[21] = 0;
- localRSInterface.invStackSizes[22] = 0;
- localRSInterface.invStackSizes[23] = 0;
- localRSInterface.invStackSizes[24] = 0;
- localRSInterface.invStackSizes[25] = 0;
- localRSInterface.invStackSizes[26] = 0;
- localRSInterface.invStackSizes[27] = 0;
- localRSInterface.invStackSizes[28] = 0;
- localRSInterface.invStackSizes[29] = 0;
- localRSInterface.invStackSizes[30] = 0;
- localRSInterface.invStackSizes[31] = 0;
- localRSInterface.invStackSizes[32] = 0;
- localRSInterface.invStackSizes[33] = 0;
- localRSInterface.invStackSizes[34] = 0;
- localRSInterface.invStackSizes[35] = 0;
- localRSInterface.inv[0] = 0;
- localRSInterface.inv[1] = 0;
- localRSInterface.inv[2] = 0;
- localRSInterface.inv[3] = 0;
- localRSInterface.inv[4] = 0;
- localRSInterface.inv[5] = 0;
- localRSInterface.inv[6] = 0;
- localRSInterface.inv[7] = 0;
- localRSInterface.inv[8] = 0;
- localRSInterface.inv[9] = 0;
- localRSInterface.inv[10] = 0;
- localRSInterface.inv[11] = 0;
- localRSInterface.inv[12] = 0;
- localRSInterface.inv[13] = 0;
- localRSInterface.inv[14] = 0;
- localRSInterface.inv[15] = 0;
- localRSInterface.inv[16] = 0;
- localRSInterface.inv[17] = 0;
- localRSInterface.inv[18] = 0;
- localRSInterface.inv[19] = 0;
- localRSInterface.inv[20] = 0;
- localRSInterface.inv[21] = 0;
- localRSInterface.inv[22] = 0;
- localRSInterface.inv[23] = 0;
- localRSInterface.inv[24] = 0;
- localRSInterface.inv[25] = 0;
- localRSInterface.inv[26] = 0;
- localRSInterface.inv[27] = 0;
- localRSInterface.inv[28] = 0;
- localRSInterface.inv[29] = 0;
- localRSInterface.inv[30] = 0;
- localRSInterface.inv[31] = 0;
- localRSInterface.inv[32] = 0;
- localRSInterface.inv[33] = 0;
- localRSInterface.inv[34] = 0;
- localRSInterface.inv[35] = 0;
- localRSInterface.spritesX[0] = 0;
- localRSInterface.spritesX[1] = 0;
- localRSInterface.spritesX[2] = 0;
- localRSInterface.spritesX[3] = 0;
- localRSInterface.spritesX[4] = 0;
- localRSInterface.spritesX[5] = 0;
- localRSInterface.spritesX[6] = 0;
- localRSInterface.spritesX[7] = 0;
- localRSInterface.spritesX[8] = 0;
- localRSInterface.spritesX[9] = 0;
- localRSInterface.spritesX[10] = 0;
- localRSInterface.spritesX[11] = 0;
- localRSInterface.spritesX[12] = 0;
- localRSInterface.spritesX[13] = 0;
- localRSInterface.spritesX[14] = 0;
- localRSInterface.spritesX[15] = 0;
- localRSInterface.spritesX[16] = 0;
- localRSInterface.spritesX[17] = 0;
- localRSInterface.spritesX[18] = 0;
- localRSInterface.spritesX[19] = 0;
- localRSInterface.spritesX[20] = 0;
- localRSInterface.spritesX[21] = 0;
- localRSInterface.spritesX[22] = 0;
- localRSInterface.spritesX[23] = 0;
- localRSInterface.spritesX[24] = 0;
- localRSInterface.spritesX[25] = 0;
- localRSInterface.spritesX[26] = 0;
- localRSInterface.spritesX[27] = 0;
- localRSInterface.spritesX[28] = 0;
- localRSInterface.spritesX[29] = 0;
- localRSInterface.spritesX[30] = 0;
- localRSInterface.spritesX[31] = 0;
- localRSInterface.spritesX[32] = 0;
- localRSInterface.spritesX[33] = 0;
- localRSInterface.spritesX[34] = 0;
- localRSInterface.spritesX[35] = 0;
- localRSInterface.actions[0] = "Infuse";
- localRSInterface.actions[1] = "Infuse-5";
- localRSInterface.actions[2] = "Infuse-10";
- localRSInterface.actions[3] = "Infuse-All";
- localRSInterface.actions[4] = "List";
- localRSInterface.centerText = false;
- localRSInterface.aBoolean227 = false;
- localRSInterface.aBoolean235 = false;
- localRSInterface.usableItemInterface = false;
- localRSInterface.isInventoryInterface = false;
- localRSInterface.aBoolean251 = false;
- localRSInterface.aBoolean259 = true;
- localRSInterface.interfaceShown = false;
- localRSInterface.textShadow = false;
- localRSInterface.width = 8;
- localRSInterface.hoverType = -1;
- localRSInterface.invSpritePadX = 24;
- localRSInterface.parentID = 17827;
- localRSInterface.invSpritePadY = 24;
- localRSInterface.id = 17824;
- localRSInterface.type = 2;
- localRSInterface.height = 4;
- }
- public static void drawItem(int paramInt1, int paramInt2, String paramString)
- {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, "Pouches/CHARM");
- localRSInterface.width = 500;
- localRSInterface.height = 500;
- }
- public static void addItemText(int paramInt1, int paramInt2, int paramInt3, TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = 1151;
- localRSInterface.type = 4;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 0;
- localRSInterface.height = 14;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 3;
- localRSInterface.requiredValues[0] = paramInt2;
- localRSInterface.valueIndexArray = new int[1][4];
- localRSInterface.valueIndexArray[0][0] = 4;
- localRSInterface.valueIndexArray[0][1] = 3214;
- localRSInterface.valueIndexArray[0][2] = paramInt3;
- localRSInterface.valueIndexArray[0][3] = 0;
- localRSInterface.centerText = true;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[0];
- localRSInterface.textShadow = true;
- localRSInterface.message = ("%1/" + paramInt2 + "");
- localRSInterface.aString228 = "";
- localRSInterface.textColor = 12582912;
- localRSInterface.anInt219 = 49152;
- }
- public static void vote(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(4100);
- addSprite(19051, 4, "Vote/CUSTOM");
- addHoverButton(19052, "Vote/CUSTOM", 0, 63, 44, "@red@Misc reward", 0, 19053, 1);
- addHoveredButton(19053, "Vote/CUSTOM", 1, 63, 44, 19054);
- addHoverButton(19055, "Vote/CUSTOM", 2, 39, 45, "@red@Cash reward", 0, 19056, 1);
- addHoveredButton(19056, "Vote/CUSTOM", 3, 39, 45, 19057);
- localRSInterface.totalChildren(5);
- localRSInterface.child(0, 19051, 80, 95);
- localRSInterface.child(1, 19052, 300, 155);
- localRSInterface.child(2, 19053, 300, 155);
- localRSInterface.child(3, 19055, 150, 155);
- localRSInterface.child(4, 19056, 150, 155);
- }
- public static void questTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface1 = addTabInterface(638);
- RSInterface localRSInterface2 = addTabInterface(16025);
- addText(640, "Quests", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(663, "Available", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- addText(682, "Members", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- addSprite(16022, 4, "SPRITE");
- addText(16023, "Quest Points: 0", paramArrayOfTextDrawingArea, 0, 15439903, false, true);
- addSprite(16024, 5, "SPRITE");
- localRSInterface1.totalChildren(6);
- localRSInterface1.child(0, 640, 5, 5);
- localRSInterface1.child(1, 16024, 0, 25);
- localRSInterface1.child(2, 16025, 6, 24);
- localRSInterface1.child(3, 16022, 0, 22);
- localRSInterface1.child(4, 16022, 0, 249);
- localRSInterface1.child(5, 16023, 4, 251);
- for (int i = 16026; i <= 16125; i++) {
- addClickableTextB(i, "" + i, "Show", paramArrayOfTextDrawingArea, 0, 16711680, false, true, 150);
- }
- localRSInterface2.totalChildren(101);
- localRSInterface2.child(0, 663, 4, 2);
- i = 1; for (int j = 16026; (i <= 100) && (j <= 16125); j++) {
- localRSInterface2.childY[1] = 18;
- localRSInterface2.child(i, j, 9, localRSInterface2.childY[(i - 1)] + 13);
- i++;
- }
- localRSInterface2.width = 168;
- localRSInterface2.height = 225;
- localRSInterface2.scrollMax = 1320;
- }
- public static void addText(int paramInt1, String paramString, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2, int paramInt4, int paramInt5) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 4;
- localRSInterface.atActionType = 0;
- localRSInterface.width = paramInt5;
- localRSInterface.height = paramInt4;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.centerText = paramBoolean1;
- localRSInterface.textShadow = paramBoolean2;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
- localRSInterface.message = paramString;
- localRSInterface.aString228 = "";
- localRSInterface.textColor = paramInt3;
- localRSInterface.anInt219 = 0;
- localRSInterface.anInt216 = 0;
- localRSInterface.anInt239 = 0;
- }
- public static void levelUp0(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(13824);
- addSprite(13825, 23, "Skill/LEVELUP");
- addText(13826, "blalblabla", paramArrayOfTextDrawingArea, 2, 0, false, false, 20, 20);
- addText(13827, "blalblabla", paramArrayOfTextDrawingArea, 2, 0, false, false, 20, 20);
- addClickableText(13828, "Click to continue", "Continue", paramArrayOfTextDrawingArea, 1, 1270489, 100, 150, false, 1);
- localRSInterface.totalChildren(4);
- localRSInterface.child(0, 13825, 12, 25);
- localRSInterface.child(1, 13826, 110, 12);
- localRSInterface.child(2, 13827, 160, 34);
- localRSInterface.child(3, 13828, 240, 90);
- }
- public static void pouchMaker(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(17824);
- addHoverButton(17828, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 17829, 3);
- addHoveredButton(17829, "Interfaces/Equipment/SPRITE", 3, 21, 21, 17830);
- addSprite(17825, 1, "Bank/SUMM");
- addHoverButton(17831, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17900, 0);
- addHoverButton(17832, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17901, 0);
- addHoverButton(17833, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17902, 0);
- addHoverButton(17834, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17903, 0);
- addHoverButton(17835, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17904, 0);
- addHoverButton(17836, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17905, 0);
- addHoverButton(17837, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17906, 0);
- addHoverButton(17838, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17907, 0);
- addHoverButton(17839, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17908, 0);
- addHoverButton(17840, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17909, 0);
- addHoverButton(17841, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17910, 0);
- addHoverButton(17842, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17911, 0);
- addHoverButton(17843, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17912, 0);
- addHoverButton(17844, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17913, 0);
- addHoverButton(17845, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17914, 0);
- addHoverButton(17846, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17915, 0);
- addHoverButton(17847, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17916, 0);
- addHoverButton(17848, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17917, 0);
- addHoverButton(17849, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17918, 0);
- addHoverButton(17850, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17919, 0);
- addHoverButton(17851, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17920, 0);
- addHoverButton(17852, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17921, 0);
- addHoverButton(17853, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17922, 0);
- addHoverButton(17854, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17923, 0);
- addHoverButton(17855, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17924, 0);
- addHoverButton(17856, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17925, 0);
- addHoverButton(17857, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17926, 0);
- addHoverButton(17858, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17927, 0);
- addHoverButton(17859, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17928, 0);
- addHoverButton(17860, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17929, 0);
- addHoverButton(17861, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17930, 0);
- addHoverButton(17862, "Pouches/UNPOUCH", 1, 55, 50, " ", 0, 17931, 0);
- addHoverButton(17863, "Interfaces/Minigame/Forward", 0, 16, 16, "Next Page", 0, 17932, 1);
- addHoverButton(17864, "Interfaces/Minigame/Back", 0, 16, 16, "First Page", 0, 17933, 1);
- addPouch(17827);
- addHoveredButton(17900, "Pouches/hover", 0, 55, 55, 17950);
- addHoveredButton(17901, "Pouches/hover", 0, 55, 55, 17951);
- addHoveredButton(17902, "Pouches/hover", 0, 55, 55, 17952);
- addHoveredButton(17903, "Pouches/hover", 0, 55, 55, 17953);
- addHoveredButton(17904, "Pouches/hover", 0, 55, 55, 17954);
- addHoveredButton(17905, "Pouches/hover", 0, 55, 55, 17955);
- addHoveredButton(17906, "Pouches/hover", 0, 55, 55, 17956);
- addHoveredButton(17907, "Pouches/hover", 0, 55, 55, 17957);
- addHoveredButton(17908, "Pouches/hover", 0, 55, 55, 17958);
- addHoveredButton(17909, "Pouches/hover", 0, 55, 55, 17959);
- addHoveredButton(17910, "Pouches/hover", 0, 55, 55, 17960);
- addHoveredButton(17911, "Pouches/hover", 0, 55, 55, 17961);
- addHoveredButton(17912, "Pouches/hover", 0, 55, 55, 17962);
- addHoveredButton(17913, "Pouches/hover", 0, 55, 55, 17963);
- addHoveredButton(17914, "Pouches/hover", 0, 55, 55, 17964);
- addHoveredButton(17915, "Pouches/hover", 0, 55, 55, 17965);
- addHoveredButton(17916, "Pouches/hover", 0, 55, 55, 17966);
- addHoveredButton(17917, "Pouches/hover", 0, 55, 55, 17967);
- addHoveredButton(17918, "Pouches/hover", 0, 55, 55, 17968);
- addHoveredButton(17919, "Pouches/hover", 0, 55, 55, 17969);
- addHoveredButton(17920, "Pouches/hover", 0, 55, 55, 17970);
- addHoveredButton(17921, "Pouches/hover", 0, 55, 55, 17971);
- addHoveredButton(17922, "Pouches/hover", 0, 55, 55, 17972);
- addHoveredButton(17923, "Pouches/hover", 0, 55, 55, 17973);
- addHoveredButton(17924, "Pouches/hover", 0, 55, 55, 17974);
- addHoveredButton(17925, "Pouches/hover", 0, 55, 55, 17975);
- addHoveredButton(17926, "Pouches/hover", 0, 55, 55, 17976);
- addHoveredButton(17927, "Pouches/hover", 0, 55, 55, 17977);
- addHoveredButton(17928, "Pouches/hover", 0, 55, 55, 17978);
- addHoveredButton(17929, "Pouches/hover", 0, 55, 55, 17979);
- addHoveredButton(17930, "Pouches/hover", 0, 55, 55, 17980);
- addHoveredButton(17931, "Pouches/hover", 0, 55, 55, 17981);
- addHoveredButton(17932, "Interfaces/Minigame/Forward", 1, 16, 16, 17982);
- addHoveredButton(17933, "Interfaces/Minigame/Back", 1, 16, 16, 17983);
- addText(7932, "7", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7933, "8", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7934, "8", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7935, "9", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7936, "7", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7937, "1", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7938, "45", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7939, "57", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7940, "64", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7941, "75", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7942, "51", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7943, "47", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7944, "84", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7945, "81", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7946, "84", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7947, "72", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7948, "11", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7949, "78", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7950, "104", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7951, "111", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7952, "88", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7953, "117", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7954, "12", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7955, "106", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7956, "151", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7957, "109", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7958, "153", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7959, "155", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7960, "154", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7961, "144", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7962, "141", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7963, "119", paramArrayOfTextDrawingArea, 0, 16777215, false, true);
- addText(7964, "Page 1", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addButton(7965, 0, "sprite", 60, 20, "Scroll infuser", 1);
- localRSInterface.totalChildren(106);
- localRSInterface.child(0, 17825, 12, 12);
- localRSInterface.child(1, 17828, 465, 20);
- localRSInterface.child(2, 17827, 40, 60);
- localRSInterface.child(3, 17829, 465, 20);
- localRSInterface.child(4, 17831, 35, 60);
- localRSInterface.child(5, 17832, 91, 60);
- localRSInterface.child(6, 17833, 147, 60);
- localRSInterface.child(7, 17834, 203, 60);
- localRSInterface.child(8, 17835, 259, 60);
- localRSInterface.child(9, 17836, 315, 60);
- localRSInterface.child(10, 17837, 371, 60);
- localRSInterface.child(11, 17838, 427, 60);
- localRSInterface.child(12, 17839, 35, 117);
- localRSInterface.child(13, 17840, 91, 117);
- localRSInterface.child(14, 17841, 147, 117);
- localRSInterface.child(15, 17842, 203, 117);
- localRSInterface.child(16, 17843, 259, 117);
- localRSInterface.child(17, 17844, 315, 117);
- localRSInterface.child(18, 17845, 371, 117);
- localRSInterface.child(19, 17846, 427, 117);
- localRSInterface.child(20, 17847, 35, 172);
- localRSInterface.child(21, 17848, 91, 172);
- localRSInterface.child(22, 17849, 147, 172);
- localRSInterface.child(23, 17850, 203, 172);
- localRSInterface.child(24, 17851, 259, 172);
- localRSInterface.child(25, 17852, 315, 172);
- localRSInterface.child(26, 17853, 371, 172);
- localRSInterface.child(27, 17854, 427, 172);
- localRSInterface.child(28, 17855, 35, 229);
- localRSInterface.child(29, 17856, 91, 229);
- localRSInterface.child(30, 17857, 147, 229);
- localRSInterface.child(31, 17858, 203, 229);
- localRSInterface.child(32, 17859, 259, 229);
- localRSInterface.child(33, 17860, 315, 229);
- localRSInterface.child(34, 17861, 371, 229);
- localRSInterface.child(35, 17862, 427, 229);
- localRSInterface.child(36, 17900, 35, 60);
- localRSInterface.child(37, 17901, 91, 60);
- localRSInterface.child(38, 17902, 147, 60);
- localRSInterface.child(39, 17903, 203, 60);
- localRSInterface.child(40, 17904, 259, 60);
- localRSInterface.child(41, 17905, 315, 60);
- localRSInterface.child(42, 17906, 371, 60);
- localRSInterface.child(43, 17907, 427, 60);
- localRSInterface.child(44, 17908, 35, 117);
- localRSInterface.child(45, 17909, 91, 117);
- localRSInterface.child(46, 17910, 147, 117);
- localRSInterface.child(47, 17911, 203, 117);
- localRSInterface.child(48, 17912, 259, 117);
- localRSInterface.child(49, 17913, 315, 117);
- localRSInterface.child(50, 17914, 371, 117);
- localRSInterface.child(51, 17915, 427, 117);
- localRSInterface.child(52, 17916, 35, 172);
- localRSInterface.child(53, 17917, 91, 172);
- localRSInterface.child(54, 17918, 147, 172);
- localRSInterface.child(55, 17919, 203, 172);
- localRSInterface.child(56, 17920, 259, 172);
- localRSInterface.child(57, 17921, 315, 172);
- localRSInterface.child(58, 17922, 371, 172);
- localRSInterface.child(59, 17923, 427, 172);
- localRSInterface.child(60, 17924, 35, 229);
- localRSInterface.child(61, 17925, 91, 229);
- localRSInterface.child(62, 17926, 147, 229);
- localRSInterface.child(63, 17927, 203, 229);
- localRSInterface.child(64, 17928, 259, 229);
- localRSInterface.child(65, 17929, 315, 229);
- localRSInterface.child(66, 17930, 371, 229);
- localRSInterface.child(67, 17931, 427, 229);
- localRSInterface.child(68, 7932, 65, 99);
- localRSInterface.child(69, 7933, 119, 99);
- localRSInterface.child(70, 7934, 176, 99);
- localRSInterface.child(71, 7935, 232, 99);
- localRSInterface.child(72, 7936, 288, 99);
- localRSInterface.child(73, 7937, 344, 99);
- localRSInterface.child(74, 7938, 400, 99);
- localRSInterface.child(75, 7939, 456, 99);
- localRSInterface.child(76, 7940, 65, 156);
- localRSInterface.child(77, 7941, 119, 156);
- localRSInterface.child(78, 7942, 176, 156);
- localRSInterface.child(79, 7943, 232, 156);
- localRSInterface.child(80, 7944, 288, 156);
- localRSInterface.child(81, 7945, 344, 156);
- localRSInterface.child(82, 7946, 400, 156);
- localRSInterface.child(83, 7947, 456, 156);
- localRSInterface.child(84, 7948, 65, 211);
- localRSInterface.child(85, 7949, 119, 211);
- localRSInterface.child(86, 7950, 176, 211);
- localRSInterface.child(87, 7951, 232, 211);
- localRSInterface.child(88, 7952, 288, 211);
- localRSInterface.child(89, 7953, 344, 211);
- localRSInterface.child(90, 7954, 400, 211);
- localRSInterface.child(91, 7955, 456, 211);
- localRSInterface.child(92, 7956, 65, 268);
- localRSInterface.child(93, 7957, 119, 268);
- localRSInterface.child(94, 7958, 176, 268);
- localRSInterface.child(95, 7959, 232, 268);
- localRSInterface.child(96, 7960, 288, 268);
- localRSInterface.child(97, 7961, 344, 268);
- localRSInterface.child(98, 7962, 400, 268);
- localRSInterface.child(99, 7963, 456, 268);
- localRSInterface.child(100, 7964, 235, 290);
- localRSInterface.child(101, 17863, 465, 290);
- localRSInterface.child(102, 17932, 465, 290);
- localRSInterface.child(103, 17864, 25, 290);
- localRSInterface.child(104, 17933, 25, 290);
- localRSInterface.child(105, 7965, 98, 28);
- }
- public static void scrollMaker(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(14824);
- addHoverButton(14828, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 14829, 3);
- addHoveredButton(14829, "Interfaces/Equipment/SPRITE", 3, 21, 21, 14830);
- addSprite(14825, 2, "Bank/SUMM");
- addPouch(14827);
- addHoverButton(14831, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14900, 0);
- addHoverButton(14832, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14901, 0);
- addHoverButton(14833, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14902, 0);
- addHoverButton(14834, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14903, 0);
- addHoverButton(14835, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14904, 0);
- addHoverButton(14836, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14905, 0);
- addHoverButton(14837, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14906, 0);
- addHoverButton(14838, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14907, 0);
- addHoverButton(14839, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14908, 0);
- addHoverButton(14840, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14909, 0);
- addHoverButton(14841, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14910, 0);
- addHoverButton(14842, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14911, 0);
- addHoverButton(14843, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14912, 0);
- addHoverButton(14844, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14913, 0);
- addHoverButton(14845, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14914, 0);
- addHoverButton(14846, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14915, 0);
- addHoverButton(14847, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14916, 0);
- addHoverButton(14848, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14917, 0);
- addHoverButton(14849, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14918, 0);
- addHoverButton(14850, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14919, 0);
- addHoverButton(14851, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14920, 0);
- addHoverButton(14852, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14921, 0);
- addHoverButton(14853, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14922, 0);
- addHoverButton(14854, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14923, 0);
- addHoverButton(14855, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14924, 0);
- addHoverButton(14856, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14925, 0);
- addHoverButton(14857, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14926, 0);
- addHoverButton(14858, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14927, 0);
- addHoverButton(14859, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14928, 0);
- addHoverButton(14860, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14929, 0);
- addHoverButton(14861, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14930, 0);
- addHoverButton(14862, "Pouches/UNPOUCH", 0, 55, 50, " ", 0, 14931, 0);
- addHoverButton(14863, "Interfaces/Minigame/Forward", 0, 16, 16, "Next Page", 0, 14932, 1);
- addHoverButton(14864, "Interfaces/Minigame/Back", 0, 16, 16, "First Page", 0, 14933, 1);
- addHoveredButton(14900, "Pouches/hover", 0, 55, 55, 14950);
- addHoveredButton(14901, "Pouches/hover", 0, 55, 55, 14951);
- addHoveredButton(14902, "Pouches/hover", 0, 55, 55, 14952);
- addHoveredButton(14903, "Pouches/hover", 0, 55, 55, 14953);
- addHoveredButton(14904, "Pouches/hover", 0, 55, 55, 14954);
- addHoveredButton(14905, "Pouches/hover", 0, 55, 55, 14955);
- addHoveredButton(14906, "Pouches/hover", 0, 55, 55, 14956);
- addHoveredButton(14907, "Pouches/hover", 0, 55, 55, 14957);
- addHoveredButton(14908, "Pouches/hover", 0, 55, 55, 14958);
- addHoveredButton(14909, "Pouches/hover", 0, 55, 55, 14959);
- addHoveredButton(14910, "Pouches/hover", 0, 55, 55, 14960);
- addHoveredButton(14911, "Pouches/hover", 0, 55, 55, 14961);
- addHoveredButton(14912, "Pouches/hover", 0, 55, 55, 14962);
- addHoveredButton(14913, "Pouches/hover", 0, 55, 55, 14963);
- addHoveredButton(14914, "Pouches/hover", 0, 55, 55, 14964);
- addHoveredButton(14915, "Pouches/hover", 0, 55, 55, 14965);
- addHoveredButton(14916, "Pouches/hover", 0, 55, 55, 14966);
- addHoveredButton(14917, "Pouches/hover", 0, 55, 55, 14967);
- addHoveredButton(14918, "Pouches/hover", 0, 55, 55, 14968);
- addHoveredButton(14919, "Pouches/hover", 0, 55, 55, 14969);
- addHoveredButton(14920, "Pouches/hover", 0, 55, 55, 14970);
- addHoveredButton(14921, "Pouches/hover", 0, 55, 55, 14971);
- addHoveredButton(14922, "Pouches/hover", 0, 55, 55, 14972);
- addHoveredButton(14923, "Pouches/hover", 0, 55, 55, 14973);
- addHoveredButton(14924, "Pouches/hover", 0, 55, 55, 14974);
- addHoveredButton(14925, "Pouches/hover", 0, 55, 55, 14975);
- addHoveredButton(14926, "Pouches/hover", 0, 55, 55, 14976);
- addHoveredButton(14927, "Pouches/hover", 0, 55, 55, 14977);
- addHoveredButton(14928, "Pouches/hover", 0, 55, 55, 14978);
- addHoveredButton(14929, "Pouches/hover", 0, 55, 55, 14979);
- addHoveredButton(14930, "Pouches/hover", 0, 55, 55, 14980);
- addHoveredButton(14931, "Pouches/hover", 0, 55, 55, 14981);
- addHoveredButton(14932, "Interfaces/Minigame/Forward", 1, 16, 16, 14982);
- addHoveredButton(14933, "Interfaces/Minigame/Back", 1, 16, 16, 14983);
- addText(13964, "Page 1", paramArrayOfTextDrawingArea, 0, 16750623, false, true);
- addButton(13965, 0, "sprite", 60, 20, "Pouch infuser", 1);
- localRSInterface.totalChildren(74);
- localRSInterface.child(0, 14825, 12, 12);
- localRSInterface.child(1, 14828, 473, 23);
- localRSInterface.child(2, 14827, 40, 60);
- localRSInterface.child(3, 14829, 473, 23);
- localRSInterface.child(4, 14831, 35, 60);
- localRSInterface.child(5, 14832, 91, 60);
- localRSInterface.child(6, 14833, 147, 60);
- localRSInterface.child(7, 14834, 203, 60);
- localRSInterface.child(8, 14835, 259, 60);
- localRSInterface.child(9, 14836, 315, 60);
- localRSInterface.child(10, 14837, 371, 60);
- localRSInterface.child(11, 14838, 427, 60);
- localRSInterface.child(12, 14839, 35, 117);
- localRSInterface.child(13, 14840, 91, 117);
- localRSInterface.child(14, 14841, 147, 117);
- localRSInterface.child(15, 14842, 203, 117);
- localRSInterface.child(16, 14843, 259, 117);
- localRSInterface.child(17, 14844, 315, 117);
- localRSInterface.child(18, 14845, 371, 117);
- localRSInterface.child(19, 14846, 427, 117);
- localRSInterface.child(20, 14847, 35, 172);
- localRSInterface.child(21, 14848, 91, 172);
- localRSInterface.child(22, 14849, 147, 172);
- localRSInterface.child(23, 14850, 203, 172);
- localRSInterface.child(24, 14851, 259, 172);
- localRSInterface.child(25, 14852, 315, 172);
- localRSInterface.child(26, 14853, 371, 172);
- localRSInterface.child(27, 14854, 427, 172);
- localRSInterface.child(28, 14855, 35, 229);
- localRSInterface.child(29, 14856, 91, 229);
- localRSInterface.child(30, 14857, 147, 229);
- localRSInterface.child(31, 14858, 203, 229);
- localRSInterface.child(32, 14859, 259, 229);
- localRSInterface.child(33, 14860, 315, 229);
- localRSInterface.child(34, 14861, 371, 229);
- localRSInterface.child(35, 14862, 427, 229);
- localRSInterface.child(36, 14900, 35, 60);
- localRSInterface.child(37, 14901, 91, 60);
- localRSInterface.child(38, 14902, 147, 60);
- localRSInterface.child(39, 14903, 203, 60);
- localRSInterface.child(40, 14904, 259, 60);
- localRSInterface.child(41, 14905, 315, 60);
- localRSInterface.child(42, 14906, 371, 60);
- localRSInterface.child(43, 14907, 427, 60);
- localRSInterface.child(44, 14908, 35, 117);
- localRSInterface.child(45, 14909, 91, 117);
- localRSInterface.child(46, 14910, 147, 117);
- localRSInterface.child(47, 14911, 203, 117);
- localRSInterface.child(48, 14912, 259, 117);
- localRSInterface.child(49, 14913, 315, 117);
- localRSInterface.child(50, 14914, 371, 117);
- localRSInterface.child(51, 14915, 427, 117);
- localRSInterface.child(52, 14916, 35, 172);
- localRSInterface.child(53, 14917, 91, 172);
- localRSInterface.child(54, 14918, 147, 172);
- localRSInterface.child(55, 14919, 203, 172);
- localRSInterface.child(56, 14920, 259, 172);
- localRSInterface.child(57, 14921, 315, 172);
- localRSInterface.child(58, 14922, 371, 172);
- localRSInterface.child(59, 14923, 427, 172);
- localRSInterface.child(60, 14924, 35, 229);
- localRSInterface.child(61, 14925, 91, 229);
- localRSInterface.child(62, 14926, 147, 229);
- localRSInterface.child(63, 14927, 203, 229);
- localRSInterface.child(64, 14928, 259, 229);
- localRSInterface.child(65, 14929, 315, 229);
- localRSInterface.child(66, 14930, 371, 229);
- localRSInterface.child(67, 14931, 427, 229);
- localRSInterface.child(68, 13964, 235, 290);
- localRSInterface.child(69, 14863, 465, 290);
- localRSInterface.child(70, 14932, 465, 290);
- localRSInterface.child(71, 14864, 25, 290);
- localRSInterface.child(72, 14933, 25, 290);
- localRSInterface.child(73, 13965, 25, 25);
- }
- public static void EquipmentTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = interfaceCache[1644];
- addHoverButton(15201, "CUSTOM", 1, 40, 40, "Show Equipment Screen", 0, 15202, 1);
- addHoveredButton(15202, "CUSTOM", 5, 40, 40, 15203);
- addHoverButton(15204, "CUSTOM", 2, 40, 40, "Items Kept on Death", 0, 15205, 1);
- addHoveredButton(15205, "CUSTOM", 4, 40, 40, 15206);
- addHoverButton(15207, "CUSTOM", 3, 40, 40, "Reseting Options", 0, 15208, 1);
- addHoveredButton(15208, "CUSTOM", 6, 40, 40, 15209);
- localRSInterface.child(23, 15201, 21, 210);
- localRSInterface.child(24, 15202, 21, 210);
- localRSInterface.child(25, 15204, 129, 210);
- localRSInterface.child(26, 15205, 129, 210);
- localRSInterface.child(0, 15207, 75, 210);
- localRSInterface.child(2, 15208, 75, 210);
- }
- public static void EquipmentScreenBank(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(15150);
- addSprite(15107, 1, "Interfaces/Equipment/bg");
- addHoverButton(15210, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 15211, 3);
- addHoveredButton(15211, "Interfaces/Equipment/SPRITE", 3, 21, 21, 15212);
- addHoverButton(22024, "Interfaces/Equipment/BANK", 2, 72, 32, "Return To Bank", -1, 22025, 5);
- addHoveredButton(22025, "Interfaces/Equipment/BANK", 3, 72, 32, 22026);
- addText(15111, "", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(15112, "Attack bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
- addText(15113, "Defence bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
- addText(15114, "Other bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
- for (int i = 1675; i <= 1684; i++) textSize(i, paramArrayOfTextDrawingArea, 1);
- textSize(1686, paramArrayOfTextDrawingArea, 1); textSize(1687, paramArrayOfTextDrawingArea, 1);
- addChar(15125);
- localRSInterface1.totalChildren(46);
- localRSInterface1.child(0, 15107, 15, 5);
- localRSInterface1.child(1, 15210, 476, 8);
- localRSInterface1.child(2, 15211, 476, 8);
- localRSInterface1.child(3, 15111, 14, 30);
- i = 4; int j = 45;
- for (int k = 1675; k <= 1679; k++) {
- localRSInterface1.child(i, k, 29, j);
- i++; j += 14;
- }localRSInterface1.child(9, 1680, 29, 137);
- localRSInterface1.child(10, 1681, 29, 153);
- localRSInterface1.child(11, 1682, 29, 168);
- localRSInterface1.child(12, 1683, 29, 183);
- localRSInterface1.child(13, 1684, 29, 197);
- localRSInterface1.child(14, 1686, 29, 238);
- localRSInterface1.child(17, 1687, 29, 252);
- localRSInterface1.child(15, 15125, 170, 200);
- localRSInterface1.child(16, 15112, 24, 30);
- localRSInterface1.child(18, 15113, 24, 122);
- localRSInterface1.child(19, 15114, 24, 223);
- localRSInterface1.child(20, 1645, 399, 97);
- localRSInterface1.child(21, 1646, 399, 163);
- localRSInterface1.child(22, 1647, 399, 163);
- localRSInterface1.child(23, 1648, 399, 204);
- localRSInterface1.child(24, 1649, 343, 176);
- localRSInterface1.child(25, 1650, 343, 212);
- localRSInterface1.child(26, 1651, 455, 176);
- localRSInterface1.child(27, 1652, 455, 212);
- localRSInterface1.child(28, 1653, 369, 139);
- localRSInterface1.child(29, 1654, 428, 139);
- localRSInterface1.child(30, 1655, 379, 100);
- localRSInterface1.child(31, 1656, 433, 99);
- localRSInterface1.child(32, 1657, 399, 62);
- localRSInterface1.child(33, 1658, 358, 101);
- localRSInterface1.child(34, 1659, 399, 101);
- localRSInterface1.child(35, 1660, 440, 101);
- localRSInterface1.child(36, 1661, 343, 140);
- localRSInterface1.child(37, 1662, 399, 140);
- localRSInterface1.child(38, 1663, 455, 140);
- localRSInterface1.child(39, 1664, 399, 180);
- localRSInterface1.child(40, 1665, 399, 220);
- localRSInterface1.child(41, 1666, 343, 220);
- localRSInterface1.child(42, 1667, 455, 220);
- localRSInterface1.child(43, 1688, 345, 102);
- localRSInterface1.child(44, 22024, 457, 30);
- localRSInterface1.child(45, 22025, 457, 30);
- RSInterface localRSInterface2;
- for (k = 1675; k <= 1684; k++) {
- localRSInterface2 = interfaceCache[k];
- localRSInterface2.textColor = 16749056;
- localRSInterface2.centerText = false;
- }for (k = 1686; k <= 1687; k++) {
- localRSInterface2 = interfaceCache[k];
- localRSInterface2.textColor = 16749056;
- localRSInterface2.centerText = false;
- }
- }
- public static void addSkillHovers(int paramInt1, int paramInt2)
- {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.type = 8;
- localRSInterface.contentType = paramInt2;
- localRSInterface.message = null;
- localRSInterface.height = 27;
- localRSInterface.width = 60;
- }
- public static void addvalueCompareTypeHovers(int paramInt1, int paramInt2)
- {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.type = 8;
- localRSInterface.contentType = paramInt2;
- localRSInterface.message = null;
- localRSInterface.height = 27;
- localRSInterface.width = 60;
- }
- public static void addSprite(int paramInt1, String paramString1, String paramString2, int paramInt2, int paramInt3, int paramInt4)
- {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 1;
- localRSInterface.contentType = -1;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramString1);
- localRSInterface.sprite2 = imageLoader(paramString1);
- localRSInterface.tooltip = paramString2;
- localRSInterface.mOverInterToTrigger = paramInt2;
- localRSInterface.width = paramInt3;
- localRSInterface.height = paramInt4;
- }
- public static void Hovers(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = interfaceCache[3984];
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[2];
- localRSInterface.message = "Total level %1";
- addSkillHovers(9215, 204);
- addSkillHovers(9216, 229);
- addSkillHovers(9217, 206);
- addSkillHovers(9218, 207);
- addSkillHovers(9219, 208);
- addSkillHovers(9220, 209);
- addSkillHovers(9221, 210);
- addSkillHovers(9222, 211);
- addSkillHovers(9223, 212);
- addSkillHovers(9224, 213);
- addSkillHovers(9225, 214);
- addSkillHovers(9226, 215);
- addSkillHovers(9227, 216);
- addSkillHovers(9228, 217);
- addSkillHovers(9229, 218);
- addSkillHovers(9230, 219);
- addSkillHovers(9231, 220);
- addSkillHovers(9232, 221);
- addSkillHovers(9233, 222);
- addSkillHovers(9234, 223);
- addSkillHovers(9235, 224);
- addSkillHovers(9236, 225);
- addSkillHovers(9237, 226);
- addSkillHovers(9238, 227);
- addSkillHovers(9239, 228);
- int[] arrayOfInt = { 22582, 22544, 22546, 22548, 22550, 22552, 22554, 22556, 22558, 22560, 22562, 22564, 22566, 22568, 22570, 22572, 22574, 22576, 22578, 22580 };
- for (int i = 0; i < arrayOfInt.length; i++)
- addvalueCompareTypeHovers(arrayOfInt[i], 240 + i);
- }
- public static void skillTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(7101);
- addSprite(7102, "Skill/Button", "Open Attack Guide", 9215, 60, 27);
- addSprite(7103, "Skill/Button", "Open Hitpoints Guide", 9216, 60, 27);
- addSprite(7104, "Skill/Button", "Open Mining Guide", 9217, 60, 27);
- addSprite(7105, "Skill/Button", "Open Strength Guide", 9218, 60, 27);
- addSprite(7106, "Skill/Button", "Open Agility Guide", 9219, 60, 27);
- addSprite(7107, "Skill/Button", "Open Smithing Guide", 9220, 60, 27);
- addSprite(7108, "Skill/Button", "Open Defence Guide", 9221, 60, 27);
- addSprite(7109, "Skill/Button", "Open Herblore Guide", 9222, 60, 27);
- addSprite(7110, "Skill/Button", "Open Fishing Guide", 9223, 60, 27);
- addSprite(7111, "Skill/Button", "Open Ranging Guide", 9224, 60, 27);
- addSprite(7112, "Skill/Button", "Open Thieving Guide", 9225, 60, 27);
- addSprite(7113, "Skill/Button", "Open Cooking Guide", 9226, 60, 27);
- addSprite(7114, "Skill/Button", "Open Prayer Guide", 9227, 60, 27);
- addSprite(7115, "Skill/Button", "Open Crafting Guide", 9228, 60, 27);
- addSprite(7116, "Skill/Button", "Open Firemaking Guide", 9229, 60, 27);
- addSprite(7117, "Skill/Button", "Open Magic Guide", 9230, 60, 27);
- addSprite(7118, "Skill/Button", "Open Fletching Guide", 9231, 60, 27);
- addSprite(7119, "Skill/Button", "Open Woodcutting Guide", 9232, 60, 27);
- addSprite(7120, "Skill/Button", "Open Runecrafting Guide", 9233, 60, 27);
- addSprite(7121, "Skill/Button", "Open Slaying Guide", 9234, 60, 27);
- addSprite(7122, "Skill/Button", "Open Farming Guide", 9235, 60, 27);
- addSprite(7123, "Skill/Button", "Open Construction Guide", 9236, 60, 27);
- addSprite(7124, "Skill/Button", "Open Hunter Guide", 9237, 60, 27);
- addSprite(7125, "Skill/Button", "Open Summoning Guide", 9238, 60, 27);
- addSprite(7126, "Skill/Button", "Open Dungeoneering Guide", 9239, 60, 27);
- addText(7127, "Total Level: 2475", 16776960, false, false, 52, paramArrayOfTextDrawingArea, 2);
- addSprite(7128, "Skill/Dungeon");
- addSprite(7129, "Skill/Attack");
- addSprite(7130, "Skill/Strength");
- addSprite(7131, "Skill/Defence");
- addSprite(7132, "Skill/Range");
- addSprite(7133, "Skill/Prayer");
- addSprite(7134, "Skill/Mage");
- addSprite(7135, "Skill/Rune");
- addSprite(7136, "Skill/Construction");
- addSprite(7137, "Skill/HP");
- addSprite(7138, "Skill/Agility");
- addSprite(7139, "Skill/Herblore");
- addSprite(7140, "Skill/Thief");
- addSprite(7141, "Skill/Craft");
- addSprite(7142, "Skill/Fletch");
- addSprite(7143, "Skill/Slay");
- addSprite(7144, "Skill/Hunter");
- addSprite(7145, "Skill/Mine");
- addSprite(7146, "Skill/Smith");
- addSprite(7147, "Skill/Fish");
- addSprite(7148, "Skill/Cook");
- addSprite(7149, "Skill/Fire");
- addSprite(7150, "Skill/Wood");
- addSprite(7151, "Skill/Farm");
- addSprite(7152, "Skill/Summon");
- addText(7157, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7158, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7159, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7160, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7161, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7162, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7163, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7164, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7165, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7166, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7167, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7168, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7169, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7170, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7171, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7172, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7173, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7174, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7175, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7176, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7177, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7178, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7179, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7180, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7181, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7182, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7183, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7184, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7185, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7186, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7187, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7188, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7189, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7190, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7191, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7192, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7193, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7194, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7195, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7196, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7197, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7198, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7199, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7200, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7201, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7202, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7203, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7204, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7205, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- addText(7206, "99", 16776960, false, true, -1, paramArrayOfTextDrawingArea, 0);
- localRSInterface.totalChildren(126);
- localRSInterface.child(0, 7102, 3, 5);
- localRSInterface.child(1, 7103, 66, 5);
- localRSInterface.child(2, 7104, 128, 5);
- localRSInterface.child(3, 7105, 3, 33);
- localRSInterface.child(4, 7106, 66, 33);
- localRSInterface.child(5, 7107, 128, 33);
- localRSInterface.child(6, 7108, 3, 61);
- localRSInterface.child(7, 7109, 66, 61);
- localRSInterface.child(8, 7110, 128, 61);
- localRSInterface.child(9, 7111, 3, 89);
- localRSInterface.child(10, 7112, 66, 89);
- localRSInterface.child(11, 7113, 128, 89);
- localRSInterface.child(12, 7114, 3, 117);
- localRSInterface.child(13, 7115, 66, 117);
- localRSInterface.child(14, 7116, 128, 117);
- localRSInterface.child(15, 7117, 3, 145);
- localRSInterface.child(16, 7118, 66, 145);
- localRSInterface.child(17, 7119, 128, 145);
- localRSInterface.child(18, 7120, 3, 173);
- localRSInterface.child(19, 7121, 66, 173);
- localRSInterface.child(20, 7122, 128, 173);
- localRSInterface.child(21, 7123, 3, 201);
- localRSInterface.child(22, 7124, 66, 201);
- localRSInterface.child(23, 7125, 128, 201);
- localRSInterface.child(24, 7126, 3, 229);
- localRSInterface.child(25, 7127, 70, 235);
- localRSInterface.child(26, 7128, 5, 231);
- localRSInterface.child(27, 7129, 4, 7);
- localRSInterface.child(28, 7130, 9, 35);
- localRSInterface.child(29, 7131, 9, 65);
- localRSInterface.child(30, 7132, 6, 93);
- localRSInterface.child(31, 7133, 5, 118);
- localRSInterface.child(32, 7134, 5, 147);
- localRSInterface.child(33, 7135, 5, 174);
- localRSInterface.child(34, 7136, 5, 203);
- localRSInterface.child(35, 7137, 69, 9);
- localRSInterface.child(36, 7138, 67, 34);
- localRSInterface.child(37, 7139, 67, 63);
- localRSInterface.child(38, 7140, 68, 94);
- localRSInterface.child(39, 7141, 70, 120);
- localRSInterface.child(40, 7142, 69, 147);
- localRSInterface.child(41, 7143, 68, 174);
- localRSInterface.child(42, 7144, 68, 202);
- localRSInterface.child(43, 7145, 130, 7);
- localRSInterface.child(44, 7146, 132, 38);
- localRSInterface.child(45, 7147, 132, 62);
- localRSInterface.child(46, 7148, 132, 91);
- localRSInterface.child(47, 7149, 131, 119);
- localRSInterface.child(48, 7150, 132, 147);
- localRSInterface.child(49, 7151, 131, 175);
- localRSInterface.child(50, 7152, 133, 203);
- localRSInterface.child(51, 7157, 32, 231);
- localRSInterface.child(52, 7158, 45, 242);
- localRSInterface.child(53, 7159, 32, 7);
- localRSInterface.child(54, 7160, 45, 18);
- localRSInterface.child(55, 7161, 32, 35);
- localRSInterface.child(56, 7162, 45, 46);
- localRSInterface.child(57, 7163, 32, 63);
- localRSInterface.child(58, 7164, 45, 74);
- localRSInterface.child(59, 7165, 32, 91);
- localRSInterface.child(60, 7166, 45, 102);
- localRSInterface.child(61, 7167, 32, 119);
- localRSInterface.child(62, 7168, 45, 130);
- localRSInterface.child(63, 7169, 32, 147);
- localRSInterface.child(64, 7170, 45, 158);
- localRSInterface.child(65, 7171, 32, 175);
- localRSInterface.child(66, 7172, 45, 186);
- localRSInterface.child(67, 7173, 32, 203);
- localRSInterface.child(68, 7174, 45, 214);
- localRSInterface.child(69, 7175, 95, 7);
- localRSInterface.child(70, 7176, 108, 18);
- localRSInterface.child(71, 7177, 95, 35);
- localRSInterface.child(72, 7178, 108, 46);
- localRSInterface.child(73, 7179, 95, 63);
- localRSInterface.child(74, 7180, 108, 74);
- localRSInterface.child(75, 7181, 95, 91);
- localRSInterface.child(76, 7182, 108, 102);
- localRSInterface.child(77, 7183, 95, 119);
- localRSInterface.child(78, 7184, 108, 130);
- localRSInterface.child(79, 7185, 95, 147);
- localRSInterface.child(80, 7186, 108, 158);
- localRSInterface.child(81, 7187, 95, 175);
- localRSInterface.child(82, 7188, 108, 186);
- localRSInterface.child(83, 7189, 95, 203);
- localRSInterface.child(84, 7190, 108, 214);
- localRSInterface.child(85, 7191, 158, 7);
- localRSInterface.child(86, 7192, 171, 18);
- localRSInterface.child(87, 7193, 158, 35);
- localRSInterface.child(88, 7194, 171, 46);
- localRSInterface.child(89, 7195, 158, 63);
- localRSInterface.child(90, 7196, 171, 74);
- localRSInterface.child(91, 7197, 158, 91);
- localRSInterface.child(92, 7198, 171, 102);
- localRSInterface.child(93, 7199, 158, 119);
- localRSInterface.child(94, 7200, 171, 130);
- localRSInterface.child(95, 7201, 158, 147);
- localRSInterface.child(96, 7202, 171, 158);
- localRSInterface.child(97, 7203, 158, 175);
- localRSInterface.child(98, 7204, 171, 186);
- localRSInterface.child(99, 7205, 158, 203);
- localRSInterface.child(100, 7206, 171, 214);
- localRSInterface.child(101, 9215, 3, 5);
- localRSInterface.child(102, 9216, 66, 5);
- localRSInterface.child(103, 9217, 128, 5);
- localRSInterface.child(104, 9218, 3, 33);
- localRSInterface.child(105, 9219, 66, 33);
- localRSInterface.child(106, 9220, 128, 33);
- localRSInterface.child(107, 9221, 3, 61);
- localRSInterface.child(108, 9222, 66, 61);
- localRSInterface.child(109, 9223, 128, 61);
- localRSInterface.child(110, 9224, 3, 89);
- localRSInterface.child(111, 9225, 66, 89);
- localRSInterface.child(112, 9226, 128, 89);
- localRSInterface.child(113, 9227, 3, 117);
- localRSInterface.child(114, 9228, 66, 117);
- localRSInterface.child(115, 9229, 128, 117);
- localRSInterface.child(116, 9230, 3, 145);
- localRSInterface.child(117, 9231, 66, 145);
- localRSInterface.child(118, 9232, 128, 145);
- localRSInterface.child(119, 9233, 3, 173);
- localRSInterface.child(120, 9234, 66, 173);
- localRSInterface.child(121, 9235, 128, 173);
- localRSInterface.child(122, 9236, 3, 201);
- localRSInterface.child(123, 9237, 66, 201);
- localRSInterface.child(124, 9238, 128, 201);
- localRSInterface.child(125, 9239, 3, 229);
- }
- public static void EquipmentScreen(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(15106);
- addSprite(15107, 1, "Interfaces/Equipment/bg");
- addHoverButton(15210, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 15211, 3);
- addHoveredButton(15211, "Interfaces/Equipment/SPRITE", 3, 21, 21, 15212);
- addText(15111, "", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(15112, "Attack bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
- addText(15113, "Defence bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
- addText(15114, "Other bonuses", paramArrayOfTextDrawingArea, 2, 16746752, false, true);
- for (int i = 1675; i <= 1684; i++) textSize(i, paramArrayOfTextDrawingArea, 1);
- textSize(1686, paramArrayOfTextDrawingArea, 1); textSize(1687, paramArrayOfTextDrawingArea, 1);
- addChar(15125);
- localRSInterface1.totalChildren(44);
- localRSInterface1.child(0, 15107, 15, 5);
- localRSInterface1.child(1, 15210, 476, 8);
- localRSInterface1.child(2, 15211, 476, 8);
- localRSInterface1.child(3, 15111, 14, 30);
- i = 4; int j = 45;
- for (int k = 1675; k <= 1679; k++) {
- localRSInterface1.child(i, k, 29, j);
- i++; j += 14;
- }localRSInterface1.child(9, 1680, 29, 137);
- localRSInterface1.child(10, 1681, 29, 153);
- localRSInterface1.child(11, 1682, 29, 168);
- localRSInterface1.child(12, 1683, 29, 183);
- localRSInterface1.child(13, 1684, 29, 197);
- localRSInterface1.child(14, 1686, 29, 238);
- localRSInterface1.child(17, 1687, 29, 252);
- localRSInterface1.child(15, 15125, 170, 200);
- localRSInterface1.child(16, 15112, 24, 30);
- localRSInterface1.child(18, 15113, 24, 122);
- localRSInterface1.child(19, 15114, 24, 223);
- localRSInterface1.child(20, 1645, 399, 97);
- localRSInterface1.child(21, 1646, 399, 163);
- localRSInterface1.child(22, 1647, 399, 163);
- localRSInterface1.child(23, 1648, 399, 204);
- localRSInterface1.child(24, 1649, 343, 176);
- localRSInterface1.child(25, 1650, 343, 212);
- localRSInterface1.child(26, 1651, 455, 176);
- localRSInterface1.child(27, 1652, 455, 212);
- localRSInterface1.child(28, 1653, 369, 139);
- localRSInterface1.child(29, 1654, 428, 139);
- localRSInterface1.child(30, 1655, 379, 100);
- localRSInterface1.child(31, 1656, 433, 99);
- localRSInterface1.child(32, 1657, 399, 62);
- localRSInterface1.child(33, 1658, 358, 101);
- localRSInterface1.child(34, 1659, 399, 101);
- localRSInterface1.child(35, 1660, 440, 101);
- localRSInterface1.child(36, 1661, 343, 140);
- localRSInterface1.child(37, 1662, 399, 140);
- localRSInterface1.child(38, 1663, 455, 140);
- localRSInterface1.child(39, 1664, 399, 180);
- localRSInterface1.child(40, 1665, 399, 220);
- localRSInterface1.child(41, 1666, 343, 220);
- localRSInterface1.child(42, 1667, 455, 220);
- localRSInterface1.child(43, 1688, 345, 102);
- RSInterface localRSInterface2;
- for (k = 1675; k <= 1684; k++) {
- localRSInterface2 = interfaceCache[k];
- localRSInterface2.textColor = 16749056;
- localRSInterface2.centerText = false;
- }for (k = 1686; k <= 1687; k++) {
- localRSInterface2 = interfaceCache[k];
- localRSInterface2.textColor = 16749056;
- localRSInterface2.centerText = false;
- }
- }
- public static void cornerText(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addScreenInterface(16128);
- addText(16129, "Barrows Killcount", paramArrayOfTextDrawingArea, 1, 3684408, true, true);
- localRSInterface.totalChildren(1);
- localRSInterface.child(0, 16129, 470, 317);
- }
- public static void addPrayerTooltip(int paramInt, String paramString) {
- RSInterface localRSInterface = addTabInterface(paramInt);
- localRSInterface.type = 8;
- localRSInterface.message = paramString;
- localRSInterface.height = 34;
- localRSInterface.width = 34;
- localRSInterface.inventoryhover = true;
- }
- public static void setBoundry(int paramInt1, int paramInt2, int paramInt3, int paramInt4, RSInterface paramRSInterface)
- {
- paramRSInterface.children[paramInt1] = paramInt2;
- paramRSInterface.childX[paramInt1] = paramInt3;
- paramRSInterface.childY[paramInt1] = paramInt4;
- }
- public static void addPrayer(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString) {
- RSInterface localRSInterface1 = addTabInterface(paramInt1);
- localRSInterface1.id = paramInt1;
- localRSInterface1.parentID = 5608;
- localRSInterface1.type = 5;
- localRSInterface1.atActionType = 4;
- localRSInterface1.contentType = 0;
- localRSInterface1.opacity = 0;
- localRSInterface1.mOverInterToTrigger = -1;
- localRSInterface1.sprite1 = imageLoader(0, "PRAYERGLOW");
- localRSInterface1.sprite2 = imageLoader(1, "PRAYERGLOW");
- localRSInterface1.width = 34;
- localRSInterface1.height = 34;
- localRSInterface1.valueCompareType = new int[1];
- localRSInterface1.requiredValues = new int[1];
- localRSInterface1.valueCompareType[0] = 1;
- localRSInterface1.requiredValues[0] = paramInt2;
- localRSInterface1.valueIndexArray = new int[1][3];
- localRSInterface1.valueIndexArray[0][0] = 5;
- localRSInterface1.valueIndexArray[0][1] = paramInt3;
- localRSInterface1.valueIndexArray[0][2] = 0;
- RSInterface localRSInterface2 = addTabInterface(paramInt1 + 1);
- localRSInterface2.id = (paramInt1 + 1);
- localRSInterface2.parentID = 5608;
- localRSInterface2.type = 5;
- localRSInterface2.atActionType = 0;
- localRSInterface2.contentType = 0;
- localRSInterface2.opacity = 0;
- localRSInterface2.mOverInterToTrigger = -1;
- localRSInterface2.sprite1 = imageLoader(paramInt5, "Prayer/PRAYON");
- localRSInterface2.sprite2 = imageLoader(paramInt5, "Prayer/PRAYOFF");
- localRSInterface2.width = 34;
- localRSInterface2.height = 34;
- localRSInterface2.valueCompareType = new int[1];
- localRSInterface2.requiredValues = new int[1];
- localRSInterface2.valueCompareType[0] = 2;
- localRSInterface2.requiredValues[0] = (paramInt2 + 1);
- localRSInterface2.valueIndexArray = new int[1][3];
- localRSInterface2.valueIndexArray[0][0] = 5;
- localRSInterface2.valueIndexArray[0][1] = 2;
- localRSInterface2.valueIndexArray[0][2] = 0;
- }
- public static void prayerTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(5608);
- RSInterface localRSInterface2 = interfaceCache[687];
- localRSInterface2.textColor = 16750623;
- localRSInterface2.textShadow = true;
- localRSInterface2.message = "%1/%2";
- addSprite(5651, 0, "PRAYER");
- addPrayer(18000, 0, 601, 7, 0, "Sharp Eye");
- addPrayer(18002, 0, 602, 8, 1, "Mystic Will");
- addPrayer(18004, 0, 603, 25, 2, "Hawk Eye");
- addPrayer(18006, 0, 604, 26, 3, "Mystic Lore");
- addPrayer(18008, 0, 605, 43, 4, "Eagle Eye");
- addPrayer(18010, 0, 606, 44, 5, "Mystic Might");
- addPrayer(18012, 0, 607, 59, 6, "Chivalry");
- addPrayer(18014, 0, 608, 69, 7, "Piety");
- localRSInterface1.totalChildren(54);
- localRSInterface1.child(0, 5609, 6, 4);
- localRSInterface1.child(1, 5610, 42, 4);
- localRSInterface1.child(2, 5611, 78, 4);
- localRSInterface1.child(3, 5612, 6, 40);
- localRSInterface1.child(4, 5613, 42, 40);
- localRSInterface1.child(5, 5614, 78, 40);
- localRSInterface1.child(6, 5615, 114, 40);
- localRSInterface1.child(7, 5616, 150, 40);
- localRSInterface1.child(8, 5617, 6, 76);
- localRSInterface1.child(9, 5618, 114, 76);
- localRSInterface1.child(10, 5619, 150, 76);
- localRSInterface1.child(11, 5620, 6, 112);
- localRSInterface1.child(12, 5621, 42, 112);
- localRSInterface1.child(13, 5622, 78, 112);
- localRSInterface1.child(14, 5623, 114, 112);
- localRSInterface1.child(15, 683, 42, 148);
- localRSInterface1.child(16, 684, 78, 148);
- localRSInterface1.child(17, 685, 114, 148);
- localRSInterface1.child(18, 5632, 8, 6);
- localRSInterface1.child(19, 5633, 44, 6);
- localRSInterface1.child(20, 5634, 80, 6);
- localRSInterface1.child(21, 5635, 8, 42);
- localRSInterface1.child(22, 5636, 44, 42);
- localRSInterface1.child(23, 5637, 80, 42);
- localRSInterface1.child(24, 5638, 116, 42);
- localRSInterface1.child(25, 5639, 152, 42);
- localRSInterface1.child(26, 5640, 8, 79);
- localRSInterface1.child(27, 5641, 116, 78);
- localRSInterface1.child(28, 5642, 152, 78);
- localRSInterface1.child(29, 5643, 8, 114);
- localRSInterface1.child(30, 5644, 44, 114);
- localRSInterface1.child(31, 686, 80, 114);
- localRSInterface1.child(32, 5645, 116, 114);
- localRSInterface1.child(33, 5649, 44, 150);
- localRSInterface1.child(34, 5647, 80, 150);
- localRSInterface1.child(35, 5648, 116, 150);
- localRSInterface1.child(36, 18000, 114, 4);
- localRSInterface1.child(37, 18001, 117, 8);
- localRSInterface1.child(38, 18002, 150, 4);
- localRSInterface1.child(39, 18003, 153, 7);
- localRSInterface1.child(40, 18004, 42, 76);
- localRSInterface1.child(41, 18005, 45, 80);
- localRSInterface1.child(42, 18006, 78, 76);
- localRSInterface1.child(43, 18007, 81, 79);
- localRSInterface1.child(44, 18008, 150, 112);
- localRSInterface1.child(45, 18009, 153, 116);
- localRSInterface1.child(46, 18010, 6, 148);
- localRSInterface1.child(47, 18011, 9, 151);
- localRSInterface1.child(48, 18012, 154, 149);
- localRSInterface1.child(49, 18013, 157, 151);
- localRSInterface1.child(50, 18014, 6, 194);
- localRSInterface1.child(51, 18015, 8, 194);
- localRSInterface1.child(52, 5651, 65, 242);
- localRSInterface1.child(53, 687, 85, 241);
- 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" };
- int i = 0;
- RSInterface localRSInterface3;
- for (int j = 5609; j <= 5623; j++) {
- localRSInterface3 = interfaceCache[j];
- localRSInterface3.tooltip = ("Activate @or2@" + arrayOfString[(i++)]);
- }
- for (j = 683; j <= 685; j++) {
- localRSInterface3 = interfaceCache[j];
- localRSInterface3.tooltip = ("Activate @or2@" + arrayOfString[(i++)]);
- }
- }
- public static void configureLunar(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- homeTeleport();
- drawRune(30003, 1, "Fire");
- drawRune(30004, 2, "Water");
- drawRune(30005, 3, "Air");
- drawRune(30006, 4, "Earth");
- drawRune(30007, 5, "Mind");
- drawRune(30008, 6, "Body");
- drawRune(30009, 7, "Death");
- drawRune(30010, 8, "Nature");
- drawRune(30011, 9, "Chaos");
- drawRune(30012, 10, "Law");
- drawRune(30013, 11, "Cosmic");
- drawRune(30014, 12, "Blood");
- drawRune(30015, 13, "Soul");
- drawRune(30016, 14, "Astral");
- addLunar3RunesSmallBox(30017, 9075, 554, 555, 0, 4, 3, 30003, 30004, 64, "Bake Pie", "Bake pies without a stove", paramArrayOfTextDrawingArea, 0, 16, 2);
- addLunar2RunesSmallBox(30025, 9075, 557, 0, 7, 30006, 65, "Cure Plant", "Cure disease on farming patch", paramArrayOfTextDrawingArea, 1, 4, 2);
- addLunar3RunesBigBox(30032, 9075, 564, 558, 0, 0, 0, 30013, 30007, 65, "Monster Examine", "Detect the combat statistics of a\\nmonster", paramArrayOfTextDrawingArea, 2, 2, 2);
- addLunar3RunesSmallBox(30040, 9075, 564, 556, 0, 0, 1, 30013, 30005, 66, "NPC Contact", "Speak with varied NPCs", paramArrayOfTextDrawingArea, 3, 0, 2);
- addLunar3RunesSmallBox(30048, 9075, 563, 557, 0, 0, 9, 30012, 30006, 67, "Cure Other", "Cure poisoned players", paramArrayOfTextDrawingArea, 4, 8, 2);
- addLunar3RunesSmallBox(30056, 9075, 555, 554, 0, 2, 0, 30004, 30003, 67, "Humidify", "fills certain vessels with water", paramArrayOfTextDrawingArea, 5, 0, 5);
- addLunar3RunesSmallBox(30064, 9075, 563, 557, 1, 0, 1, 30012, 30006, 68, "Town Teleport", "Teleports you to Various Towns", paramArrayOfTextDrawingArea, 6, 0, 5);
- addLunar3RunesBigBox(30075, 9075, 563, 557, 1, 0, 3, 30012, 30006, 69, "Mini Teleports 1", "Teleport to various Mini's.", paramArrayOfTextDrawingArea, 7, 0, 5);
- addLunar3RunesSmallBox(30083, 9075, 563, 557, 1, 0, 5, 30012, 30006, 70, "RuneCrafting Teleport", "Teleports You To Runecrafting Spots", paramArrayOfTextDrawingArea, 8, 0, 5);
- addLunar3RunesSmallBox(30091, 9075, 564, 563, 1, 1, 0, 30013, 30012, 70, "Cure Me", "Cures Poison", paramArrayOfTextDrawingArea, 9, 0, 5);
- addLunar2RunesSmallBox(30099, 9075, 557, 1, 1, 30006, 70, "Hunter Kit", "Get a kit of hunting gear", paramArrayOfTextDrawingArea, 10, 0, 5);
- addLunar3RunesSmallBox(30106, 9075, 563, 555, 1, 0, 0, 30012, 30004, 71, "Monster Teleport 1", "Teleport to various Monster's.", paramArrayOfTextDrawingArea, 11, 0, 5);
- addLunar3RunesBigBox(30114, 9075, 563, 555, 1, 0, 4, 30012, 30004, 72, "Monster Teleport 2", "Teleport to various Monster's.", paramArrayOfTextDrawingArea, 12, 0, 5);
- addLunar3RunesSmallBox(30122, 9075, 564, 563, 1, 1, 1, 30013, 30012, 73, "Cure Group", "Cures Poison on players", paramArrayOfTextDrawingArea, 13, 0, 5);
- 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);
- addLunar3RunesBigBox(30138, 9075, 563, 554, 1, 1, 2, 30012, 30003, 74, "Wilderness Teleport", "Teleport to various Wildy spots.", paramArrayOfTextDrawingArea, 15, 0, 5);
- addLunar3RunesBigBox(30146, 9075, 563, 554, 1, 1, 5, 30012, 30003, 75, "Tele Group Barbarian", "Teleports players to the Barbarian\\noutpost", paramArrayOfTextDrawingArea, 16, 0, 5);
- addLunar3RunesSmallBox(30154, 9075, 554, 556, 1, 5, 9, 30003, 30005, 76, "Superglass Make", "Make glass without a furnace", paramArrayOfTextDrawingArea, 17, 16, 2);
- addLunar3RunesSmallBox(30162, 9075, 563, 555, 1, 1, 3, 30012, 30004, 77, "Khazard Teleport", "Teleports you to Port khazard", paramArrayOfTextDrawingArea, 18, 0, 5);
- addLunar3RunesSmallBox(30170, 9075, 563, 555, 1, 1, 7, 30012, 30004, 78, "Tele Group Khazard", "Teleports players to Port khazard", paramArrayOfTextDrawingArea, 19, 0, 5);
- 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);
- addLunar3RunesSmallBox(30186, 9075, 557, 555, 1, 9, 4, 30006, 30004, 79, "String Jewellery", "String amulets without wool", paramArrayOfTextDrawingArea, 21, 0, 5);
- 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);
- addLunar3RunesSmallBox(30202, 9075, 554, 555, 1, 6, 6, 30003, 30004, 81, "Magic Imbue", "Combine runes without a talisman", paramArrayOfTextDrawingArea, 23, 0, 5);
- addLunar3RunesBigBox(30210, 9075, 561, 557, 2, 1, 14, 30010, 30006, 82, "Fertile Soil", "Fertilise a farming patch with super\\ncompost", paramArrayOfTextDrawingArea, 24, 4, 2);
- 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);
- addLunar3RunesSmallBox(30226, 9075, 563, 555, 2, 2, 9, 30012, 30004, 84, "Fishing Guild Teleport", "Teleports you to the fishing guild", paramArrayOfTextDrawingArea, 26, 0, 5);
- 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);
- addLunar3RunesSmallBox(30242, 9075, 557, 561, 2, 14, 0, 30006, 30010, 85, "Plank Make", "Turn Logs into planks", paramArrayOfTextDrawingArea, 28, 16, 5);
- addLunar3RunesSmallBox(30250, 9075, 563, 555, 2, 2, 9, 30012, 30004, 86, "Catherby Teleport", "Teleports you to Catherby", paramArrayOfTextDrawingArea, 29, 0, 5);
- addLunar3RunesSmallBox(30258, 9075, 563, 555, 2, 2, 14, 30012, 30004, 87, "Tele Group Catherby", "Teleports players to Catherby", paramArrayOfTextDrawingArea, 30, 0, 5);
- addLunar3RunesSmallBox(30266, 9075, 563, 555, 2, 2, 7, 30012, 30004, 88, "Ice Plateau Teleport", "Teleports you to Ice Plateau", paramArrayOfTextDrawingArea, 31, 0, 5);
- 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);
- 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);
- 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);
- 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);
- addLunar3RunesSmallBox(30306, 9075, 560, 557, 3, 1, 9, 30009, 30006, 93, "Vengeance", "Rebound damage to an opponent", paramArrayOfTextDrawingArea, 36, 0, 5);
- 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);
- 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);
- }
- public static void constructLunar() {
- RSInterface localRSInterface = addInterface(29999);
- setChildren(71, localRSInterface);
- setBounds(30000, 11, 10, 0, localRSInterface);
- setBounds(30017, 40, 9, 1, localRSInterface);
- setBounds(30025, 71, 12, 2, localRSInterface);
- setBounds(30032, 103, 10, 3, localRSInterface);
- setBounds(30040, 135, 12, 4, localRSInterface);
- setBounds(30048, 165, 10, 5, localRSInterface);
- setBounds(30056, 8, 38, 6, localRSInterface);
- setBounds(30064, 39, 39, 7, localRSInterface);
- setBounds(30075, 71, 39, 8, localRSInterface);
- setBounds(30083, 103, 39, 9, localRSInterface);
- setBounds(30091, 135, 39, 10, localRSInterface);
- setBounds(30099, 165, 37, 11, localRSInterface);
- setBounds(30106, 12, 68, 12, localRSInterface);
- setBounds(30114, 42, 68, 13, localRSInterface);
- setBounds(30122, 71, 68, 14, localRSInterface);
- setBounds(30130, 103, 68, 15, localRSInterface);
- setBounds(30138, 135, 68, 16, localRSInterface);
- setBounds(30146, 165, 68, 17, localRSInterface);
- setBounds(30154, 14, 97, 18, localRSInterface);
- setBounds(30162, 42, 97, 19, localRSInterface);
- setBounds(30170, 71, 97, 20, localRSInterface);
- setBounds(30178, 101, 97, 21, localRSInterface);
- setBounds(30186, 135, 98, 22, localRSInterface);
- setBounds(30194, 168, 98, 23, localRSInterface);
- setBounds(30202, 11, 125, 24, localRSInterface);
- setBounds(30210, 42, 124, 25, localRSInterface);
- setBounds(30218, 74, 125, 26, localRSInterface);
- setBounds(30226, 103, 125, 27, localRSInterface);
- setBounds(30234, 135, 125, 28, localRSInterface);
- setBounds(30242, 164, 126, 29, localRSInterface);
- setBounds(30250, 10, 155, 30, localRSInterface);
- setBounds(30258, 42, 155, 31, localRSInterface);
- setBounds(30266, 71, 155, 32, localRSInterface);
- setBounds(30274, 103, 155, 33, localRSInterface);
- setBounds(30282, 136, 155, 34, localRSInterface);
- setBounds(30290, 165, 155, 35, localRSInterface);
- setBounds(30298, 13, 185, 36, localRSInterface);
- setBounds(30306, 42, 185, 37, localRSInterface);
- setBounds(30314, 71, 184, 38, localRSInterface);
- setBounds(30322, 104, 184, 39, localRSInterface);
- setBounds(30001, 6, 184, 40, localRSInterface);
- setBounds(30018, 5, 176, 41, localRSInterface);
- setBounds(30026, 5, 176, 42, localRSInterface);
- setBounds(30033, 5, 163, 43, localRSInterface);
- setBounds(30041, 5, 176, 44, localRSInterface);
- setBounds(30049, 5, 176, 45, localRSInterface);
- setBounds(30057, 5, 176, 46, localRSInterface);
- setBounds(30065, 5, 176, 47, localRSInterface);
- setBounds(30076, 5, 163, 48, localRSInterface);
- setBounds(30084, 5, 176, 49, localRSInterface);
- setBounds(30092, 5, 176, 50, localRSInterface);
- setBounds(30100, 5, 176, 51, localRSInterface);
- setBounds(30107, 5, 176, 52, localRSInterface);
- setBounds(30115, 5, 163, 53, localRSInterface);
- setBounds(30123, 5, 176, 54, localRSInterface);
- setBounds(30131, 5, 163, 55, localRSInterface);
- setBounds(30139, 5, 163, 56, localRSInterface);
- setBounds(30147, 5, 163, 57, localRSInterface);
- setBounds(30155, 5, 176, 58, localRSInterface);
- setBounds(30163, 5, 176, 59, localRSInterface);
- setBounds(30171, 5, 176, 60, localRSInterface);
- setBounds(30179, 5, 163, 61, localRSInterface);
- setBounds(30187, 5, 176, 62, localRSInterface);
- setBounds(30195, 5, 149, 63, localRSInterface);
- setBounds(30203, 5, 176, 64, localRSInterface);
- setBounds(30211, 5, 163, 65, localRSInterface);
- setBounds(30219, 5, 163, 66, localRSInterface);
- setBounds(30227, 5, 176, 67, localRSInterface);
- setBounds(30235, 5, 149, 68, localRSInterface);
- setBounds(30243, 5, 176, 69, localRSInterface);
- setBounds(30251, 5, 176, 70, localRSInterface);
- }
- public static void magicTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface1 = addTabInterface(1151);
- RSInterface localRSInterface2 = addTabInterface(1196);
- RSInterface localRSInterface3 = interfaceCache[12424];
- localRSInterface3.scrollMax = 0; localRSInterface3.height = 260; localRSInterface3.width = 190;
- 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 };
- localRSInterface1.totalChildren(63);
- localRSInterface1.child(0, 12424, 13, 24);
- for (int i = 0; i < arrayOfInt.length; i++) {
- int j = i > 34 ? 8 : 183;
- localRSInterface1.child(1, 1195, 13, 24);
- localRSInterface1.child(i + 2, arrayOfInt[i], 5, j);
- addButton(1195, 1, "Magic/Home", "Cast @gre@Home Teleport");
- RSInterface localRSInterface4 = interfaceCache[1195];
- localRSInterface4.hoverType = 1196;
- }
- for (i = 0; i < arrayOfInt.length; i++) {
- if (i < 60)
- localRSInterface3.childX[i] += 24;
- if ((i == 6) || (i == 12) || (i == 19) || (i == 35) || (i == 41) || (i == 44) || (i == 49) || (i == 51))
- localRSInterface3.childX[i] = 0;
- localRSInterface3.childY[6] = 24; localRSInterface3.childY[12] = 48;
- localRSInterface3.childY[19] = 72; localRSInterface3.childY[49] = 96;
- localRSInterface3.childY[44] = 120; localRSInterface3.childY[51] = 144;
- localRSInterface3.childY[35] = 170; localRSInterface3.childY[41] = 192;
- }
- }
- public static void ancientMagicTab(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface1 = addInterface(12855);
- addButton(12856, 1, "Magic/Home", "Cast @gre@Home Teleport");
- RSInterface localRSInterface2 = interfaceCache[12856];
- localRSInterface2.hoverType = 1196;
- 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 };
- localRSInterface1.totalChildren(arrayOfInt.length);
- int i = 0; int j = 18; for (int k = 8; i < arrayOfInt.length; j += 45) {
- if (j > 175) {
- j = 18; k += 28;
- }
- if (i < 25)
- localRSInterface1.child(i, arrayOfInt[i], j, k);
- if (i > 24) {
- k = i < 41 ? 181 : 1;
- localRSInterface1.child(i, arrayOfInt[i], 4, k);
- }
- i++;
- }
- }
- public static void drawBlackBox(int paramInt1, int paramInt2)
- {
- DrawingArea.drawPixels(71, paramInt2 - 1, paramInt1 - 2, 7496785, 1);
- DrawingArea.drawPixels(69, paramInt2, paramInt1 + 174, 7496785, 1);
- DrawingArea.drawPixels(1, paramInt2 - 2, paramInt1 - 2, 7496785, 178);
- DrawingArea.drawPixels(1, paramInt2 + 68, paramInt1, 7496785, 174);
- DrawingArea.drawPixels(71, paramInt2 - 1, paramInt1 - 1, 3025699, 1);
- DrawingArea.drawPixels(71, paramInt2 - 1, paramInt1 + 175, 3025699, 1);
- DrawingArea.drawPixels(1, paramInt2 - 1, paramInt1, 3025699, 175);
- DrawingArea.drawPixels(1, paramInt2 + 69, paramInt1, 3025699, 175);
- DrawingArea.method335(0, paramInt2, 174, 68, 220, paramInt1);
- }
- public static void addButton(int paramInt1, int paramInt2, String paramString1, String paramString2) {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 1;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
- localRSInterface.width = localRSInterface.sprite1.myWidth;
- localRSInterface.height = localRSInterface.sprite2.myHeight;
- localRSInterface.tooltip = paramString2;
- }
- public static void addClickableTextB(int paramInt1, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2, int paramInt4) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 4;
- localRSInterface.atActionType = 1;
- localRSInterface.width = paramInt4;
- localRSInterface.height = 11;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.centerText = paramBoolean1;
- localRSInterface.textShadow = paramBoolean2;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
- localRSInterface.message = paramString1;
- localRSInterface.aString228 = "";
- localRSInterface.textColor = paramInt3;
- localRSInterface.anInt219 = 0;
- localRSInterface.anInt216 = 16777215;
- localRSInterface.anInt239 = 0;
- localRSInterface.tooltip = paramString2;
- }
- public static void addClickableText(int paramInt1, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, int paramInt4, int paramInt5)
- {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 4;
- localRSInterface.atActionType = 1;
- localRSInterface.width = paramInt4;
- localRSInterface.height = paramInt5;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.centerText = false;
- localRSInterface.textShadow = true;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
- localRSInterface.message = paramString1;
- localRSInterface.tooltip = paramString2;
- localRSInterface.aString228 = "";
- localRSInterface.textColor = paramInt3;
- localRSInterface.anInt219 = 0;
- localRSInterface.anInt216 = 16777215;
- localRSInterface.anInt239 = 0;
- }
- public static void addClickableText(int paramInt1, String paramString1, String paramString2, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, int paramInt4, int paramInt5, boolean paramBoolean, int paramInt6)
- {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 4;
- localRSInterface.atActionType = paramInt6;
- localRSInterface.width = paramInt4;
- localRSInterface.height = paramInt5;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.centerText = false;
- localRSInterface.textShadow = paramBoolean;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
- localRSInterface.message = paramString1;
- localRSInterface.tooltip = paramString2;
- localRSInterface.aString228 = "";
- localRSInterface.textColor = paramInt3;
- localRSInterface.anInt219 = 0;
- localRSInterface.anInt216 = 16777215;
- localRSInterface.anInt239 = 0;
- }
- public static void addTooltipBox(int paramInt, String paramString)
- {
- RSInterface localRSInterface = addInterface(paramInt);
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.type = 8;
- localRSInterface.popupString = paramString;
- }
- public static void addTooltip(int paramInt, String paramString) {
- RSInterface localRSInterface = addInterface(paramInt);
- localRSInterface.id = paramInt;
- localRSInterface.type = 0;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.mOverInterToTrigger = -1;
- addTooltipBox(paramInt + 1, paramString);
- localRSInterface.totalChildren(1);
- localRSInterface.child(0, paramInt + 1, 0, 0);
- }
- public static void friendsTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(5065);
- RSInterface localRSInterface2 = interfaceCache[5066];
- addText(5067, "Friends List", paramArrayOfTextDrawingArea, 1, 16750899, true, true);
- addText(5070, "Add Friend", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
- addText(5071, "Delete Friend", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
- addSprite(16126, 4, "/Friends/SPRITE");
- addSprite(16127, 8, "/Friends/SPRITE");
- addHoverButton(5068, "/Friends/SPRITE", 6, 72, 32, "Add Friend", 201, 5072, 1);
- addHoveredButton(5072, "/Friends/SPRITE", 7, 72, 32, 5073);
- addHoverButton(5069, "/Friends/SPRITE", 6, 72, 32, "Delete Friend", 202, 5074, 1);
- addHoveredButton(5074, "/Friends/SPRITE", 7, 72, 32, 5075);
- localRSInterface1.totalChildren(11);
- localRSInterface1.child(0, 5067, 95, 4);
- localRSInterface1.child(1, 16127, 0, 25);
- localRSInterface1.child(2, 16126, 0, 221);
- localRSInterface1.child(3, 5066, 0, 24);
- localRSInterface1.child(4, 16126, 0, 22);
- localRSInterface1.child(5, 5068, 15, 226);
- localRSInterface1.child(6, 5072, 15, 226);
- localRSInterface1.child(7, 5069, 103, 226);
- localRSInterface1.child(8, 5074, 103, 226);
- localRSInterface1.child(9, 5070, 25, 237);
- localRSInterface1.child(10, 5071, 106, 237);
- localRSInterface2.height = 196; localRSInterface2.width = 174;
- int i = 5092; for (int j = 0; (i <= 5191) && (j <= 99); j++) {
- localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 3; localRSInterface2.childY[j] -= 7;
- i++;
- }
- i = 5192; for (j = 100; (i <= 5291) && (j <= 199); j++) {
- localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 131; localRSInterface2.childY[j] -= 7;
- i++;
- }
- }
- public static void ignoreTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(5715);
- RSInterface localRSInterface2 = interfaceCache[5716];
- addText(5717, "Ignore List", paramArrayOfTextDrawingArea, 1, 16750899, true, true);
- addText(5720, "Add Name", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
- addText(5721, "Delete Name", paramArrayOfTextDrawingArea, 0, 16750899, false, true);
- addHoverButton(5718, "/Friends/SPRITE", 6, 72, 32, "Add Name", 501, 5722, 1);
- addHoveredButton(5722, "/Friends/SPRITE", 7, 72, 32, 5723);
- addHoverButton(5719, "/Friends/SPRITE", 6, 72, 32, "Delete Name", 502, 5724, 1);
- addHoveredButton(5724, "/Friends/SPRITE", 7, 72, 32, 5725);
- localRSInterface1.totalChildren(11);
- localRSInterface1.child(0, 5717, 95, 4);
- localRSInterface1.child(1, 16127, 0, 25);
- localRSInterface1.child(2, 16126, 0, 221);
- localRSInterface1.child(3, 5716, 0, 24);
- localRSInterface1.child(4, 16126, 0, 22);
- localRSInterface1.child(5, 5718, 15, 226);
- localRSInterface1.child(6, 5722, 15, 226);
- localRSInterface1.child(7, 5719, 103, 226);
- localRSInterface1.child(8, 5724, 103, 226);
- localRSInterface1.child(9, 5720, 27, 237);
- localRSInterface1.child(10, 5721, 108, 237);
- localRSInterface2.height = 196;
- localRSInterface2.width = 174;
- int i = 5742; for (int j = 0; (i <= 5841) && (j <= 99); j++) {
- localRSInterface2.children[j] = i; localRSInterface2.childX[j] = 3; localRSInterface2.childY[j] -= 7;
- i++;
- }
- }
- private static Sprite CustomSpriteLoader(int paramInt, String paramString)
- {
- long l = (TextClass.method585(paramString) << 8) + paramInt;
- Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
- if (localSprite != null) return localSprite; try
- {
- localSprite = new Sprite("/Attack/" + paramInt + paramString);
- aMRUNodes_238.removeFromCache(localSprite, l);
- } catch (Exception localException) {
- return null;
- }return localSprite;
- }
- public static RSInterface addInterface(int paramInt)
- {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- return localRSInterface;
- }
- public static void addText(int paramInt1, String paramString, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean) {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- if (paramBoolean)
- localRSInterface.centerText = true;
- localRSInterface.textShadow = true;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
- localRSInterface.message = paramString;
- localRSInterface.textColor = paramInt3;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 4;
- }
- 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) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt2;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = paramInt3;
- localRSInterface.sprite1 = imageLoader(paramInt4, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt5, paramString1);
- localRSInterface.width = paramInt6;
- localRSInterface.tooltip = paramString2;
- localRSInterface.height = paramInt7;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 1;
- localRSInterface.requiredValues[0] = paramInt9;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt8;
- localRSInterface.valueIndexArray[0][2] = 0;
- localRSInterface = addTabInterface(paramInt3);
- localRSInterface.parentID = paramInt3;
- localRSInterface.id = paramInt3;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.width = 550;
- localRSInterface.height = 334;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.mOverInterToTrigger = -1;
- addSprite(paramInt10, paramInt11, paramInt12, paramString3, paramInt9, paramInt8);
- addHoverBox(paramInt13, paramInt1, paramString4, paramString5, paramInt9, paramInt8);
- setChildren(2, localRSInterface);
- setBounds(paramInt10, 15, 60, 0, localRSInterface);
- setBounds(paramInt13, paramInt14, paramInt15, 1, localRSInterface);
- }
- 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) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt2;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = paramInt3;
- localRSInterface.sprite1 = imageLoader(paramInt4, paramString1);
- localRSInterface.width = paramInt5;
- localRSInterface.tooltip = paramString2;
- localRSInterface.height = paramInt6;
- localRSInterface = addTabInterface(paramInt3);
- localRSInterface.parentID = paramInt3;
- localRSInterface.id = paramInt3;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.width = 550;
- localRSInterface.height = 334;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.mOverInterToTrigger = -1;
- addSprite(paramInt7, paramInt8, paramInt8, paramString3, 0, 0);
- addHoverBox(paramInt9, paramInt1, paramString4, paramString4, 0, 0);
- setChildren(2, localRSInterface);
- setBounds(paramInt7, 15, 60, 0, localRSInterface);
- setBounds(paramInt9, paramInt10, paramInt11, 1, localRSInterface);
- }
- public static void addHoverBox(int paramInt1, int paramInt2, String paramString1, String paramString2, int paramInt3, int paramInt4) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt2;
- localRSInterface.type = 8;
- localRSInterface.aString228 = paramString1;
- localRSInterface.message = paramString2;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 1;
- localRSInterface.requiredValues[0] = paramInt3;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt4;
- localRSInterface.valueIndexArray[0][2] = 0;
- }
- public static void addSprite(int paramInt1, int paramInt2, int paramInt3, String paramString, int paramInt4, int paramInt5) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 1;
- localRSInterface.requiredValues[0] = paramInt4;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt5;
- localRSInterface.valueIndexArray[0][2] = 0;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
- localRSInterface.sprite2 = imageLoader(paramInt3, paramString);
- }
- public static void textColor(int paramInt1, int paramInt2) {
- RSInterface localRSInterface = interfaceCache[paramInt1]; localRSInterface.textColor = paramInt2;
- }
- public static void textSize(int paramInt1, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2) {
- RSInterface localRSInterface = interfaceCache[paramInt1]; localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
- }
- public static void addCacheSprite(int paramInt1, int paramInt2, int paramInt3, String paramString) {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.sprite1 = method207(paramInt2, aClass44, paramString);
- localRSInterface.sprite2 = method207(paramInt3, aClass44, paramString);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 5;
- }
- public static void sprite1(int paramInt1, int paramInt2) {
- RSInterface localRSInterface = interfaceCache[paramInt1];
- localRSInterface.sprite1 = CustomSpriteLoader(paramInt2, "");
- }
- public static void addActionButton(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString)
- {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.sprite1 = CustomSpriteLoader(paramInt2, "");
- if (paramInt3 == paramInt2)
- localRSInterface.sprite2 = CustomSpriteLoader(paramInt2, "a");
- else
- localRSInterface.sprite2 = CustomSpriteLoader(paramInt3, "");
- localRSInterface.tooltip = paramString;
- localRSInterface.contentType = 0;
- localRSInterface.atActionType = 1;
- localRSInterface.width = paramInt4;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.height = paramInt5;
- }
- public static void addToggleButton(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString)
- {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.sprite1 = CustomSpriteLoader(paramInt2, "");
- localRSInterface.sprite2 = CustomSpriteLoader(paramInt2, "a");
- localRSInterface.requiredValues = new int[1];
- localRSInterface.requiredValues[0] = 1;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.valueCompareType[0] = 1;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt3;
- localRSInterface.valueIndexArray[0][2] = 0;
- localRSInterface.atActionType = 4;
- localRSInterface.width = paramInt4;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.height = paramInt5;
- localRSInterface.tooltip = paramString;
- }
- public void totalChildren(int paramInt1, int paramInt2, int paramInt3)
- {
- this.children = new int[paramInt1]; this.childX = new int[paramInt2]; this.childY = new int[paramInt3];
- }
- public static void removeSomething(int paramInt) {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- }
- public void specialBar(int paramInt)
- {
- addActionButton(paramInt - 12, 7587, -1, 150, 26, "Use @gre@Special Attack");
- for (int i = paramInt - 11; i < paramInt; i++) {
- removeSomething(i);
- }
- RSInterface localRSInterface = interfaceCache[(paramInt - 12)];
- localRSInterface.width = 150;
- localRSInterface.height = 26;
- localRSInterface = interfaceCache[paramInt];
- localRSInterface.width = 150;
- localRSInterface.height = 26;
- localRSInterface.child(0, paramInt - 12, 0, 0);
- localRSInterface.child(12, paramInt + 1, 3, 7);
- localRSInterface.child(23, paramInt + 12, 16, 8);
- for (int j = 13; j < 23; j++) {
- localRSInterface.childY[j] -= 1;
- }
- localRSInterface = interfaceCache[(paramInt + 1)];
- localRSInterface.type = 5;
- localRSInterface.sprite1 = CustomSpriteLoader(7600, "");
- for (j = paramInt + 2; j < paramInt + 12; j++) {
- localRSInterface = interfaceCache[j];
- localRSInterface.type = 5;
- }
- sprite1(paramInt + 2, 7601); sprite1(paramInt + 3, 7602);
- sprite1(paramInt + 4, 7603); sprite1(paramInt + 5, 7604);
- sprite1(paramInt + 6, 7605); sprite1(paramInt + 7, 7606);
- sprite1(paramInt + 8, 7607); sprite1(paramInt + 9, 7608);
- sprite1(paramInt + 10, 7609); sprite1(paramInt + 11, 7610);
- }
- public static void Sidebar0(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- 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);
- 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);
- 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);
- 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);
- 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);
- 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);
- 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);
- 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);
- Sidebar0b(776, 779, "Reap", "Chop", "Jab", "Block", 42, 75, 126, 75, 46, 128, 125, 128, 122, 103, 122, 50, 40, 103, 40, 50, paramArrayOfTextDrawingArea);
- Sidebar0c(425, 428, 7474, "Pound", "Pummel", "Block", 39, 75, 121, 75, 42, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
- Sidebar0c(1749, 1752, 7524, "Accurate", "Rapid", "Longrange", 33, 75, 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
- Sidebar0c(1764, 1767, 7549, "Accurate", "Rapid", "Longrange", 33, 75, 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
- Sidebar0c(4446, 4449, 7649, "Accurate", "Rapid", "Longrange", 33, 75, 125, 75, 29, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
- Sidebar0c(5855, 5857, 7749, "Punch", "Kick", "Block", 40, 75, 129, 75, 42, 128, 40, 50, 122, 50, 40, 103, paramArrayOfTextDrawingArea);
- Sidebar0c(6103, 6132, 6117, "Bash", "Pound", "Block", 43, 75, 124, 75, 42, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
- Sidebar0c(8460, 8463, 8493, "Jab", "Swipe", "Fend", 46, 75, 124, 75, 43, 128, 40, 103, 40, 50, 122, 50, paramArrayOfTextDrawingArea);
- Sidebar0c(12290, 12293, 12323, "Flick", "Lash", "Deflect", 44, 75, 127, 75, 36, 128, 40, 50, 40, 103, 122, 50, paramArrayOfTextDrawingArea);
- Sidebar0d(328, 331, "Bash", "Pound", "Focus", 42, 66, 39, 101, 41, 136, 40, 120, 40, 50, 40, 85, paramArrayOfTextDrawingArea);
- RSInterface localRSInterface = addInterface(19300);
- textSize(3983, paramArrayOfTextDrawingArea, 0);
- addToggleButton(150, 150, 172, 150, 44, "Auto Retaliate");
- localRSInterface.totalChildren(2, 2, 2);
- localRSInterface.child(0, 3983, 52, 25);
- localRSInterface.child(1, 150, 21, 153);
- localRSInterface = interfaceCache[3983];
- localRSInterface.centerText = true;
- localRSInterface.textColor = 16750623;
- }
- 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)
- {
- RSInterface localRSInterface = addInterface(paramInt1);
- addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
- addText(paramInt2 + 11, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 12, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 13, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 14, paramString4, paramArrayOfTextDrawingArea, 0, 16750623, false);
- localRSInterface.specialBar(paramInt3);
- localRSInterface.width = 190;
- localRSInterface.height = 261;
- int i = 15; int j = 0;
- localRSInterface.totalChildren(i, i, i);
- localRSInterface.child(j, paramInt2 + 3, 21, 46); j++;
- localRSInterface.child(j, paramInt2 + 4, 104, 99); j++;
- localRSInterface.child(j, paramInt2 + 5, 21, 99); j++;
- localRSInterface.child(j, paramInt2 + 6, 105, 46); j++;
- localRSInterface.child(j, paramInt2 + 7, paramInt12, paramInt13); j++;
- localRSInterface.child(j, paramInt2 + 8, paramInt14, paramInt15); j++;
- localRSInterface.child(j, paramInt2 + 9, paramInt16, paramInt17); j++;
- localRSInterface.child(j, paramInt2 + 10, paramInt18, paramInt19); j++;
- localRSInterface.child(j, paramInt2 + 11, paramInt4, paramInt5); j++;
- localRSInterface.child(j, paramInt2 + 12, paramInt6, paramInt7); j++;
- localRSInterface.child(j, paramInt2 + 13, paramInt8, paramInt9); j++;
- localRSInterface.child(j, paramInt2 + 14, paramInt10, paramInt11); j++;
- localRSInterface.child(j, 19300, 0, 0); j++;
- localRSInterface.child(j, paramInt2, 94, 4); j++;
- localRSInterface.child(j, paramInt3, 21, 205); j++;
- for (int k = paramInt2 + 3; k < paramInt2 + 7; k++) {
- localRSInterface = interfaceCache[k];
- localRSInterface.sprite1 = CustomSpriteLoader(19301, ""); localRSInterface.sprite2 = CustomSpriteLoader(19301, "a");
- localRSInterface.width = 68; localRSInterface.height = 44;
- }
- }
- 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)
- {
- RSInterface localRSInterface = addInterface(paramInt1);
- addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
- addText(paramInt2 + 11, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 12, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 13, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 14, paramString4, paramArrayOfTextDrawingArea, 0, 16750623, false);
- localRSInterface.width = 190;
- localRSInterface.height = 261;
- int i = 14; int j = 0;
- localRSInterface.totalChildren(i, i, i);
- localRSInterface.child(j, paramInt2 + 3, 21, 46); j++;
- localRSInterface.child(j, paramInt2 + 4, 104, 99); j++;
- localRSInterface.child(j, paramInt2 + 5, 21, 99); j++;
- localRSInterface.child(j, paramInt2 + 6, 105, 46); j++;
- localRSInterface.child(j, paramInt2 + 7, paramInt11, paramInt12); j++;
- localRSInterface.child(j, paramInt2 + 8, paramInt13, paramInt14); j++;
- localRSInterface.child(j, paramInt2 + 9, paramInt15, paramInt16); j++;
- localRSInterface.child(j, paramInt2 + 10, paramInt17, paramInt18); j++;
- localRSInterface.child(j, paramInt2 + 11, paramInt3, paramInt4); j++;
- localRSInterface.child(j, paramInt2 + 12, paramInt5, paramInt6); j++;
- localRSInterface.child(j, paramInt2 + 13, paramInt7, paramInt8); j++;
- localRSInterface.child(j, paramInt2 + 14, paramInt9, paramInt10); j++;
- localRSInterface.child(j, 19300, 0, 0); j++;
- localRSInterface.child(j, paramInt2, 94, 4); j++;
- for (int k = paramInt2 + 3; k < paramInt2 + 7; k++) {
- localRSInterface = interfaceCache[k];
- localRSInterface.sprite1 = CustomSpriteLoader(19301, ""); localRSInterface.sprite2 = CustomSpriteLoader(19301, "a");
- localRSInterface.width = 68; localRSInterface.height = 44;
- }
- }
- 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)
- {
- RSInterface localRSInterface = addInterface(paramInt1);
- addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
- addText(paramInt2 + 9, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 10, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 11, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
- localRSInterface.specialBar(paramInt3);
- localRSInterface.width = 190;
- localRSInterface.height = 261;
- int i = 12; int j = 0;
- localRSInterface.totalChildren(i, i, i);
- localRSInterface.child(j, paramInt2 + 3, 21, 99); j++;
- localRSInterface.child(j, paramInt2 + 4, 105, 46); j++;
- localRSInterface.child(j, paramInt2 + 5, 21, 46); j++;
- localRSInterface.child(j, paramInt2 + 6, paramInt10, paramInt11); j++;
- localRSInterface.child(j, paramInt2 + 7, paramInt12, paramInt13); j++;
- localRSInterface.child(j, paramInt2 + 8, paramInt14, paramInt15); j++;
- localRSInterface.child(j, paramInt2 + 9, paramInt4, paramInt5); j++;
- localRSInterface.child(j, paramInt2 + 10, paramInt6, paramInt7); j++;
- localRSInterface.child(j, paramInt2 + 11, paramInt8, paramInt9); j++;
- localRSInterface.child(j, 19300, 0, 0); j++;
- localRSInterface.child(j, paramInt2, 94, 4); j++;
- localRSInterface.child(j, paramInt3, 21, 205); j++;
- for (int k = paramInt2 + 3; k < paramInt2 + 6; k++) {
- localRSInterface = interfaceCache[k];
- localRSInterface.sprite1 = CustomSpriteLoader(19301, ""); localRSInterface.sprite2 = CustomSpriteLoader(19301, "a");
- localRSInterface.width = 68; localRSInterface.height = 44;
- }
- }
- 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)
- {
- RSInterface localRSInterface = addInterface(paramInt1);
- addText(paramInt2, "-2", paramArrayOfTextDrawingArea, 3, 16750623, true);
- addText(paramInt2 + 9, paramString1, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 10, paramString2, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(paramInt2 + 11, paramString3, paramArrayOfTextDrawingArea, 0, 16750623, false);
- addText(353, "Spell", paramArrayOfTextDrawingArea, 0, 16750623, true);
- addText(354, "Spell", paramArrayOfTextDrawingArea, 0, 16750623, true);
- addCacheSprite(337, 19, 0, "combaticons");
- addCacheSprite(338, 13, 0, "combaticons2");
- addCacheSprite(339, 14, 0, "combaticons2");
- addToggleButton(349, 349, 129, 68, 44, "Select");
- addToggleButton(350, 350, 108, 68, 44, "Select");
- localRSInterface.width = 190;
- localRSInterface.height = 261;
- int i = 15; int j = 0;
- localRSInterface.totalChildren(i, i, i);
- localRSInterface.child(j, paramInt2 + 3, 20, 115); j++;
- localRSInterface.child(j, paramInt2 + 4, 20, 80); j++;
- localRSInterface.child(j, paramInt2 + 5, 20, 45); j++;
- localRSInterface.child(j, paramInt2 + 6, paramInt9, paramInt10); j++;
- localRSInterface.child(j, paramInt2 + 7, paramInt11, paramInt12); j++;
- localRSInterface.child(j, paramInt2 + 8, paramInt13, paramInt14); j++;
- localRSInterface.child(j, paramInt2 + 9, paramInt3, paramInt4); j++;
- localRSInterface.child(j, paramInt2 + 10, paramInt5, paramInt6); j++;
- localRSInterface.child(j, paramInt2 + 11, paramInt7, paramInt8); j++;
- localRSInterface.child(j, 349, 105, 46); j++;
- localRSInterface.child(j, 350, 104, 106); j++;
- localRSInterface.child(j, 353, 139, 74); j++;
- localRSInterface.child(j, 354, 139, 134); j++;
- localRSInterface.child(j, 19300, 0, 0); j++;
- localRSInterface.child(j, paramInt2, 94, 4); j++;
- }
- public static void emoteTab()
- {
- RSInterface localRSInterface1 = addTabInterface(147);
- RSInterface localRSInterface2 = addTabInterface(148);
- localRSInterface1.totalChildren(1);
- localRSInterface1.child(0, 148, 0, 1);
- addButton(168, 0, "/Emotes/EMOTE", "Yes", 41, 47);
- addButton(169, 1, "/Emotes/EMOTE", "No", 41, 47);
- addButton(164, 2, "/Emotes/EMOTE", "Bow", 41, 47);
- addButton(165, 3, "/Emotes/EMOTE", "Angry", 41, 47);
- addButton(162, 4, "/Emotes/EMOTE", "Think", 41, 47);
- addButton(163, 5, "/Emotes/EMOTE", "Wave", 41, 47);
- addButton(13370, 6, "/Emotes/EMOTE", "Shrug", 41, 47);
- addButton(171, 7, "/Emotes/EMOTE", "Cheer", 41, 47);
- addButton(167, 8, "/Emotes/EMOTE", "Beckon", 41, 47);
- addButton(170, 9, "/Emotes/EMOTE", "Laugh", 41, 47);
- addButton(13366, 10, "/Emotes/EMOTE", "Jump for Joy", 41, 47);
- addButton(13368, 11, "/Emotes/EMOTE", "Yawn", 41, 47);
- addButton(166, 12, "/Emotes/EMOTE", "Dance", 41, 47);
- addButton(13363, 13, "/Emotes/EMOTE", "Jig", 41, 47);
- addButton(13364, 14, "/Emotes/EMOTE", "Spin", 41, 47);
- addButton(13365, 15, "/Emotes/EMOTE", "Headbang", 41, 47);
- addButton(161, 16, "/Emotes/EMOTE", "Cry", 41, 47);
- addButton(11100, 17, "/Emotes/EMOTE", "Blow kiss", 41, 47);
- addButton(13362, 18, "/Emotes/EMOTE", "Panic", 41, 47);
- addButton(13367, 19, "/Emotes/EMOTE", "Raspberry", 41, 47);
- addButton(172, 20, "/Emotes/EMOTE", "Clap", 41, 47);
- addButton(13369, 21, "/Emotes/EMOTE", "Salute", 41, 47);
- addButton(13383, 22, "/Emotes/EMOTE", "Goblin Bow", 41, 47);
- addButton(13384, 23, "/Emotes/EMOTE", "Goblin Salute", 41, 47);
- addButton(667, 24, "/Emotes/EMOTE", "Glass Box", 41, 47);
- addButton(6503, 25, "/Emotes/EMOTE", "Climb Rope", 41, 47);
- addButton(6506, 26, "/Emotes/EMOTE", "Lean On Air", 41, 47);
- addButton(666, 27, "/Emotes/EMOTE", "Glass Wall", 41, 47);
- addButton(18464, 28, "/Emotes/EMOTE", "Zombie Walk", 41, 47);
- addButton(18465, 29, "/Emotes/EMOTE", "Zombie Dance", 41, 47);
- addButton(15166, 30, "/Emotes/EMOTE", "Scared", 41, 47);
- addButton(18686, 31, "/Emotes/EMOTE", "Rabbit Hop", 41, 47);
- addConfigButton(154, 147, 33, 32, "/Emotes/EMOTE", 41, 47, "Skillcape Emote", 0, 1, 700);
- localRSInterface2.totalChildren(33);
- localRSInterface2.child(0, 168, 10, 7);
- localRSInterface2.child(1, 169, 54, 7);
- localRSInterface2.child(2, 164, 98, 14);
- localRSInterface2.child(3, 165, 137, 7);
- localRSInterface2.child(4, 162, 9, 56);
- localRSInterface2.child(5, 163, 48, 56);
- localRSInterface2.child(6, 13370, 95, 56);
- localRSInterface2.child(7, 171, 137, 56);
- localRSInterface2.child(8, 167, 7, 105);
- localRSInterface2.child(9, 170, 51, 105);
- localRSInterface2.child(10, 13366, 95, 104);
- localRSInterface2.child(11, 13368, 139, 105);
- localRSInterface2.child(12, 166, 6, 154);
- localRSInterface2.child(13, 13363, 50, 154);
- localRSInterface2.child(14, 13364, 90, 154);
- localRSInterface2.child(15, 13365, 135, 154);
- localRSInterface2.child(16, 161, 8, 204);
- localRSInterface2.child(17, 11100, 51, 203);
- localRSInterface2.child(18, 13362, 99, 204);
- localRSInterface2.child(19, 13367, 137, 203);
- localRSInterface2.child(20, 172, 10, 253);
- localRSInterface2.child(21, 13369, 53, 253);
- localRSInterface2.child(22, 13383, 88, 258);
- localRSInterface2.child(23, 13384, 138, 252);
- localRSInterface2.child(24, 667, 2, 303);
- localRSInterface2.child(25, 6503, 49, 302);
- localRSInterface2.child(26, 6506, 93, 302);
- localRSInterface2.child(27, 666, 137, 302);
- localRSInterface2.child(28, 18464, 9, 352);
- localRSInterface2.child(29, 18465, 50, 352);
- localRSInterface2.child(30, 15166, 94, 356);
- localRSInterface2.child(31, 18686, 141, 353);
- localRSInterface2.child(32, 154, 5, 401);
- localRSInterface2.width = 173; localRSInterface2.height = 258; localRSInterface2.scrollMax = 450;
- }
- public static void drawTooltip(int paramInt, String paramString) {
- RSInterface localRSInterface = addTabInterface(paramInt);
- localRSInterface.parentID = paramInt;
- addTooltipBox(paramInt + 1, paramString);
- localRSInterface.totalChildren(1);
- localRSInterface.child(0, paramInt + 1, 0, 0);
- }
- public static void optionTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = addTabInterface(904);
- RSInterface localRSInterface2 = interfaceCache['•'];
- localRSInterface2.textColor = 16750899;
- addSprite(905, 9, "/Options/SPRITE");
- addSprite(907, 18, "/Options/SPRITE");
- addSprite(909, 29, "/Options/SPRITE");
- addSprite(951, 32, "/Options/SPRITE");
- addSprite(953, 33, "/Options/SPRITE");
- addSprite(955, 34, "/Options/SPRITE");
- addSprite(947, 36, "/Options/SPRITE");
- addSprite(949, 35, "/Options/SPRITE");
- addSprite(959, 30, "/Options/SPRITE");
- addConfigButton(152, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-run", 1, 5, 173);
- addConfigButton(906, 904, 10, 14, "/Options/SPRITE", 32, 16, "Dark", 1, 5, 166);
- addConfigButton(908, 904, 11, 15, "/Options/SPRITE", 32, 16, "Normal", 2, 5, 166);
- addConfigButton(910, 904, 12, 16, "/Options/SPRITE", 32, 16, "Bright", 3, 5, 166);
- addConfigButton(912, 904, 13, 17, "/Options/SPRITE", 32, 16, "Very Bright", 4, 5, 166);
- addConfigButton(930, 904, 19, 24, "/Options/SPRITE", 26, 16, "Music Off", 4, 5, 168);
- addConfigButton(931, 904, 20, 25, "/Options/SPRITE", 26, 16, "Music Level-1", 3, 5, 168);
- addConfigButton(932, 904, 21, 26, "/Options/SPRITE", 26, 16, "Music Level-2", 2, 5, 168);
- addConfigButton(933, 904, 22, 27, "/Options/SPRITE", 26, 16, "Music Level-3", 1, 5, 168);
- addConfigButton(934, 904, 23, 28, "/Options/SPRITE", 24, 16, "Music Level-4", 0, 5, 168);
- addConfigButton(941, 904, 19, 24, "/Options/SPRITE", 26, 16, "Sound Effects Off", 4, 5, 169);
- addConfigButton(942, 904, 20, 25, "/Options/SPRITE", 26, 16, "Sound Effects Level-1", 3, 5, 169);
- addConfigButton(943, 904, 21, 26, "/Options/SPRITE", 26, 16, "Sound Effects Level-2", 2, 5, 169);
- addConfigButton(944, 904, 22, 27, "/Options/SPRITE", 26, 16, "Sound Effects Level-3", 1, 5, 169);
- addConfigButton(945, 904, 23, 28, "/Options/SPRITE", 24, 16, "Sound Effects Level-4", 0, 5, 169);
- addConfigButton(913, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-Mouse Buttons", 0, 5, 170);
- addConfigButton(915, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-Chat Effects", 0, 5, 171);
- addConfigButton(957, 904, 30, 30, "/Options/SPRITE", 40, 40, "Toggle Private Chat Settings", 1, 5, 287);
- addConfigButton(12464, 904, 30, 31, "/Options/SPRITE", 40, 40, "Toggle-Accept Aid", 0, 5, 427);
- addConfigButton(960, 904, 37, 37, "/Options/SPRITE", 40, 40, "Toggle Settings", 1, 5, 179);
- addToggleButton(961, 0, 2, "PrivateChat/CHECK", "EXP-Lock", 1, 4, 180);
- addText(962, "EXP-Lock: @red@Off", 3394815, false, true, 52, paramArrayOfTextDrawingArea, 1);
- localRSInterface1.totalChildren(32);
- int i = 0;
- int j = 2;
- localRSInterface1.child(0, 905, 13 + i, 10 + j);
- localRSInterface1.child(1, 906, 48 + i, 18 + j);
- localRSInterface1.child(2, 908, 80 + i, 18 + j);
- localRSInterface1.child(3, 910, 112 + i, 18 + j);
- localRSInterface1.child(4, 912, 144 + i, 18 + j);
- localRSInterface1.child(5, 907, 14 + i, 55 + j);
- localRSInterface1.child(6, 930, 49 + i, 61 + j);
- localRSInterface1.child(7, 931, 75 + i, 61 + j);
- localRSInterface1.child(8, 932, 101 + i, 61 + j);
- localRSInterface1.child(9, 933, 127 + i, 61 + j);
- localRSInterface1.child(10, 934, 151 + i, 61 + j);
- localRSInterface1.child(11, 909, 13 + i, 99 + j);
- localRSInterface1.child(12, 941, 49 + i, 104 + j);
- localRSInterface1.child(13, 942, 75 + i, 104 + j);
- localRSInterface1.child(14, 943, 101 + i, 104 + j);
- localRSInterface1.child(15, 944, 127 + i, 104 + j);
- localRSInterface1.child(16, 945, 151 + i, 104 + j);
- localRSInterface1.child(28, 959, 136, 208);
- localRSInterface1.child(29, 960, 140, 212);
- localRSInterface1.child(30, 961, 14, 135);
- localRSInterface1.child(31, 962, 30, 135);
- localRSInterface1.child(17, 913, 15, 153);
- localRSInterface1.child(18, 955, 19, 159);
- localRSInterface1.child(19, 915, 75, 153);
- localRSInterface1.child(20, 953, 79, 160);
- localRSInterface1.child(21, 957, 135, 153);
- localRSInterface1.child(22, 951, 139, 159);
- localRSInterface1.child(23, 12464, 15, 208);
- localRSInterface1.child(24, 949, 20, 213);
- localRSInterface1.child(25, 152, 75, 208);
- localRSInterface1.child(26, 947, 87, 212);
- localRSInterface1.child(27, 149, 80, 231);
- }
- public static void Pestpanel(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(21119);
- addText(21120, "What", 10066329, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21121, "What", 3394560, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21122, "(Need 5 to 25 players)", 16763955, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21123, "Points", 3394815, false, true, 52, paramArrayOfTextDrawingArea, 1);
- int i = 4;
- localRSInterface.children = new int[i];
- localRSInterface.childX = new int[i];
- localRSInterface.childY = new int[i];
- setBounds(21120, 15, 12, 0, localRSInterface);
- setBounds(21121, 15, 30, 1, localRSInterface);
- setBounds(21122, 15, 48, 2, localRSInterface);
- setBounds(21123, 15, 66, 3, localRSInterface);
- }
- public static void Pestpanel2(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(21100);
- addSprite(21101, 0, "Pest Control/PEST1");
- addSprite(21102, 1, "Pest Control/PEST1");
- addSprite(21103, 2, "Pest Control/PEST1");
- addSprite(21104, 3, "Pest Control/PEST1");
- addSprite(21105, 4, "Pest Control/PEST1");
- addSprite(21106, 5, "Pest Control/PEST1");
- addText(21107, "", 13369548, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21108, "", 255, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21109, "", 16777028, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21110, "", 13369344, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21111, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21112, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21113, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21114, "250", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21115, "200", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21116, "0", 10092339, false, true, 52, paramArrayOfTextDrawingArea, 1);
- addText(21117, "Time Remaining:", 16777215, false, true, 52, paramArrayOfTextDrawingArea, 0);
- addText(21118, "", 16777215, false, true, 52, paramArrayOfTextDrawingArea, 0);
- int i = 18;
- localRSInterface.children = new int[i];
- localRSInterface.childX = new int[i];
- localRSInterface.childY = new int[i];
- setBounds(21101, 361, 26, 0, localRSInterface);
- setBounds(21102, 396, 26, 1, localRSInterface);
- setBounds(21103, 436, 26, 2, localRSInterface);
- setBounds(21104, 474, 26, 3, localRSInterface);
- setBounds(21105, 3, 21, 4, localRSInterface);
- setBounds(21106, 3, 50, 5, localRSInterface);
- setBounds(21107, 371, 60, 6, localRSInterface);
- setBounds(21108, 409, 60, 7, localRSInterface);
- setBounds(21109, 443, 60, 8, localRSInterface);
- setBounds(21110, 479, 60, 9, localRSInterface);
- setBounds(21111, 362, 10, 10, localRSInterface);
- setBounds(21112, 398, 10, 11, localRSInterface);
- setBounds(21113, 436, 10, 12, localRSInterface);
- setBounds(21114, 475, 10, 13, localRSInterface);
- setBounds(21115, 32, 32, 14, localRSInterface);
- setBounds(21116, 32, 62, 15, localRSInterface);
- setBounds(21117, 8, 88, 16, localRSInterface);
- setBounds(21118, 87, 88, 17, localRSInterface);
- }
- public static void customPortal2(TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addTabInterface(14040);
- addSprite(14041, 7, "Equipment/CUSTOM");
- addHoverButton(14042, "Equipment/CUSTOM", 8, 21, 21, "Close", 250, 14043, 3);
- addHoveredButton(14043, "Equipment/CUSTOM", 9, 21, 21, 14044);
- addHoverButton(14045, "Other/CUSTOM", 18, 119, 171, "@red@Bandos", 0, 14046, 1);
- addHoveredButton(14046, "Other/CUSTOM", 17, 119, 171, 14047);
- addHoverButton(14048, "Other/CUSTOM", 20, 238, 159, "@red@Armadyll", 0, 14049, 1);
- addHoveredButton(14049, "Other/CUSTOM", 19, 238, 159, 14050);
- addText(14051, "Choose which god...", paramArrayOfTextDrawingArea, 2, 16750848, false, true);
- addHoverButton(14052, "Other/CUSTOM", 22, 170, 205, "@red@Zamorak", 0, 14053, 1);
- addHoveredButton(14053, "Other/CUSTOM", 21, 170, 205, 14054);
- addHoverButton(14055, "Other/CUSTOM", 24, 83, 97, "@red@Saradomin", 0, 14056, 1);
- addHoveredButton(14056, "Other/CUSTOM", 23, 83, 97, 14057);
- localRSInterface.totalChildren(12);
- localRSInterface.child(0, 14041, 4, 20);
- localRSInterface.child(1, 14045, 365, 150);
- localRSInterface.child(2, 14046, 365, 150);
- localRSInterface.child(3, 14048, 257, 21);
- localRSInterface.child(4, 14049, 257, 21);
- localRSInterface.child(5, 14051, 200, 162);
- localRSInterface.child(6, 14052, 5, 21);
- localRSInterface.child(7, 14053, 5, 21);
- localRSInterface.child(8, 14055, 71, 219);
- localRSInterface.child(9, 14056, 71, 219);
- localRSInterface.child(10, 14042, 476, 29);
- localRSInterface.child(11, 14043, 476, 29);
- }
- public static void addCloseButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, String paramString2)
- {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 1;
- localRSInterface.contentType = 0;
- localRSInterface.width = paramInt2;
- localRSInterface.height = paramInt3;
- localRSInterface.opacity = 0;
- localRSInterface.hoverType = 52;
- localRSInterface.sprite1 = imageLoader(0, paramString1);
- localRSInterface.sprite2 = imageLoader(0, paramString1);
- localRSInterface.tooltip = paramString2;
- }
- public static void addActionButton(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2)
- {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 1;
- localRSInterface.contentType = 0;
- localRSInterface.width = paramInt2;
- localRSInterface.height = paramInt3;
- localRSInterface.opacity = 0;
- localRSInterface.hoverType = 52;
- localRSInterface.sprite1 = imageLoader(paramString2);
- localRSInterface.sprite2 = imageLoader(paramString2);
- localRSInterface.tooltip = paramString1;
- }
- public static void addBob(int paramInt)
- {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.actions = new String[5];
- localRSInterface.spritesX = new int[20];
- localRSInterface.invStackSizes = new int[30];
- localRSInterface.inv = new int[30];
- localRSInterface.spritesY = new int[20];
- localRSInterface.children = new int[0];
- localRSInterface.childX = new int[0];
- localRSInterface.childY = new int[0];
- localRSInterface.spritesY[0] = 0;
- localRSInterface.spritesY[1] = 0;
- localRSInterface.spritesY[2] = 0;
- localRSInterface.spritesY[3] = 0;
- localRSInterface.spritesY[4] = 0;
- localRSInterface.spritesY[5] = 0;
- localRSInterface.spritesY[6] = 0;
- localRSInterface.spritesY[7] = 0;
- localRSInterface.spritesY[8] = 0;
- localRSInterface.spritesY[9] = 0;
- localRSInterface.spritesY[10] = 0;
- localRSInterface.spritesY[11] = 0;
- localRSInterface.spritesY[12] = 0;
- localRSInterface.spritesY[13] = 0;
- localRSInterface.spritesY[14] = 0;
- localRSInterface.spritesY[15] = 0;
- localRSInterface.spritesY[16] = 0;
- localRSInterface.spritesY[17] = 0;
- localRSInterface.spritesY[18] = 0;
- localRSInterface.spritesY[19] = 0;
- localRSInterface.invStackSizes[0] = 0;
- localRSInterface.invStackSizes[1] = 0;
- localRSInterface.invStackSizes[2] = 0;
- localRSInterface.invStackSizes[3] = 0;
- localRSInterface.invStackSizes[4] = 0;
- localRSInterface.invStackSizes[5] = 0;
- localRSInterface.invStackSizes[6] = 0;
- localRSInterface.invStackSizes[7] = 0;
- localRSInterface.invStackSizes[8] = 0;
- localRSInterface.invStackSizes[9] = 0;
- localRSInterface.invStackSizes[10] = 0;
- localRSInterface.invStackSizes[11] = 0;
- localRSInterface.invStackSizes[12] = 0;
- localRSInterface.invStackSizes[13] = 0;
- localRSInterface.invStackSizes[14] = 0;
- localRSInterface.invStackSizes[15] = 0;
- localRSInterface.invStackSizes[16] = 0;
- localRSInterface.invStackSizes[17] = 0;
- localRSInterface.invStackSizes[18] = 0;
- localRSInterface.invStackSizes[19] = 0;
- localRSInterface.invStackSizes[20] = 0;
- localRSInterface.invStackSizes[21] = 0;
- localRSInterface.invStackSizes[22] = 0;
- localRSInterface.invStackSizes[23] = 0;
- localRSInterface.invStackSizes[24] = 0;
- localRSInterface.invStackSizes[25] = 0;
- localRSInterface.invStackSizes[26] = 0;
- localRSInterface.invStackSizes[27] = 0;
- localRSInterface.invStackSizes[28] = 0;
- localRSInterface.invStackSizes[29] = 0;
- localRSInterface.inv[0] = 0;
- localRSInterface.inv[1] = 0;
- localRSInterface.inv[2] = 0;
- localRSInterface.inv[3] = 0;
- localRSInterface.inv[4] = 0;
- localRSInterface.inv[5] = 0;
- localRSInterface.inv[6] = 0;
- localRSInterface.inv[7] = 0;
- localRSInterface.inv[8] = 0;
- localRSInterface.inv[9] = 0;
- localRSInterface.inv[10] = 0;
- localRSInterface.inv[11] = 0;
- localRSInterface.inv[12] = 0;
- localRSInterface.inv[13] = 0;
- localRSInterface.inv[14] = 0;
- localRSInterface.inv[15] = 0;
- localRSInterface.inv[16] = 0;
- localRSInterface.inv[17] = 0;
- localRSInterface.inv[18] = 0;
- localRSInterface.inv[19] = 0;
- localRSInterface.inv[20] = 0;
- localRSInterface.inv[21] = 0;
- localRSInterface.inv[22] = 0;
- localRSInterface.inv[23] = 0;
- localRSInterface.inv[24] = 0;
- localRSInterface.inv[25] = 0;
- localRSInterface.inv[26] = 0;
- localRSInterface.inv[27] = 0;
- localRSInterface.inv[28] = 0;
- localRSInterface.inv[29] = 0;
- localRSInterface.spritesX[0] = 0;
- localRSInterface.spritesX[1] = 0;
- localRSInterface.spritesX[2] = 0;
- localRSInterface.spritesX[3] = 0;
- localRSInterface.spritesX[4] = 0;
- localRSInterface.spritesX[5] = 0;
- localRSInterface.spritesX[6] = 0;
- localRSInterface.spritesX[7] = 0;
- localRSInterface.spritesX[8] = 0;
- localRSInterface.spritesX[9] = 0;
- localRSInterface.spritesX[10] = 0;
- localRSInterface.spritesX[11] = 0;
- localRSInterface.spritesX[12] = 0;
- localRSInterface.spritesX[13] = 0;
- localRSInterface.spritesX[14] = 0;
- localRSInterface.spritesX[15] = 0;
- localRSInterface.spritesX[16] = 0;
- localRSInterface.spritesX[17] = 0;
- localRSInterface.spritesX[18] = 0;
- localRSInterface.spritesX[19] = 0;
- localRSInterface.actions[0] = "Take 1";
- localRSInterface.actions[1] = "Take 5";
- localRSInterface.actions[2] = "Take 10";
- localRSInterface.actions[3] = "Take All";
- localRSInterface.centerText = false;
- localRSInterface.aBoolean227 = false;
- localRSInterface.aBoolean235 = false;
- localRSInterface.usableItemInterface = false;
- localRSInterface.isInventoryInterface = false;
- localRSInterface.aBoolean251 = false;
- localRSInterface.aBoolean259 = true;
- localRSInterface.interfaceShown = false;
- localRSInterface.textShadow = false;
- localRSInterface.hoverType = -1;
- localRSInterface.invSpritePadX = 24;
- localRSInterface.invSpritePadY = 24;
- localRSInterface.height = 5;
- localRSInterface.width = 6;
- localRSInterface.parentID = 2702;
- localRSInterface.id = 2700;
- localRSInterface.type = 2;
- }
- public static void WFjoinTeam(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(11250);
- addSprite(11251, 0, "Waving Fortune/Team");
- addHoverButton(11252, "Waving Fortune/Team", 1, 72, 32, "Join Team", -1, 11253, 1);
- addHoveredButton(11253, "Waving Fortune/Team", 2, 72, 32, 11257);
- addHoverButton(11254, "Waving Fortune/Team", 4, 72, 32, "No Thanks", -1, 11255, 1);
- addHoveredButton(11255, "Waving Fortune/Team", 3, 72, 32, 11258);
- addText(11259, "Would you like to join ##'s team?", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11260, "Team Members: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11261, "Combined Total: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11262, "Member 1: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11263, "Member 2: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11264, "Member 3: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11265, "Member 4: ", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11266, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11267, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11268, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- addText(11269, "", paramArrayOfTextDrawingArea, 2, 15439903, false, true);
- localRSInterface.totalChildren(16);
- localRSInterface.child(0, 11251, 14, 14);
- localRSInterface.child(1, 11252, 130, 278);
- localRSInterface.child(2, 11253, 130, 278);
- localRSInterface.child(3, 11254, 300, 278);
- localRSInterface.child(4, 11255, 300, 278);
- localRSInterface.child(5, 11259, 150, 42);
- localRSInterface.child(6, 11260, 30, 72);
- localRSInterface.child(7, 11261, 30, 92);
- localRSInterface.child(8, 11262, 30, 182);
- localRSInterface.child(9, 11263, 30, 202);
- localRSInterface.child(10, 11264, 30, 222);
- localRSInterface.child(11, 11265, 30, 242);
- localRSInterface.child(12, 11266, 30, 112);
- localRSInterface.child(13, 11267, 30, 132);
- localRSInterface.child(14, 11268, 30, 152);
- localRSInterface.child(15, 11269, 30, 172);
- }
- public static void sumInv(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(2700);
- addSprite(2701, 20, "SummonTab/SUMMON");
- addBob(2702);
- addHoverButton(2703, "Interfaces/Equipment/SPRITE", 1, 21, 21, "Close", 250, 2704, 3);
- addHoveredButton(2704, "Interfaces/Equipment/SPRITE", 3, 21, 21, 2705);
- addButton(2706, 0, "sprite", 30, 30, "Beast of burden inventory", 1);
- localRSInterface.totalChildren(5);
- localRSInterface.child(0, 2701, 90, 14);
- localRSInterface.child(1, 2702, 100, 56);
- localRSInterface.child(2, 2703, 431, 23);
- localRSInterface.child(3, 2704, 431, 23);
- localRSInterface.child(4, 2706, 427, 290);
- }
- private static void addHead2(int paramInt1, int paramInt2, int paramInt3, int paramInt4)
- {
- RSInterface localRSInterface = addTab(paramInt1);
- localRSInterface.type = 6;
- localRSInterface.modelZoom = paramInt4;
- localRSInterface.modelRotation1 = 40;
- localRSInterface.modelRotation2 = 1900;
- localRSInterface.height = paramInt3;
- localRSInterface.width = paramInt2;
- }
- public static void SummoningTab(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface = addTabInterface(7011);
- addSprite(7012, 6, "SummonTab/SUMMON");
- addButton(7013, 7, "/SummonTab/SUMMON", "@gre@Special Move");
- addSprite(7014, 6, "SummonTab/SUMMON");
- addConfigButton(7015, 18032, 14, 8, "/SummonTab/SUMMON", 20, 30, "Familiar Special", 1, 5, 300);
- addHoverButton(7018, "/SummonTab/SUMMON", 2, 38, 36, "Beast of burden Inventory", -1, 7028, 1);
- addHoveredButton(7028, "/SummonTab/SUMMON", 12, 38, 36, 7029);
- addHoverButton(7022, "/SummonTab/SUMMON", 1, 38, 36, "Call Familiar", -1, 7030, 1);
- addHoveredButton(7030, "/SummonTab/SUMMON", 13, 38, 36, 7031);
- addHoverButton(7023, "/SummonTab/SUMMON", 3, 38, 36, "Dismiss Familiar", -1, 7033, 1);
- addHoveredButton(7033, "/SummonTab/SUMMON", 15, 38, 36, 7034);
- addSprite(7016, 5, "SummonTab/SUMMON");
- addText(7017, " No Familar", paramArrayOfTextDrawingArea, 2, 14329120, false, true);
- addSprite(7019, 9, "SummonTab/SUMMON");
- addText(7021, " 0.00", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
- addSprite(7020, 10, "SummonTab/SUMMON");
- addSprite(7024, 11, "SummonTab/SUMMON");
- addText(7025, "99/99", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
- addText(7026, "0", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
- addHead2(7027, 75, 55, 10000);
- addText(7040, "", paramArrayOfTextDrawingArea, 0, 16753920, false, true);
- localRSInterface.totalChildren(20);
- localRSInterface.child(0, 7012, 10, 25);
- localRSInterface.child(1, 7013, 28, 7);
- localRSInterface.child(2, 7014, 10, 25);
- localRSInterface.child(3, 7015, 11, 25);
- localRSInterface.child(4, 7016, 15, 140);
- localRSInterface.child(5, 7017, 40, 143);
- localRSInterface.child(6, 7018, 20, 170);
- localRSInterface.child(7, 7019, 115, 167);
- localRSInterface.child(8, 7020, 143, 170);
- localRSInterface.child(9, 7021, 135, 197);
- localRSInterface.child(10, 7022, 20, 213);
- localRSInterface.child(11, 7023, 67, 193);
- localRSInterface.child(12, 7024, 135, 214);
- localRSInterface.child(13, 7025, 135, 240);
- localRSInterface.child(14, 7026, 21, 59);
- localRSInterface.child(15, 7027, 75, 55);
- localRSInterface.child(16, 7028, 20, 170);
- localRSInterface.child(17, 7030, 20, 213);
- localRSInterface.child(18, 7033, 67, 193);
- localRSInterface.child(19, 7040, 40, 9);
- }
- public static void addHoverBox(int paramInt, String paramString)
- {
- RSInterface localRSInterface = interfaceCache[paramInt];
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.type = 8;
- localRSInterface.hoverText = paramString;
- }
- public static void addText(int paramInt1, String paramString, TextDrawingArea[] paramArrayOfTextDrawingArea, int paramInt2, int paramInt3, boolean paramBoolean1, boolean paramBoolean2) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 4;
- localRSInterface.atActionType = 0;
- localRSInterface.width = 0;
- localRSInterface.height = 11;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.centerText = paramBoolean1;
- localRSInterface.textShadow = paramBoolean2;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[paramInt2];
- localRSInterface.message = paramString;
- localRSInterface.aString228 = "";
- localRSInterface.textColor = paramInt3;
- localRSInterface.anInt219 = 0;
- localRSInterface.anInt216 = 0;
- localRSInterface.anInt239 = 0;
- }
- public static void addButton(int paramInt1, int paramInt2, String paramString1, String paramString2, int paramInt3, int paramInt4) {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 1;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
- localRSInterface.width = paramInt3;
- localRSInterface.height = paramInt4;
- localRSInterface.tooltip = paramString2;
- }
- public static void addButton(int paramInt1, int paramInt2, int paramInt3, String paramString1, String paramString2, int paramInt4, int paramInt5) {
- RSInterface localRSInterface = interfaceCache[paramInt2] = = new RSInterface();
- localRSInterface.id = paramInt2;
- localRSInterface.parentID = paramInt2;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 1;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt3, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt3, paramString1);
- localRSInterface.width = paramInt4;
- localRSInterface.height = paramInt5;
- localRSInterface.tooltip = paramString2;
- }
- 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) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt2;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt8;
- localRSInterface.contentType = 0;
- localRSInterface.width = paramInt5;
- localRSInterface.height = paramInt6;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 1;
- localRSInterface.requiredValues[0] = paramInt7;
- localRSInterface.valueIndexArray = new int[1][3];
- localRSInterface.valueIndexArray[0][0] = 5;
- localRSInterface.valueIndexArray[0][1] = paramInt9;
- localRSInterface.valueIndexArray[0][2] = 0;
- localRSInterface.sprite1 = imageLoader(paramInt3, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt4, paramString1);
- localRSInterface.tooltip = paramString2;
- }
- public static void addSprite(int paramInt1, int paramInt2, String paramString) {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
- localRSInterface.sprite2 = imageLoader(paramInt2, paramString);
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- }
- public static void addHovered(int paramInt1, int paramInt2, String paramString, int paramInt3, int paramInt4, int paramInt5) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.width = paramInt3;
- localRSInterface.height = paramInt4;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.mOverInterToTrigger = -1;
- addSprite(paramInt5, paramInt2, paramString);
- setChildren(1, localRSInterface);
- setBounds(paramInt5, 0, 0, 0, localRSInterface);
- }
- public static void addHover(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, String paramString1, int paramInt6, int paramInt7, String paramString2) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt2;
- localRSInterface.contentType = paramInt3;
- localRSInterface.mOverInterToTrigger = paramInt4;
- localRSInterface.sprite1 = imageLoader(paramInt5, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt5, paramString1);
- localRSInterface.width = paramInt6;
- localRSInterface.height = paramInt7;
- localRSInterface.tooltip = paramString2;
- }
- public static void addHoverButton(int paramInt1, String paramString1, int paramInt2, int paramInt3, int paramInt4, String paramString2, int paramInt5, int paramInt6, int paramInt7) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt7;
- localRSInterface.contentType = paramInt5;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = paramInt6;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
- localRSInterface.width = paramInt3;
- localRSInterface.height = paramInt4;
- localRSInterface.tooltip = paramString2;
- }
- public static void addHoveredButton(int paramInt1, String paramString, int paramInt2, int paramInt3, int paramInt4, int paramInt5) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.parentID = paramInt1;
- localRSInterface.id = paramInt1;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.width = paramInt3;
- localRSInterface.height = paramInt4;
- localRSInterface.isMouseoverTriggered = true;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.scrollMax = 0;
- addHoverImage(paramInt5, paramInt2, paramInt2, paramString);
- localRSInterface.totalChildren(1);
- localRSInterface.child(0, paramInt5, 0, 0);
- }
- public static void addHoverImage(int paramInt1, int paramInt2, int paramInt3, String paramString) {
- RSInterface localRSInterface = addTabInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
- localRSInterface.sprite2 = imageLoader(paramInt3, paramString);
- }
- public static void addTransparentSprite(int paramInt1, int paramInt2, String paramString) {
- RSInterface localRSInterface = interfaceCache[paramInt1] = = new RSInterface();
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
- localRSInterface.sprite2 = imageLoader(paramInt2, paramString);
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- localRSInterface.drawsTransparent = true;
- }
- public static RSInterface addScreenInterface(int paramInt) {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 512;
- localRSInterface.height = 334;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 0;
- return localRSInterface;
- }
- public static RSInterface addTabInterface(int paramInt) {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.type = 0;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 512;
- localRSInterface.height = 700;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- return localRSInterface;
- }
- private static Sprite imageLoader(int paramInt, String paramString) {
- long l = (TextClass.method585(paramString) << 8) + paramInt;
- Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
- if (localSprite != null)
- return localSprite;
- try {
- localSprite = new Sprite(paramString + " " + paramInt);
- aMRUNodes_238.removeFromCache(localSprite, l);
- } catch (Exception localException) {
- return null;
- }
- return localSprite;
- }
- public void child(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
- this.children[paramInt1] = paramInt2;
- this.childX[paramInt1] = paramInt3;
- this.childY[paramInt1] = paramInt4;
- }
- public void totalChildren(int paramInt) {
- this.children = new int[paramInt];
- this.childX = new int[paramInt];
- this.childY = new int[paramInt];
- }
- private Model method206(int paramInt1, int paramInt2)
- {
- Model localModel = (Model)aMRUNodes_264.insertFromCache((paramInt1 << 16) + paramInt2);
- if (localModel != null)
- return localModel;
- if (paramInt1 == 1)
- localModel = Model.method462(paramInt2);
- if (paramInt1 == 2)
- localModel = EntityDef.forID(paramInt2).method160();
- if (paramInt1 == 3)
- localModel = client.myPlayer.method453();
- if (paramInt1 == 4)
- localModel = ItemDef.forID(paramInt2).method202(50);
- if (paramInt1 == 5)
- localModel = null;
- if (localModel != null)
- aMRUNodes_264.removeFromCache(localModel, (paramInt1 << 16) + paramInt2);
- return localModel;
- }
- private static Sprite method207(int paramInt, StreamLoader paramStreamLoader, String paramString) {
- long l = (TextClass.method585(paramString) << 8) + paramInt;
- Sprite localSprite = (Sprite)aMRUNodes_238.insertFromCache(l);
- if (localSprite != null)
- return localSprite;
- try {
- localSprite = new Sprite(paramStreamLoader, paramString, paramInt);
- aMRUNodes_238.removeFromCache(localSprite, l);
- } catch (Exception localException) {
- return null;
- }
- return localSprite;
- }
- public static void method208(boolean paramBoolean, Model paramModel) {
- int i = 0;
- int j = 5;
- if (paramBoolean)
- return;
- aMRUNodes_264.unlinkAll();
- if ((paramModel != null) && (j != 4))
- aMRUNodes_264.removeFromCache(paramModel, (j << 16) + i);
- }
- public Model method209(int paramInt1, int paramInt2, boolean paramBoolean)
- {
- Model localModel1;
- if (paramBoolean)
- localModel1 = method206(this.anInt255, this.anInt256);
- else
- localModel1 = method206(this.anInt233, this.mediaID);
- if (localModel1 == null)
- return null;
- if ((paramInt2 == -1) && (paramInt1 == -1) && (localModel1.anIntArray1640 == null))
- return localModel1;
- Model localModel2 = new Model(true, Class36.method532(paramInt2) & Class36.method532(paramInt1), false, localModel1);
- if ((paramInt2 != -1) || (paramInt1 != -1))
- localModel2.method469();
- if (paramInt2 != -1)
- localModel2.method470(paramInt2);
- if (paramInt1 != -1)
- localModel2.method470(paramInt1);
- localModel2.method479(64, 768, -50, -10, -50, true);
- return localModel2;
- }
- public static void equipmentScreen(TextDrawingArea[] paramArrayOfTextDrawingArea)
- {
- RSInterface localRSInterface1 = interfaceCache[1644];
- addButton(19144, 6, "Equipment/CUSTOM", 150, 40, "Show Equipment Stats", 1);
- removeSomething(19145);
- removeSomething(19146);
- removeSomething(19147);
- setBounds(19144, 21, 210, 23, localRSInterface1);
- setBounds(19145, 40, 210, 24, localRSInterface1);
- setBounds(19146, 40, 210, 25, localRSInterface1);
- setBounds(19147, 40, 210, 26, localRSInterface1);
- RSInterface localRSInterface2 = addTabInterface(15106);
- addSprite(15107, 7, "Equipment/CUSTOM");
- addHoverButton(15210, "Equipment/CUSTOM", 8, 21, 21, "Close", 250, 15211, 3);
- addHoveredButton(15211, "Equipment/CUSTOM", 9, 21, 21, 15212);
- addText(15111, "Equip Your Character...", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(15112, "Attack bonus", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(15113, "Defence bonus", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- addText(15114, "Other bonuses", paramArrayOfTextDrawingArea, 2, 14983494, false, true);
- for (int i = 1675; i <= 1684; i++) textSize(i, paramArrayOfTextDrawingArea, 1);
- textSize(1686, paramArrayOfTextDrawingArea, 1); textSize(1687, paramArrayOfTextDrawingArea, 1);
- addChar(15125);
- localRSInterface2.totalChildren(44);
- localRSInterface2.child(0, 15107, 4, 20);
- localRSInterface2.child(1, 15210, 476, 29);
- localRSInterface2.child(2, 15211, 476, 29);
- localRSInterface2.child(3, 15111, 14, 30);
- i = 4; int j = 69;
- for (int k = 1675; k <= 1679; k++) {
- localRSInterface2.child(i, k, 20, j);
- i++; j += 14;
- }localRSInterface2.child(9, 1680, 20, 161);
- localRSInterface2.child(10, 1681, 20, 177);
- localRSInterface2.child(11, 1682, 20, 192);
- localRSInterface2.child(12, 1683, 20, 207);
- localRSInterface2.child(13, 1684, 20, 221);
- localRSInterface2.child(14, 1686, 20, 262);
- localRSInterface2.child(15, 15125, 170, 200);
- localRSInterface2.child(16, 15112, 16, 55);
- localRSInterface2.child(17, 1687, 20, 276);
- localRSInterface2.child(18, 15113, 16, 147);
- localRSInterface2.child(19, 15114, 16, 248);
- localRSInterface2.child(20, 1645, 399, 97);
- localRSInterface2.child(21, 1646, 399, 163);
- localRSInterface2.child(22, 1647, 399, 163);
- localRSInterface2.child(23, 1648, 399, 204);
- localRSInterface2.child(24, 1649, 343, 176);
- localRSInterface2.child(25, 1650, 343, 212);
- localRSInterface2.child(26, 1651, 455, 176);
- localRSInterface2.child(27, 1652, 455, 212);
- localRSInterface2.child(28, 1653, 369, 139);
- localRSInterface2.child(29, 1654, 428, 139);
- localRSInterface2.child(30, 1655, 379, 100);
- localRSInterface2.child(31, 1656, 433, 99);
- localRSInterface2.child(32, 1657, 399, 62);
- localRSInterface2.child(33, 1658, 358, 101);
- localRSInterface2.child(34, 1659, 399, 101);
- localRSInterface2.child(35, 1660, 440, 101);
- localRSInterface2.child(36, 1661, 343, 140);
- localRSInterface2.child(37, 1662, 399, 140);
- localRSInterface2.child(38, 1663, 455, 140);
- localRSInterface2.child(39, 1664, 399, 180);
- localRSInterface2.child(40, 1665, 399, 220);
- localRSInterface2.child(41, 1666, 343, 220);
- localRSInterface2.child(42, 1667, 455, 220);
- localRSInterface2.child(43, 1688, 345, 102);
- RSInterface localRSInterface3;
- for (k = 1675; k <= 1684; k++) {
- localRSInterface3 = interfaceCache[k];
- localRSInterface3.textColor = 14983494;
- localRSInterface3.centerText = false;
- }for (k = 1686; k <= 1687; k++) {
- localRSInterface3 = interfaceCache[k];
- localRSInterface3.textColor = 14983494;
- localRSInterface3.centerText = false;
- }
- }
- public static void addChar(int paramInt) {
- RSInterface localRSInterface = interfaceCache[paramInt] = = new RSInterface();
- localRSInterface.id = paramInt;
- localRSInterface.parentID = paramInt;
- localRSInterface.type = 6;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 328;
- localRSInterface.width = 180;
- localRSInterface.height = 190;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 0;
- localRSInterface.modelZoom = 560;
- localRSInterface.modelRotation1 = 30;
- localRSInterface.modelRotation2 = 0;
- localRSInterface.anInt257 = -1;
- localRSInterface.anInt258 = -1;
- }
- private static Sprite LoadLunarSprite(int paramInt, String paramString) {
- Sprite localSprite = imageLoader(paramInt, "/Lunar/" + paramString);
- return localSprite;
- }
- public static void addLunarSprite(int paramInt1, int paramInt2, String paramString) {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.drawsTransparent = true;
- localRSInterface.transAmount = 230;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString);
- localRSInterface.width = 500;
- localRSInterface.height = 500;
- localRSInterface.tooltip = "";
- }
- public static void drawRune(int paramInt1, int paramInt2, String paramString) {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.type = 5;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, "Lunar/RUNE");
- localRSInterface.width = 500;
- localRSInterface.height = 500;
- }
- public static void addRuneText(int paramInt1, int paramInt2, int paramInt3, TextDrawingArea[] paramArrayOfTextDrawingArea) {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = 1151;
- localRSInterface.type = 4;
- localRSInterface.atActionType = 0;
- localRSInterface.contentType = 0;
- localRSInterface.width = 0;
- localRSInterface.height = 14;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = -1;
- localRSInterface.valueCompareType = new int[1];
- localRSInterface.requiredValues = new int[1];
- localRSInterface.valueCompareType[0] = 3;
- localRSInterface.requiredValues[0] = paramInt2;
- localRSInterface.valueIndexArray = new int[1][4];
- localRSInterface.valueIndexArray[0][0] = 4;
- localRSInterface.valueIndexArray[0][1] = 3214;
- localRSInterface.valueIndexArray[0][2] = paramInt3;
- localRSInterface.valueIndexArray[0][3] = 0;
- localRSInterface.centerText = true;
- localRSInterface.textDrawingAreas = paramArrayOfTextDrawingArea[0];
- localRSInterface.textShadow = true;
- localRSInterface.message = ("%1/" + paramInt2 + "");
- localRSInterface.aString228 = "";
- localRSInterface.textColor = 12582912;
- localRSInterface.anInt219 = 49152;
- }
- public static void homeTeleport() {
- RSInterface localRSInterface1 = addInterface(30000);
- localRSInterface1.tooltip = "Cast @gre@Lunar Home Teleport";
- localRSInterface1.id = 30000;
- localRSInterface1.parentID = 30000;
- localRSInterface1.type = 5;
- localRSInterface1.atActionType = 5;
- localRSInterface1.contentType = 0;
- localRSInterface1.opacity = 0;
- localRSInterface1.mOverInterToTrigger = 30001;
- localRSInterface1.sprite1 = imageLoader(1, "Lunar/SPRITE");
- localRSInterface1.width = 20;
- localRSInterface1.height = 20;
- RSInterface localRSInterface2 = addInterface(30001);
- localRSInterface2.isMouseoverTriggered = true;
- setChildren(1, localRSInterface2);
- addLunarSprite(30002, 0, "SPRITE");
- setBounds(30002, 0, 0, 0, localRSInterface2);
- }
- 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) {
- RSInterface localRSInterface1 = addInterface(paramInt1);
- localRSInterface1.id = paramInt1;
- localRSInterface1.parentID = 1151;
- localRSInterface1.type = 5;
- localRSInterface1.atActionType = paramInt10;
- localRSInterface1.contentType = 0;
- localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
- localRSInterface1.spellUsableOn = paramInt9;
- localRSInterface1.selectedActionName = "Cast On";
- localRSInterface1.width = 20;
- localRSInterface1.height = 20;
- localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
- localRSInterface1.spellName = paramString1;
- localRSInterface1.valueCompareType = new int[3];
- localRSInterface1.requiredValues = new int[3];
- localRSInterface1.valueCompareType[0] = 3;
- localRSInterface1.requiredValues[0] = paramInt4;
- localRSInterface1.valueCompareType[1] = 3;
- localRSInterface1.requiredValues[1] = paramInt5;
- localRSInterface1.valueCompareType[2] = 3;
- localRSInterface1.requiredValues[2] = paramInt7;
- localRSInterface1.valueIndexArray = new int[3][];
- localRSInterface1.valueIndexArray[0] = new int[4];
- localRSInterface1.valueIndexArray[0][0] = 4;
- localRSInterface1.valueIndexArray[0][1] = 3214;
- localRSInterface1.valueIndexArray[0][2] = paramInt2;
- localRSInterface1.valueIndexArray[0][3] = 0;
- localRSInterface1.valueIndexArray[1] = new int[4];
- localRSInterface1.valueIndexArray[1][0] = 4;
- localRSInterface1.valueIndexArray[1][1] = 3214;
- localRSInterface1.valueIndexArray[1][2] = paramInt3;
- localRSInterface1.valueIndexArray[1][3] = 0;
- localRSInterface1.valueIndexArray[2] = new int[3];
- localRSInterface1.valueIndexArray[2][0] = 1;
- localRSInterface1.valueIndexArray[2][1] = 6;
- localRSInterface1.valueIndexArray[2][2] = 0;
- localRSInterface1.sprite2 = imageLoader(paramInt8, "Lunar/LUNARON");
- localRSInterface1.sprite1 = imageLoader(paramInt8, "Lunar/LUNARON");
- RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
- localRSInterface2.isMouseoverTriggered = true;
- setChildren(7, localRSInterface2);
- addLunarSprite(paramInt1 + 2, 0, "Lunar/BOX");
- setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
- addText(paramInt1 + 3, "Level " + (paramInt7 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1);
- setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
- addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0);
- setBounds(paramInt1 + 4, 90, 19, 2, localRSInterface2);
- setBounds(30016, 37, 35, 3, localRSInterface2);
- setBounds(paramInt6, 112, 35, 4, localRSInterface2);
- addRuneText(paramInt1 + 5, paramInt4 + 1, paramInt2, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 5, 50, 66, 5, localRSInterface2);
- addRuneText(paramInt1 + 6, paramInt5 + 1, paramInt3, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 6, 123, 66, 6, localRSInterface2);
- }
- 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)
- {
- RSInterface localRSInterface1 = addInterface(paramInt1);
- localRSInterface1.id = paramInt1;
- localRSInterface1.parentID = 1151;
- localRSInterface1.type = 5;
- localRSInterface1.atActionType = paramInt13;
- localRSInterface1.contentType = 0;
- localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
- localRSInterface1.spellUsableOn = paramInt12;
- localRSInterface1.selectedActionName = "Cast on";
- localRSInterface1.width = 20;
- localRSInterface1.height = 20;
- localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
- localRSInterface1.spellName = paramString1;
- localRSInterface1.valueCompareType = new int[4];
- localRSInterface1.requiredValues = new int[4];
- localRSInterface1.valueCompareType[0] = 3;
- localRSInterface1.requiredValues[0] = paramInt5;
- localRSInterface1.valueCompareType[1] = 3;
- localRSInterface1.requiredValues[1] = paramInt6;
- localRSInterface1.valueCompareType[2] = 3;
- localRSInterface1.requiredValues[2] = paramInt7;
- localRSInterface1.valueCompareType[3] = 3;
- localRSInterface1.requiredValues[3] = paramInt10;
- localRSInterface1.valueIndexArray = new int[4][];
- localRSInterface1.valueIndexArray[0] = new int[4];
- localRSInterface1.valueIndexArray[0][0] = 4;
- localRSInterface1.valueIndexArray[0][1] = 3214;
- localRSInterface1.valueIndexArray[0][2] = paramInt2;
- localRSInterface1.valueIndexArray[0][3] = 0;
- localRSInterface1.valueIndexArray[1] = new int[4];
- localRSInterface1.valueIndexArray[1][0] = 4;
- localRSInterface1.valueIndexArray[1][1] = 3214;
- localRSInterface1.valueIndexArray[1][2] = paramInt3;
- localRSInterface1.valueIndexArray[1][3] = 0;
- localRSInterface1.valueIndexArray[2] = new int[4];
- localRSInterface1.valueIndexArray[2][0] = 4;
- localRSInterface1.valueIndexArray[2][1] = 3214;
- localRSInterface1.valueIndexArray[2][2] = paramInt4;
- localRSInterface1.valueIndexArray[2][3] = 0;
- localRSInterface1.valueIndexArray[3] = new int[3];
- localRSInterface1.valueIndexArray[3][0] = 1;
- localRSInterface1.valueIndexArray[3][1] = 6;
- localRSInterface1.valueIndexArray[3][2] = 0;
- localRSInterface1.sprite2 = imageLoader(paramInt11, "Lunar/LUNARON");
- localRSInterface1.sprite1 = imageLoader(paramInt11, "Lunar/LUNARON");
- RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
- localRSInterface2.isMouseoverTriggered = true;
- setChildren(9, localRSInterface2);
- addLunarSprite(paramInt1 + 2, 0, "Lunar/BOX");
- setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
- addText(paramInt1 + 3, "Level " + (paramInt10 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1); setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
- addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0); setBounds(paramInt1 + 4, 90, 19, 2, localRSInterface2);
- setBounds(30016, 14, 35, 3, localRSInterface2);
- setBounds(paramInt8, 74, 35, 4, localRSInterface2);
- setBounds(paramInt9, 130, 35, 5, localRSInterface2);
- addRuneText(paramInt1 + 5, paramInt5 + 1, paramInt2, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 5, 26, 66, 6, localRSInterface2);
- addRuneText(paramInt1 + 6, paramInt6 + 1, paramInt3, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 6, 87, 66, 7, localRSInterface2);
- addRuneText(paramInt1 + 7, paramInt7 + 1, paramInt4, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 7, 142, 66, 8, localRSInterface2);
- }
- 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) {
- RSInterface localRSInterface1 = addInterface(paramInt1);
- localRSInterface1.id = paramInt1;
- localRSInterface1.parentID = 1151;
- localRSInterface1.type = 5;
- localRSInterface1.atActionType = paramInt13;
- localRSInterface1.contentType = 0;
- localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
- localRSInterface1.spellUsableOn = paramInt12;
- localRSInterface1.selectedActionName = "Cast on";
- localRSInterface1.width = 20;
- localRSInterface1.height = 20;
- localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
- localRSInterface1.spellName = paramString1;
- localRSInterface1.valueCompareType = new int[4];
- localRSInterface1.requiredValues = new int[4];
- localRSInterface1.valueCompareType[0] = 3;
- localRSInterface1.requiredValues[0] = paramInt5;
- localRSInterface1.valueCompareType[1] = 3;
- localRSInterface1.requiredValues[1] = paramInt6;
- localRSInterface1.valueCompareType[2] = 3;
- localRSInterface1.requiredValues[2] = paramInt7;
- localRSInterface1.valueCompareType[3] = 3;
- localRSInterface1.requiredValues[3] = paramInt10;
- localRSInterface1.valueIndexArray = new int[4][];
- localRSInterface1.valueIndexArray[0] = new int[4];
- localRSInterface1.valueIndexArray[0][0] = 4;
- localRSInterface1.valueIndexArray[0][1] = 3214;
- localRSInterface1.valueIndexArray[0][2] = paramInt2;
- localRSInterface1.valueIndexArray[0][3] = 0;
- localRSInterface1.valueIndexArray[1] = new int[4];
- localRSInterface1.valueIndexArray[1][0] = 4;
- localRSInterface1.valueIndexArray[1][1] = 3214;
- localRSInterface1.valueIndexArray[1][2] = paramInt3;
- localRSInterface1.valueIndexArray[1][3] = 0;
- localRSInterface1.valueIndexArray[2] = new int[4];
- localRSInterface1.valueIndexArray[2][0] = 4;
- localRSInterface1.valueIndexArray[2][1] = 3214;
- localRSInterface1.valueIndexArray[2][2] = paramInt4;
- localRSInterface1.valueIndexArray[2][3] = 0;
- localRSInterface1.valueIndexArray[3] = new int[3];
- localRSInterface1.valueIndexArray[3][0] = 1;
- localRSInterface1.valueIndexArray[3][1] = 6;
- localRSInterface1.valueIndexArray[3][2] = 0;
- localRSInterface1.sprite2 = imageLoader(paramInt11, "Lunar/LUNARON");
- localRSInterface1.sprite1 = imageLoader(paramInt11, "Lunar/LUNARON");
- RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
- localRSInterface2.isMouseoverTriggered = true;
- setChildren(9, localRSInterface2);
- addLunarSprite(paramInt1 + 2, 1, "Lunar/BOX");
- setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
- addText(paramInt1 + 3, "Level " + (paramInt10 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1); setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
- addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0); setBounds(paramInt1 + 4, 90, 21, 2, localRSInterface2);
- setBounds(30016, 14, 48, 3, localRSInterface2);
- setBounds(paramInt8, 74, 48, 4, localRSInterface2);
- setBounds(paramInt9, 130, 48, 5, localRSInterface2);
- addRuneText(paramInt1 + 5, paramInt5 + 1, paramInt2, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 5, 26, 79, 6, localRSInterface2);
- addRuneText(paramInt1 + 6, paramInt6 + 1, paramInt3, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 6, 87, 79, 7, localRSInterface2);
- addRuneText(paramInt1 + 7, paramInt7 + 1, paramInt4, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 7, 142, 79, 8, localRSInterface2);
- }
- 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) {
- RSInterface localRSInterface1 = addInterface(paramInt1);
- localRSInterface1.id = paramInt1;
- localRSInterface1.parentID = 1151;
- localRSInterface1.type = 5;
- localRSInterface1.atActionType = paramInt13;
- localRSInterface1.contentType = 0;
- localRSInterface1.mOverInterToTrigger = (paramInt1 + 1);
- localRSInterface1.spellUsableOn = paramInt12;
- localRSInterface1.selectedActionName = "Cast on";
- localRSInterface1.width = 20;
- localRSInterface1.height = 20;
- localRSInterface1.tooltip = ("Cast @gre@" + paramString1);
- localRSInterface1.spellName = paramString1;
- localRSInterface1.valueCompareType = new int[4];
- localRSInterface1.requiredValues = new int[4];
- localRSInterface1.valueCompareType[0] = 3;
- localRSInterface1.requiredValues[0] = paramInt5;
- localRSInterface1.valueCompareType[1] = 3;
- localRSInterface1.requiredValues[1] = paramInt6;
- localRSInterface1.valueCompareType[2] = 3;
- localRSInterface1.requiredValues[2] = paramInt7;
- localRSInterface1.valueCompareType[3] = 3;
- localRSInterface1.requiredValues[3] = paramInt10;
- localRSInterface1.valueIndexArray = new int[4][];
- localRSInterface1.valueIndexArray[0] = new int[4];
- localRSInterface1.valueIndexArray[0][0] = 4;
- localRSInterface1.valueIndexArray[0][1] = 3214;
- localRSInterface1.valueIndexArray[0][2] = paramInt2;
- localRSInterface1.valueIndexArray[0][3] = 0;
- localRSInterface1.valueIndexArray[1] = new int[4];
- localRSInterface1.valueIndexArray[1][0] = 4;
- localRSInterface1.valueIndexArray[1][1] = 3214;
- localRSInterface1.valueIndexArray[1][2] = paramInt3;
- localRSInterface1.valueIndexArray[1][3] = 0;
- localRSInterface1.valueIndexArray[2] = new int[4];
- localRSInterface1.valueIndexArray[2][0] = 4;
- localRSInterface1.valueIndexArray[2][1] = 3214;
- localRSInterface1.valueIndexArray[2][2] = paramInt4;
- localRSInterface1.valueIndexArray[2][3] = 0;
- localRSInterface1.valueIndexArray[3] = new int[3];
- localRSInterface1.valueIndexArray[3][0] = 1;
- localRSInterface1.valueIndexArray[3][1] = 6;
- localRSInterface1.valueIndexArray[3][2] = 0;
- localRSInterface1.sprite2 = imageLoader(paramInt11, "Lunar/LUNARON");
- localRSInterface1.sprite1 = imageLoader(paramInt11, "Lunar/LUNARON");
- RSInterface localRSInterface2 = addInterface(paramInt1 + 1);
- localRSInterface2.isMouseoverTriggered = true;
- setChildren(9, localRSInterface2);
- addLunarSprite(paramInt1 + 2, 2, "Lunar/BOX");
- setBounds(paramInt1 + 2, 0, 0, 0, localRSInterface2);
- addText(paramInt1 + 3, "Level " + (paramInt10 + 1) + ": " + paramString1, 16750623, true, true, 52, paramArrayOfTextDrawingArea, 1);
- setBounds(paramInt1 + 3, 90, 4, 1, localRSInterface2);
- addText(paramInt1 + 4, paramString2, 11495962, true, true, 52, paramArrayOfTextDrawingArea, 0);
- setBounds(paramInt1 + 4, 90, 34, 2, localRSInterface2);
- setBounds(30016, 14, 61, 3, localRSInterface2);
- setBounds(paramInt8, 74, 61, 4, localRSInterface2);
- setBounds(paramInt9, 130, 61, 5, localRSInterface2);
- addRuneText(paramInt1 + 5, paramInt5 + 1, paramInt2, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 5, 26, 92, 6, localRSInterface2);
- addRuneText(paramInt1 + 6, paramInt6 + 1, paramInt3, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 6, 87, 92, 7, localRSInterface2);
- addRuneText(paramInt1 + 7, paramInt7 + 1, paramInt4, paramArrayOfTextDrawingArea);
- setBounds(paramInt1 + 7, 142, 92, 8, localRSInterface2);
- }
- public static void setBounds(int paramInt1, int paramInt2, int paramInt3, int paramInt4, RSInterface paramRSInterface)
- {
- paramRSInterface.children[paramInt4] = paramInt1;
- paramRSInterface.childX[paramInt4] = paramInt2;
- paramRSInterface.childY[paramInt4] = paramInt3;
- }
- public static void addButton(int paramInt1, int paramInt2, String paramString1, int paramInt3, int paramInt4, String paramString2, int paramInt5) {
- RSInterface localRSInterface = addInterface(paramInt1);
- localRSInterface.id = paramInt1;
- localRSInterface.parentID = paramInt1;
- localRSInterface.type = 5;
- localRSInterface.atActionType = paramInt5;
- localRSInterface.contentType = 0;
- localRSInterface.opacity = 0;
- localRSInterface.mOverInterToTrigger = 52;
- localRSInterface.sprite1 = imageLoader(paramInt2, paramString1);
- localRSInterface.sprite2 = imageLoader(paramInt2, paramString1);
- localRSInterface.width = paramInt3;
- localRSInterface.height = paramInt4;
- localRSInterface.tooltip = paramString2;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement