Thread: Removing text from quest tab [REP++]

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 Removing text from quest tab [REP++] 
    Registered Member
    Join Date
    Sep 2010
    Posts
    133
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Basically i tried to remove 4 lots of text, i removed the setbounds aswell, i cant see what ive done wrong....

    PICTURE OF THE RESULT:


    here is the code in RsInterface.Java

    BEFORE:
    Code:
    public static void questTab(RSFont[] TDA){
    		RSInterface Interface = addInterface(638);
    		setChildren(4, Interface);
    		addText(29155, "", 0xFF981F, false, true, 52, TDA, 2);
    		addButton(29156, 1, "Interfaces/QuestTab/QUEST", 18, 18, "change to other page", 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, "Welcome to RuneX-Gaming.", 0xFF981F, false, true, 52, TDA, 2);
    		addHoverText(29162, "http://www.runex-gaming.com", "Join our forums today.", TDA, 0, 0xff0000, false, true, 150);
    		addText(29163, "Action in all ways!", 0xFF981F, false, true, 52, TDA, 2);
    		addHoverText(29164, "Action in all the ways!", "Hope you like this server", 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, "", "Have a nice day!"/*"View Quest Journal, "+iD*/, TDA, 0, 0xff0000, false, true, 150);
    			setBounds(iD, 8, Ypos, frameID, Interface);
    			frameID++;
    			Ypos += 15;
    			Ypos++;
    		}
    AFTER:
    Code:
    public static void questTab(RSFont[] TDA){
    		RSInterface Interface = addInterface(638);
    		setChildren(4, Interface);
    		addText(29155, "", 0xFF981F, false, true, 52, TDA, 2);
    		addButton(29156, 1, "Interfaces/QuestTab/QUEST", 18, 18, "change to other page", 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(101, Interface);
    		addText(29161, "QUESTS:", 0xFF981F, false, true, 52, TDA, 2);
    		setBounds(29161, 4, 4, 0, Interface);
    		int Ypos = 83;
    		int frameID = 5;
    		for(int iD = 29165; iD <= 29260;iD++){
    			addHoverText(iD, "", "Have a nice day!"/*"View Quest Journal, "+iD*/, TDA, 0, 0xff0000, false, true, 150);
    			setBounds(iD, 8, Ypos, frameID, Interface);
    			frameID++;
    			Ypos += 15;
    			Ypos++;
    		}
    		Interface = addInterface(29265);
    		try {
    Thanks in advance.

    Chicken should pick on someone its own size....
    Reply With Quote  
     

  2. #2  
    PokeNation! Xaves's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    3,476
    Thanks given
    356
    Thanks received
    788
    Rep Power
    646
    picture broken, cant see it
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2010
    Posts
    133
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Added picture, Sorry.

    Chicken should pick on someone its own size....
    Reply With Quote  
     

  4. #4  
    PokeNation! Xaves's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    3,476
    Thanks given
    356
    Thanks received
    788
    Rep Power
    646
    dont remove the set bounds, and instead of deleting the addºText methods, just make it
    Code:
    ""
    Reply With Quote  
     

  5. #5  
    Registered Member Ryan Rebelle's Avatar
    Join Date
    Nov 2009
    Age
    29
    Posts
    1,149
    Thanks given
    108
    Thanks received
    57
    Rep Power
    41
    If you remove the setBounds and the text methods, then also take down yer total children (by the ones you removed).

    You're getting that interface because it's interface 0, and yer calling for 4 children that aren't there.


    Attached image
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Sep 2010
    Posts
    133
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Can you explain it a bit more, Im not getting what your saying :/

    Thanks.

    Chicken should pick on someone its own size....
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Sep 2010
    Posts
    133
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    And if i leave the text input blank, The text i do want is lower down because the other bounds are taking up the top lines.

    Chicken should pick on someone its own size....
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Sep 2010
    Posts
    133
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Anyone?

    Chicken should pick on someone its own size....
    Reply With Quote  
     

  9. #9  
    PokeNation! Xaves's Avatar
    Join Date
    Dec 2007
    Age
    32
    Posts
    3,476
    Thanks given
    356
    Thanks received
    788
    Rep Power
    646
    edit the interface with paint so we can see what you want to do, also this is client sided..
    Reply With Quote  
     

  10. #10  
    Community Veteran

    Dexter Morgan's Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    4,419
    Thanks given
    1,184
    Thanks received
    757
    Rep Power
    3098
    setChildren(101, Interface);


    That
    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)


User Tag List

Similar Threads

  1. Quest Tab Text
    By Xyger in forum Help
    Replies: 9
    Last Post: 10-07-2010, 05:05 PM
  2. Replies: 3
    Last Post: 08-27-2010, 02:42 AM
  3. - Quest Tab Text -
    By Vault in forum Help
    Replies: 15
    Last Post: 01-22-2010, 03:24 AM
  4. Removing 'RUNESCAPE' text in bluurrs client
    By finalskill in forum Help
    Replies: 4
    Last Post: 07-31-2009, 11:09 PM
  5. [Req] Quest tab text
    By slabbetje in forum Requests
    Replies: 0
    Last Post: 11-01-2008, 12:37 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •