Thread: Error when adding new Interface

Results 1 to 2 of 2
  1. #1 Error when adding new Interface 
    Castle Revolution Developer

    Join Date
    Apr 2012
    Posts
    155
    Thanks given
    4
    Thanks received
    10
    Rep Power
    11
    I get the following error in my Terminal when I try and use the command ::interface 17220
    Code:
    Error: T2 - 97,65,81 - 2,3088,3496 - 67,68,
    This obviously tries to open the Interface 17220.
    This is my RebuildInterface which has the ID of 17220.

    Code:
    public static void RebuildInterface(TextDrawingArea[] TDA) {
    		RSInterface rsinterface = addTabInterface(17220);
    		addText(17211, "Rebuild Minigame", 0xff9040, false, true, 52, TDA, 0);
    		addText(17212, "Time Left:", 0xff9040, false, true, 52, TDA, 0);
    		addText(17213, "Resources Gathered", 0xff9040, false, true, 52, TDA, 0);
    		addText(17214, "Resources Left", 0xff9040, false, true, 52, TDA, 0);
    		addText(17215, "XP Gained", 0xff9040, false, true, 52, TDA, 0);
    		addText(17216, "0", 0x66FFFF, false, true, 52, TDA, 0);// armadyl
    		addText(17217, "0", 0x66FFFF, false, true, 52, TDA, 0);// bandos
    		addText(17218, "0", 0x66FFFF, false, true, 52, TDA, 0);// saradomin
    		addText(17219, "0", 0x66FFFF, false, true, 52, TDA, 0);// zamorak
    		rsinterface.scrollMax = 0;
    		rsinterface.children = new int[9];
    		rsinterface.childX = new int[9];
    		rsinterface.childY = new int[9];
    		rsinterface.children[0] = 17211;
    		rsinterface.childX[0] = -52 + 375 + 30;
    		rsinterface.childY[0] = 7;
    		rsinterface.children[1] = 17212;
    		rsinterface.childX[1] = -52 + 375 + 30;
    		rsinterface.childY[1] = 30;
    		rsinterface.children[2] = 17213;
    		rsinterface.childX[2] = -52 + 375 + 30;
    		rsinterface.childY[2] = 44;
    		rsinterface.children[3] = 17214;
    		rsinterface.childX[3] = -52 + 375 + 30;
    		rsinterface.childY[3] = 58;
    		rsinterface.children[4] = 17215;
    		rsinterface.childX[4] = -52 + 375 + 30;
    		rsinterface.childY[4] = 73;
    
    		rsinterface.children[5] = 17216;
    		rsinterface.childX[5] = -52 + 460 + 60;
    		rsinterface.childY[5] = 31;
    		rsinterface.children[6] = 17217;
    		rsinterface.childX[6] = -52 + 460 + 60;
    		rsinterface.childY[6] = 45;
    		rsinterface.children[7] = 17218;
    		rsinterface.childX[7] = -52 + 460 + 60;
    		rsinterface.childY[7] = 59;
    		rsinterface.children[8] = 17219;
    		rsinterface.childX[8] = -52 + 460 + 60;
    		rsinterface.childY[8] = 74;
    	}
    I don't understand how even basic interfaces work and so I copied the RebuildInterface off the GodWars interface which is also shown below:

    Code:
    public static void GodWars(TextDrawingArea[] TDA) {
    		RSInterface rsinterface = addTabInterface(16220);
    		addText(16211, "NPC killcount", 0xff9040, false, true, 52, TDA, 0);
    		addText(16212, "Armadyl kills", 0xff9040, false, true, 52, TDA, 0);
    		addText(16213, "Bandos kills", 0xff9040, false, true, 52, TDA, 0);
    		addText(16214, "Saradomin kills", 0xff9040, false, true, 52, TDA, 0);
    		addText(16215, "Zamorak kills", 0xff9040, false, true, 52, TDA, 0);
    		addText(16216, "0", 0x66FFFF, false, true, 52, TDA, 0);// armadyl
    		addText(16217, "0", 0x66FFFF, false, true, 52, TDA, 0);// bandos
    		addText(16218, "0", 0x66FFFF, false, true, 52, TDA, 0);// saradomin
    		addText(16219, "0", 0x66FFFF, false, true, 52, TDA, 0);// zamorak
    		rsinterface.scrollMax = 0;
    		rsinterface.children = new int[9];
    		rsinterface.childX = new int[9];
    		rsinterface.childY = new int[9];
    		rsinterface.children[0] = 16211;
    		rsinterface.childX[0] = -52 + 375 + 30;
    		rsinterface.childY[0] = 7;
    		rsinterface.children[1] = 16212;
    		rsinterface.childX[1] = -52 + 375 + 30;
    		rsinterface.childY[1] = 30;
    		rsinterface.children[2] = 16213;
    		rsinterface.childX[2] = -52 + 375 + 30;
    		rsinterface.childY[2] = 44;
    		rsinterface.children[3] = 16214;
    		rsinterface.childX[3] = -52 + 375 + 30;
    		rsinterface.childY[3] = 58;
    		rsinterface.children[4] = 16215;
    		rsinterface.childX[4] = -52 + 375 + 30;
    		rsinterface.childY[4] = 73;
    
    		rsinterface.children[5] = 16216;
    		rsinterface.childX[5] = -52 + 460 + 60;
    		rsinterface.childY[5] = 31;
    		rsinterface.children[6] = 16217;
    		rsinterface.childX[6] = -52 + 460 + 60;
    		rsinterface.childY[6] = 45;
    		rsinterface.children[7] = 16218;
    		rsinterface.childX[7] = -52 + 460 + 60;
    		rsinterface.childY[7] = 59;
    		rsinterface.children[8] = 16219;
    		rsinterface.childX[8] = -52 + 460 + 60;
    		rsinterface.childY[8] = 74;
    	}
    The GodWars interface works absolutely fine however the RebuildInterface does not, even though they are a direct copy of eachother with different numbers.

    Can anybody explain how I can fix this error please.

    Join the Revolution
    Reply With Quote  
     

  2. #2  
    #Winning

    Join Date
    Apr 2011
    Age
    28
    Posts
    2,245
    Thanks given
    367
    Thanks received
    388
    Rep Power
    1187
    Look to this as a reference for help. http://www.rune-server.org/runescape...bers-mean.html


    T2 = Exception caught during packet handling


    Vouches
    Spoiler for Vouches:

    Quote Originally Posted by Exile rsps View Post
    Vouch thanks for that pic
    Quote Originally Posted by bwuk _im_pb View Post
    i vouch for charlie hes legit
    Quote Originally Posted by Pastaway
    Vouch for 'Charlie. Added a tut to my server I couldn't add and payed him after =]
    Quote Originally Posted by mongolias
    Vouch for 'Charlie. Sold me a banner, the trade went quick and efficiently.
    Quote Originally Posted by Lane
    Vouch for charlie, he is #1
    Quote Originally Posted by Raw Envy View Post
    Vouch for Charlie.
    Quote Originally Posted by -Null Code-
    Vouch Legit bought rs membership
    Quote Originally Posted by tucybro
    Traded with Charlie, went smoothly I went first and he paid promptly without and issues, great trader!



    Reply With Quote  
     

  3. Thankful user:



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. errors while adding new interface:S
    By Mr.PedoBear in forum Help
    Replies: 0
    Last Post: 11-24-2010, 02:16 PM
  2. Error when adding new Login Scroll.
    By Continue in forum Help
    Replies: 0
    Last Post: 01-29-2010, 01:17 AM
  3. Getting this error when adding new items...
    By Elithysia in forum Help
    Replies: 6
    Last Post: 07-31-2009, 05:57 PM
  4. Replies: 0
    Last Post: 07-06-2009, 08:17 PM
  5. Error when adding new item
    By brambelg in forum Help
    Replies: 1
    Last Post: 02-07-2009, 12:04 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
  •