Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • stCky: idk man im just a chat bot
      August 22, 2017, 11:14:52 PM
    • symantec: is this forum
      August 22, 2017, 09:02:56 PM
    • symantec: what the fudge
      August 22, 2017, 09:02:52 PM
    • symantec: I just joined to download datmaker, the links are broken and a user named i nelson i has a fudgeing weird signature
      August 22, 2017, 08:59:33 PM
    • stCky: ur so cool and edgy
      August 22, 2017, 04:15:50 PM
    • Deathspirit: anyways, i'm un ip banned now.. but don't even want to be that at this point lmfao
      August 22, 2017, 01:58:14 PM
    • Deathspirit: now it's some sell out half leeched server :')
      August 22, 2017, 01:57:53 PM
    • Deathspirit: gf moparscape, was the best rsps community i've been on since 2006
      August 22, 2017, 01:57:31 PM
    • stCky: yeah, nah. it's cooked. [link] might help u with a backup or something idk man im just a chat bot
      August 22, 2017, 12:13:25 AM
    • flew420: I sure hope someone has a copy of the forum before it was recked
      August 21, 2017, 11:40:52 PM
    • flew420: O wow i see now, just read thru all the news articles. :(  i've been out of the game for a couple years so coming back to this shit is sad.
      August 21, 2017, 11:39:46 PM
    • flew420: Huh?
      August 21, 2017, 10:49:51 PM
    • stCky: got bought by a russian dude, he put a shitty rsps on it for donations, now no one cares
      August 21, 2017, 10:48:30 PM
    • flew420: I came on for some nostalgic reading in old classic development, and it only goes back to 2014 wtf.
      August 21, 2017, 10:43:09 PM
    • flew420: what happened to this site??
      August 21, 2017, 10:42:36 PM
    • Sean56:[link]
      August 21, 2017, 05:33:45 PM
    • kb010: how can i play? i downloaded the client and it doesnt open.
      August 21, 2017, 10:52:56 AM
    • wodkode: shut it down or fix it
      August 20, 2017, 10:11:28 PM
    • wodkode: dude i cant goto no links on here from google
      August 20, 2017, 10:11:13 PM
    • Dell: Greetings
      August 20, 2017, 11:56:30 AM

    Author Topic: Adding a custom teleport interface to pi  (Read 1133 times)

    0 Members and 1 Guest are viewing this topic.

    Offlinemagez12345

    • Member
    • **
    • Posts: 21
    • Thanks: +0/-0
      • View Profile
    Adding a custom teleport interface to pi
    « on: February 25, 2016, 04:37:16 PM »
    Hello ive been trying to add a custom teleport interface to my rsps that i got off another rsps i bought only problem is im not too sure how to add it, i think ive got the basics down but the interface wont open when i do ::interface 60600, so i adding it to the startup just to see what would happen and i got:
    Error: T2 - 97,208,104 - 2,0,0 - -19,29,

    If you see anything wrong with the code or im missing something please comment i have the whole RSinterface.java of the other server so if im missing something i should be able to get it

    link to original post: https://www.rune-server.ee/runescape-development/rs2-client/help/621212-custom-teleport-interface-pi.html

    Telelport code:
          
    Code: [Select]
    public static void trainingTeleports(RSFont[] tda) {
    RSInterface rsInterface = addInterface(60600);
    addSprite(60601, 0, "Teleporting/Background");
    addHoverButton(60602, "Teleporting/Tab", 0, 120, 26, "Select", 0, 60603, 1);
    addHoveredButton(60603, "Teleporting/Tab", 1, 120, 26, 60604);
    addHoverButton(60605, "Teleporting/Tab", 0, 120,26, "Select", 0, 60606, 1);
    addHoveredButton(60606, "Teleporting/Tab", 1, 120, 26, 60607);
    addHoverButton(60608, "Teleporting/Tab", 0, 120,26, "Select", 0, 60609, 1);
    addHoveredButton(60609, "Teleporting/Tab", 1, 120, 26, 60610);
    addHoverButton(60611, "Teleporting/Tab", 0, 120,26, "Select", 0, 60612, 1);
    addHoveredButton(60612, "Teleporting/Tab", 1, 120, 26, 60613);
    addHoverButton(60614, "Teleporting/Tab", 0, 120,26, "Select", 0, 60615, 1);
    addHoveredButton(60615, "Teleporting/Tab", 1, 120, 26, 60616);
    addHoverButton(60617, "Teleporting/Tab", 0, 120,26, "Select", 0, 60618, 1);
    addHoveredButton(60618, "Teleporting/Tab", 1, 120, 26, 60619);
    addHoverButton(60622, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60623, 1);
    addHoveredButton(60623, "Teleporting/Button", 1, 90, 32, 60624);
    addHoverButton(60625, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60626, 1);
    addHoveredButton(60626, "Teleporting/Button", 1, 90, 32, 60627);
    addHoverButton(60628, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60629, 1);
    addHoveredButton(60629, "Teleporting/Button", 1, 90, 32, 60630);
    addHoverButton(60631, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60632, 1);
    addHoveredButton(60632, "Teleporting/Button", 1, 90, 32, 60633);
    addHoverButton(60634, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60635, 1);
    addHoveredButton(60635, "Teleporting/Button", 1, 90, 32, 60636);
    addHoverButton(60637, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60638, 1);
    addHoveredButton(60638, "Teleporting/Button", 1, 90, 32, 60639);
    addHoverButton(60640, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60641, 1);
    addHoveredButton(60641, "Teleporting/Button", 1, 90, 32, 60642);
    addHoverButton(60643, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60644, 1);
    addHoveredButton(60644, "Teleporting/Button", 1, 90, 32, 60645);
    addHoverButton(60646, "Teleporting/Button", 0, 90, 32, "Teleport", 0, 60647, 1);
    addHoveredButton(60647, "Teleporting/Button", 1, 90, 32, 60648);
    addHoverButton(60649, "Teleporting/Lock", 0, 69, 67, "View", 0, 60650, 1);
    addHoveredButton(60650, "Teleporting/Lock", 1, 69, 67, 60651);
    addHoverButton(60652, "Teleporting/Close", 0, 16, 16, "Close", 0, 60653, 3);
    addHoveredButton(60653, "Teleporting/Close", 1, 16, 16, 60654);
    //addButton(60655, 0, "Teleporting/Icon");
    addButton(60655, 0, "Teleporting/Icon", "");
    addText(60656, "Monsters", tda, 1, 0xF7FE2E, true, true);
    addText(60657, "Minigames", tda, 1, 0xF7FE2E, true, true);
    addText(60658, "Bosses", tda, 1, 0xF7FE2E, true, true);
    addText(60659, "Player-Killing", tda, 1, 0xF7FE2E, true, true);
    addText(60660, "Skilling", tda, 1, 0xF7FE2E, true, true);
    addText(60661, "Donator", tda, 1, 0xF7FE2E, true, true);

    addText(60662, "", tda, 1, 0xff981f, true, true);
    addText(60663, "", tda, 1, 0xff981f, true, true);
    addText(60664, "", tda, 1, 0xff981f, true, true);
    addText(60665, "", tda, 1, 0xff981f, true, true);
    addText(60666, "", tda, 1, 0xff981f, true, true);
    addText(60667, "", tda, 1, 0xff981f, true, true);
    addText(60668, "", tda, 1, 0xff981f, true, true);
    addText(60669, "", tda, 1, 0xff981f, true, true);
    addText(60670, "", tda, 1, 0xff981f, true, true);
    addText(60671, "", tda, 1, 0xff981f, true, true);
    addText(60672, "", tda, 1, 0xff981f, true, true);
    addText(60673, "", tda, 1, 0xff981f, true, true);
    addText(60674, "", tda, 1, 0xff981f, true, true);
    addText(60675, "", tda, 1, 0xff981f, true, true);
    addText(60676, "", tda, 1, 0xff981f, true, true);
    addText(60677, "", tda, 1, 0xff981f, true, true);
    addText(60678, "", tda, 1, 0xff981f, true, true);
    addText(60679, "", tda, 1, 0xff981f, true, true);
    //addText(60680, "", tda, 1, 0xff981f, true, true);
    //addText(60681, "", tda, 1, 0xff981f, true, true);
    addText(60690, "Teleporting - Select your destination", tda, 2, 0xff981f, true, true);
    setChildren(69, rsInterface);
    rsInterface.child(0, 60601, 1, 5); // Background
    rsInterface.child(1, 60602, 14, 41); // Tab 1 Hover
    rsInterface.child(2, 60603, 14, 41); // Tab 1
    rsInterface.child(3, 60605, 14, 67); // Tab 2 Hover
    rsInterface.child(4, 60606, 14, 67); // Tab 2
    rsInterface.child(5, 60608, 14, 93); // Tab 3 Hover
    rsInterface.child(6, 60609, 14, 93); // Tab 3
    rsInterface.child(7, 60611, 14, 119); // Tab 4 Hover
    rsInterface.child(8, 60612, 14, 119); // Tab 4
    rsInterface.child(9, 60614, 14, 145); // Tab 5 Hover
    rsInterface.child(10, 60615, 14, 145); // Tab 5
    rsInterface.child(11, 60617, 14, 171); // Tab 6 Hover
    rsInterface.child(12, 60618, 14, 171); // Tab 6
    rsInterface.child(13, 60622, 153, 78); // Button 1 Hover
    rsInterface.child(14, 60623, 153, 78); // Button 1
    rsInterface.child(15, 60625, 267, 78); // Button 2 Hover
    rsInterface.child(16, 60626, 267, 78); // Button 2
    rsInterface.child(17, 60628, 383, 78); // Button 3 Hover
    rsInterface.child(18, 60629, 383, 78); // Button 3
    rsInterface.child(19, 60631, 153, 159); // Button 4 Hover
    rsInterface.child(20, 60632, 153, 159); // Button 4
    rsInterface.child(21, 60634, 267, 159); // Button 5 Hover
    rsInterface.child(22, 60635, 267, 159); // Button 5
    rsInterface.child(23, 60637, 383, 159); // Button 6 Hover
    rsInterface.child(24, 60638, 383, 159); // Button 6
    rsInterface.child(25, 60640, 153, 232); // Button 7 Hover
    rsInterface.child(26, 60641, 153, 232); // Button 7
    rsInterface.child(27, 60643, 267, 232); // Button 8 Hover
    rsInterface.child(28, 60644, 267, 232); // Button 8
    rsInterface.child(29, 60646, 383, 232); // Button 9 Hover
    rsInterface.child(30, 60647, 383, 232); // Button 9
    rsInterface.child(31, 60649, 38, 207); // Button 10 Hover
    rsInterface.child(32, 60650, 38, 207); // Button 10
    rsInterface.child(33, 60652, 480, 17); // Close Hover
    rsInterface.child(34, 60653, 480, 17); // Close
    rsInterface.child(35, 60655, 190, 58); // Icon 1
    rsInterface.child(36, 60655, 304, 58); // Icon 2
    rsInterface.child(37, 60655, 419, 58); // Icon 3
    rsInterface.child(38, 60655, 188, 139); // Icon 4
    rsInterface.child(39, 60655, 304, 139); // Icon 5
    rsInterface.child(40, 60655, 420, 139); // Icon 6
    rsInterface.child(41, 60655, 188, 212); // Icon 7
    rsInterface.child(42, 60655, 305, 212); // Icon 8
    rsInterface.child(43, 60655, 419, 212); // Icon 9
    rsInterface.child(44, 60656, 75, 50); // Title 1
    rsInterface.child(45, 60657, 75, 75); // Title 2
    rsInterface.child(46, 60658, 75, 103); // Title 3
    rsInterface.child(47, 60659, 75, 127); // Title 4
    rsInterface.child(48, 60660, 75, 155); // Title 5
    rsInterface.child(49, 60661, 75, 179); // Title 6
    rsInterface.child(50, 60662, 198, 79); // Teleport Text 1
    rsInterface.child(51, 60663, 198, 93); // Teleport Text 1
    rsInterface.child(52, 60664, 313, 79); // Teleport Text 2
    rsInterface.child(53, 60665, 313, 93); // Teleport Text 2
    rsInterface.child(54, 60666, 429, 79); // Teleport Text 3
    rsInterface.child(55, 60667, 429, 93); // Teleport Text 3
    rsInterface.child(56, 60668, 198, 160); // Teleport Text 4
    rsInterface.child(57, 60669, 198, 174); // Teleport Text 4
    rsInterface.child(58, 60670, 313, 160); // Teleport Text 5
    rsInterface.child(59, 60671, 313, 174); // Teleport Text 5
    rsInterface.child(60, 60672, 429, 160); // Teleport Text 6
    rsInterface.child(61, 60673, 429, 174); // Teleport Text 6
    rsInterface.child(62, 60674, 198, 233); // Teleport Text 7
    rsInterface.child(63, 60675, 198, 247); // Teleport Text 7
    rsInterface.child(64, 60676, 313, 233); // Teleport Text 8
    rsInterface.child(65, 60677, 313, 247); // Teleport Text 8
    rsInterface.child(66, 60678, 429, 233); // Teleport Text 9
    rsInterface.child(67, 60679, 429, 247); // Teleport Text 9
    //rsInterface.child(68, 60680, 82, 233); // Teleport Text 10
    //rsInterface.child(69, 60681, 82, 247); // Teleport Text 10
    rsInterface.child(68, 60690, 258, 18); // Title
    }

    public static void addButton(int id, int sid, String spriteName) {
    RSInterface tab = interfaceCache[id] = new RSInterface();
    tab.id = id;
    tab.parentID = id;
    tab.type = 5;
    tab.atActionType = 0;
    tab.contentType = 0;
    tab.aByte254 = (byte) 0;
    tab.mOverInterToTrigger = 52;
    tab.disabledSprite = imageLoader(sid, spriteName);
    tab.enabledSprite = imageLoader(sid, spriteName);
    tab.width = tab.disabledSprite.myWidth;
    tab.height = tab.enabledSprite.myHeight;
    }

    public Sprite sprite2;

    public static void minigameTeleports(RSFont[] tda) {
    RSInterface rsInterface = addInterface(60700); // sec
    //addButton(60682, 1, "Teleporting/Icon");
    addButton(60682, 1, "Teleporting/Icon", "");
    setChildren(69, rsInterface);
    rsInterface.child(0, 60601, 1, 5); // Background
    rsInterface.child(1, 60602, 14, 41); // Tab 1 Hover
    rsInterface.child(2, 60603, 14, 41); // Tab 1
    rsInterface.child(3, 60605, 14, 67); // Tab 2 Hover
    rsInterface.child(4, 60606, 14, 67); // Tab 2
    rsInterface.child(5, 60608, 14, 93); // Tab 3 Hover
    rsInterface.child(6, 60609, 14, 93); // Tab 3
    rsInterface.child(7, 60611, 14, 119); // Tab 4 Hover
    rsInterface.child(8, 60612, 14, 119); // Tab 4
    rsInterface.child(9, 60614, 14, 145); // Tab 5 Hover
    rsInterface.child(10, 60615, 14, 145); // Tab 5
    rsInterface.child(11, 60617, 14, 171); // Tab 6 Hover
    rsInterface.child(12, 60618, 14, 171); // Tab 6
    rsInterface.child(13, 60622, 153, 78); // Button 1 Hover
    rsInterface.child(14, 60623, 153, 78); // Button 1
    rsInterface.child(15, 60625, 267, 78); // Button 2 Hover
    rsInterface.child(16, 60626, 267, 78); // Button 2
    rsInterface.child(17, 60628, 383, 78); // Button 3 Hover
    rsInterface.child(18, 60629, 383, 78); // Button 3
    rsInterface.child(19, 60631, 153, 159); // Button 4 Hover
    rsInterface.child(20, 60632, 153, 159); // Button 4
    rsInterface.child(21, 60634, 267, 159); // Button 5 Hover
    rsInterface.child(22, 60635, 267, 159); // Button 5
    rsInterface.child(23, 60637, 383, 159); // Button 6 Hover
    rsInterface.child(24, 60638, 383, 159); // Button 6
    rsInterface.child(25, 60640, 153, 232); // Button 7 Hover
    rsInterface.child(26, 60641, 153, 232); // Button 7
    rsInterface.child(27, 60643, 267, 232); // Button 8 Hover
    rsInterface.child(28, 60644, 267, 232); // Button 8
    rsInterface.child(29, 60646, 383, 232); // Button 9 Hover
    rsInterface.child(30, 60647, 383, 232); // Button 9
    rsInterface.child(31, 60649, 38, 207); // Button 10 Hover
    rsInterface.child(32, 60650, 38, 207); // Button 10
    rsInterface.child(33, 60652, 480, 17); // Close Hover
    rsInterface.child(34, 60653, 480, 17); // Close
    rsInterface.child(35, 60682, 190, 58); // Icon 1
    rsInterface.child(36, 60682, 304, 58); // Icon 2
    rsInterface.child(37, 60682, 419, 58); // Icon 3
    rsInterface.child(38, 60682, 188, 139); // Icon 4
    rsInterface.child(39, 60682, 304, 139); // Icon 5
    rsInterface.child(40, 60682, 420, 139); // Icon 6
    rsInterface.child(41, 60682, 188, 213); // Icon 7
    rsInterface.child(42, 60682, 305, 213); // Icon 8
    rsInterface.child(43, 60682, 420, 214); // Icon 9
    rsInterface.child(44, 60656, 75, 50); // Title 1
    rsInterface.child(45, 60657, 75, 75); // Title 2
    rsInterface.child(46, 60658, 75, 103); // Title 3
    rsInterface.child(47, 60659, 75, 127); // Title 4
    rsInterface.child(48, 60660, 75, 155); // Title 5
    rsInterface.child(49, 60661, 75, 179); // Title 6
    rsInterface.child(50, 60662, 198, 79); // Teleport Text 1
    rsInterface.child(51, 60663, 198, 93); // Teleport Text 1
    rsInterface.child(52, 60664, 313, 79); // Teleport Text 2
    rsInterface.child(53, 60665, 313, 93); // Teleport Text 2
    rsInterface.child(54, 60666, 429, 79); // Teleport Text 3
    rsInterface.child(55, 60667, 429, 93); // Teleport Text 3
    rsInterface.child(56, 60668, 198, 160); // Teleport Text 4
    rsInterface.child(57, 60669, 198, 174); // Teleport Text 4
    rsInterface.child(58, 60670, 313, 160); // Teleport Text 5
    rsInterface.child(59, 60671, 313, 174); // Teleport Text 5
    rsInterface.child(60, 60672, 429, 160); // Teleport Text 6
    rsInterface.child(61, 60673, 429, 174); // Teleport Text 6
    rsInterface.child(62, 60674, 198, 233); // Teleport Text 7
    rsInterface.child(63, 60675, 198, 247); // Teleport Text 7
    rsInterface.child(64, 60676, 313, 233); // Teleport Text 8
    rsInterface.child(65, 60677, 313, 247); // Teleport Text 8
    rsInterface.child(66, 60678, 429, 233); // Teleport Text 9
    rsInterface.child(67, 60679, 429, 247); // Teleport Text 9
    //rsInterface.child(68, 60680, 82, 233); // Teleport Text 10
    //rsInterface.child(69, 60681, 82, 247); // Teleport Text 10
    rsInterface.child(68, 60690, 258, 18); // Title
    }
    public static void bossesTeleports(RSFont[] tda) {
    RSInterface rsInterface = addInterface(60800);
    //addButton(60683, 2, "Teleporting/Icon");
    addButton(60683, 2, "Teleporting/Icon", "");
    setChildren(69, rsInterface);
    rsInterface.child(0, 60601, 1, 5); // Background
    rsInterface.child(1, 60602, 14, 41); // Tab 1 Hover
    rsInterface.child(2, 60603, 14, 41); // Tab 1
    rsInterface.child(3, 60605, 14, 67); // Tab 2 Hover
    rsInterface.child(4, 60606, 14, 67); // Tab 2
    rsInterface.child(5, 60608, 14, 93); // Tab 3 Hover
    rsInterface.child(6, 60609, 14, 93); // Tab 3
    rsInterface.child(7, 60611, 14, 119); // Tab 4 Hover
    rsInterface.child(8, 60612, 14, 119); // Tab 4
    rsInterface.child(9, 60614, 14, 145); // Tab 5 Hover
    rsInterface.child(10, 60615, 14, 145); // Tab 5
    rsInterface.child(11, 60617, 14, 171); // Tab 6 Hover
    rsInterface.child(12, 60618, 14, 171); // Tab 6
    rsInterface.child(13, 60622, 153, 78); // Button 1 Hover
    rsInterface.child(14, 60623, 153, 78); // Button 1
    rsInterface.child(15, 60625, 267, 78); // Button 2 Hover
    rsInterface.child(16, 60626, 267, 78); // Button 2
    rsInterface.child(17, 60628, 383, 78); // Button 3 Hover
    rsInterface.child(18, 60629, 383, 78); // Button 3
    rsInterface.child(19, 60631, 153, 159); // Button 4 Hover
    rsInterface.child(20, 60632, 153, 159); // Button 4
    rsInterface.child(21, 60634, 267, 159); // Button 5 Hover
    rsInterface.child(22, 60635, 267, 159); // Button 5
    rsInterface.child(23, 60637, 383, 159); // Button 6 Hover
    rsInterface.child(24, 60638, 383, 159); // Button 6
    rsInterface.child(25, 60640, 153, 232); // Button 7 Hover
    rsInterface.child(26, 60641, 153, 232); // Button 7
    rsInterface.child(27, 60643, 267, 232); // Button 8 Hover
    rsInterface.child(28, 60644, 267, 232); // Button 8
    rsInterface.child(29, 60646, 383, 232); // Button 9 Hover
    rsInterface.child(30, 60647, 383, 232); // Button 9
    rsInterface.child(31, 60649, 38, 207); // Button 10 Hover
    rsInterface.child(32, 60650, 38, 207); // Button 10
    rsInterface.child(33, 60652, 480, 17); // Close Hover
    rsInterface.child(34, 60653, 480, 17); // Close
    rsInterface.child(35, 60683, 190, 58); // Icon 1
    rsInterface.child(36, 60683, 303, 58); // Icon 2
    rsInterface.child(37, 60683, 419, 58); // Icon 3
    rsInterface.child(38, 60683, 188, 139); // Icon 4
    rsInterface.child(39, 60683, 303, 139); // Icon 5
    rsInterface.child(40, 60683, 420, 139); // Icon 6
    rsInterface.child(41, 60683, 188, 213); // Icon 7
    rsInterface.child(42, 60683, 303, 213); // Icon 8
    rsInterface.child(43, 60683, 419, 213); // Icon 9
    rsInterface.child(44, 60656, 75, 50); // Title 1
    rsInterface.child(45, 60657, 75, 75); // Title 2
    rsInterface.child(46, 60658, 75, 103); // Title 3
    rsInterface.child(47, 60659, 75, 127); // Title 4
    rsInterface.child(48, 60660, 75, 155); // Title 5
    rsInterface.child(49, 60661, 75, 179); // Title 6
    rsInterface.child(50, 60662, 198, 79); // Teleport Text 1
    rsInterface.child(51, 60663, 198, 93); // Teleport Text 1
    rsInterface.child(52, 60664, 313, 79); // Teleport Text 2
    rsInterface.child(53, 60665, 313, 93); // Teleport Text 2
    rsInterface.child(54, 60666, 429, 79); // Teleport Text 3
    rsInterface.child(55, 60667, 429, 93); // Teleport Text 3
    rsInterface.child(56, 60668, 198, 160); // Teleport Text 4
    rsInterface.child(57, 60669, 198, 174); // Teleport Text 4
    rsInterface.child(58, 60670, 313, 160); // Teleport Text 5
    rsInterface.child(59, 60671, 313, 174); // Teleport Text 5
    rsInterface.child(60, 60672, 429, 160); // Teleport Text 6
    rsInterface.child(61, 60673, 429, 174); // Teleport Text 6
    rsInterface.child(62, 60674, 198, 233); // Teleport Text 7
    rsInterface.child(63, 60675, 198, 247); // Teleport Text 7
    rsInterface.child(64, 60676, 313, 233); // Teleport Text 8
    rsInterface.child(65, 60677, 313, 247); // Teleport Text 8
    rsInterface.child(66, 60678, 429, 233); // Teleport Text 9
    rsInterface.child(67, 60679, 429, 247); // Teleport Text 9
    //rsInterface.child(68, 60680, 82, 233); // Teleport Text 10
    //rsInterface.child(69, 60681, 82, 247); // Teleport Text 10
    rsInterface.child(68, 60690, 258, 18); // Title
    }
    public static void playerKillingTeleports(RSFont[] tda) {
    RSInterface rsInterface = addInterface(60900);
    //addButton(60684, 3, "Teleporting/Icon");
    addButton(60684, 3, "Teleporting/Icon", "");
    setChildren(69, rsInterface);
    rsInterface.child(0, 60601, 1, 5); // Background
    rsInterface.child(1, 60602, 14, 41); // Tab 1 Hover
    rsInterface.child(2, 60603, 14, 41); // Tab 1
    rsInterface.child(3, 60605, 14, 67); // Tab 2 Hover
    rsInterface.child(4, 60606, 14, 67); // Tab 2
    rsInterface.child(5, 60608, 14, 93); // Tab 3 Hover
    rsInterface.child(6, 60609, 14, 93); // Tab 3
    rsInterface.child(7, 60611, 14, 119); // Tab 4 Hover
    rsInterface.child(8, 60612, 14, 119); // Tab 4
    rsInterface.child(9, 60614, 14, 145); // Tab 5 Hover
    rsInterface.child(10, 60615, 14, 145); // Tab 5
    rsInterface.child(11, 60617, 14, 171); // Tab 6 Hover
    rsInterface.child(12, 60618, 14, 171); // Tab 6
    rsInterface.child(13, 60622, 153, 78); // Button 1 Hover
    rsInterface.child(14, 60623, 153, 78); // Button 1
    rsInterface.child(15, 60625, 267, 78); // Button 2 Hover
    rsInterface.child(16, 60626, 267, 78); // Button 2
    rsInterface.child(17, 60628, 383, 78); // Button 3 Hover
    rsInterface.child(18, 60629, 383, 78); // Button 3
    rsInterface.child(19, 60631, 153, 159); // Button 4 Hover
    rsInterface.child(20, 60632, 153, 159); // Button 4
    rsInterface.child(21, 60634, 267, 159); // Button 5 Hover
    rsInterface.child(22, 60635, 267, 159); // Button 5
    rsInterface.child(23, 60637, 383, 159); // Button 6 Hover
    rsInterface.child(24, 60638, 383, 159); // Button 6
    rsInterface.child(25, 60640, 153, 232); // Button 7 Hover
    rsInterface.child(26, 60641, 153, 232); // Button 7
    rsInterface.child(27, 60643, 267, 232); // Button 8 Hover
    rsInterface.child(28, 60644, 267, 232); // Button 8
    rsInterface.child(29, 60646, 383, 232); // Button 9 Hover
    rsInterface.child(30, 60647, 383, 232); // Button 9
    rsInterface.child(31, 60649, 38, 207); // Button 10 Hover
    rsInterface.child(32, 60650, 38, 207); // Button 10
    rsInterface.child(33, 60652, 480, 17); // Close Hover
    rsInterface.child(34, 60653, 480, 17); // Close
    rsInterface.child(35, 60684, 189, 56); // Icon 1
    rsInterface.child(36, 60684, 303, 56); // Icon 2
    rsInterface.child(37, 60684, 418, 56); // Icon 3
    rsInterface.child(38, 60684, 187, 137); // Icon 4
    rsInterface.child(39, 60684, 303, 137); // Icon 5
    rsInterface.child(40, 60684, 419, 137); // Icon 6
    rsInterface.child(41, 60684, 187, 210); // Icon 7
    rsInterface.child(42, 60684, 303, 210); // Icon 8
    rsInterface.child(43, 60684, 419, 210); // Icon 9
    rsInterface.child(44, 60656, 75, 50); // Title 1
    rsInterface.child(45, 60657, 75, 75); // Title 2
    rsInterface.child(46, 60658, 75, 103); // Title 3
    rsInterface.child(47, 60659, 75, 127); // Title 4
    rsInterface.child(48, 60660, 75, 155); // Title 5
    rsInterface.child(49, 60661, 75, 179); // Title 6
    rsInterface.child(50, 60662, 198, 79); // Teleport Text 1
    rsInterface.child(51, 60663, 198, 93); // Teleport Text 1
    rsInterface.child(52, 60664, 313, 79); // Teleport Text 2
    rsInterface.child(53, 60665, 313, 93); // Teleport Text 2
    rsInterface.child(54, 60666, 429, 79); // Teleport Text 3
    rsInterface.child(55, 60667, 429, 93); // Teleport Text 3
    rsInterface.child(56, 60668, 198, 160); // Teleport Text 4
    rsInterface.child(57, 60669, 198, 174); // Teleport Text 4
    rsInterface.child(58, 60670, 313, 160); // Teleport Text 5
    rsInterface.child(59, 60671, 313, 174); // Teleport Text 5
    rsInterface.child(60, 60672, 429, 160); // Teleport Text 6
    rsInterface.child(61, 60673, 429, 174); // Teleport Text 6
    rsInterface.child(62, 60674, 198, 233); // Teleport Text 7
    rsInterface.child(63, 60675, 198, 247); // Teleport Text 7
    rsInterface.child(64, 60676, 313, 233); // Teleport Text 8
    rsInterface.child(65, 60677, 313, 247); // Teleport Text 8
    rsInterface.child(66, 60678, 429, 233); // Teleport Text 9
    rsInterface.child(67, 60679, 429, 247); // Teleport Text 9
    //rsInterface.child(68, 60680, 82, 233); // Teleport Text 10
    //rsInterface.child(69, 60681, 82, 247); // Teleport Text 10
    rsInterface.child(68, 60690, 258, 18); // Title
    }
    public static void skillingTeleports(RSFont[] tda) {
    RSInterface rsInterface = addInterface(61000);
    //addButton(60685, 4, "Teleporting/Icon");
    addButton(60685, 4, "Teleporting/Icon", "");
    setChildren(69, rsInterface);
    rsInterface.child(0, 60601, 1, 5); // Background
    rsInterface.child(1, 60602, 14, 41); // Tab 1 Hover
    rsInterface.child(2, 60603, 14, 41); // Tab 1
    rsInterface.child(3, 60605, 14, 67); // Tab 2 Hover
    rsInterface.child(4, 60606, 14, 67); // Tab 2
    rsInterface.child(5, 60608, 14, 93); // Tab 3 Hover
    rsInterface.child(6, 60609, 14, 93); // Tab 3
    rsInterface.child(7, 60611, 14, 119); // Tab 4 Hover
    rsInterface.child(8, 60612, 14, 119); // Tab 4
    rsInterface.child(9, 60614, 14, 145); // Tab 5 Hover
    rsInterface.child(10, 60615, 14, 145); // Tab 5
    rsInterface.child(11, 60617, 14, 171); // Tab 6 Hover
    rsInterface.child(12, 60618, 14, 171); // Tab 6
    rsInterface.child(13, 60622, 153, 78); // Button 1 Hover
    rsInterface.child(14, 60623, 153, 78); // Button 1
    rsInterface.child(15, 60625, 267, 78); // Button 2 Hover
    rsInterface.child(16, 60626, 267, 78); // Button 2
    rsInterface.child(17, 60628, 383, 78); // Button 3 Hover
    rsInterface.child(18, 60629, 383, 78); // Button 3
    rsInterface.child(19, 60631, 153, 159); // Button 4 Hover
    rsInterface.child(20, 60632, 153, 159); // Button 4
    rsInterface.child(21, 60634, 267, 159); // Button 5 Hover
    rsInterface.child(22, 60635, 267, 159); // Button 5
    rsInterface.child(23, 60637, 383, 159); // Button 6 Hover
    rsInterface.child(24, 60638, 383, 159); // Button 6
    rsInterface.child(25, 60640, 153, 232); // Button 7 Hover
    rsInterface.child(26, 60641, 153, 232); // Button 7
    rsInterface.child(27, 60643, 267, 232); // Button 8 Hover
    rsInterface.child(28, 60644, 267, 232); // Button 8
    rsInterface.child(29, 60646, 383, 232); // Button 9 Hover
    rsInterface.child(30, 60647, 383, 232); // Button 9
    rsInterface.child(31, 60649, 38, 207); // Button 10 Hover
    rsInterface.child(32, 60650, 38, 207); // Button 10
    rsInterface.child(33, 60652, 480, 17); // Close Hover
    rsInterface.child(34, 60653, 480, 17); // Close
    rsInterface.child(35, 60685, 190, 58); // Icon 1
    rsInterface.child(36, 60685, 304, 58); // Icon 2
    rsInterface.child(37, 60685, 419, 58); // Icon 3
    rsInterface.child(38, 60685, 188, 139); // Icon 4
    rsInterface.child(39, 60685, 304, 139); // Icon 5
    rsInterface.child(40, 60685, 420, 139); // Icon 6
    rsInterface.child(41, 60685, 188, 213); // Icon 7
    rsInterface.child(42, 60685, 305, 213); // Icon 8
    rsInterface.child(43, 60685, 419, 213); // Icon 9
    rsInterface.child(44, 60656, 75, 50); // Title 1
    rsInterface.child(45, 60657, 75, 75); // Title 2
    rsInterface.child(46, 60658, 75, 103); // Title 3
    rsInterface.child(47, 60659, 75, 127); // Title 4
    rsInterface.child(48, 60660, 75, 155); // Title 5
    rsInterface.child(49, 60661, 75, 179); // Title 6
    rsInterface.child(50, 60662, 198, 79); // Teleport Text 1
    rsInterface.child(51, 60663, 198, 93); // Teleport Text 1
    rsInterface.child(52, 60664, 313, 79); // Teleport Text 2
    rsInterface.child(53, 60665, 313, 93); // Teleport Text 2
    rsInterface.child(54, 60666, 429, 79); // Teleport Text 3
    rsInterface.child(55, 60667, 429, 93); // Teleport Text 3
    rsInterface.child(56, 60668, 198, 160); // Teleport Text 4
    rsInterface.child(57, 60669, 198, 174); // Teleport Text 4
    rsInterface.child(58, 60670, 313, 160); // Teleport Text 5
    rsInterface.child(59, 60671, 313, 174); // Teleport Text 5
    rsInterface.child(60, 60672, 429, 160); // Teleport Text 6
    rsInterface.child(61, 60673, 429, 174); // Teleport Text 6
    rsInterface.child(62, 60674, 198, 233); // Teleport Text 7
    rsInterface.child(63, 60675, 198, 247); // Teleport Text 7
    rsInterface.child(64, 60676, 313, 233); // Teleport Text 8
    rsInterface.child(65, 60677, 313, 247); // Teleport Text 8
    rsInterface.child(66, 60678, 429, 233); // Teleport Text 9
    rsInterface.child(67, 60679, 429, 247); // Teleport Text 9
    //rsInterface.child(68, 60680, 82, 233); // Teleport Text 10
    //rsInterface.child(69, 60681, 82, 247); // Teleport Text 10
    rsInterface.child(68, 60690, 258, 18); // Title
    }
    public static void donatorTeleports(RSFont[] tda) {
    RSInterface rsInterface = addInterface(61100);
    //addButton(60686, 5, "Teleporting/Icon");
    addButton(60686, 5, "Teleporting/Icon", "");
    setChildren(69, rsInterface);
    rsInterface.child(0, 60601, 1, 5); // Background
    rsInterface.child(1, 60602, 14, 41); // Tab 1 Hover
    rsInterface.child(2, 60603, 14, 41); // Tab 1
    rsInterface.child(3, 60605, 14, 67); // Tab 2 Hover
    rsInterface.child(4, 60606, 14, 67); // Tab 2
    rsInterface.child(5, 60608, 14, 93); // Tab 3 Hover
    rsInterface.child(6, 60609, 14, 93); // Tab 3
    rsInterface.child(7, 60611, 14, 119); // Tab 4 Hover
    rsInterface.child(8, 60612, 14, 119); // Tab 4
    rsInterface.child(9, 60614, 14, 145); // Tab 5 Hover
    rsInterface.child(10, 60615, 14, 145); // Tab 5
    rsInterface.child(11, 60617, 14, 171); // Tab 6 Hover
    rsInterface.child(12, 60618, 14, 171); // Tab 6
    rsInterface.child(13, 60622, 153, 78); // Button 1 Hover
    rsInterface.child(14, 60623, 153, 78); // Button 1
    rsInterface.child(15, 60625, 267, 78); // Button 2 Hover
    rsInterface.child(16, 60626, 267, 78); // Button 2
    rsInterface.child(17, 60628, 383, 78); // Button 3 Hover
    rsInterface.child(18, 60629, 383, 78); // Button 3
    rsInterface.child(19, 60631, 153, 159); // Button 4 Hover
    rsInterface.child(20, 60632, 153, 159); // Button 4
    rsInterface.child(21, 60634, 267, 159); // Button 5 Hover
    rsInterface.child(22, 60635, 267, 159); // Button 5
    rsInterface.child(23, 60637, 383, 159); // Button 6 Hover
    rsInterface.child(24, 60638, 383, 159); // Button 6
    rsInterface.child(25, 60640, 153, 232); // Button 7 Hover
    rsInterface.child(26, 60641, 153, 232); // Button 7
    rsInterface.child(27, 60643, 267, 232); // Button 8 Hover
    rsInterface.child(28, 60644, 267, 232); // Button 8
    rsInterface.child(29, 60646, 383, 232); // Button 9 Hover
    rsInterface.child(30, 60647, 383, 232); // Button 9
    rsInterface.child(31, 60649, 38, 207); // Button 10 Hover
    rsInterface.child(32, 60650, 38, 207); // Button 10
    rsInterface.child(33, 60652, 480, 17); // Close Hover
    rsInterface.child(34, 60653, 480, 17); // Close
    rsInterface.child(35, 60686, 190, 58); // Icon 1
    rsInterface.child(36, 60686, 304, 58); // Icon 2
    rsInterface.child(37, 60686, 419, 58); // Icon 3
    rsInterface.child(38, 60686, 188, 139); // Icon 4
    rsInterface.child(39, 60686, 304, 139); // Icon 5
    rsInterface.child(40, 60686, 420, 139); // Icon 6
    rsInterface.child(41, 60686, 188, 213); // Icon 7
    rsInterface.child(42, 60686, 304, 213); // Icon 8
    rsInterface.child(43, 60686, 419, 213); // Icon 9
    rsInterface.child(44, 60656, 75, 50); // Title 1
    rsInterface.child(45, 60657, 75, 75); // Title 2
    rsInterface.child(46, 60658, 75, 103); // Title 3
    rsInterface.child(47, 60659, 75, 127); // Title 4
    rsInterface.child(48, 60660, 75, 155); // Title 5
    rsInterface.child(49, 60661, 75, 179); // Title 6
    rsInterface.child(50, 60662, 198, 79); // Teleport Text 1
    rsInterface.child(51, 60663, 198, 93); // Teleport Text 1
    rsInterface.child(52, 60664, 313, 79); // Teleport Text 2
    rsInterface.child(53, 60665, 313, 93); // Teleport Text 2
    rsInterface.child(54, 60666, 429, 79); // Teleport Text 3
    rsInterface.child(55, 60667, 429, 93); // Teleport Text 3
    rsInterface.child(56, 60668, 198, 160); // Teleport Text 4
    rsInterface.child(57, 60669, 198, 174); // Teleport Text 4
    rsInterface.child(58, 60670, 313, 160); // Teleport Text 5
    rsInterface.child(59, 60671, 313, 174); // Teleport Text 5
    rsInterface.child(60, 60672, 429, 160); // Teleport Text 6
    rsInterface.child(61, 60673, 429, 174); // Teleport Text 6
    rsInterface.child(62, 60674, 198, 233); // Teleport Text 7
    rsInterface.child(63, 60675, 198, 247); // Teleport Text 7
    rsInterface.child(64, 60676, 313, 233); // Teleport Text 8
    rsInterface.child(65, 60677, 313, 247); // Teleport Text 8
    rsInterface.child(66, 60678, 429, 233); // Teleport Text 9
    rsInterface.child(67, 60679, 429, 247); // Teleport Text 9
    //rsInterface.child(68, 60680, 82, 233); // Teleport Text 10
    //rsInterface.child(69, 60681, 82, 247); // Teleport Text 10
    rsInterface.child(68, 60690, 258, 18); // Title
    }
    i got told to add the botth 6 so i did and i got this error:

    Code: [Select]
    aClass44 = archive;
    extraEquipment(rsFonts);
    PVPInterface(rsFonts);
    PVPInterface2(rsFonts);
    //editShopMain(rsFonts);
    //FriendList(rsFonts);
    //IgnoreList(rsFonts);
    friendsTab(rsFonts);
    skillTab(rsFonts);
    Hovers(rsFonts);
    ignoreTab(rsFonts);
    configureBank(rsFonts);

    SummonTab(rsFonts);
    Rules(rsFonts);
    configureCharDesign(rsFonts);
    newTrade(rsFonts);
    //skillInterface(rsFonts);
    equipmentScreen(rsFonts);
    godwarsMenu(rsFonts);
    musicTab(rsFonts);
    itemsOnDeathDATA(rsFonts);
    itemsOnDeath(rsFonts);
    EquipmentTab(rsFonts);
    questTab(rsFonts);
    StaffInterfaces(rsFonts);
    Logout(rsFonts);
    choosespell(rsFonts);
    emoteTab();
    optionTab(rsFonts);
    clanChatTab(rsFonts);
    Sidebar0(rsFonts);
    Pestpanel(rsFonts);
    Pestpanel2(rsFonts);
    magicTab(rsFonts);
    ancientMagicTab(rsFonts);
    KKK(rsFonts);
    Classes(rsFonts);
    configureLunar(rsFonts);
    Dungeoneering(rsFonts);
    teleport(rsFonts);
    constructLunar();
    Curses(rsFonts);
    minigame(rsFonts);
    boss(rsFonts);
    wilderness(rsFonts);
    prayerMenu(rsFonts);
    extraOptions(rsFonts);
    GodWars(rsFonts);
    trainingTeleports(rsFonts);
    minigameTeleports(rsFonts);
    bossesTeleports(rsFonts);
    playerKillingTeleports(rsFonts);
    skillingTeleports(rsFonts);
    donatorTeleports(rsFonts);
    spriteNodes = null;
    }
    « Last Edit: February 25, 2016, 04:38:51 PM by magez12345 »

    OfflineTree

    • Member
    • ****
    • Posts: 2,638
    • Thanks: +0/-0
      • View Profile
    Quote
    <_^_> this community has really collapsed
    <_^_> it is like a shitty version of friendster for washed up nerds


    OfflineX-J-K-X

    • Member
    • ****
    • Posts: 1,951
    • Thanks: +0/-0
      • View Profile
    Re: Adding a custom teleport interface to pi
    « Reply #2 on: March 01, 2016, 01:58:14 PM »
    RSInterface[] interfaces = new RSInterface[50000];

    interfaces[60600]

    60600 > 50000

    out of boundz

    Offlinemagez12345

    • Member
    • **
    • Posts: 21
    • Thanks: +0/-0
      • View Profile
    Re: Adding a custom teleport interface to pi
    « Reply #3 on: March 08, 2016, 11:11:40 PM »
    Thanks man :)

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal