So in the released Ruse version, the clanchat editing interface is invisible. To fix that, simply replace the following method in RSInterface:
Code:
public static void editClan(TextDrawingArea[] tda) {
RSInterface tab = addTabInterface(40172);
addSpriteLoader(47251, 736);
addHoverSpriteLoaderButton(47252, 726, 150, 35, "Set name", 22222, 47253, 1);
addHoveredSpriteLoaderButton(47253, 150, 35, 47254, 727);
addHoverSpriteLoaderButton(47255, 726, 150, 35, "Anyone", -1,
47256, 1);
addHoveredSpriteLoaderButton(47256, 150, 35, 47257, 727);
addHoverButton(48000, "b", 1, 150, 35, "Only me", -1, 47999, 1);
addHoverButton(48001, "b", 1, 150, 35, "General+", -1, 47999, 1);
addHoverButton(48002, "b", 1, 150, 35, "Captain+", -1, 47999, 1);
addHoverButton(48003, "b", 1, 150, 35, "Lieutenant+", -1, 47999, 1);
addHoverButton(48004, "b", 1, 150, 35, "Sergeant+", -1, 47999, 1);
addHoverButton(48005, "b", 1, 150, 35, "Corporal+", -1, 47999, 1);
addHoverButton(48006, "b", 1, 150, 35, "Recruit+", -1, 47999, 1);
addHoverButton(48007, "b", 1, 150, 35, "Any friends", -1, 47999, 1);
addHoverSpriteLoaderButton(47258, 726, 150, 35, "Anyone", -1,
47259, 1);
addHoveredSpriteLoaderButton(47259, 150, 35, 17260, 727);
addHoverButton(48010, "b", 1, 150, 35, "Only me", -1, 47999, 1);
addHoverButton(48011, "b", 1, 150, 35, "General+", -1, 47999, 1);
addHoverButton(48012, "b", 1, 150, 35, "Captain+", -1, 47999, 1);
addHoverButton(48013, "b", 1, 150, 35, "Lieutenant+", -1, 47999, 1);
addHoverButton(48014, "b", 1, 150, 35, "Sergeant+", -1, 47999, 1);
addHoverButton(48015, "b", 1, 150, 35, "Corporal+", -1, 47999, 1);
addHoverButton(48016, "b", 1, 150, 35, "Recruit+", -1, 47999, 1);
addHoverButton(48017, "b", 1, 150, 35, "Any friends", -1, 47999, 1);
addHoverSpriteLoaderButton(47261, 726, 150, 35, "Only me", -1,
47262, 1);
addHoveredSpriteLoaderButton(47262, 150, 35, 47263, 727);
// addHoverButton(48020, "b", 1, 150, 35, "Only me", -1, 47999, 1);
addHoverButton(48021, "b", 1, 150, 35, "General+", -1, 47999, 1);
addHoverButton(48022, "b", 1, 150, 35, "Captain+", -1, 47999, 1);
addHoverButton(48023, "b", 1, 150, 35, "Lieutenant+", -1, 47999, 1);
addHoverButton(48024, "b", 1, 150, 35, "Sergeant+", -1, 47999, 1);
addHoverButton(48025, "b", 1, 150, 35, "Corporal+", -1, 47999, 1);
addHoverButton(48026, "b", 1, 150, 35, "Recruit+", -1, 47999, 1);
addHoverSpriteLoaderButton(47267, 737, 16, 16, "Close", -1,
47268, 1);
addHoveredSpriteLoaderButton(47268, 16, 16, 47269, 738);
addText(47800, "Clan name:", tda, 0, 0xff981f, false, true);
addText(47801, "Who can enter chat?", tda, 0, 0xff981f, false, true);
addText(47812, "Who can talk in chat?", tda, 0, 0xff981f, false, true);
addText(47813, "Who can kick from chat?", tda, 0, 0xff981f, false, true);
addText(47814, "Name", tda, 0, 0xffffff, true, true);
addText(47815, "Anyone", tda, 0, 0xffffff, true, true);
addText(47816, "Anyone", tda, 0, 0xffffff, true, true);
addText(47817, "Only me", tda, 0, 0xffffff, true, true);
tab.totalChildren(40);
tab.child(0, 47251, 180, 15);
tab.child(1, 47252, 190, 47 + 20);
tab.child(2, 47253, 190, 47 + 20);
tab.child(3, 47267, 327, 22);
tab.child(4, 47268, 327, 22);
tab.child(5, 48000, 190, 87 + 25);
tab.child(6, 48001, 190, 87 + 25);
tab.child(7, 48002, 190, 87 + 25);
tab.child(8, 48003, 190, 87 + 25);
tab.child(9, 48004, 190, 87 + 25);
tab.child(10, 48005, 190, 87 + 25);
tab.child(11, 48006, 190, 87 + 25);
tab.child(12, 48007, 190, 87 + 25);
tab.child(13, 47255, 190, 87 + 25);
tab.child(14, 47256, 190, 87 + 25);
tab.child(15, 48010, 190, 128 + 30);
tab.child(16, 48011, 190, 128 + 30);
tab.child(17, 48012, 190, 128 + 30);
tab.child(18, 48013, 190, 128 + 30);
tab.child(19, 48014, 190, 128 + 30);
tab.child(20, 48015, 190, 128 + 30);
tab.child(21, 48016, 190, 128 + 30);
tab.child(22, 48017, 190, 128 + 30);
tab.child(23, 47258, 190, 128 + 30);
//tab.child(24, 47259, 190, 128 + 30);
// tab.child(25, 48020, 25, 168+35);
tab.child(24, 48021, 190, 168 + 35);
tab.child(25, 48022, 190, 168 + 35);
tab.child(26, 48023, 190, 168 + 35);
tab.child(27, 48024, 190, 168 + 35);
tab.child(28, 48025, 190, 168 + 35);
tab.child(29, 48026, 190, 168 + 35);
tab.child(30, 47261, 190, 168 + 35);
tab.child(31, 47262, 190, 168 + 35);
tab.child(32, 47800, 238, 54 + 20);
tab.child(33, 47801, 215, 95 + 25);
tab.child(34, 47812, 215, 136 + 30);
tab.child(35, 47813, 215, 177 + 35);
tab.child(36, 47814, 265, 54 + 20 + 12);
tab.child(37, 47815, 265, 95 + 25 + 12);
tab.child(38, 47816, 265, 136 + 30 + 12);
tab.child(39, 47817, 265, 177 + 35 + 12);
}
public static void addHoverSpriteLoaderButton(int i, int spriteId,
int width, int height, String text, int contentType, int hoverOver,
int aT) {// hoverable
// button
RSInterface tab = addTabInterface(i);
tab.id = i;
tab.parentID = i;
tab.type = 5;
tab.atActionType = aT;
tab.contentType = contentType;
tab.opacity = 0;
tab.hoverType = hoverOver;
tab.disabledSprite = SpriteLoader.sprites[spriteId];
tab.enabledSprite = SpriteLoader.sprites[spriteId];
tab.width = width;
tab.height = height;
tab.tooltip = text;
}
public static void addHoveredSpriteLoaderButton(int i, int w,
int h, int IMAGEID, int spriteId) {
RSInterface tab = addTabInterface(i);
tab.parentID = i;
tab.id = i;
tab.type = 0;
tab.atActionType = 0;
tab.width = w;
tab.height = h;
tab.interfaceShown = true;
tab.opacity = 0;
tab.hoverType = -1;
tab.scrollMax = 0;
tab.disabledSprite = SpriteLoader.sprites[spriteId];
tab.enabledSprite = SpriteLoader.sprites[spriteId];
tab.totalChildren(1);
tab.child(0, IMAGEID, 0, 0);
}