w00t Looks nice.


This took me a while to get off my lazy butt and actualy do this so please commentignore all teh //text stuff thats just there cause i didnt feel like removing it. its not really the text
Sorry Galkon but i beat you to it
Sprites: [Only registered and activated users can see links. ]
Spoiler for non-renamed:Spoiler for the methods:Code:public static void addInterfaceSprite3(int i, int j, int k, String s) { Class9 class9 = aClass9Array210[i] = new Class9(); class9.anInt250 = i; class9.anInt236 = i; class9.anInt262 = 5; class9.anInt217 = 1; class9.anInt214 = 0; class9.anInt220 = 1; class9.anInt267 = 1; class9.aByte254 = 0; class9.anInt230 = 52; class9.aClass30_Sub2_Sub1_Sub1_207 = loader3(j, "Ge"); class9.aClass30_Sub2_Sub1_Sub1_260 = loader3(k, "Ge"); class9.aString221 = s; } public static void addActionButton3(int i, int j, int k, int width, int height, String s) { Class9 class9 = aClass9Array210[i] = new Class9(); class9.anInt250 = i; class9.anInt236 = i; class9.anInt262 = 5; class9.anInt217 = 1; class9.anInt214 = 0; class9.anInt220 = width; class9.anInt267 = height; class9.aByte254 = 0; class9.anInt230 = 52; class9.aClass30_Sub2_Sub1_Sub1_207 = loader3(j, "ge"); class9.aClass30_Sub2_Sub1_Sub1_260 = loader3(k, "ge"); class9.aString221 = s; } public static void addbuySprite(int i, int j, int k, String s) { Class9 class9 = aClass9Array210[i] = new Class9(); class9.anInt250 = i; class9.anInt236 = i; class9.anInt262 = 5; class9.anInt217 = 1; class9.anInt214 = 0; class9.anInt220 = 1; class9.anInt267 = 1; class9.aByte254 = 0; class9.anInt230 = 52; class9.aClass30_Sub2_Sub1_Sub1_207 = buyloader(j, "Buy"); class9.aClass30_Sub2_Sub1_Sub1_260 = buyloader(k, "Buy"); class9.aString221 = s; } public static void addsellSprite(int i, int j, int k, String s) { Class9 class9 = aClass9Array210[i] = new Class9(); class9.anInt250 = i; class9.anInt236 = i; class9.anInt262 = 5; class9.anInt217 = 1; class9.anInt214 = 0; class9.anInt220 = 1; class9.anInt267 = 1; class9.aByte254 = 0; class9.anInt230 = 52; class9.aClass30_Sub2_Sub1_Sub1_207 = sellloader(j, "Sell"); class9.aClass30_Sub2_Sub1_Sub1_260 = sellloader(k, "Sell"); class9.aString221 = s; } public static void addbuyButton(int i, int j, int k, int width, int height, String s) { Class9 class9 = aClass9Array210[i] = new Class9(); class9.anInt250 = i; class9.anInt236 = i; class9.anInt262 = 5; class9.anInt217 = 1; class9.anInt214 = 0; class9.anInt220 = width; class9.anInt267 = height; class9.aByte254 = 0; class9.anInt230 = 52; class9.aClass30_Sub2_Sub1_Sub1_207 = buyloader(j, "buy"); class9.aClass30_Sub2_Sub1_Sub1_260 = buyloader(k, "buy"); class9.aString221 = s; } public static void addsellButton(int i, int j, int k, int width, int height, String s) { Class9 class9 = aClass9Array210[i] = new Class9(); class9.anInt250 = i; class9.anInt236 = i; class9.anInt262 = 5; class9.anInt217 = 1; class9.anInt214 = 0; class9.anInt220 = width; class9.anInt267 = height; class9.aByte254 = 0; class9.anInt230 = 52; class9.aClass30_Sub2_Sub1_Sub1_207 = sellloader(j, "sell"); class9.aClass30_Sub2_Sub1_Sub1_260 = sellloader(k, "sell"); class9.aString221 = s; } private static Class30_Sub2_Sub1_Sub1 sellloader(int i, String s) { long l = (Class50.method585((byte)1, s) << 8) + (long)i; Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1 = (Class30_Sub2_Sub1_Sub1)aClass12_238.method222(l); if(class30_sub2_sub1_sub1 != null) { return class30_sub2_sub1_sub1; } try { class30_sub2_sub1_sub1 = new Class30_Sub2_Sub1_Sub1("./Sell/"+s+" "+i+".png"); aClass12_238.method223(class30_sub2_sub1_sub1, l, (byte)2); } catch(Exception exception) { return null; } return class30_sub2_sub1_sub1; } private static Class30_Sub2_Sub1_Sub1 buyloader(int i, String s) { long l = (Class50.method585((byte)1, s) << 8) + (long)i; Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1 = (Class30_Sub2_Sub1_Sub1)aClass12_238.method222(l); if(class30_sub2_sub1_sub1 != null) { return class30_sub2_sub1_sub1; } try { class30_sub2_sub1_sub1 = new Class30_Sub2_Sub1_Sub1("./Buy/"+s+" "+i+".png"); aClass12_238.method223(class30_sub2_sub1_sub1, l, (byte)2); } catch(Exception exception) { return null; } return class30_sub2_sub1_sub1; } private static Class30_Sub2_Sub1_Sub1 loader3(int i, String s) { long l = (Class50.method585((byte)1, s) << 8) + (long)i; Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1 = (Class30_Sub2_Sub1_Sub1)aClass12_238.method222(l); if(class30_sub2_sub1_sub1 != null) { return class30_sub2_sub1_sub1; } try { class30_sub2_sub1_sub1 = new Class30_Sub2_Sub1_Sub1("./Grand/"+s+" "+i+".png"); aClass12_238.method223(class30_sub2_sub1_sub1, l, (byte)2); } catch(Exception exception) { return null; } return class30_sub2_sub1_sub1; }
Spoiler for the interfaces:Code:public static void sell(Class30_Sub2_Sub1_Sub4[] wid) { Class9 class9 = addTab(15100); addsellSprite(15101, 0, 0, "sprite"); addsellButton(15102, 1, 1, 121, 42, "Confirm"); addsellButton(15103, 2, 2, 35, 25, "1+"); addsellButton(15104, 6, 6, 35, 25, "10+"); addsellButton(15105, 7, 7, 35, 25, "100+"); addsellButton(15106, 8, 8, 35, 25, "All"); addsellButton(15107, 9, 9, 35, 25, "Custom amount"); addsellButton(15108, 10, 10, 35, 25, "Lower"); addsellButton(15109, 11, 11, 35, 25, "Grand Exchange price"); addsellButton(15110, 12, 12, 35, 25, "Higher"); addsellButton(15111, 13, 13, 35, 25, "Custom Price"); addsellButton(15113, 4, 4, 13, 13, "Lower"); addsellButton(15114, 5, 5, 13, 13, "Higher"); addsellButton(15115, 4, 4, 13, 13, "Lower"); addsellButton(15116, 5, 5, 13, 13, "Higher"); addText(15117, "Item Here", wid, 1, 0xff9040); addText(15118, "item discription", wid, 1, 0xff9040); addText(15119, "100gp - 110gp", wid, 1, 0xff9040); addText(15120, "1 million", wid, 1, 0xff9040); addText(15121, "151 gp", wid, 1, 0xff9040); addsellButton(15122, 14, 14, 28, 25, "Go Back"); addText(15123, "amount of cash", wid, 1, 0xff9040); addsellButton(15124, 15, 15, 31, 26, "Search"); addText(15125, "151 gp", wid, 1, 0xff9040); class9.anIntArray240 = new int[24]; class9.anIntArray241 = new int[24]; class9.anIntArray272 = new int[24]; class9.anIntArray240[0] = 15101;//screen class9.anIntArray241[0] = 0; class9.anIntArray272[0] = 0; class9.anIntArray240[1] = 15102;//screen class9.anIntArray241[1] = 189; class9.anIntArray272[1] = 265; class9.anIntArray240[2] = 15103;//button class9.anIntArray241[2] = 43; class9.anIntArray272[2] = 204; class9.anIntArray240[3] = 15104;//button class9.anIntArray241[3] = 84; class9.anIntArray272[3] = 204; class9.anIntArray240[4] = 15105;//button class9.anIntArray241[4] = 125; class9.anIntArray272[4] = 204; class9.anIntArray240[5] = 15106;//button class9.anIntArray241[5] = 166; class9.anIntArray272[5] = 204; class9.anIntArray240[6] = 15107;//text class9.anIntArray241[6] = 207; class9.anIntArray272[6] = 204; class9.anIntArray240[7] = 15108;//text class9.anIntArray241[7] = 257; class9.anIntArray272[7] = 204; class9.anIntArray240[8] = 15109;//text class9.anIntArray241[8] = 310; class9.anIntArray272[8] = 204; class9.anIntArray240[9] = 15110;//text class9.anIntArray241[9] = 360; class9.anIntArray272[9] = 204; class9.anIntArray240[10] = 15111;//text class9.anIntArray241[10] = 416; class9.anIntArray272[10] = 204; class9.anIntArray240[11] = 15113;//text class9.anIntArray241[11] = 46; class9.anIntArray272[11] = 180; class9.anIntArray240[12] = 15114;//text class9.anIntArray241[12] = 226; class9.anIntArray272[12] = 180; class9.anIntArray240[13] = 15115;//text class9.anIntArray241[13] = 260; class9.anIntArray272[13] = 180; class9.anIntArray240[14] = 15116;//text class9.anIntArray241[14] = 435; class9.anIntArray272[14] = 180; class9.anIntArray240[15] = 15117;//text class9.anIntArray241[15] = 207; class9.anIntArray272[15] = 67; class9.anIntArray240[16] = 15118;//text class9.anIntArray241[16] = 202; class9.anIntArray272[16] = 94; class9.anIntArray240[17] = 15119;//text class9.anIntArray241[17] = 282; class9.anIntArray272[17] = 133; class9.anIntArray240[18] = 15120;//text class9.anIntArray241[18] = 90; class9.anIntArray272[18] = 182; class9.anIntArray240[19] = 15121;//text class9.anIntArray241[19] = 326; class9.anIntArray272[19] = 181; class9.anIntArray240[20] = 15122;//text class9.anIntArray241[20] = 24; class9.anIntArray272[20] = 278; class9.anIntArray240[21] = 15123;//text class9.anIntArray241[21] = 214; class9.anIntArray272[21] = 237; class9.anIntArray240[22] = 15124;//text class9.anIntArray241[22] = 97; class9.anIntArray272[22] = 96; class9.anIntArray240[23] = 15125;//text class9.anIntArray241[23] = 101; class9.anIntArray272[23] = 133; } public static void Buy(Class30_Sub2_Sub1_Sub4[] wid) { Class9 class9 = addTab(15000); addbuySprite(15001, 0, 0, "sprite"); addbuyButton(15002, 1, 1, 121, 42, "Confirm"); addbuyButton(15003, 2, 2, 35, 25, "1+"); addbuyButton(15004, 6, 6, 35, 25, "10+"); addbuyButton(15005, 7, 7, 35, 25, "100+"); addbuyButton(15006, 8, 8, 35, 25, "500+"); addbuyButton(15007, 9, 9, 35, 25, "Custom amount"); addbuyButton(15008, 10, 10, 35, 25, "Lower"); addbuyButton(15009, 11, 11, 35, 25, "Grand Exchange price"); addbuyButton(15010, 12, 12, 35, 25, "Higher"); addbuyButton(15011, 13, 13, 35, 25, "Custom Price"); addbuyButton(15013, 4, 4, 13, 13, "Lower"); addbuyButton(15014, 5, 5, 13, 13, "Higher"); addbuyButton(15015, 4, 4, 13, 13, "Lower"); addbuyButton(15016, 5, 5, 13, 13, "Higher"); addText(15017, "Item Here", wid, 1, 0xff9040); addText(15018, "item discription", wid, 1, 0xff9040); addText(15019, "100gp - 110gp", wid, 1, 0xff9040); addText(15020, "1 million", wid, 1, 0xff9040); addText(15021, "150 gp", wid, 1, 0xff9040); addbuyButton(15022, 14, 14, 28, 25, "Go Back"); addText(15023, "amount of cash", wid, 1, 0xff9040); addbuyButton(15024, 15, 15, 31, 26, "Search"); addText(15025, "150 gp", wid, 1, 0xff9040); class9.anIntArray240 = new int[24]; class9.anIntArray241 = new int[24]; class9.anIntArray272 = new int[24]; class9.anIntArray240[0] = 15001;//screen class9.anIntArray241[0] = 0; class9.anIntArray272[0] = 0; class9.anIntArray240[1] = 15002;//screen class9.anIntArray241[1] = 189; class9.anIntArray272[1] = 265; class9.anIntArray240[2] = 15003;//button class9.anIntArray241[2] = 43; class9.anIntArray272[2] = 204; class9.anIntArray240[3] = 15004;//button class9.anIntArray241[3] = 84; class9.anIntArray272[3] = 204; class9.anIntArray240[4] = 15005;//button class9.anIntArray241[4] = 125; class9.anIntArray272[4] = 204; class9.anIntArray240[5] = 15006;//button class9.anIntArray241[5] = 166; class9.anIntArray272[5] = 204; class9.anIntArray240[6] = 15007;//text class9.anIntArray241[6] = 207; class9.anIntArray272[6] = 204; class9.anIntArray240[7] = 15008;//text class9.anIntArray241[7] = 257; class9.anIntArray272[7] = 204; class9.anIntArray240[8] = 15009;//text class9.anIntArray241[8] = 310; class9.anIntArray272[8] = 204; class9.anIntArray240[9] = 15010;//text class9.anIntArray241[9] = 360; class9.anIntArray272[9] = 204; class9.anIntArray240[10] = 15011;//text class9.anIntArray241[10] = 416; class9.anIntArray272[10] = 204; class9.anIntArray240[11] = 15013;//text class9.anIntArray241[11] = 46; class9.anIntArray272[11] = 180; class9.anIntArray240[12] = 15014;//text class9.anIntArray241[12] = 226; class9.anIntArray272[12] = 180; class9.anIntArray240[13] = 15015;//text class9.anIntArray241[13] = 260; class9.anIntArray272[13] = 180; class9.anIntArray240[14] = 15016;//text class9.anIntArray241[14] = 435; class9.anIntArray272[14] = 180; class9.anIntArray240[15] = 15017;//text class9.anIntArray241[15] = 207; class9.anIntArray272[15] = 67; class9.anIntArray240[16] = 15018;//text class9.anIntArray241[16] = 202; class9.anIntArray272[16] = 94; class9.anIntArray240[17] = 15019;//text class9.anIntArray241[17] = 282; class9.anIntArray272[17] = 133; class9.anIntArray240[18] = 15020;//text class9.anIntArray241[18] = 90; class9.anIntArray272[18] = 182; class9.anIntArray240[19] = 15021;//text class9.anIntArray241[19] = 326; class9.anIntArray272[19] = 181; class9.anIntArray240[20] = 15022;//text class9.anIntArray241[20] = 24; class9.anIntArray272[20] = 278; class9.anIntArray240[21] = 15023;//text class9.anIntArray241[21] = 214; class9.anIntArray272[21] = 237; class9.anIntArray240[22] = 15024;//text class9.anIntArray241[22] = 97; class9.anIntArray272[22] = 96; class9.anIntArray240[23] = 15025;//text class9.anIntArray241[23] = 101; class9.anIntArray272[23] = 133; } public static void Grand1(Class30_Sub2_Sub1_Sub4[] wid) { Class9 class9 = addTab(19770); /*addInterfaceSprite(ID, SpriteON, SpriteOFF, "Sprite")*/ addInterfaceSprite3(19771, 0, 0, "Sprite");//scree addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addActionButton3(19773, 2, 2, 50, 47, "buy"); addActionButton3(19774, 2, 2, 50, 47, "buy"); addActionButton3(19775, 2, 2, 50, 47, "buy"); addActionButton3(19776, 2, 2, 50, 47, "buy"); addActionButton3(19777, 2, 2, 50, 47, "buy"); addActionButton3(19778, 2, 2, 50, 47, "buy"); addActionButton3(19779, 3, 3, 50, 47, "sell"); addActionButton3(19780, 3, 3, 50, 47, "sell"); addActionButton3(19781, 3, 3, 50, 47, "sell"); addActionButton3(19782, 3, 3, 50, 47, "sell"); addActionButton3(19783, 3, 3, 50, 47, "sell"); addActionButton3(19784, 3, 3, 50, 47, "sell"); addText(19785, "Empty", wid, 2, 0xff9040); class9.anInt261 = 0; class9.aBoolean266 = false; class9.anIntArray240 = new int[25]; class9.anIntArray241 = new int[25]; class9.anIntArray272 = new int[25]; class9.anIntArray240[0] = 19771;//screen class9.anIntArray241[0] = 0; class9.anIntArray272[0] = 0; class9.anIntArray240[1] = 19772;//button class9.anIntArray241[1] = 25; class9.anIntArray272[1] = 75; class9.anIntArray240[2] = 19772;//button class9.anIntArray241[2] = 181; class9.anIntArray272[2] = 75; class9.anIntArray240[3] = 19772;//button class9.anIntArray241[3] = 337; class9.anIntArray272[3] = 75; class9.anIntArray240[4] = 19772;//button class9.anIntArray241[4] = 25; class9.anIntArray272[4] = 195; class9.anIntArray240[5] = 19772;//button class9.anIntArray241[5] = 181; class9.anIntArray272[5] = 195; class9.anIntArray240[6] = 19772;//text class9.anIntArray241[6] = 337; class9.anIntArray272[6] = 195; class9.anIntArray240[7] = 19773;//text class9.anIntArray241[7] = 38; class9.anIntArray272[7] = 118; class9.anIntArray240[8] = 19774;//text class9.anIntArray241[8] = 194; class9.anIntArray272[8] = 118; class9.anIntArray240[9] = 19775;//text class9.anIntArray241[9] = 350; class9.anIntArray272[9] = 118; class9.anIntArray240[10] = 19776;//text class9.anIntArray241[10] = 38; class9.anIntArray272[10] = 238; class9.anIntArray240[11] = 19777;//text class9.anIntArray241[11] = 194; class9.anIntArray272[11] = 238; class9.anIntArray240[12] = 19778;//text class9.anIntArray241[12] = 350; class9.anIntArray272[12] = 238; class9.anIntArray240[13] = 19779;//text class9.anIntArray241[13] = 102; class9.anIntArray272[13] = 118; class9.anIntArray240[14] = 19780;//text class9.anIntArray241[14] = 257; class9.anIntArray272[14] = 118; class9.anIntArray240[15] = 19781;//text class9.anIntArray241[15] = 413; class9.anIntArray272[15] = 118; class9.anIntArray240[16] = 19782;//text class9.anIntArray241[16] = 102; class9.anIntArray272[16] = 238; class9.anIntArray240[17] = 19783;//text class9.anIntArray241[17] = 257; class9.anIntArray272[17] = 238; class9.anIntArray240[18] = 19784;//text class9.anIntArray241[18] = 413; class9.anIntArray272[18] = 238; class9.anIntArray240[19] = 19785;//text class9.anIntArray241[19] = 77; class9.anIntArray272[19] = 80; class9.anIntArray240[20] = 19785;//text class9.anIntArray241[20] = 232; class9.anIntArray272[20] = 80; class9.anIntArray240[21] = 19785;//text class9.anIntArray241[21] = 388; class9.anIntArray272[21] = 80; class9.anIntArray240[22] = 19785;//text class9.anIntArray241[22] = 77; class9.anIntArray272[22] = 200; class9.anIntArray240[23] = 19785;//text class9.anIntArray241[23] = 232; class9.anIntArray272[23] = 200; class9.anIntArray240[24] = 19785;//text class9.anIntArray241[24] = 388; class9.anIntArray272[24] = 200; }
Spoiler for what to put under aClass44 = aClass44;:Code:Grand1(aclass30_sub2_sub1_sub4); Buy(aclass30_sub2_sub1_sub4); sell(aclass30_sub2_sub1_sub4);
Spoiler for renamed:Spoiler for methods:Code:public static void addInterfaceSprite3(int i, int j, int k, String s) { RSInterface RSInterface = aRSInterfaceArray210[i] = new RSInterface(); RSInterface.id = i; RSInterface.parentID = i; RSInterface.type = 5; RSInterface.atActionType = 1; RSInterface.anInt214 = 0; RSInterface.width = 1; RSInterface.height = 1; RSInterface.aByte254 = 0; RSInterface.anInt230 = 52; RSInterface.sprite1 = loader3(j, "Ge"); RSInterface.sprite2 = loader3(k, "Ge"); RSInterface.tooltip = s; } public static void addActionButton3(int i, int j, int k, int width, int height, String s) { RSInterface RSInterface = aRSInterfaceArray210[i] = new RSInterface(); RSInterface.id = i; RSInterface.parentID = i; RSInterface.type = 5; RSInterface.atActionType = 1; RSInterface.anInt214 = 0; RSInterface.width = width; RSInterface.height = height; RSInterface.aByte254 = 0; RSInterface.anInt230 = 52; RSInterface.sprite1 = loader3(j, "ge"); RSInterface.sprite2 = loader3(k, "ge"); RSInterface.tooltip = s; } public static void addbuySprite(int i, int j, int k, String s) { RSInterface RSInterface = aRSInterfaceArray210[i] = new RSInterface(); RSInterface.id = i; RSInterface.parentID = i; RSInterface.type = 5; RSInterface.atActionType = 1; RSInterface.anInt214 = 0; RSInterface.width = 1; RSInterface.height = 1; RSInterface.aByte254 = 0; RSInterface.anInt230 = 52; RSInterface.sprite1 = buyloader(j, "Buy"); RSInterface.sprite2 = buyloader(k, "Buy"); RSInterface.tooltip = s; } public static void addsellSprite(int i, int j, int k, String s) { RSInterface RSInterface = aRSInterfaceArray210[i] = new RSInterface(); RSInterface.id = i; RSInterface.parentID = i; RSInterface.type = 5; RSInterface.atActionType = 1; RSInterface.anInt214 = 0; RSInterface.width = 1; RSInterface.height = 1; RSInterface.aByte254 = 0; RSInterface.anInt230 = 52; RSInterface.sprite1 = sellloader(j, "Sell"); RSInterface.sprite2 = sellloader(k, "Sell"); RSInterface.tooltip = s; } public static void addbuyButton(int i, int j, int k, int width, int height, String s) { RSInterface RSInterface = aRSInterfaceArray210[i] = new RSInterface(); RSInterface.id = i; RSInterface.parentID = i; RSInterface.type = 5; RSInterface.atActionType = 1; RSInterface.anInt214 = 0; RSInterface.width = width; RSInterface.height = height; RSInterface.aByte254 = 0; RSInterface.anInt230 = 52; RSInterface.sprite1 = buyloader(j, "buy"); RSInterface.sprite2 = buyloader(k, "buy"); RSInterface.tooltip = s; } public static void addsellButton(int i, int j, int k, int width, int height, String s) { RSInterface RSInterface = aRSInterfaceArray210[i] = new RSInterface(); RSInterface.id = i; RSInterface.parentID = i; RSInterface.type = 5; RSInterface.atActionType = 1; RSInterface.anInt214 = 0; RSInterface.width = width; RSInterface.height = height; RSInterface.aByte254 = 0; RSInterface.anInt230 = 52; RSInterface.sprite1 = sellloader(j, "sell"); RSInterface.sprite2 = sellloader(k, "sell"); RSInterface.tooltip = s; } private static Sprite sellloader(int i, String s) { long l = (TextClass.method585(s) << 8) + (long)i; Sprite sprite = (Sprite)aMRUNodes_238.insertFromCache(l); if(sprite != null) { return sprite; } try { sprite = new Sprite("./Sell/" + s + " " + i + ".png"); aMRUNodes_238.removeFromCache(sprite, l); } catch(Exception exception) { return null; } return sprite; } private static Sprite buyloader(int i, String s) { long l = (TextClass.method585(s) << 8) + (long)i; Sprite sprite = (Sprite)aMRUNodes_238.insertFromCache(l); if(sprite != null) { return sprite; } try { sprite = new Sprite("./Buy/" + s + " " + i + ".png"); aMRUNodes_238.removeFromCache(sprite, l); } catch(Exception exception) { return null; } return sprite; } private static Sprite loader3(int i, String s) { long l = (TextClass.method585(s) << 8) + (long)i; Sprite sprite = (Sprite)aMRUNodes_238.insertFromCache(l); if(sprite != null) { return sprite; } try { sprite = new Sprite("./Grand/" + s + " " + i + ".png"); aMRUNodes_238.removeFromCache(sprite, l); } catch(Exception exception) { return null; } return sprite; }
Spoiler for The interface (missing some renamed stuff?):Code:public static void sell(TextDrawingArea[] wid) { RSInterface RSInterface = addTab(15100); addsellSprite(15101, 0, 0, "sprite"); addsellButton(15102, 1, 1, 121, 42, "Confirm"); addsellButton(15103, 2, 2, 35, 25, "1+"); addsellButton(15104, 6, 6, 35, 25, "10+"); addsellButton(15105, 7, 7, 35, 25, "100+"); addsellButton(15106, 8, 8, 35, 25, "All"); addsellButton(15107, 9, 9, 35, 25, "Custom amount"); addsellButton(15108, 10, 10, 35, 25, "Lower"); addsellButton(15109, 11, 11, 35, 25, "Grand Exchange price"); addsellButton(15110, 12, 12, 35, 25, "Higher"); addsellButton(15111, 13, 13, 35, 25, "Custom Price"); addsellButton(15113, 4, 4, 13, 13, "Lower"); addsellButton(15114, 5, 5, 13, 13, "Higher"); addsellButton(15115, 4, 4, 13, 13, "Lower"); addsellButton(15116, 5, 5, 13, 13, "Higher"); addText(15117, "Item Here", wid, 1, 0xff9040); addText(15118, "item discription", wid, 1, 0xff9040); addText(15119, "100gp - 110gp", wid, 1, 0xff9040); addText(15120, "1 million", wid, 1, 0xff9040); addText(15121, "151 gp", wid, 1, 0xff9040); addsellButton(15122, 14, 14, 28, 25, "Go Back"); addText(15123, "amount of cash", wid, 1, 0xff9040); addsellButton(15124, 15, 15, 31, 26, "Search"); addText(15125, "151 gp", wid, 1, 0xff9040); RSInterface.children = new int[24]; RSInterface.childX = new int[24]; RSInterface.childY = new int[24]; RSInterface.children[0] = 15101;//screen RSInterface.childX[0] = 0; RSInterface.childY[0] = 0; RSInterface.children[1] = 15102;//screen RSInterface.childX[1] = 189; RSInterface.childY[1] = 265; RSInterface.children[2] = 15103;//button RSInterface.childX[2] = 43; RSInterface.childY[2] = 204; RSInterface.children[3] = 15104;//button RSInterface.childX[3] = 84; RSInterface.childY[3] = 204; RSInterface.children[4] = 15105;//button RSInterface.childX[4] = 125; RSInterface.childY[4] = 204; RSInterface.children[5] = 15106;//button RSInterface.childX[5] = 166; RSInterface.childY[5] = 204; RSInterface.children[6] = 15107;//text RSInterface.childX[6] = 207; RSInterface.childY[6] = 204; RSInterface.children[7] = 15108;//text RSInterface.childX[7] = 257; RSInterface.childY[7] = 204; RSInterface.children[8] = 15109;//text RSInterface.childX[8] = 310; RSInterface.childY[8] = 204; RSInterface.children[9] = 15110;//text RSInterface.childX[9] = 360; RSInterface.childY[9] = 204; RSInterface.children[10] = 15111;//text RSInterface.childX[10] = 416; RSInterface.childY[10] = 204; RSInterface.children[11] = 15113;//text RSInterface.childX[11] = 46; RSInterface.childY[11] = 180; RSInterface.children[12] = 15114;//text RSInterface.childX[12] = 226; RSInterface.childY[12] = 180; RSInterface.children[13] = 15115;//text RSInterface.childX[13] = 260; RSInterface.childY[13] = 180; RSInterface.children[14] = 15116;//text RSInterface.childX[14] = 435; RSInterface.childY[14] = 180; RSInterface.children[15] = 15117;//text RSInterface.childX[15] = 207; RSInterface.childY[15] = 67; RSInterface.children[16] = 15118;//text RSInterface.childX[16] = 202; RSInterface.childY[16] = 94; RSInterface.children[17] = 15119;//text RSInterface.childX[17] = 282; RSInterface.childY[17] = 133; RSInterface.children[18] = 15120;//text RSInterface.childX[18] = 90; RSInterface.childY[18] = 182; RSInterface.children[19] = 15121;//text RSInterface.childX[19] = 326; RSInterface.childY[19] = 181; RSInterface.children[20] = 15122;//text RSInterface.childX[20] = 24; RSInterface.childY[20] = 278; RSInterface.children[21] = 15123;//text RSInterface.childX[21] = 214; RSInterface.childY[21] = 237; RSInterface.children[22] = 15124;//text RSInterface.childX[22] = 97; RSInterface.childY[22] = 96; RSInterface.children[23] = 15125;//text RSInterface.childX[23] = 101; RSInterface.childY[23] = 133; } public static void Buy(TextDrawingArea[] wid) { RSInterface RSInterface = addTab(15000); addbuySprite(15001, 0, 0, "sprite"); addbuyButton(15002, 1, 1, 121, 42, "Confirm"); addbuyButton(15003, 2, 2, 35, 25, "1+"); addbuyButton(15004, 6, 6, 35, 25, "10+"); addbuyButton(15005, 7, 7, 35, 25, "100+"); addbuyButton(15006, 8, 8, 35, 25, "500+"); addbuyButton(15007, 9, 9, 35, 25, "Custom amount"); addbuyButton(15008, 10, 10, 35, 25, "Lower"); addbuyButton(15009, 11, 11, 35, 25, "Grand Exchange price"); addbuyButton(15010, 12, 12, 35, 25, "Higher"); addbuyButton(15011, 13, 13, 35, 25, "Custom Price"); addbuyButton(15013, 4, 4, 13, 13, "Lower"); addbuyButton(15014, 5, 5, 13, 13, "Higher"); addbuyButton(15015, 4, 4, 13, 13, "Lower"); addbuyButton(15016, 5, 5, 13, 13, "Higher"); addText(15017, "Item Here", wid, 1, 0xff9040); addText(15018, "item discription", wid, 1, 0xff9040); addText(15019, "100gp - 110gp", wid, 1, 0xff9040); addText(15020, "1 million", wid, 1, 0xff9040); addText(15021, "150 gp", wid, 1, 0xff9040); addbuyButton(15022, 14, 14, 28, 25, "Go Back"); addText(15023, "amount of cash", wid, 1, 0xff9040); addbuyButton(15024, 15, 15, 31, 26, "Search"); addText(15025, "150 gp", wid, 1, 0xff9040); RSInterface.children = new int[24]; RSInterface.childX = new int[24]; RSInterface.childY = new int[24]; RSInterface.children[0] = 15001;//screen RSInterface.childX[0] = 0; RSInterface.childY[0] = 0; RSInterface.children[1] = 15002;//screen RSInterface.childX[1] = 189; RSInterface.childY[1] = 265; RSInterface.children[2] = 15003;//button RSInterface.childX[2] = 43; RSInterface.childY[2] = 204; RSInterface.children[3] = 15004;//button RSInterface.childX[3] = 84; RSInterface.childY[3] = 204; RSInterface.children[4] = 15005;//button RSInterface.childX[4] = 125; RSInterface.childY[4] = 204; RSInterface.children[5] = 15006;//button RSInterface.childX[5] = 166; RSInterface.childY[5] = 204; RSInterface.children[6] = 15007;//text RSInterface.childX[6] = 207; RSInterface.childY[6] = 204; RSInterface.children[7] = 15008;//text RSInterface.childX[7] = 257; RSInterface.childY[7] = 204; RSInterface.children[8] = 15009;//text RSInterface.childX[8] = 310; RSInterface.childY[8] = 204; RSInterface.children[9] = 15010;//text RSInterface.childX[9] = 360; RSInterface.childY[9] = 204; RSInterface.children[10] = 15011;//text RSInterface.childX[10] = 416; RSInterface.childY[10] = 204; RSInterface.children[11] = 15013;//text RSInterface.childX[11] = 46; RSInterface.childY[11] = 180; RSInterface.children[12] = 15014;//text RSInterface.childX[12] = 226; RSInterface.childY[12] = 180; RSInterface.children[13] = 15015;//text RSInterface.childX[13] = 260; RSInterface.childY[13] = 180; RSInterface.children[14] = 15016;//text RSInterface.childX[14] = 435; RSInterface.childY[14] = 180; RSInterface.children[15] = 15017;//text RSInterface.childX[15] = 207; RSInterface.childY[15] = 67; RSInterface.children[16] = 15018;//text RSInterface.childX[16] = 202; RSInterface.childY[16] = 94; RSInterface.children[17] = 15019;//text RSInterface.childX[17] = 282; RSInterface.childY[17] = 133; RSInterface.children[18] = 15020;//text RSInterface.childX[18] = 90; RSInterface.childY[18] = 182; RSInterface.children[19] = 15021;//text RSInterface.childX[19] = 326; RSInterface.childY[19] = 181; RSInterface.children[20] = 15022;//text RSInterface.childX[20] = 24; RSInterface.childY[20] = 278; RSInterface.children[21] = 15023;//text RSInterface.childX[21] = 214; RSInterface.childY[21] = 237; RSInterface.children[22] = 15024;//text RSInterface.childX[22] = 97; RSInterface.childY[22] = 96; RSInterface.children[23] = 15025;//text RSInterface.childX[23] = 101; RSInterface.childY[23] = 133; } public static void Grand1(TextDrawingArea[] wid) { RSInterface RSInterface = addTab(19770); /*addInterfaceSprite(ID, SpriteON, SpriteOFF, "Sprite")*/ addInterfaceSprite3(19771, 0, 0, "Sprite");//scree addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addInterfaceSprite3(19772, 1, 1, "sprite"); addActionButton3(19773, 2, 2, 50, 47, "buy"); addActionButton3(19774, 2, 2, 50, 47, "buy"); addActionButton3(19775, 2, 2, 50, 47, "buy"); addActionButton3(19776, 2, 2, 50, 47, "buy"); addActionButton3(19777, 2, 2, 50, 47, "buy"); addActionButton3(19778, 2, 2, 50, 47, "buy"); addActionButton3(19779, 3, 3, 50, 47, "sell"); addActionButton3(19780, 3, 3, 50, 47, "sell"); addActionButton3(19781, 3, 3, 50, 47, "sell"); addActionButton3(19782, 3, 3, 50, 47, "sell"); addActionButton3(19783, 3, 3, 50, 47, "sell"); addActionButton3(19784, 3, 3, 50, 47, "sell"); addText(19785, "Empty", wid, 2, 0xff9040); RSInterface.anInt261 = 0; RSInterface.aBoolean266 = false; RSInterface.children = new int[25]; RSInterface.childX = new int[25]; RSInterface.childY = new int[25]; RSInterface.children[0] = 19771;//screen RSInterface.childX[0] = 0; RSInterface.childY[0] = 0; RSInterface.children[1] = 19772;//button RSInterface.childX[1] = 25; RSInterface.childY[1] = 75; RSInterface.children[2] = 19772;//button RSInterface.childX[2] = 181; RSInterface.childY[2] = 75; RSInterface.children[3] = 19772;//button RSInterface.childX[3] = 337; RSInterface.childY[3] = 75; RSInterface.children[4] = 19772;//button RSInterface.childX[4] = 25; RSInterface.childY[4] = 195; RSInterface.children[5] = 19772;//button RSInterface.childX[5] = 181; RSInterface.childY[5] = 195; RSInterface.children[6] = 19772;//text RSInterface.childX[6] = 337; RSInterface.childY[6] = 195; RSInterface.children[7] = 19773;//text RSInterface.childX[7] = 38; RSInterface.childY[7] = 118; RSInterface.children[8] = 19774;//text RSInterface.childX[8] = 194; RSInterface.childY[8] = 118; RSInterface.children[9] = 19775;//text RSInterface.childX[9] = 350; RSInterface.childY[9] = 118; RSInterface.children[10] = 19776;//text RSInterface.childX[10] = 38; RSInterface.childY[10] = 238; RSInterface.children[11] = 19777;//text RSInterface.childX[11] = 194; RSInterface.childY[11] = 238; RSInterface.children[12] = 19778;//text RSInterface.childX[12] = 350; RSInterface.childY[12] = 238; RSInterface.children[13] = 19779;//text RSInterface.childX[13] = 102; RSInterface.childY[13] = 118; RSInterface.children[14] = 19780;//text RSInterface.childX[14] = 257; RSInterface.childY[14] = 118; RSInterface.children[15] = 19781;//text RSInterface.childX[15] = 413; RSInterface.childY[15] = 118; RSInterface.children[16] = 19782;//text RSInterface.childX[16] = 102; RSInterface.childY[16] = 238; RSInterface.children[17] = 19783;//text RSInterface.childX[17] = 257; RSInterface.childY[17] = 238; RSInterface.children[18] = 19784;//text RSInterface.childX[18] = 413; RSInterface.childY[18] = 238; RSInterface.children[19] = 19785;//text RSInterface.childX[19] = 77; RSInterface.childY[19] = 80; RSInterface.children[20] = 19785;//text RSInterface.childX[20] = 232; RSInterface.childY[20] = 80; RSInterface.children[21] = 19785;//text RSInterface.childX[21] = 388; RSInterface.childY[21] = 80; RSInterface.children[22] = 19785;//text RSInterface.childX[22] = 77; RSInterface.childY[22] = 200; RSInterface.children[23] = 19785;//text RSInterface.childX[23] = 232; RSInterface.childY[23] = 200; RSInterface.children[24] = 19785;//text RSInterface.childX[24] = 388; RSInterface.childY[24] = 200; }
Spoiler for the sprites:http://**********/v/6OXK8COI
making a vid atm so dont be all like "pics plzz?" or "n0 pr00ff? fail..."
EDIT:
teh vid:
EXTRA:
want the buy/sell buttons to work?
add these serverside under packet 185
Code:case 77067: case 77068: case 77069: case 77070: case 77071: case 77072: showInterface(15100); break; case 77061: case 77062: case 77063: case 77064: case 77065: case 77066: showInterface(15000); break; case 58174: case 59018: showInterface(19770); break; break;

its uploading but i fogot to include the Close button xD so lemme make that real quick lolz
- still processing
im renaming it atm so all you renamed pplz hold on =P

i havent tried server side grand exchange yet, just made the interfaces first.

Very nice, I will use this. ;D

atm i got the renamed methods down now just gotta do teh interface
| « Defender Emote | [Galkon's] NPC definitions » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
| Tags for this Thread |
| Posting Permissions |
|

ignore all teh //text stuff thats just there cause i didnt feel like removing it. its not really the text

