Thread: [PI] Quest Tab Interface Help [PI]

Results 1 to 2 of 2
  1. #1 [PI] Quest Tab Interface Help [PI] 
    Registered Member
    Join Date
    Dec 2008
    Posts
    148
    Thanks given
    0
    Thanks received
    0
    Rep Power
    16
    Base: PI
    Problem: Weird results in my quest tab
    Compiling Errors: None
    Extra Info:

    I do not know if I need a different interface ID, or if my code is wrong. Here is my code in RSInterface.java:

    Code:
    	public static void questTab(RSFont[] TDA) {
    
    		RSInterface Interface = addInterface(638);
    		setChildren(4, Interface);
    
    		addText(29155, "DevastationX", 0xFF981F, false, true, 52, TDA, 2);
    		addSprite(29157, 0, "Interfaces/QuestTab/QUEST 0");
    
    		setBounds(29155, 10, 5, 0, Interface);
    		setBounds(29157, 3, 24, 2, Interface);
    		setBounds(29160, 5, 29, 3, Interface);
    
    		Interface = addInterface(29160);
    		Interface.height = 214;
    		Interface.width = 165;
    		Interface.scrollMax = 1700;
    		Interface.newScroller = false;
    		setChildren(105, Interface);
    		
    		addText(29161, "Item Spawns:", 0xFF981F, false, true, 52, TDA, 2);
    		addHoverText(29162, "Melee Set 1", "Spawn Melee Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29163, "Melee Set 2", "Spawn Melee Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29164, "Hybrid Set 1", "Spawn Hybrid Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29165, "Hybrid Set 2", "Spawn Hybrid Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29166, "Hybrid Set 3", "Spawn Hybrid Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29167, "Hybrid Set 4", "Spawn Hybrid Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29168, "Mage Set", "Spawn Mage Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29169, "Dharok PK Set", "Spawn Dharok PK Set", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29170, "Potions (NOTED)", "Spawn Potions", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29171, "Potions (UNNOTED)", "Spawn Potions", TDA, 0, 0xff0000, false, true, 150);		
    		addHoverText(29172, "Vengeance Runes", "Spawn Vengeance Runes", TDA, 0, 0xff0000, false, true, 150);
    		addHoverText(29173, "Barrage Runes", "Spawn Barrage Runes", TDA, 0, 0xff0000, false, true, 150);
    		
    		setBounds(29161, 4, 4, 0, Interface);
    		setBounds(29162, 8, 20, 1, Interface);
    		setBounds(29163, 8, 30, 2, Interface);
    		setBounds(29164, 8, 40, 3, Interface);
    		setBounds(29165, 8, 50, 4, Interface);
    		setBounds(29166, 8, 60, 5, Interface);
    		setBounds(29167, 8, 70, 6, Interface);
    		setBounds(29168, 8, 80, 7, Interface);
    		setBounds(29169, 8, 90, 8, Interface);
    		setBounds(29170, 8, 100, 9, Interface);
    		setBounds(29171, 8, 110, 10, Interface);
    		setBounds(29172, 8, 120, 11, Interface);
    
    	}
    But for some reason, here is the results:

    Interface 638:


    Interface 29160:


    Quest Tab:


    This is a very strange problem I know.. but does anyone have any idea on how to fix this?
    Proof that God is real

    http://thewaythetruth.com/

    Reply With Quote  
     

  2. #2  
    Member
    Join Date
    Jul 2012
    Posts
    13
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    oK, REPLACE your whole QuestTab method to this:

    Code:
    public static void questTab(RSFont[] TDA){
    		RSInterface Interface = addInterface(638);
    		setChildren(4, Interface);
    		addText(29155, "Quests", 0xFF981F, false, true, 52, TDA, 2);
    		AddInterfaceButton(29156, 1, "Interfaces/QuestTab/QUEST", 18, 18, "archievement tab", 1);
    		addSprite(29157, 0, "Interfaces/QuestTab/QUEST");
    		setBounds(29155, 10, 5, 0, Interface);
    		setBounds(29156, 165, 5, 1, Interface);
    		setBounds(29157, 3, 24, 2, Interface);
    		setBounds(29160, 5, 29, 3, Interface);
    		Interface = addInterface(29160);
    		Interface.height = 214;
    		Interface.width = 165;
    		Interface.scrollMax = 1700;
    		Interface.newScroller = false;
    		setChildren(105, Interface);
    		addText(29161, "Owner :", 0xFF981F, false, true, 52, TDA, 2);
    		addHoverText(29162, "Rex", "Owners", TDA, 0, 0xff0000, false, true, 150);
    		addText(29163, "Register on :", 0xFF981F, false, true, 52, TDA, 2);
    		addHoverText(29164, "http://TrisidiaX.Niceboard.Com", "Register", TDA, 0, 0xff0000, false, true, 150);
    		setBounds(29161, 4, 4, 0, Interface);
    		setBounds(29162, 8, 22, 1, Interface);
    		setBounds(29163, 4, 35, 2, Interface);
    		setBounds(29164, 8, 53, 3, Interface);
    		setBounds(663, 4, 67, 4, Interface);
    		int Ypos = 83;
    		int frameID = 5;
    		for(int iD = 29165; iD <= 29264;iD++){
    			addHoverText(iD, "", "TrisidiaX Quest Tab"/*"View Quest Journal, "+iD*/, TDA, 0, 0xff0000, false, true, 150);
    			setBounds(iD, 8, Ypos, frameID, Interface);
    			frameID++;
    			Ypos += 15;
    			Ypos++;
    		}
    		Interface = addInterface(29265);
    		try {
    			setChildren(4, Interface);
    			addText(29266, " TrisidiaX", 0xFF981F, false, true, -1, TDA, 2);
    			AddInterfaceButton(29267, 2, "Interfaces/QuestTab/QUEST", 18, 18, "Swap to Quest Diary", 1);
    			addSprite(29269, 0, "Interfaces/QuestTab/QUEST");
    			setBounds(29266, 10, 5, 0, Interface);
    			setBounds(29267, 165, 5, 1, Interface);
    			setBounds(29269, 3, 24, 2, Interface);
    			setBounds(29268, 5, 29, 3, Interface);
    			Interface = addInterface(29268);
    			Interface.height = 214;
    			Interface.width = 165;
    			Interface.scrollMax = 1700;
    			Interface.newScroller = false;
    			setChildren(20, Interface);
    			setBounds(29295, 8, 4, 0, Interface);
    			setBounds(29296, 8, 16, 1, Interface);
    			setBounds(29297, 8, 29, 2, Interface);
    			setBounds(29298, 8, 42, 3, Interface);
    			setBounds(29299, 8, 54, 4, Interface);
    			setBounds(29300, 8, 66, 5, Interface);
    			setBounds(29301, 8, 78, 6, Interface);
    			setBounds(29302, 8, 90, 7, Interface);
    			setBounds(29303, 8, 102, 8, Interface);
    			setBounds(29304, 8, 114, 9, Interface);
    			setBounds(29305, 8, 126, 10, Interface);
    			setBounds(29306, 8, 138, 11, Interface);
    			setBounds(29307, 8, 150, 12, Interface);
    			setBounds(29308, 8, 162, 13, Interface);
    			setBounds(29309, 8, 174, 14, Interface);
    			setBounds(29310, 8, 186, 15, Interface);
    			setBounds(29311, 8, 198, 16, Interface);
    			setBounds(29312, 8, 210, 17, Interface);
    			setBounds(29313, 8, 222, 18, Interface);
    			setBounds(29314, 8, 234, 19, Interface);
    			addHoverText(29295, "", "", TDA, 0, 0xFF981F, false, true, 150);
    			addHoverText(29296, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29297, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29298, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29299, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29300, "", "", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29301, "", "", TDA, 0, 0xFF981F, false, true, 150);
    			addHoverText(29302, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29303, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29304, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29305, "", "", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29306, "", "", TDA, 0, 0xFF981F, false, true, 150);
    			addHoverText(29307, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29308, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29309, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29310, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29311, "", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29312, " ", " ", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29313, "", "", TDA, 0, 0xff0000, false, true, 150);
    			addHoverText(29314, "", "", TDA, 0, 0xff0000, false, true, 150);
    			} catch(Exception e){
    				e.printStackTrace();
    		}	
    	}
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 96
    Last Post: 07-30-2010, 08:46 PM
  2. [PI]Quest Interface
    By Joshua F in forum Help
    Replies: 0
    Last Post: 07-22-2010, 11:14 PM
  3. New RS Quest Interface
    By K4rn4ge in forum Show-off
    Replies: 31
    Last Post: 07-04-2010, 03:41 AM
  4. new quest interface on rs
    By mige5 in forum RS2 Client
    Replies: 3
    Last Post: 06-28-2010, 01:23 AM
  5. [546]Quest Interface!
    By Inspired Dreams in forum Snippets
    Replies: 12
    Last Post: 05-30-2009, 01:14 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
  •