Thread: [PI]Rsinterface.java

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 [PI]Rsinterface.java 
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    at
    Code:
    aClass44 = streamLoader;
    i have to translate this:
    Code:
    		minigame(rsFonts);
    			boss(rsFonts);
    			wilderness(rsFonts);
    			training(rsFonts);
    and this:
    Code:
    		public static final void wilderness(RSFont[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45600);
    		addText(45601, "P'King Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45602, "Interfaces/Minigame/Hover", 0, 172, 24, "Mage Bank", -1, 45603, 1);
    		addHoveredButton(45603, "Interfaces/Minigame/Hover", 2, 172, 24, 45604);
    		addHoverButton(45618, "Interfaces/Minigame/Hover", 0, 172, 24, "Level 13 Wild", -1, 45619, 1);
    		addHoveredButton(45619, "Interfaces/Minigame/Hover", 2, 172, 24, 45620);
    		addHoverButton(45621, "Interfaces/Minigame/Hover", 0, 172, 24, "Level 18 Wild", -1, 45622, 1);
    		addHoveredButton(45622, "Interfaces/Minigame/Hover", 2, 172, 24, 45623);
    		addHoverButton(45624, "Interfaces/Minigame/Hover", 0, 172, 24, "Edgeville", -1, 45625, 1);
    		addHoveredButton(45625, "Interfaces/Minigame/Hover", 2, 172, 24, 45626);
    		addHoverButton(45627, "Interfaces/Minigame/Hover", 0, 172, 24, "Ardougne Fun Pvp", -1, 45628, 1);
    		addHoveredButton(45628, "Interfaces/Minigame/Hover", 2, 172, 24, 45629);
    		addHoverButton(45633, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45634, 1);
    		addHoveredButton(45634, "Interfaces/Minigame/Back", 1, 16, 16, 45635);
    		addSprite(45605, 1, "Interfaces/Minigame/Pk");
    		addSprite(45606, 1, "Interfaces/Minigame/Pk");
    		addSprite(45607, 1, "Interfaces/Minigame/Pk");
    		addSprite(45608, 1, "Interfaces/Minigame/Pk");
    		addSprite(45609, 1, "Interfaces/Minigame/Pk");
    		addSprite(45611, 1, "Interfaces/Minigame/Background");
    		addText(45612, "Mage Bank", 0xd67b29, true, true, 52, tda, 2);
    		addText(45613, "Level 13 Wild", 0xd67b29, true, true, 52, tda, 2);
    		addText(45614, "Level 18 Wild", 0xd67b29, true, true, 52, tda, 2);
    		addText(45615, "Edgeville", 0xd67b29, true, true, 52, tda, 2);
    		addText(45616, "Ardougne Fun Pvp", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45611, -1, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45601, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45602, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45603, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45612, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45618, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45619, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45613, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45621, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45622, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45614, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45624, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45625, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45615, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45627, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45628, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45616, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45605, 148, 34, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45606, 148, 71, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45607, 148, 108, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45608, 148, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45609, 148, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45633, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45634, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    	
    		public static final void boss(RSFont[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45500);
    		addText(45501, "Boss Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45502, "Interfaces/Minigame/Hover", 0, 172, 24, "God Wars", -1, 45503, 1);
    		addHoveredButton(45503, "Interfaces/Minigame/Hover", 3, 172, 24, 45504);
    		addHoverButton(45518, "Interfaces/Minigame/Hover", 0, 172, 24, "King Black Dragon", -1, 45519, 1);
    		addHoveredButton(45519, "Interfaces/Minigame/Hover", 3, 172, 24, 45520);
    		addHoverButton(45521, "Interfaces/Minigame/Hover", 0, 172, 24, "Dagannoth Kings", -1, 45522, 1);
    		addHoveredButton(45522, "Interfaces/Minigame/Hover", 3, 172, 24, 45523);
    		addHoverButton(45524, "Interfaces/Minigame/Hover", 0, 172, 24, "Chaos Elemental", -1, 45525, 1);
    		addHoveredButton(45525, "Interfaces/Minigame/Hover", 3, 172, 24, 45526);
    		addHoverButton(45527, "Interfaces/Minigame/Hover", 0, 172, 24, "Corporal Beast", -1, 45528, 1);
    		addHoveredButton(45528, "Interfaces/Minigame/Hover", 3, 172, 24, 45529);
    		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/Godwars");
    		addSprite(45506, 1, "Interfaces/Minigame/Kbd");
    		addSprite(45507, 1, "Interfaces/Minigame/Dagganoths");
    		addSprite(45508, 1, "Interfaces/Minigame/Chaos");
    		addSprite(45509, 1, "Interfaces/Minigame/Corporeal");
    		addSprite(45511, 1, "Interfaces/Minigame/Background");
    		addText(45512, "Godwars", 0xd67b29, true, true, 52, tda, 2);
    		addText(45513, "King Black Dragon", 0xd67b29, true, true, 52, tda, 2);
    		addText(45514, "Dagannoth Kings", 0xd67b29, true, true, 52, tda, 2);
    		addText(45515, "Chaos Elemental", 0xd67b29, true, true, 52, tda, 2);
    		addText(45516, "Corporal Beast", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45511, -1, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45501, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45502, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45503, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45512, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45518, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45519, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45513, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45521, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45522, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45514, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45524, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45525, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45515, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45527, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45528, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45516, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45505, 148, 33, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45506, 148, 70, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45507, 148, 104, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45508, 148, 144, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45509, 148, 179, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45533, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45534, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    	
    		public static final void minigame(RSFont[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45200);
    		addText(45201, "Minigames Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45202, "Interfaces/Minigame/Hover", 0, 172, 24, "Duel Arena", -1, 45203, 1);
    		addHoveredButton(45203, "Interfaces/Minigame/Hover", 4, 172, 24, 45204);
    		addHoverButton(45218, "Interfaces/Minigame/Hover", 0, 172, 24, "Barrows", -1, 45219, 1);
    		addHoveredButton(45219, "Interfaces/Minigame/Hover", 4, 172, 24, 45220);
    		addHoverButton(45221, "Interfaces/Minigame/Hover", 0, 172, 24, "Pest Control", -1, 45222, 1);
    		addHoveredButton(45222, "Interfaces/Minigame/Hover", 4, 172, 24, 45223);
    		addHoverButton(45224, "Interfaces/Minigame/Hover", 0, 172, 24, "Tzhaar", -1, 45225, 1);
    		addHoveredButton(45225, "Interfaces/Minigame/Hover", 4, 172, 24, 45226);
    		addHoverButton(45227, "Interfaces/Minigame/Hover", 0, 172, 24, "Warriors Guild", -1, 45228, 1);
    		addHoveredButton(45228, "Interfaces/Minigame/Hover", 4, 172, 24, 45229);
    		addHoverButton(45233, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45234, 1);
    		addHoveredButton(45234, "Interfaces/Minigame/Back", 1, 16, 16, 45235);
    		addSprite(45205, 1, "Interfaces/Minigame/DuelArena");
    		addSprite(45206, 1, "Interfaces/Minigame/Barrows");
    		addSprite(45207, 1, "Interfaces/Minigame/PestControl");
    		addSprite(45208, 1, "Interfaces/Minigame/Tzhaar");
    		addSprite(45209, 1, "Interfaces/Minigame/Warriors");
    		addSprite(45211, 1, "Interfaces/Minigame/Background");
    		addText(45212, "Duel Arena", 0xd67b29, true, true, 52, tda, 2);
    		addText(45213, "Barrows", 0xd67b29, true, true, 52, tda, 2);
    		addText(45214, "Pest Control", 0xd67b29, true, true, 52, tda, 2);
    		addText(45215, "Tzhaar", 0xd67b29, true, true, 52, tda, 2);
    		addText(45216, "Warriors Guild", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45211, 0, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45201, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45202, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45203, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45212, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45218, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45219, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45213, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45221, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45222, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45214, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45224, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45225, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45215, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45227, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45228, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45216, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45205, 148, 33, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45206, 148, 70, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45207, 148, 104, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45208, 148, 140, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45209, 148, 179, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45233, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45234, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    	
    			public static final void training(RSFont[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45300);
    		addText(45301, "Training Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45302, "Interfaces/Minigame/Hover", 0, 172, 24, "RockCrabs", -1, 45303, 1);
    		addHoveredButton(45303, "Interfaces/Minigame/Hover", 5, 172, 24, 45304);
    		addHoverButton(45318, "Interfaces/Minigame/Hover", 0, 172, 24, "Taverly Dung", -1, 45319, 1);
    		addHoveredButton(45319, "Interfaces/Minigame/Hover", 5, 172, 24, 45320);
    		addHoverButton(45321, "Interfaces/Minigame/Hover", 0, 172, 24, "Brimhaven Dung", -1, 45322, 1);
    		addHoveredButton(45322, "Interfaces/Minigame/Hover", 5, 172, 24, 45323);
    		addHoverButton(45324, "Interfaces/Minigame/Hover", 0, 172, 24, "Slayer Tower", -1, 45325, 1);
    		addHoveredButton(45325, "Interfaces/Minigame/Hover", 5, 172, 24, 45326);
    		addHoverButton(45327, "Interfaces/Minigame/Hover", 0, 172, 24, "Hill Giants", -1, 45328, 1);
    		addHoveredButton(45328, "Interfaces/Minigame/Hover", 5, 172, 24, 45329);
    		addHoverButton(45333, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45334, 1);
    		addHoveredButton(45334, "Interfaces/Minigame/Back", 1, 16, 16, 45335);
    		addSprite(45305, 1, "Interfaces/Minigame/Crabs");
    		addSprite(45306, 1, "Interfaces/Minigame/Taverly");
    		addSprite(45307, 1, "Interfaces/Minigame/brimhaven");
    		addSprite(45308, 1, "Interfaces/Minigame/Slayer");
    		addSprite(45309, 1, "Interfaces/Minigame/HillGiants");
    		addSprite(45311, 1, "Interfaces/Minigame/Background");
    		addText(45312, "RockCrabs", 0xd67b29, true, true, 52, tda, 2);
    		addText(45313, "Taverly Dung", 0xd67b29, true, true, 52, tda, 2);
    		addText(45314, "Brimhaven Dung", 0xd67b29, true, true, 52, tda, 2);
    		addText(45315, "Slayer Tower", 0xd67b29, true, true, 52, tda, 2);
    		addText(45316, "Hill Giants", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45311, 0, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45301, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45302, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45303, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45312, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45318, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45319, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45313, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45321, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45322, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45314, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45324, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45325, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45315, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45327, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45328, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45316, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45305, 148, 33, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45306, 148, 70, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45307, 148, 104, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45308, 148, 140, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45309, 148, 179, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45333, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45334, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    to textdrawingareas for kool teleports interfaces but i have no idea how i will translate that, whoever helps gets rep+ and thank.
    [EDIT] ill be online for a couple more hours so i will be able to give people their reps and thanks
    Last edited by Lesley15; 04-07-2012 at 09:25 PM. Reason: HELP ME
    Reply With Quote  
     

  2. #2  
    Tantalizing

    Join Date
    Apr 2011
    Posts
    447
    Thanks given
    106
    Thanks received
    123
    Rep Power
    66
    Isn't it just

    Code:
    public static void Whatever(TextDrawingArea[] TDA) {
    And

    Code:
    Whatever(textDrawingAreas);
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    uhm ill try it...hope it works
    Reply With Quote  
     

  4. #4  
    Donator


    Join Date
    Mar 2011
    Posts
    2,362
    Thanks given
    1,193
    Thanks received
    824
    Rep Power
    856
    Quote Originally Posted by Light View Post
    Isn't it just

    Code:
    public static void Whatever(TextDrawingArea[] TDA) {
    And

    Code:
    Whatever(textDrawingAreas);
    Yeah, it is. Baffles me that people still don't know how to do this,
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    currently i got this:

    Code:
    		minigame(textDrawingAreas);
    		boss(textDrawingAreas);
    		wilderness(textDrawingAreas);
    		training(textDrawingAreas);
    and this

    Code:
    		public static final void wilderness(TextDrawingArea[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45600);
    		addText(45601, "P'King Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45602, "Interfaces/Minigame/Hover", 0, 172, 24, "Mage Bank", -1, 45603, 1);
    		addHoveredButton(45603, "Interfaces/Minigame/Hover", 2, 172, 24, 45604);
    		addHoverButton(45618, "Interfaces/Minigame/Hover", 0, 172, 24, "Level 13 Wild", -1, 45619, 1);
    		addHoveredButton(45619, "Interfaces/Minigame/Hover", 2, 172, 24, 45620);
    		addHoverButton(45621, "Interfaces/Minigame/Hover", 0, 172, 24, "Level 18 Wild", -1, 45622, 1);
    		addHoveredButton(45622, "Interfaces/Minigame/Hover", 2, 172, 24, 45623);
    		addHoverButton(45624, "Interfaces/Minigame/Hover", 0, 172, 24, "Edgeville", -1, 45625, 1);
    		addHoveredButton(45625, "Interfaces/Minigame/Hover", 2, 172, 24, 45626);
    		addHoverButton(45627, "Interfaces/Minigame/Hover", 0, 172, 24, "Ardougne Fun Pvp", -1, 45628, 1);
    		addHoveredButton(45628, "Interfaces/Minigame/Hover", 2, 172, 24, 45629);
    		addHoverButton(45633, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45634, 1);
    		addHoveredButton(45634, "Interfaces/Minigame/Back", 1, 16, 16, 45635);
    		addSprite(45605, 1, "Interfaces/Minigame/Pk");
    		addSprite(45606, 1, "Interfaces/Minigame/Pk");
    		addSprite(45607, 1, "Interfaces/Minigame/Pk");
    		addSprite(45608, 1, "Interfaces/Minigame/Pk");
    		addSprite(45609, 1, "Interfaces/Minigame/Pk");
    		addSprite(45611, 1, "Interfaces/Minigame/Background");
    		addText(45612, "Mage Bank", 0xd67b29, true, true, 52, tda, 2);
    		addText(45613, "Level 13 Wild", 0xd67b29, true, true, 52, tda, 2);
    		addText(45614, "Level 18 Wild", 0xd67b29, true, true, 52, tda, 2);
    		addText(45615, "Edgeville", 0xd67b29, true, true, 52, tda, 2);
    		addText(45616, "Ardougne Fun Pvp", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45611, -1, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45601, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45602, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45603, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45612, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45618, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45619, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45613, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45621, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45622, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45614, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45624, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45625, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45615, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45627, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45628, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45616, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45605, 148, 34, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45606, 148, 71, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45607, 148, 108, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45608, 148, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45609, 148, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45633, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45634, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    	
    		public static final void boss(TextDrawingArea[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45500);
    		addText(45501, "Boss Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45502, "Interfaces/Minigame/Hover", 0, 172, 24, "God Wars", -1, 45503, 1);
    		addHoveredButton(45503, "Interfaces/Minigame/Hover", 3, 172, 24, 45504);
    		addHoverButton(45518, "Interfaces/Minigame/Hover", 0, 172, 24, "King Black Dragon", -1, 45519, 1);
    		addHoveredButton(45519, "Interfaces/Minigame/Hover", 3, 172, 24, 45520);
    		addHoverButton(45521, "Interfaces/Minigame/Hover", 0, 172, 24, "Dagannoth Kings", -1, 45522, 1);
    		addHoveredButton(45522, "Interfaces/Minigame/Hover", 3, 172, 24, 45523);
    		addHoverButton(45524, "Interfaces/Minigame/Hover", 0, 172, 24, "Chaos Elemental", -1, 45525, 1);
    		addHoveredButton(45525, "Interfaces/Minigame/Hover", 3, 172, 24, 45526);
    		addHoverButton(45527, "Interfaces/Minigame/Hover", 0, 172, 24, "Corporal Beast", -1, 45528, 1);
    		addHoveredButton(45528, "Interfaces/Minigame/Hover", 3, 172, 24, 45529);
    		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/Godwars");
    		addSprite(45506, 1, "Interfaces/Minigame/Kbd");
    		addSprite(45507, 1, "Interfaces/Minigame/Dagganoths");
    		addSprite(45508, 1, "Interfaces/Minigame/Chaos");
    		addSprite(45509, 1, "Interfaces/Minigame/Corporeal");
    		addSprite(45511, 1, "Interfaces/Minigame/Background");
    		addText(45512, "Godwars", 0xd67b29, true, true, 52, tda, 2);
    		addText(45513, "King Black Dragon", 0xd67b29, true, true, 52, tda, 2);
    		addText(45514, "Dagannoth Kings", 0xd67b29, true, true, 52, tda, 2);
    		addText(45515, "Chaos Elemental", 0xd67b29, true, true, 52, tda, 2);
    		addText(45516, "Corporal Beast", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45511, -1, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45501, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45502, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45503, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45512, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45518, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45519, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45513, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45521, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45522, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45514, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45524, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45525, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45515, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45527, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45528, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45516, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45505, 148, 33, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45506, 148, 70, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45507, 148, 104, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45508, 148, 144, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45509, 148, 179, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45533, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45534, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    	
    		public static final void minigame(TextDrawingArea[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45200);
    		addText(45201, "Minigames Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45202, "Interfaces/Minigame/Hover", 0, 172, 24, "Duel Arena", -1, 45203, 1);
    		addHoveredButton(45203, "Interfaces/Minigame/Hover", 4, 172, 24, 45204);
    		addHoverButton(45218, "Interfaces/Minigame/Hover", 0, 172, 24, "Barrows", -1, 45219, 1);
    		addHoveredButton(45219, "Interfaces/Minigame/Hover", 4, 172, 24, 45220);
    		addHoverButton(45221, "Interfaces/Minigame/Hover", 0, 172, 24, "Pest Control", -1, 45222, 1);
    		addHoveredButton(45222, "Interfaces/Minigame/Hover", 4, 172, 24, 45223);
    		addHoverButton(45224, "Interfaces/Minigame/Hover", 0, 172, 24, "Tzhaar", -1, 45225, 1);
    		addHoveredButton(45225, "Interfaces/Minigame/Hover", 4, 172, 24, 45226);
    		addHoverButton(45227, "Interfaces/Minigame/Hover", 0, 172, 24, "Warriors Guild", -1, 45228, 1);
    		addHoveredButton(45228, "Interfaces/Minigame/Hover", 4, 172, 24, 45229);
    		addHoverButton(45233, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45234, 1);
    		addHoveredButton(45234, "Interfaces/Minigame/Back", 1, 16, 16, 45235);
    		addSprite(45205, 1, "Interfaces/Minigame/DuelArena");
    		addSprite(45206, 1, "Interfaces/Minigame/Barrows");
    		addSprite(45207, 1, "Interfaces/Minigame/PestControl");
    		addSprite(45208, 1, "Interfaces/Minigame/Tzhaar");
    		addSprite(45209, 1, "Interfaces/Minigame/Warriors");
    		addSprite(45211, 1, "Interfaces/Minigame/Background");
    		addText(45212, "Duel Arena", 0xd67b29, true, true, 52, tda, 2);
    		addText(45213, "Barrows", 0xd67b29, true, true, 52, tda, 2);
    		addText(45214, "Pest Control", 0xd67b29, true, true, 52, tda, 2);
    		addText(45215, "Tzhaar", 0xd67b29, true, true, 52, tda, 2);
    		addText(45216, "Warriors Guild", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45211, 0, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45201, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45202, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45203, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45212, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45218, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45219, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45213, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45221, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45222, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45214, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45224, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45225, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45215, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45227, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45228, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45216, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45205, 148, 33, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45206, 148, 70, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45207, 148, 104, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45208, 148, 140, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45209, 148, 179, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45233, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45234, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    
    		public static final void training(TextDrawingArea[] tda)
    	{
    		RSInterface rsinterface = addTabInterface(45300);
    		addText(45301, "Training Teleport", 0xff9b00, false, true, 52, tda, 2);
    		addHoverButton(45302, "Interfaces/Minigame/Hover", 0, 172, 24, "RockCrabs", -1, 45303, 1);
    		addHoveredButton(45303, "Interfaces/Minigame/Hover", 5, 172, 24, 45304);
    		addHoverButton(45318, "Interfaces/Minigame/Hover", 0, 172, 24, "Taverly Dung", -1, 45319, 1);
    		addHoveredButton(45319, "Interfaces/Minigame/Hover", 5, 172, 24, 45320);
    		addHoverButton(45321, "Interfaces/Minigame/Hover", 0, 172, 24, "Brimhaven Dung", -1, 45322, 1);
    		addHoveredButton(45322, "Interfaces/Minigame/Hover", 5, 172, 24, 45323);
    		addHoverButton(45324, "Interfaces/Minigame/Hover", 0, 172, 24, "Slayer Tower", -1, 45325, 1);
    		addHoveredButton(45325, "Interfaces/Minigame/Hover", 5, 172, 24, 45326);
    		addHoverButton(45327, "Interfaces/Minigame/Hover", 0, 172, 24, "Hill Giants", -1, 45328, 1);
    		addHoveredButton(45328, "Interfaces/Minigame/Hover", 5, 172, 24, 45329);
    		addHoverButton(45333, "Interfaces/Minigame/Back", 0, 16, 16, "Back", -1, 45334, 1);
    		addHoveredButton(45334, "Interfaces/Minigame/Back", 1, 16, 16, 45335);
    		addSprite(45305, 1, "Interfaces/Minigame/Crabs");
    		addSprite(45306, 1, "Interfaces/Minigame/Taverly");
    		addSprite(45307, 1, "Interfaces/Minigame/brimhaven");
    		addSprite(45308, 1, "Interfaces/Minigame/Slayer");
    		addSprite(45309, 1, "Interfaces/Minigame/HillGiants");
    		addSprite(45311, 1, "Interfaces/Minigame/Background");
    		addText(45312, "RockCrabs", 0xd67b29, true, true, 52, tda, 2);
    		addText(45313, "Taverly Dung", 0xd67b29, true, true, 52, tda, 2);
    		addText(45314, "Brimhaven Dung", 0xd67b29, true, true, 52, tda, 2);
    		addText(45315, "Slayer Tower", 0xd67b29, true, true, 52, tda, 2);
    		addText(45316, "Hill Giants", 0xd67b29, true, true, 52, tda, 2);
    		byte childAmount = 24;
    		int indexChild = 0;
    		setChildren(childAmount, rsinterface);
    		setBounds(45311, 0, 26, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45301, 33, 7, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45302, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45303, 8, 35, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45312, 80, 39, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45318, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45319, 8, 72, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45313, 80, 76, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45321, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45322, 8, 109, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45314, 80, 113, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45324, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45325, 8, 146, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45315, 80, 150, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45327, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45328, 8, 183, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45316, 80, 187, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45305, 148, 33, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45306, 148, 70, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45307, 148, 104, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45308, 148, 140, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45309, 148, 179, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45333, 10, 6, indexChild, rsinterface);
    		indexChild++;
    		setBounds(45334, 10, 6, indexChild, rsinterface);
    		indexChild++;
    	}
    errors:

    Code:
    RSInterface.java:265: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    setChildren(childAmount, rsinterface);
                    ^
    RSInterface.java:345: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    setChildren(childAmount, rsinterface);
                    ^
    RSInterface.java:425: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    setChildren(childAmount, rsinterface);
                    ^
    RSInterface.java:505: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    setChildren(childAmount, rsinterface);
                    ^
    Note: client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    4 errors
    Reply With Quote  
     

  6. #6  
    I need some more coffee

    Jason's Avatar
    Join Date
    Aug 2009
    Age
    25
    Posts
    6,078
    Thanks given
    2,362
    Thanks received
    2,770
    Rep Power
    4158
    rsInterface.setChildren
    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    ok im going to try that right now

    edit:

    do i just put this? rsInterface.setChildren

    or like this rsInterface.setChildren(childAmount, rsinterface);
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    Code:
    RSInterface.java:265: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    RSInterface.setChildren(childAmount, rsinterface);
                               ^
    RSInterface.java:345: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    RSInterface.setChildren(childAmount, rsinterface);
                               ^
    RSInterface.java:425: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    RSInterface.setChildren(childAmount, rsinterface);
                               ^
    RSInterface.java:505: cannot find symbol
    symbol  : method setChildren(byte,RSInterface)
    location: class RSInterface
                    RSInterface.setChildren(childAmount, rsinterface);
                               ^
    Note: client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    4 errors
    uhm what do i do lol

    ~fixed~
    RSInterface setChildren
    without . thanks all
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    ehh now im getting an unpacking error when i load client, no compiling errors though...
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    okay, show me the methods in rsinterface.java and then did you rememer to add the itnerfaces to your cache?

    [Only registered and activated users can see links. ] to view Project Rebirth Progress
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [PI]RSinterface
    By Zond in forum Help
    Replies: 2
    Last Post: 03-10-2012, 12:14 PM
  2. [PI] RSinterface
    By Zond in forum Help
    Replies: 1
    Last Post: 03-07-2012, 04:32 PM
  3. Replies: 19
    Last Post: 05-25-2010, 02:22 PM
  4. Rsinterface
    By Kc in forum Help
    Replies: 9
    Last Post: 09-19-2009, 11:02 PM
  5. Replies: 4
    Last Post: 08-05-2009, 05:24 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •