Thread: [PI] Weird interface text problem

Results 1 to 3 of 3
  1. #1 [PI] Weird interface text problem 
    Registered Member
    Join Date
    Mar 2009
    Age
    25
    Posts
    155
    Thanks given
    3
    Thanks received
    0
    Rep Power
    27
    Hi,

    i have got this client and the problem is that when i place this interface up it shows text on the skills tab when i scroll up and down.



    This is the code:

    Code:
    	public static void Rules(RSFont[] tda) {
    		RSInterface tab = addTabInterface(17250);
    		addSprite(17251, 0, "WELCOME");
    		addHoverButton(17252, "ACCEPT", 1, 78, 39, "Accept", -1, 17253, 1);
    		addHoveredButton(17253, "ACCEPT", 2, 78, 39, 17254);
    		addHoverButton(17255, "ACCEPT", 1, 78, 39, "Decline", -1, 17256, 1);
    		addHoveredButton(17256, "ACCEPT", 2, 78, 39, 17257);
            addText(17800, "Accept", tda, 0, 0x33ff00, false, true);
           	addText(17801, "Decline", tda, 0, 0xff0000, false, true);
    		addText(17802, "Welcome to SwiftX", tda, 2, 0xff981f, false, true);
            addText(17803, " ", tda, 0, 0xff981f, false, true);
    		addText(17804, "", tda, 2, 0xff981f, false, true);
           	addText(17805, "", tda, 0, 0xff981f, false, true);
    		addText(17806, "", tda, 2, 0xff981f, false, true);
           	addText(17807, "", tda, 0, 0xff981f, false, true);
    		addText(17808, "", tda, 2, 0xff981f, false, true);
           	addText(17809, "", tda, 0, 0xff981f, false, true);
    		addText(17810, "", tda, 2, 0xff981f, false, true);
           	addText(17811, "", tda, 0, 0xff981f, false, true);
    		tab.totalChildren(18);
    		tab.child(0, 17251, 0, 0);
    		tab.child(1, 17252, 140, 276);
    		tab.child(2, 17253, 140, 276);
    		tab.child(3, 17255, 280, 276);
    		tab.child(4, 17256, 280, 276);
    		tab.child(5, 17800, 159, 285);
    		tab.child(6, 17801, 297, 285);
    		tab.child(7, 17802, 22, 37);
    		tab.child(8, 17803, 210, 40);
    		tab.child(9, 17804, 26, 64);
    		tab.child(10, 17805, 26, 79);
    		tab.child(11, 17806, 26, 91);
    		tab.child(12, 17807, 26, 106);
    		tab.child(13, 17808, 26, 118);
    		tab.child(14, 17809, 26, 133);
    		tab.child(15, 17810, 26, 145);
    		tab.child(16, 17811, 26, 160);
    		tab.child(17, 14000, 0, 58);
    		tab = addTabInterface(14000);
    		tab.width = 476;
    		tab.height = 213;
    		tab.scrollMax = 405;
    		for(int i = 14001; i <= 14030; i++){
    		addText(i, "", tda, 1, 0xffffff, false, true);
    		addText(14001, "SwiftScape Rules", tda, 2, 0xff981f, true, true);
                    addText(14003, "Scamming:", tda, 2, 0xff981f, true, true);
                    addText(14004, "All scamming is illegal.", tda, 0, 0xff981f, true, true);
                    addText(14006, "Bug Abuse:", tda, 2, 0xff981f, true, true);
                    addText(14007, "Abusing glitches or not reporting is illegal.", tda, 0, 0xff981f, true, true);
    		addText(14009, "Offensive Language:", tda, 2, 0xff981f, true, true);
           		addText(14010, "Excessive racism and flaming is not allowed.", tda, 0, 0xff981f, true, true);
    		addText(14012, "Staff Impersonation:", tda, 2, 0xff981f, true, true);
           		addText(14013, "Pretending to act like a member of the staff is not allowed.", tda, 0, 0xff981f, true, true);
    		addText(14015, "ANY advertising (even through pm):", tda, 2, 0xff981f, true, true);
           		addText(14016, "This will not be tolerated, don't even attempt it.", tda, 0, 0xff981f, true, true);
    		addText(14018, "Forums", tda, 2, 0xff981f, true, true);
           		addText(14019, "Check out our forums at www.SwiftX.tk", tda, 0, 0xff981f, true, true);
    		addText(14021, "Personal Information:", tda, 2, 0xff981f, true, true);
           		addText(14022, "Please DONT give out personal information.", tda, 0, 0xff981f, true, true);
    		addText(14024, "Thanks", tda, 2, 0xff981f, true, true);
           		addText(14025, "Please follow all the rules and stay friendly.", tda, 0, 0xff981f, true, true);
    		}
    		tab.totalChildren(30);
    		int Child = 0;
    		int Y = 5;
    		for(int i = 14001; i <= 14030; i++){
    		tab.child(Child, i, 248, Y);
    		Child++;
    		Y += 13;
    		}
    	}
    Reply With Quote  
     

  2. #2  
    Respected Member

    Situations's Avatar
    Join Date
    Sep 2008
    Posts
    3,915
    Thanks given
    230
    Thanks received
    1,695
    Discord
    View profile
    Rep Power
    5000
    There's so much wrong, man.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member MonsterDev's Avatar
    Join Date
    Mar 2009
    Posts
    503
    Thanks given
    60
    Thanks received
    47
    Rep Power
    21
    Lol by the looks of it your using the same child ids as the total level...box?
    Retired
    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. Weird ass problem
    By Ecofriendly in forum Help
    Replies: 4
    Last Post: 11-13-2010, 12:48 PM
  2. Replies: 9
    Last Post: 02-19-2010, 12:52 AM
  3. Weird Text size
    By Dunea in forum Forum Related Help
    Replies: 1
    Last Post: 05-03-2009, 01:19 AM
  4. You should see this weird problem!!
    By b0rntokill1 in forum Help
    Replies: 3
    Last Post: 03-01-2009, 11:26 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
  •