Thread: 2 Errors RSInterface

Results 1 to 3 of 3
  1. #1 2 Errors RSInterface 
    Banned

    Join Date
    Jan 2011
    Posts
    3,273
    Thanks given
    345
    Thanks received
    545
    Rep Power
    0
    Code:
    RSInterface.java:218: error: cannot find symbol
                    Rules(atextdrawingarea);
                          ^
      symbol:   variable atextdrawingarea
      location: class RSInterface
    RSInterface.java:243: error: cannot find symbol
                    Rules(atextdrawingarea);
                          ^
      symbol:   variable atextdrawingarea
      location: class RSInterface
    Note: client.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Finished!
    Press any key to continue . . .
    What I tried adding:

    Code:
    public static void Rules(TextDrawingArea[] tda)
      {
                    RSInterface tab = addTabInterface(17250);
                    addSprite(17251, 0, "Interfaces/Rules/WELCOME");
                    addHoverButton(17252, "Interfaces/Rules/SPRITE", 6, 78, 39, "Accept", -1, 17253, 1);
                    addHoveredButton(17253, "Interfaces/Rules/SPRITE", 7, 78, 39, 17254);
                    addHoverButton(17255, "Interfaces/Rules/SPRITE", 6, 78, 39, "Decline", -1, 17256, 1);
                    addHoveredButton(17256, "Interfaces/Rules/SPRITE", 7, 78, 39, 17257);
                    addText(17800, "Accept", tda, 0, 0x33ff00, false, true);
                    addText(17801, "Decline", tda, 0, 0xff0000, false, true);
                    addText(17802, "Rules of Your server:", tda, 2, 0xff981f, false, true);
                    addText(17803, "Failure to agree with the rules will get you banned", tda, 0, 0xff981f, false, true);
                    addText(17804, "", tda, 2, 0xff981f, false, true);
                    addText(17805, "", tda, 0, 0xFF0000, false, true);
                    addText(17806, "", tda, 0, 0xFFFF00, false, true);
                    addText(17807, "", tda, 0, 0x006AFF, false, true);
                    addText(17808, "", tda, 2, 0xff981f, false, true);
                    addText(17809, "", tda, 0, 0xff981f, false, true);
                    addText(17810, "", tda, 0, 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(14008, "", tda, 2, 0xff981f, true, true);
                    addText(14009, "", tda, 0, 0xff981f, true, true);
                    addText(14011, "", tda, 2, 0xff981f, true, true);
                    addText(14012, "", tda, 0, 0xff981f, true, true);
                    addText(14014, "", tda, 2, 0xff981f, true, true);
                    addText(14015, "", tda, 0, 0xff981f, true, true);
                    addText(14017, "", tda, 2, 0xff981f, true, true);
                    addText(14018, "", tda, 0, 0xff981f, true, true);
                    addText(14020, "", tda, 2, 0xff981f, true, true);
                    addText(14021, "", tda, 0, 0xff981f, true, true);
                    addText(14023, "", tda, 2, 0xff981f, true, true);
                    addText(14024, "", tda, 0, 0xff981f, true, true);
                    addText(14026, "", tda, 2, 0xff981f, true, true);
                    addText(14027, "", 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  
    Registered Member Pakku's Avatar
    Join Date
    Mar 2010
    Posts
    1,234
    Thanks given
    127
    Thanks received
    111
    Rep Power
    47
    change it to rsFonts

    And next time, post it in the right section.


    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jan 2011
    Posts
    3,273
    Thanks given
    345
    Thanks received
    545
    Rep Power
    0
    Change what to rsfonts?
    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. rsinterface errors
    By lewis0001 in forum Help
    Replies: 9
    Last Post: 05-14-2011, 03:23 PM
  2. Rsinterface error HELP
    By Trivzor in forum Help
    Replies: 2
    Last Post: 02-12-2011, 11:30 PM
  3. 99% Refactored RSInterface
    By Stewie in forum Snippets
    Replies: 29
    Last Post: 09-25-2009, 01:34 AM
  4. Rsinterface
    By Kc in forum Help
    Replies: 9
    Last Post: 09-19-2009, 11:02 PM
  5. What's RSInterface on non renamed
    By Mrquarterx in forum Help
    Replies: 1
    Last Post: 09-14-2009, 11:28 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
  •