Thread: Music Tab Interface

Results 1 to 5 of 5
  1. #1 Music Tab Interface 
    Registered Member
    Join Date
    Jul 2018
    Posts
    70
    Thanks given
    18
    Thanks received
    6
    Rep Power
    11
    Hey Rune-Server,

    Im looking to add the music tab back into my server. The base I am using is OSPS, So far i've been unsuccessful. Does anyone have the interface method or know where I can rip it from?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jul 2018
    Posts
    70
    Thanks given
    18
    Thanks received
    6
    Rep Power
    11
    Bump Still lost with this. Not sure how i can get the music names/buttons to appear. Any help with this would be great!
    Reply With Quote  
     

  3. #3  
    'Slutty McFur'

    Owain's Avatar
    Join Date
    Sep 2014
    Age
    26
    Posts
    2,894
    Thanks given
    2,360
    Thanks received
    2,200
    Rep Power
    5000
    Interface 962


    Spoiler for wat:
    Attached image
    Attached image

    Attached image


    Reply With Quote  
     

  4. Thankful users:


  5. #4  
    Registered Member
    Join Date
    Jul 2018
    Posts
    70
    Thanks given
    18
    Thanks received
    6
    Rep Power
    11
    Im getting an error when trying to open the tab. Anyone know how I can get this working? Client work stresses me out lol.

    RSInterface:

    Code:
    int textLines = 162;
    	int[] musicText = {4287, 4288, 4289, 4290, 4291, 4292, 4293, 4294, 4295, 4296, 4297, 4298, 4299, 4300, 4301, 4302, 4303, 4304, 8971, 4306, 4307, 4308, 4309, 4310, 4311, 8972, 4313, 4314, 4315, 4316, 4317,  8973, 4319, 4320, 4321, 8974, 4323, 4324, 4325, 4326, 4327, 4328, 4329, 4330, 4331, 4332, 4333, 4334, 4335, 4336, 4337, 4338, 4339, 4340, 4341, 4342, 4343, 4344, 4345, 4346, 4347, 4348, 4349, 4350, 4351, 4352, 4353, 4354, 4355, 4356, 4357, 4358, 4359, 4360, 4361, 4362, 8975, 4364, 4365, 4366, 4367, 4368, 4369, 4370, 4371, 4372, 4373, 4374, 4375, 4376, 4377, 4378, 4379, 4380, 8976, 4382, 4383, 4384, 4385, 4386, 4837, 4388, 12840, 8977, 8978, 4392, 4393, 4394, 4395, 4396, 4397, 4398, 4399, 8979, 4401, 4402, 4403, 4404, 4405, 4406, 4407, 4408, 4409, 4410, 4411, 4412, 4413, 4414, 4415, 4418, 7382, 4420, 4421, 4422, 4423, 4424, 4425, 4426, 13713, 4427, 4428, 4429, 4430, 4431, 4432, 4433, 4434, 4435, 4436, 4437, 5449, 4441, 5988, 5989, 5990, 6185, 6297, 961, 6842, 6843, 1883, 1890};
    	public static void musicTab(TextDrawingArea[] TDA) {
    		RSInterface Interface = addInterface(29500);
    		addText(29501, "Playing:", 0xFF981F, false, true, 52,TDA, 1);
    		addText(29502, "Attack", 0x33ff00, false, true, 52,TDA, 1);
    		setChildren(3, Interface);
    		setBounds(29501, 8, 13, 0, Interface);
    		setBounds(29502, 8, 33, 1, Interface);
    		setBounds(962, 0, 0, 2, Interface);
    		Interface = interfaceCache[962];
    		addText(963, "", 0xff9b00, false, true, 52,TDA, 1);
    		addText(8934, "", 0xFF981F, false, true, 52,TDA, 1);
    		addText(6272, "AUTO", 0xFF981F, false, true, 52,TDA, 1);
    		addText(6271, "MAN", 0xFF981F, false, true, 52,TDA, 1);
    		addText(9926, "LOOP", 0xFF981F, false, true, 52,TDA, 1);
    		addText(5450, "", 0x33ff00, false, true, 52,TDA, 1);
    		addText(4439, "", 0xFF981F, false, true, 52,TDA, 1);
    		addText(3206, "Click the tune to play", 0xFF981F, false, true, 52,TDA, 1);
    	}
    Client Console Error:

    Code:
    Exception in thread "Thread-5" java.lang.NullPointerException
    	at com.client.Client.drawInterface(Client.java:11591)
    	at com.client.Client.drawTabArea(Client.java:2741)
    	at com.client.Client.drawGameScreen(Client.java:11320)
    	at com.client.Client.processDrawing(Client.java:12835)
    	at com.client.RSApplet.run(RSApplet.java:282)
    	at com.client.Client.run(Client.java:6160)
    	at java.lang.Thread.run(Unknown Source)
    Client.java Line 11591:
    Code:
    if (rsInterface.type != 0 || rsInterface.children == null)
    Client.java Line 2740-2744:
    Code:
    	} else if (Client.tabInterfaceIDs[Client.tabID] != -1) {
    			drawInterface(0, currentScreenMode == ScreenMode.FIXED ? 31 : currentGameWidth - 197,
    					RSInterface.interfaceCache[Client.tabInterfaceIDs[Client.tabID]],
    					currentScreenMode == ScreenMode.FIXED ? 37 : currentGameHeight - 275 - y + 10);
    		}
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Jul 2018
    Posts
    70
    Thanks given
    18
    Thanks received
    6
    Rep Power
    11
    Bump. Anyone have an idea on why im triggering the drawinfterface screensize?
    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: 14
    Last Post: 07-12-2014, 03:17 PM
  2. Music tab interface id!
    By zacander in forum Requests
    Replies: 1
    Last Post: 08-28-2010, 04:58 PM
  3. New Music Tab Interface
    By Galkon in forum Show-off
    Replies: 49
    Last Post: 01-14-2009, 04:05 AM
  4. Music tab - The musics
    By Swarfega in forum Downloads
    Replies: 3
    Last Post: 03-10-2008, 03:54 AM
  5. Adding shops to music tab
    By Jv in forum Tutorials
    Replies: 10
    Last Post: 06-21-2007, 09:54 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
  •