Evil Mage Admin
Number of posts : 432 Age : 32 Registration date : 2008-05-08
| Subject: luner interface Thu Aug 21, 2008 12:27 pm | |
| [QUOTE=bennyboyrulez;753958]Description: Rune Scapes 98% lunar interface almost exact except for a few things, postions and they dont light up and so on the sprites are there but if u can make them work and turn off if you dont have level please tell me and i will put on here and give full credits to you. sprites will only load to the interface im giving you, no other interface Difficulty: i'd probs say about a 3 need some knowledge of java coding and understanding it Tested Client: Don't know original scorce i got from a friend and he'd already renamed the title of it. Files/Classes Modified: class9.java and cache Procedure Step 1: download this and extract it into your cache [URL="http://uppit.com/6GGO0L"]http://uppit.com/6GGO0L[/URL] Step 2: open up class9.java and add this into your other interfaces, if you don't have other interfaces make sure you've done meanz interface tut - Code:
-
public static void MyInterface() { Class9 Tab = addTab(17000); addSpellClick3(17001, 1, 1, "Cast @gre@Home Teleport"); addSpellClick3(17002, 2, 3, "Cast @gre@Bake Pie"); addSpellClick3(17003, 4, 5, "Cast @gre@Cure Plant"); addSpellClick3(17004, 6, 7, "Cast @gre@Monster Examine"); addSpellClick3(17005, 8, 9, "Cast @gre@Npc Contact"); addSpellClick3(17006, 10, 11, "Cast @gre@Cure Other"); addSpellClick3(17007, 12, 13, "Cast @gre@Humidify"); addSpellClick3(17008, 14, 15, "Cast @gre@Moonclan Teleport"); addSpellClick3(17009, 16, 17, "Cast @gre@Tele Group Moonclan"); addSpellClick3(17010, 18, 19, "Cast @gre@Ourania Teleport"); addSpellClick3(17011, 20, 21, "Cast @gre@Cure Me"); addSpellClick3(17012, 22, 23, "Cast @gre@Hunter Kit"); addSpellClick3(17013, 24, 25, "Cast @gre@Waterbirth Teleport"); addSpellClick3(17014, 26, 27, "Cast @gre@Tele Group Waterbirth"); addSpellClick3(17015, 28, 29, "Cast @gre@Cure Group"); addSpellClick3(17016, 30, 31, "Cast @gre@Barbarian Teleport"); addSpellClick3(17017, 32, 33, "Cast @gre@Stat Spy"); addSpellClick3(17018, 34, 35, "Cast @gre@Tele Group Barbarian"); addSpellClick3(17019, 36, 37, "Cast @gre@Superglass Make"); addSpellClick3(17020, 38, 39, "Cast @gre@Khazard Teleport"); addSpellClick3(17021, 40, 41, "Cast @gre@Tele Group Khazard"); addSpellClick3(17022, 42, 43, "Cast @gre@Dream"); addSpellClick3(17023, 44, 45, "Cast @gre@String Jewellery"); addSpellClick3(17024, 46, 47, "Cast @gre@Stat Restore Pot Share"); addSpellClick3(17025, 48, 49, "Cast @gre@Magic Imbue"); addSpellClick3(17026, 50, 51, "Cast @gre@Fertile Soil"); addSpellClick3(17027, 52, 53, "Cast @gre@Boost Potion Share"); addSpellClick3(17028, 54, 55, "Cast @gre@Fishing Guild Teleport"); addSpellClick3(17029, 56, 57, "Cast @gre@Tele Group Fishing Guild"); addSpellClick3(17030, 58, 59, "Cast @gre@Plank Make"); addSpellClick3(17031, 60, 61, "Cast @gre@Teleport Catherby"); addSpellClick3(17032, 62, 63, "Cast @gre@Tele Group Catherby"); addSpellClick3(17033, 64, 65, "Cast @gre@Ice Plateau Teleport"); addSpellClick3(17034, 66, 67, "Cast @gre@Tele Group Ice Plateau"); addSpellClick3(17035, 68, 69, "Cast @gre@Energy Transfer"); addSpellClick3(17036, 70, 71, "Cast @gre@Heal Other"); addSpellClick3(17037, 72, 73, "Cast @gre@Vengeance Other"); addSpellClick3(17038, 74, 75, "Cast @gre@Vengeance"); addSpellClick3(17039, 76, 77, "Cast @gre@Heal Group"); addSpellClick3(17040, 78, 79, "Cast @gre@Spellbook Swap");
Tab.anInt261 = 0; Tab.aBoolean266 = false; Tab.anIntArray240 = new int[40]; //Interface id Tab.anIntArray241 = new int[40]; //X pos Tab.anIntArray272 = new int[40]; //Y pos
Tab.anIntArray240[0] = 17001; //Interface id Tab.anIntArray241[0] = 0; //X pos Tab.anIntArray272[0] = 10; //Y pos Tab.anIntArray240[1] = 17002; //Interface id Tab.anIntArray241[1] = 33; //X pos Tab.anIntArray272[1] = 10; //Y pos Tab.anIntArray240[2] = 17003; //Interface id Tab.anIntArray241[2] = 66; //X pos Tab.anIntArray272[2] = 10; //Y pos Tab.anIntArray240[3] = 17004; //Interface id Tab.anIntArray241[3] = 99; //X pos Tab.anIntArray272[3] = 10; //Y pos
Tab.anIntArray240[4] = 17005; //Interface id Tab.anIntArray241[4] = 129; //X pos Tab.anIntArray272[4] = 10; //Y pos Tab.anIntArray240[5] = 17006; //Interface id Tab.anIntArray241[5] = 154; //X pos Tab.anIntArray272[5] = 10; //Y pos Tab.anIntArray240[6] = 17007; //Interface id Tab.anIntArray241[6] = 0; //X pos Tab.anIntArray272[6] = 40; //Y pos Tab.anIntArray240[7] = 17008; //Interface id Tab.anIntArray241[7] = 33; //X pos Tab.anIntArray272[7] = 40; //Y pos Tab.anIntArray240[8] = 17009; //Interface id Tab.anIntArray241[8] = 66; //X pos Tab.anIntArray272[8] = 40; //Y pos Tab.anIntArray240[9] = 17010; //Interface id Tab.anIntArray241[9] = 99; //X pos Tab.anIntArray272[9] = 40; //Y pos
Tab.anIntArray240[10] = 17011; //Interface id Tab.anIntArray241[10] = 129; //X pos Tab.anIntArray272[10] = 40; //Y pos Tab.anIntArray240[11] = 17012; //Interface id Tab.anIntArray241[11] = 154; //X pos Tab.anIntArray272[11] = 40; //Y pos Tab.anIntArray240[12] = 17013; //Interface id Tab.anIntArray241[12] = 0; //X pos Tab.anIntArray272[12] = 67; //Y pos Tab.anIntArray240[13] = 17014; //Interface id Tab.anIntArray241[13] = 33; //X pos Tab.anIntArray272[13] = 67; //Y pos Tab.anIntArray240[14] = 17015; //Interface id Tab.anIntArray241[14] = 66; //X pos Tab.anIntArray272[14] = 67; //Y pos Tab.anIntArray240[15] = 17016; //Interface id Tab.anIntArray241[15] = 99; //X pos Tab.anIntArray272[15] = 67; //Y pos Tab.anIntArray240[16] = 17017; //Interface id Tab.anIntArray241[16] = 129; //X pos Tab.anIntArray272[16] = 67; //Y pos Tab.anIntArray240[17] = 17018; //Interface id Tab.anIntArray241[17] = 154; //X pos Tab.anIntArray272[17] = 67; //Y pos Tab.anIntArray240[18] = 17019; //Interface id Tab.anIntArray241[18] = 0; //X pos Tab.anIntArray272[18] = 95; //Y pos Tab.anIntArray240[19] = 17020; //Interface id Tab.anIntArray241[19] = 33; //X pos Tab.anIntArray272[19] = 95; //Y pos Tab.anIntArray240[20] = 17021; //Interface id Tab.anIntArray241[20] = 66; //X pos Tab.anIntArray272[20] = 95; //Y pos Tab.anIntArray240[21] = 17022; //Interface id Tab.anIntArray241[21] = 99; //X pos Tab.anIntArray272[21] = 95; //Y pos Tab.anIntArray240[22] = 17023; //Interface id Tab.anIntArray241[22] = 129; //X pos Tab.anIntArray272[22] = 95; //Y pos Tab.anIntArray240[23] = 17024; //Interface id Tab.anIntArray241[23] = 156; //X pos Tab.anIntArray272[23] = 95; //Y pos Tab.anIntArray240[24] = 17025; //Interface id Tab.anIntArray241[24] = 0; //X pos Tab.anIntArray272[24] = 126; //Y pos Tab.anIntArray240[25] = 17026; //Interface id Tab.anIntArray241[25] = 33; //X pos Tab.anIntArray272[25] = 124; //Y pos Tab.anIntArray240[26] = 17027; //Interface id Tab.anIntArray241[26] = 66; //X pos Tab.anIntArray272[26] = 126; //Y pos Tab.anIntArray240[27] = 17028; //Interface id Tab.anIntArray241[27] = 99; //X pos Tab.anIntArray272[27] = 126; //Y pos Tab.anIntArray240[28] = 17029; //Interface id Tab.anIntArray241[28] = 129; //X pos Tab.anIntArray272[28] = 126; //Y pos Tab.anIntArray240[29] = 17030; //Interface id Tab.anIntArray241[29] = 154; //X pos Tab.anIntArray272[29] = 126; //Y pos Tab.anIntArray240[30] = 17031; //Interface id Tab.anIntArray241[30] = 0; //X pos Tab.anIntArray272[30] = 150; //Y pos Tab.anIntArray240[31] = 17032; //Interface id Tab.anIntArray241[31] = 33; //X pos Tab.anIntArray272[31] = 150; //Y pos Tab.anIntArray240[32] = 17033; //Interface id Tab.anIntArray241[32] = 66; //X pos Tab.anIntArray272[32] = 150; //Y pos Tab.anIntArray240[33] = 17034; //Interface id Tab.anIntArray241[33] = 99; //X pos Tab.anIntArray272[33] = 150; //Y pos Tab.anIntArray240[34] = 17035; //Interface id Tab.anIntArray241[34] = 129; //X pos Tab.anIntArray272[34] = 150; //Y pos Tab.anIntArray240[35] = 17036; //Interface id Tab.anIntArray241[35] = 154; //X pos Tab.anIntArray272[35] = 150; //Y pos Tab.anIntArray240[36] = 17037; //Interface id Tab.anIntArray241[36] = 0; //X pos Tab.anIntArray272[36] = 177; //Y pos Tab.anIntArray240[37] = 17038; //Interface id Tab.anIntArray241[37] = 33; //X pos Tab.anIntArray272[37] = 177; //Y pos Tab.anIntArray240[38] = 17039; //Interface id Tab.anIntArray241[38] = 66; //X pos Tab.anIntArray272[38] = 177; //Y pos Tab.anIntArray240[39] = 17040; //Interface id Tab.anIntArray241[39] = 99; //X pos Tab.anIntArray272[39] = 177; //Y pos } Step 3: Search for: aClass44 = class44; add this under it: MyInterface(); Step 4: Search for: public static void method208 you should find: - Code:
-
public static void method208(int i, boolean flag, int j, Class30_Sub2_Sub4_Sub6 class30_sub2_sub4_sub6) { if(flag) { return; } aClass12_264.method224(); if(class30_sub2_sub4_sub6 != null && j != 4) { aClass12_264.method223(class30_sub2_sub4_sub6, (j << 16) + i, (byte)2); } } under the last } add this: - Code:
-
private static Class30_Sub2_Sub1_Sub1 customsprite1(int i, boolean flag, Class44 class44, String s) { long l = (Class50.method585((byte)1, s) << 8) + (long)i; if(flag) { throw new NullPointerException(); } 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(signlink.findcachedir()+"/Lunar Sprites/"+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 lunar(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(signlink.findcachedir()+"/Lunar Sprites/"+s+" "+i+".png"); aClass12_238.method223(class30_sub2_sub1_sub1, l, (byte)2); } catch(Exception exception) { return null; } return class30_sub2_sub1_sub1; } Step 5: Search for: public void method204(int i, byte byte0, int j) you should see: - Code:
-
public void method204(int i, byte byte0, int j) { int k = anIntArray253[i]; anIntArray253[i] = anIntArray253[j]; if(byte0 == 9) { byte0 = 0; } else { anInt229 = -76; } anIntArray253[j] = k; k = anIntArray252[i]; anIntArray252[i] = anIntArray252[j]; anIntArray252[j] = k; } under the last } add: - Code:
-
public static void addSpellClick3(int id, int spriteOnId, int spriteOffId, String castText) { Class9 spell = aClass9Array210[id] = new Class9(); spell.anInt250 = id;//250 spell.anInt236 = id;//236 spell.anInt262 = 5;//262 spell.anInt217 = 1;//217 spell.anInt214 = 0; spell.anInt220 = 20;//220 spell.anInt267 = 20;//anint267 spell.aByte254 = (byte)0; spell.anInt230 = 52; //Sprite spell.aClass30_Sub2_Sub1_Sub1_207 = lunar(spriteOnId, "custom1"); spell.aClass30_Sub2_Sub1_Sub1_260 = lunar(spriteOffId, "custom1"); spell.aString221 = castText; } Step 6: at the very very top of your class9.java add this: import sign.signlink; save and compile and hope no errors if u have any please post them here i will check this thread each day and help you out. Credits 100% to me for interface [SIZE="7"][color:d653="Blue"] PLEASE POST IF YOU USED MY INTERFACE!!!!!!!!!!
[/SIZE] IF YOU USE THIS PLEASE POST[/QUOTE] | |
|