I actually already did, they look completely same for me.
3.1 Client
Code:
public static void itemsKeptOnDeath(GameFont[] tda) {
removeSomething(16999); //close button in text
Widget rsinterface = interfaceCache[10494];
rsinterface.spritePaddingX = 6;
rsinterface.spritePaddingY = 5;
rsinterface = interfaceCache[10600];
rsinterface.spritePaddingX = 6;
rsinterface.spritePaddingY = 5;
rsinterface = addInterface(17100);
addSpriteLoader(17101, 139);
/*Widget scroll = addTabInterface(17149);
scroll.width = 300; scroll.height = 183; scroll.scrollMax = 220;*/
addText(17103, "Items Kept on Death", tda, 2, 0xff981f, false, false);
addText(17104, "Items you will keep on death:", tda, 1, 0xff981f, false, false);
addText(17105, "Items you will lose on death:", tda, 1, 0xff981f, false, false);
addText(17106, "Info", tda, 1, 0xff981f, false, false);
addText(17107, "3", tda, 2, 0xffff00, false, false);
String[] options = {null};
/*
* Items on interface
*/
//Top Row
for(int top = 17108; top <= 17111; top++) {
addItemOnInterface(top, 17100, options);
}
//1st row
for(int top = 17112; top <= 17119; top++) {
addItemOnInterface(top, 17100, options);
}
//2nd row
for(int top = 17120; top <= 17127; top++) {
addItemOnInterface(top, 17100, options);
}
//3rd row
for(int top = 17128; top <= 17135; top++) {
addItemOnInterface(top, 17100, options);
}
//4th row
for (int top = 17136; top <= 17142; top++) {
addItemOnInterface(top, 17100, options);
}
//5th row
for (int top = 17143; top <= 17148; top++) {
addItemOnInterface(top, 17100, options);
}
//6th row (4 items)
for(int top = 17149; top <= 17152; top++) {
addItemOnInterface(top, 17100, options);
}
setChildren(56, rsinterface);
//addTabInterface(5);
setBounds(17101, 7,8, 0, rsinterface);
setBounds(16999, 478, 14, 1, rsinterface);
setBounds(17103, 185, 18, 2, rsinterface);
setBounds(17104, 22, 50, 3, rsinterface);
setBounds(17105, 22, 110, 4, rsinterface);
setBounds(17106, 347, 50, 5, rsinterface);
setBounds(17107, 412, 287, 6, rsinterface);
setBounds(17149, 23, 132, 7, rsinterface);
//setBounds(17018, 480, 18, 8, rsinterface);
//setBounds(17019, 480, 18, 9, rsinterface);
setBounds(38117, 480, 18, 8, rsinterface);
setBounds(38118, 480, 18, 9, rsinterface);
//setBounds(5, 480, 18, 10, rsinterface);
//Positions for item on interface (items kept on death
int child_index = 10;
int topPos = 26;
for(int top = 17108; top <= 17111; top++) {
setBounds(top, topPos, 72, child_index, rsinterface);
topPos += 44;
child_index++;
}
//setBounds(17000, 478, 14, child_index++, rsinterface);
itemsOnDeathDATA(tda);
setBounds(17315, 348, 64, child_index++, rsinterface);
topPos = 26;
//1st row
for(int top = 17112; top <= 17118; top++) {
setBounds(top, topPos, 133, child_index, rsinterface);
topPos += 44;
child_index++;
}
//2nd row
topPos = 26;
for(int top = 17119; top <= 17125; top++) {
setBounds(top, topPos, 168, child_index, rsinterface);
topPos += 44;
child_index++;
}
//3rd row
topPos = 26;
for(int top = 17126; top <= 17132; top++) {
setBounds(top, topPos, 203, child_index, rsinterface);
topPos += 44;
child_index++;
}
//4th row
topPos = 26;
for (int top = 17133; top <= 17139; top++) {
setBounds(top, topPos, 238, child_index, rsinterface);
topPos += 44;
child_index++;
}
//5th row
topPos = 26;
for (int top = 17140; top <= 17145; top++) {
setBounds(top, topPos, 273, child_index, rsinterface);
topPos += 44;
child_index++;
}
//6th row (4 items)
topPos = 26;
for(int top = 17146; top <= 17152; top++) {
setBounds(top, topPos, 311, child_index, rsinterface);
topPos += 44;
child_index++;
}
}
public static void itemsOnDeathDATA(GameFont[] tda) {
Widget RSinterface = addInterface(17315);
addText(17309, "", 0xff981f, false, false, 0, tda, 0);
addText(17310, "The normal amount of", 0xff981f, false, false, 0, tda, 0);
addText(17311, "items kept is three.", 0xff981f, false, false, 0, tda, 0);
addText(17312, "", 0xff981f, false, false, 0, tda, 0);
addText(17313, "If you are skulled,", 0xff981f, false, false, 0, tda, 0);
addText(17314, "you will lose all your", 0xff981f, false, false, 0, tda, 0);
addText(17317, "items, unless an item", 0xff981f, false, false, 0, tda, 0);
addText(17318, "protecting prayer is", 0xff981f, false, false, 0, tda, 0);
addText(17319, "used.", 0xff981f, false, false, 0, tda, 0);
addText(17320, "", 0xff981f, false, false, 0, tda, 0);
addText(17321, "Item protecting prayers", 0xff981f, false, false, 0, tda, 0);
addText(17322, "will allow you to keep", 0xff981f, false, false, 0, tda, 0);
addText(17323, "one extra item.", 0xff981f, false, false, 0, tda, 0);
addText(17324, "", 0xff981f, false, false, 0, tda, 0);
addText(17325, "The items kept are", 0xff981f, false, false, 0, tda, 0);
addText(17326, "selected by the server", 0xff981f, false, false, 0, tda, 0);
addText(17327, "and include the most", 0xff981f, false, false, 0, tda, 0);
addText(17328, "expensive items you're", 0xff981f, false, false, 0, tda, 0);
addText(17329, "carrying.", 0xff981f, false, false, 0, tda, 0);
addText(17330, "", 0xff981f, false, false, 0, tda, 0);
RSinterface.parent = 17315;
RSinterface.id = 17315;
RSinterface.type = 0;
RSinterface.atActionType = 0;
RSinterface.contentType = 0;
RSinterface.width = 130;
RSinterface.height = 197;
RSinterface.opacity = 0;
RSinterface.hoverType = -1;
RSinterface.scrollMax = 280;
RSinterface.children = new int[20];
RSinterface.childX = new int[20];
RSinterface.childY = new int[20];
RSinterface.children[0] = 17309;
RSinterface.childX[0] = 0;
RSinterface.childY[0] = 0;
RSinterface.children[1] = 17310;
RSinterface.childX[1] = 0;
RSinterface.childY[1] = 12;
RSinterface.children[2] = 17311;
RSinterface.childX[2] = 0;
RSinterface.childY[2] = 24;
RSinterface.children[3] = 17312;
RSinterface.childX[3] = 0;
RSinterface.childY[3] = 36;
RSinterface.children[4] = 17313;
RSinterface.childX[4] = 0;
RSinterface.childY[4] = 48;
RSinterface.children[5] = 17314;
RSinterface.childX[5] = 0;
RSinterface.childY[5] = 60;
RSinterface.children[6] = 17317;
RSinterface.childX[6] = 0;
RSinterface.childY[6] = 72;
RSinterface.children[7] = 17318;
RSinterface.childX[7] = 0;
RSinterface.childY[7] = 84;
RSinterface.children[8] = 17319;
RSinterface.childX[8] = 0;
RSinterface.childY[8] = 96;
RSinterface.children[9] = 17320;
RSinterface.childX[9] = 0;
RSinterface.childY[9] = 108;
RSinterface.children[10] = 17321;
RSinterface.childX[10] = 0;
RSinterface.childY[10] = 120;
RSinterface.children[11] = 17322;
RSinterface.childX[11] = 0;
RSinterface.childY[11] = 132;
RSinterface.children[12] = 17323;
RSinterface.childX[12] = 0;
RSinterface.childY[12] = 144;
RSinterface.children[13] = 17324;
RSinterface.childX[13] = 0;
RSinterface.childY[13] = 156;
RSinterface.children[14] = 17325;
RSinterface.childX[14] = 0;
RSinterface.childY[14] = 168;
RSinterface.children[15] = 17326;
RSinterface.childX[15] = 0;
RSinterface.childY[15] = 180;
RSinterface.children[16] = 17327;
RSinterface.childX[16] = 0;
RSinterface.childY[16] = 192;
RSinterface.children[17] = 17328;
RSinterface.childX[17] = 0;
RSinterface.childY[17] = 204;
RSinterface.children[18] = 17329;
RSinterface.childX[18] = 0;
RSinterface.childY[18] = 216;
RSinterface.children[19] = 17330;
RSinterface.childX[19] = 0;
RSinterface.childY[19] = 228;
}
Older version of client:
Code:
public static void itemsKeptOnDeath(GameFont[] tda) {
removeSomething(16999); //close button in text
Widget rsinterface = interfaceCache[10494];
rsinterface.spritePaddingX = 6;
rsinterface.spritePaddingY = 5;
rsinterface = interfaceCache[10600];
rsinterface.spritePaddingX = 6;
rsinterface.spritePaddingY = 5;
rsinterface = addInterface(17100);
addSpriteLoader(17101, 139);
/*Widget scroll = addTabInterface(17149);
scroll.width = 300; scroll.height = 183; scroll.scrollMax = 220;*/
addText(17103, "Items Kept on Death", tda, 2, 0xff981f, false, false);
addText(17104, "Items you will keep on death:", tda, 1, 0xff981f, false, false);
addText(17105, "Items you will lose on death:", tda, 1, 0xff981f, false, false);
addText(17106, "Info", tda, 1, 0xff981f, false, false);
addText(17107, "3", tda, 2, 0xffff00, false, false);
String[] options = {null};
/*
* Items on interface
*/
//Top Row
for(int top = 17108; top <= 17111; top++) {
addItemOnInterface(top, 17100, options);
}
//1st row
for(int top = 17112; top <= 17119; top++) {
addItemOnInterface(top, 17100, options);
}
//2nd row
for(int top = 17120; top <= 17127; top++) {
addItemOnInterface(top, 17100, options);
}
//3rd row
for(int top = 17128; top <= 17135; top++) {
addItemOnInterface(top, 17100, options);
}
//4th row
for (int top = 17136; top <= 17142; top++) {
addItemOnInterface(top, 17100, options);
}
//5th row
for (int top = 17143; top <= 17148; top++) {
addItemOnInterface(top, 17100, options);
}
//6th row (4 items)
for(int top = 17149; top <= 17152; top++) {
addItemOnInterface(top, 17100, options);
}
setChildren(56, rsinterface);
//addTabInterface(5);
setBounds(17101, 7,8, 0, rsinterface);
setBounds(16999, 478, 14, 1, rsinterface);
setBounds(17103, 185, 18, 2, rsinterface);
setBounds(17104, 22, 50, 3, rsinterface);
setBounds(17105, 22, 110, 4, rsinterface);
setBounds(17106, 347, 50, 5, rsinterface);
setBounds(17107, 412, 287, 6, rsinterface);
setBounds(17149, 23, 132, 7, rsinterface);
//setBounds(17018, 480, 18, 8, rsinterface);
//setBounds(17019, 480, 18, 9, rsinterface);
setBounds(38117, 480, 18, 8, rsinterface);
setBounds(38118, 480, 18, 9, rsinterface);
//setBounds(5, 480, 18, 10, rsinterface);
//Positions for item on interface (items kept on death
int child_index = 10;
int topPos = 26;
for(int top = 17108; top <= 17111; top++) {
setBounds(top, topPos, 72, child_index, rsinterface);
topPos += 44;
child_index++;
}
//setBounds(17000, 478, 14, child_index++, rsinterface);
itemsOnDeathDATA(tda);
setBounds(17315, 348, 64, child_index++, rsinterface);
topPos = 26;
//1st row
for(int top = 17112; top <= 17118; top++) {
setBounds(top, topPos, 133, child_index, rsinterface);
topPos += 44;
child_index++;
}
//2nd row
topPos = 26;
for(int top = 17119; top <= 17125; top++) {
setBounds(top, topPos, 168, child_index, rsinterface);
topPos += 44;
child_index++;
}
//3rd row
topPos = 26;
for(int top = 17126; top <= 17132; top++) {
setBounds(top, topPos, 203, child_index, rsinterface);
topPos += 44;
child_index++;
}
//4th row
topPos = 26;
for (int top = 17133; top <= 17139; top++) {
setBounds(top, topPos, 238, child_index, rsinterface);
topPos += 44;
child_index++;
}
//5th row
topPos = 26;
for (int top = 17140; top <= 17145; top++) {
setBounds(top, topPos, 273, child_index, rsinterface);
topPos += 44;
child_index++;
}
//6th row (4 items)
topPos = 26;
for(int top = 17146; top <= 17152; top++) {
setBounds(top, topPos, 311, child_index, rsinterface);
topPos += 44;
child_index++;
}
}
public static void itemsOnDeathDATA(GameFont[] tda) {
Widget RSinterface = addInterface(17315);
addText(17309, "", 0xff981f, false, false, 0, tda, 0);
addText(17310, "The normal amount of", 0xff981f, false, false, 0, tda, 0);
addText(17311, "items kept is three.", 0xff981f, false, false, 0, tda, 0);
addText(17312, "", 0xff981f, false, false, 0, tda, 0);
addText(17313, "If you are skulled,", 0xff981f, false, false, 0, tda, 0);
addText(17314, "you will lose all your", 0xff981f, false, false, 0, tda, 0);
addText(17317, "items, unless an item", 0xff981f, false, false, 0, tda, 0);
addText(17318, "protecting prayer is", 0xff981f, false, false, 0, tda, 0);
addText(17319, "used.", 0xff981f, false, false, 0, tda, 0);
addText(17320, "", 0xff981f, false, false, 0, tda, 0);
addText(17321, "Item protecting prayers", 0xff981f, false, false, 0, tda, 0);
addText(17322, "will allow you to keep", 0xff981f, false, false, 0, tda, 0);
addText(17323, "one extra item.", 0xff981f, false, false, 0, tda, 0);
addText(17324, "", 0xff981f, false, false, 0, tda, 0);
addText(17325, "The items kept are", 0xff981f, false, false, 0, tda, 0);
addText(17326, "selected by the server", 0xff981f, false, false, 0, tda, 0);
addText(17327, "and include the most", 0xff981f, false, false, 0, tda, 0);
addText(17328, "expensive items you're", 0xff981f, false, false, 0, tda, 0);
addText(17329, "carrying.", 0xff981f, false, false, 0, tda, 0);
addText(17330, "", 0xff981f, false, false, 0, tda, 0);
RSinterface.parent = 17315;
RSinterface.id = 17315;
RSinterface.type = 0;
RSinterface.atActionType = 0;
RSinterface.contentType = 0;
RSinterface.width = 130;
RSinterface.height = 197;
RSinterface.opacity = 0;
RSinterface.hoverType = -1;
RSinterface.scrollMax = 280;
RSinterface.children = new int[20];
RSinterface.childX = new int[20];
RSinterface.childY = new int[20];
RSinterface.children[0] = 17309;
RSinterface.childX[0] = 0;
RSinterface.childY[0] = 0;
RSinterface.children[1] = 17310;
RSinterface.childX[1] = 0;
RSinterface.childY[1] = 12;
RSinterface.children[2] = 17311;
RSinterface.childX[2] = 0;
RSinterface.childY[2] = 24;
RSinterface.children[3] = 17312;
RSinterface.childX[3] = 0;
RSinterface.childY[3] = 36;
RSinterface.children[4] = 17313;
RSinterface.childX[4] = 0;
RSinterface.childY[4] = 48;
RSinterface.children[5] = 17314;
RSinterface.childX[5] = 0;
RSinterface.childY[5] = 60;
RSinterface.children[6] = 17317;
RSinterface.childX[6] = 0;
RSinterface.childY[6] = 72;
RSinterface.children[7] = 17318;
RSinterface.childX[7] = 0;
RSinterface.childY[7] = 84;
RSinterface.children[8] = 17319;
RSinterface.childX[8] = 0;
RSinterface.childY[8] = 96;
RSinterface.children[9] = 17320;
RSinterface.childX[9] = 0;
RSinterface.childY[9] = 108;
RSinterface.children[10] = 17321;
RSinterface.childX[10] = 0;
RSinterface.childY[10] = 120;
RSinterface.children[11] = 17322;
RSinterface.childX[11] = 0;
RSinterface.childY[11] = 132;
RSinterface.children[12] = 17323;
RSinterface.childX[12] = 0;
RSinterface.childY[12] = 144;
RSinterface.children[13] = 17324;
RSinterface.childX[13] = 0;
RSinterface.childY[13] = 156;
RSinterface.children[14] = 17325;
RSinterface.childX[14] = 0;
RSinterface.childY[14] = 168;
RSinterface.children[15] = 17326;
RSinterface.childX[15] = 0;
RSinterface.childY[15] = 180;
RSinterface.children[16] = 17327;
RSinterface.childX[16] = 0;
RSinterface.childY[16] = 192;
RSinterface.children[17] = 17328;
RSinterface.childX[17] = 0;
RSinterface.childY[17] = 204;
RSinterface.children[18] = 17329;
RSinterface.childX[18] = 0;
RSinterface.childY[18] = 216;
RSinterface.children[19] = 17330;
RSinterface.childX[19] = 0;
RSinterface.childY[19] = 228;
}