Posted September 25, 20168 yr comment_3173 Hey guys, I'm posting this here before any other forums because I know I'll get a quick answer . Alright so I am trying to rip the interface of another custom server but I can't get it to work like I want. To put you in context, I never messed with that stuff before as I either asked someone else or just overlooked it but I think it's time that I learn it haha. So. Here's the interface I wanna take: and this is how I would want it: (yes this was made in a professional program) BEFORE AFTER (something like that) Thanks ! Mathy Edited September 25, 20168 yr by mathy Changed the "how I want it" picture
September 25, 20168 yr comment_3174 Rip the RSInterface.Java and Sprites, Pack&Compile open the interface don't forget to declare it in RSInterface.java and use an editor to remove the "our Forums" button
September 25, 20168 yr Author comment_3195 11 hours ago, Levi said: Rip the RSInterface.Java and Sprites, Pack&Compile open the interface don't forget to declare it in RSInterface.java and use an editor to remove the "our Forums" button That's not really what I meant I have the interface and all, I just wanna remove all the sprites from it and move the links into columns like I displayed
September 25, 20168 yr comment_3196 If you would like I can help you with this bud. Send me everything through pm.
September 25, 20168 yr Author comment_3200 56 minutes ago, Draven said: If you would like I can help you with this bud. Send me everything through pm. Changed the picture of how I want it, hope this clears things up
September 27, 20168 yr comment_3460 In RsInterface you need to find that interface position everything based on the client coordinates (do ::dataon to find) Also if you did do that make sure that your sprites are in the correct location in your cache if the back is not loading.
September 27, 20168 yr Author comment_3468 44 minutes ago, Anonymous said: In RsInterface you need to find that interface position everything based on the client coordinates (do ::dataon to find) Also if you did do that make sure that your sprites are in the correct location in your cache if the back is not loading. Could you please elaborate a bit more, what information am I looking for on dataon's informations?
September 27, 20168 yr comment_3471 10 minutes ago, mathy said: Could you please elaborate a bit more, what information am I looking for on dataon's informations? You are basically looking for the X and Y coords of your mouse. It should be client sided. For example: drawingArea.method385(0xffff00, "Mouse X: " + super.mouseX + " , Mouse Y: " + super.mouseY, 314, 5);
September 27, 20168 yr Author comment_3472 2 minutes ago, Madara said: You are basically looking for the X and Y coords of your mouse. It should be client sided. For example, my login screen: drawingArea.method385(0xffff00, "Mouse X: " + super.mouseX + " , Mouse Y: " + super.mouseY, 314, 5); public static void staffTab(TextDrawingArea[] tda) { RSInterface tab = addTabInterface(24999); int index = 0; addText(28024, "Useful tab", 0xff9b00, false, true, 34, tda, 1); // Title addSprite(16126, 0, "Interfaces/stafftab/SPRITE"); addHoverButton(28018, "Interfaces/stafftab/SPRITE", 2, 160, 32, "View Staff Memebers", -1, 28019, 1); addHoveredButton(28019, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28020); addHoverButton(28026, "Interfaces/stafftab/SPRITE", 2, 160, 32, "View Latest Updates", -1, 28027, 1); addHoveredButton(28027, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28028); addHoverButton(28030, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Vote", -1, 28031, 1); addHoveredButton(28031, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28032); addHoverButton(28034, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Request assistance", -1, 28035, 1); addHoveredButton(28035, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28036); addHoverButton(28037, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Open Website", -1, 28038, 1); addHoveredButton(28038, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28039); addHoverButton(28042, "Interfaces/stafftab/SPRITE", 2, 160, 32, "Open the forum", -1, 28043, 1); addHoveredButton(28043, "Interfaces/stafftab/SPRITE", 3, 160, 32, 28044); addText(28025, "Staff Team", 0xff9b00, false, true, 34, tda, 1); addText(28029, "Updates", 0xff9b00, false, true, 34, tda, 1); addText(28033, "Vote Here", 0xff9b00, false, true, 34, tda, 1); addText(28040, "Help Me", 0xff9b00, false, true, 34, tda, 1); addText(28041, "Website", 0xff9b00, false, true, 34, tda, 1); addText(28045, "Our forums", 0xff9b00, false, true, 34, tda, 1); tab.totalChildren(20); tab.child(0, 28024, 49, 4); tab.child(1, 16126, 0, 22); tab.child(2, 28018, 15, 226); tab.child(3, 28019, 15, 226); tab.child(4, 28026, 15, 186); tab.child(5, 28027, 15, 186); tab.child(6, 28030, 15, 146); tab.child(7, 28031, 15, 146); tab.child(8, 28034, 15, 106); tab.child(9, 28035, 15, 106); tab.child(10, 28037, 15, 66); tab.child(11, 28038, 15, 66); tab.child(12, 28042, 15, 26); tab.child(13, 28043, 15, 26); tab.child(14, 28029, 59, 194); tab.child(15, 28025, 52, 234); tab.child(16, 28033, 52, 154); tab.child(17, 28040, 52, 114); tab.child(18, 28041, 52, 74); tab.child(19, 28045, 52, 34); } This is my whole method for this tab. I'd like to know what to change here
September 27, 20168 yr comment_3474 In that method make sure all your sprites are replaced and you should be good to go. There should be more in the client, referring to your mouse position.
September 27, 20168 yr Author comment_3476 25 minutes ago, Madara said: In that method make sure all your sprites are replaced and you should be good to go. There should be more in the client, referring to your mouse position. You said you could help me Wednesday, are you available today ?
September 27, 20168 yr comment_3486 Are you still stuck? You didn't message me again so I didn't know had you got it or not.
Create an account or sign in to comment