Jump to content

Search the Community

Showing results for tags 'spellbook'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 14 results

  1. hello! i'm trying to get the lunar spells to work on my pi 317 (client side) but when i hover over each spell, none of them have the box showing how many of each rune i need to cast each lunar spell. please help - my rsinterface.java codes [QUOTE]private static Sprite LoadLunarSprite(int i, String s) { Sprite sprite = imageLoader(i,"/Lunar/" + s); return sprite; } public static void addLunarSprite(int i, int j, String name) { RSInterface RSInterface = addInterface(i); RSInterface.id = i; RSInterface.parentID = i; RSInterface.type = 5; RSInterface.atActionType = 5; RSInterface.contentType = 0; RSInterface.aByte254 = 0; RSInterface.mOverInterToTrigger = 52; RSInterface.sprite1 = LoadLunarSprite(j, name); RSInterface.width = 500; RSInterface.height = 500; RSInterface.tooltip = ""; } public static void drawRune(int i,int id, String runeName) { RSInterface RSInterface = addInterface(i); RSInterface.type = 5; RSInterface.atActionType = 0; RSInterface.contentType = 0; RSInterface.aByte254 = 0; RSInterface.mOverInterToTrigger = 52; RSInterface.sprite1 = LoadLunarSprite(id, "RUNE"); RSInterface.width = 500; RSInterface.height = 500; } public static void addRuneText(int ID, int runeAmount, int RuneID, TextDrawingArea[] font){ RSInterface rsInterface = addInterface(ID); rsInterface.id = ID; rsInterface.parentID = 1151; rsInterface.type = 4; rsInterface.atActionType = 0; rsInterface.contentType = 0; rsInterface.width = 0; rsInterface.height = 14; rsInterface.aByte254 = 0; rsInterface.mOverInterToTrigger= -1; rsInterface.anIntArray245 = new int[1]; rsInterface.anIntArray212 = new int[1]; rsInterface.anIntArray245[0] = 3; rsInterface.anIntArray212[0] = runeAmount; rsInterface.valueIndexArray = new int[1][4]; rsInterface.valueIndexArray[0][0] = 4; rsInterface.valueIndexArray[0][1] = 3214; rsInterface.valueIndexArray[0][2] = RuneID; rsInterface.valueIndexArray[0][3] = 0; rsInterface.centerText = true; rsInterface.textDrawingAreas = font[0]; //rsInterface.textShadowed = true; rsInterface.message = "%1/"+runeAmount+""; rsInterface.popupString = ""; //rsInterface.disabledColour = 12582912; //rsInterface.enabledColour = 49152; } public static void homeTeleport(){ RSInterface RSInterface = addInterface(30000); RSInterface.tooltip = "Cast @[email protected] Home Teleport"; RSInterface.id = 30000; RSInterface.parentID = 30000; RSInterface.type = 5; RSInterface.atActionType = 5; RSInterface.contentType = 0; RSInterface.aByte254 = 0; RSInterface.mOverInterToTrigger = 30001; RSInterface.sprite1 = LoadLunarSprite(1, "SPRITE"); RSInterface.width = 20; RSInterface.height = 20; RSInterface Int = addInterface(30001); Int.isMouseoverTriggered = true; Int.totalChildren(1); addLunarSprite(30002, 0, "SPRITE"); setBounds(30002, 0, 0,0, Int); } public static void addLunar2RunesSmallBox(int ID, int r1, int r2, int ra1, int ra2,int rune1, int lvl,String name, String descr,TextDrawingArea[] TDA,int sid,int suo,int type){ RSInterface rsInterface = addInterface(ID); rsInterface.id = ID; rsInterface.parentID = 1151; rsInterface.type = 5; rsInterface.atActionType = type; rsInterface.contentType = 0; rsInterface.mOverInterToTrigger = ID+1; //rsInterface.spellUsableOn = suo; rsInterface.selectedActionName = "Cast On"; rsInterface.width = 20; rsInterface.height = 20; rsInterface.tooltip = "Cast @[email protected]"+name; rsInterface.spellName = name; rsInterface.anIntArray245 = new int[3]; rsInterface.anIntArray212 = new int[3]; rsInterface.anIntArray245[0] = 3; rsInterface.anIntArray212[0] = ra1; rsInterface.anIntArray245[1] = 3; rsInterface.anIntArray212[1] = ra2; rsInterface.anIntArray245[2] = 3; rsInterface.anIntArray212[2] = lvl; rsInterface.valueIndexArray = new int[3][]; rsInterface.valueIndexArray[0] = new int[4]; rsInterface.valueIndexArray[0][0] = 4; rsInterface.valueIndexArray[0][1] = 3214; rsInterface.valueIndexArray[0][2] = r1; rsInterface.valueIndexArray[0][3] = 0; rsInterface.valueIndexArray[1] = new int[4]; rsInterface.valueIndexArray[1][0] = 4; rsInterface.valueIndexArray[1][1] = 3214; rsInterface.valueIndexArray[1][2] = r2; rsInterface.valueIndexArray[1][3] = 0; rsInterface.valueIndexArray[2] = new int[3]; rsInterface.valueIndexArray[2][0] = 1; rsInterface.valueIndexArray[2][1] = 6; rsInterface.valueIndexArray[2][2] = 0; rsInterface.sprite2 = LoadLunarSprite(sid, "LUNARON"); rsInterface.sprite1 = LoadLunarSprite(sid, "LUNAROFF"); RSInterface INT = addInterface(ID+1); INT.isMouseoverTriggered = true; INT.totalChildren(7); addLunarSprite(ID+2, 0, "BOX"); setBounds(ID+2, 0, 0, 0, INT); addText(ID+3, "Level "+(lvl+1)+": "+name, 0xFF981F, true, true, 52, TDA, 1); setBounds(ID+3, 90, 4, 1, INT); addText(ID+4, descr, 0xAF6A1A, true, true, 52, TDA, 0); setBounds(ID+4, 90, 19, 2, INT); setBounds(30016, 37, 35, 3, INT);//Rune setBounds(rune1, 112, 35, 4, INT);//Rune addRuneText(ID+5, ra1+1, r1, TDA); setBounds(ID+5, 50, 66, 5, INT); addRuneText(ID+6, ra2+1, r2, TDA); setBounds(ID+6, 123, 66, 6, INT); } public static void addLunar3RunesSmallBox(int ID, int r1, int r2, int r3, int ra1, int ra2, int ra3,int rune1, int rune2, int lvl,String name, String descr,TextDrawingArea[] TDA, int sid,int suo,int type){ RSInterface rsInterface = addInterface(ID); rsInterface.id = ID; rsInterface.parentID = 1151; rsInterface.type = 5; rsInterface.atActionType = type; rsInterface.contentType = 0; rsInterface.mOverInterToTrigger = ID+1; //rsInterface.spellUsableOn = suo; rsInterface.selectedActionName = "Cast on"; rsInterface.width = 20; rsInterface.height = 20; rsInterface.tooltip = "Cast @[email protected]"+name; rsInterface.spellName = name; rsInterface.anIntArray245 = new int[4]; rsInterface.anIntArray212 = new int[4]; rsInterface.anIntArray245[0] = 3; rsInterface.anIntArray212[0] = ra1; rsInterface.anIntArray245[1] = 3; rsInterface.anIntArray212[1] = ra2; rsInterface.anIntArray245[2] = 3; rsInterface.anIntArray212[2] = ra3; rsInterface.anIntArray245[3] = 3; rsInterface.anIntArray212[3] = lvl; rsInterface.valueIndexArray = new int[4][]; rsInterface.valueIndexArray[0] = new int[4]; rsInterface.valueIndexArray[0][0] = 4; rsInterface.valueIndexArray[0][1] = 3214; rsInterface.valueIndexArray[0][2] = r1; rsInterface.valueIndexArray[0][3] = 0; rsInterface.valueIndexArray[1] = new int[4]; rsInterface.valueIndexArray[1][0] = 4; rsInterface.valueIndexArray[1][1] = 3214; rsInterface.valueIndexArray[1][2] = r2; rsInterface.valueIndexArray[1][3] = 0; rsInterface.valueIndexArray[2] = new int[4]; rsInterface.valueIndexArray[2][0] = 4; rsInterface.valueIndexArray[2][1] = 3214; rsInterface.valueIndexArray[2][2] = r3; rsInterface.valueIndexArray[2][3] = 0; rsInterface.valueIndexArray[3] = new int[3]; rsInterface.valueIndexArray[3][0] = 1; rsInterface.valueIndexArray[3][1] = 6; rsInterface.valueIndexArray[3][2] = 0; rsInterface.sprite2 = LoadLunarSprite(sid, "LUNARON"); rsInterface.sprite1 = LoadLunarSprite(sid, "LUNAROFF"); RSInterface INT = addInterface(ID+1); INT.isMouseoverTriggered = true; INT.totalChildren(9); addLunarSprite(ID+2, 0, "BOX"); setBounds(ID+2, 0, 0, 0, INT); addText(ID+3, "Level "+(lvl+1)+": "+name, 0xFF981F, true, true, 52, TDA, 1);setBounds(ID+3, 90, 4, 1, INT); addText(ID+4, descr, 0xAF6A1A, true, true, 52, TDA, 0); setBounds(ID+4, 90, 19, 2, INT); setBounds(30016, 14, 35, 3, INT); setBounds(rune1, 74, 35, 4, INT); setBounds(rune2, 130, 35, 5, INT); addRuneText(ID+5, ra1+1, r1, TDA); setBounds(ID+5, 26, 66, 6, INT); addRuneText(ID+6, ra2+1, r2, TDA); setBounds(ID+6, 87, 66, 7, INT); addRuneText(ID+7, ra3+1, r3, TDA); setBounds(ID+7, 142, 66, 8, INT); } public static void addLunar3RunesBigBox(int ID, int r1, int r2, int r3, int ra1, int ra2, int ra3,int rune1, int rune2, int lvl,String name, String descr,TextDrawingArea[] TDA, int sid,int suo,int type){ RSInterface rsInterface = addInterface(ID); rsInterface.id = ID; rsInterface.parentID = 1151; rsInterface.type = 5; rsInterface.atActionType = type; rsInterface.contentType = 0; rsInterface.mOverInterToTrigger = ID+1; //rsInterface.spellUsableOn = suo; rsInterface.selectedActionName = "Cast on"; rsInterface.width = 20; rsInterface.height = 20; rsInterface.tooltip = "Cast @[email protected]"+name; rsInterface.spellName = name; rsInterface.anIntArray245 = new int[4]; rsInterface.anIntArray212 = new int[4]; rsInterface.anIntArray245[0] = 3; rsInterface.anIntArray212[0] = ra1; rsInterface.anIntArray245[1] = 3; rsInterface.anIntArray212[1] = ra2; rsInterface.anIntArray245[2] = 3; rsInterface.anIntArray212[2] = ra3; rsInterface.anIntArray245[3] = 3; rsInterface.anIntArray212[3] = lvl; rsInterface.valueIndexArray = new int[4][]; rsInterface.valueIndexArray[0] = new int[4]; rsInterface.valueIndexArray[0][0] = 4; rsInterface.valueIndexArray[0][1] = 3214; rsInterface.valueIndexArray[0][2] = r1; rsInterface.valueIndexArray[0][3] = 0; rsInterface.valueIndexArray[1] = new int[4]; rsInterface.valueIndexArray[1][0] = 4; rsInterface.valueIndexArray[1][1] = 3214; rsInterface.valueIndexArray[1][2] = r2; rsInterface.valueIndexArray[1][3] = 0; rsInterface.valueIndexArray[2] = new int[4]; rsInterface.valueIndexArray[2][0] = 4; rsInterface.valueIndexArray[2][1] = 3214; rsInterface.valueIndexArray[2][2] = r3; rsInterface.valueIndexArray[2][3] = 0; rsInterface.valueIndexArray[3] = new int[3]; rsInterface.valueIndexArray[3][0] = 1; rsInterface.valueIndexArray[3][1] = 6; rsInterface.valueIndexArray[3][2] = 0; rsInterface.sprite2 = LoadLunarSprite(sid, "LUNARON"); rsInterface.sprite1 = LoadLunarSprite(sid, "LUNAROFF"); RSInterface INT = addInterface(ID+1); INT.isMouseoverTriggered = true; INT.totalChildren(9); addLunarSprite(ID+2, 1, "BOX"); setBounds(ID+2, 0, 0, 0, INT); addText(ID+3, "Level "+(lvl+1)+": "+name, 0xFF981F, true, true, 52, TDA, 1);setBounds(ID+3, 90, 4, 1, INT); addText(ID+4, descr, 0xAF6A1A, true, true, 52, TDA, 0); setBounds(ID+4, 90, 21, 2, INT); setBounds(30016, 14, 48, 3, INT); setBounds(rune1, 74, 48, 4, INT); setBounds(rune2, 130, 48, 5, INT); addRuneText(ID+5, ra1+1, r1, TDA); setBounds(ID+5, 26, 79, 6, INT); addRuneText(ID+6, ra2+1, r2, TDA); setBounds(ID+6, 87, 79, 7, INT); addRuneText(ID+7, ra3+1, r3, TDA); setBounds(ID+7, 142, 79, 8, INT); } public static void addLunar3RunesLargeBox(int ID, int r1, int r2, int r3, int ra1, int ra2, int ra3,int rune1, int rune2, int lvl,String name, String descr,TextDrawingArea[] TDA, int sid,int suo,int type){ RSInterface rsInterface = addInterface(ID); rsInterface.id = ID; rsInterface.parentID = 1151; rsInterface.type = 5; rsInterface.atActionType = type; rsInterface.contentType = 0; rsInterface.mOverInterToTrigger = ID+1; //rsInterface.spellUsableOn = suo; rsInterface.selectedActionName = "Cast on"; rsInterface.width = 20; rsInterface.height = 20; rsInterface.tooltip = "Cast @[email protected]"+name; rsInterface.spellName = name; rsInterface.anIntArray245 = new int[4]; rsInterface.anIntArray212 = new int[4]; rsInterface.anIntArray245[0] = 3; rsInterface.anIntArray212[0] = ra1; rsInterface.anIntArray245[1] = 3; rsInterface.anIntArray212[1] = ra2; rsInterface.anIntArray245[2] = 3; rsInterface.anIntArray212[2] = ra3; rsInterface.anIntArray245[3] = 3; rsInterface.anIntArray212[3] = lvl; rsInterface.valueIndexArray = new int[4][]; rsInterface.valueIndexArray[0] = new int[4]; rsInterface.valueIndexArray[0][0] = 4; rsInterface.valueIndexArray[0][1] = 3214; rsInterface.valueIndexArray[0][2] = r1; rsInterface.valueIndexArray[0][3] = 0; rsInterface.valueIndexArray[1] = new int[4]; rsInterface.valueIndexArray[1][0] = 4; rsInterface.valueIndexArray[1][1] = 3214; rsInterface.valueIndexArray[1][2] = r2; rsInterface.valueIndexArray[1][3] = 0; rsInterface.valueIndexArray[2] = new int[4]; rsInterface.valueIndexArray[2][0] = 4; rsInterface.valueIndexArray[2][1] = 3214; rsInterface.valueIndexArray[2][2] = r3; rsInterface.valueIndexArray[2][3] = 0; rsInterface.valueIndexArray[3] = new int[3]; rsInterface.valueIndexArray[3][0] = 1; rsInterface.valueIndexArray[3][1] = 6; rsInterface.valueIndexArray[3][2] = 0; rsInterface.sprite2 = LoadLunarSprite(sid, "LUNARON"); rsInterface.sprite1 = LoadLunarSprite(sid, "LUNAROFF"); RSInterface INT = addInterface(ID+1); INT.isMouseoverTriggered = true; INT.totalChildren(9); addLunarSprite(ID+2, 2, "BOX"); setBounds(ID+2, 0, 0, 0, INT); addText(ID+3, "Level "+(lvl+1)+": "+name, 0xFF981F, true, true, 52, TDA, 1); setBounds(ID+3, 90, 4, 1, INT); addText(ID+4, descr, 0xAF6A1A, true, true, 52, TDA, 0); setBounds(ID+4, 90, 34, 2, INT); setBounds(30016, 14, 61, 3, INT); setBounds(rune1, 74, 61, 4, INT); setBounds(rune2, 130, 61, 5, INT); addRuneText(ID+5, ra1+1, r1, TDA); setBounds(ID+5, 26, 92, 6, INT); addRuneText(ID+6, ra2+1, r2, TDA); setBounds(ID+6, 87, 92, 7, INT); addRuneText(ID+7, ra3+1, r3, TDA); setBounds(ID+7, 142, 92, 8, INT); } public static void configureLunar(TextDrawingArea[] TDA){ homeTeleport(); drawRune(30003,1, "Fire"); drawRune(30004,2, "Water"); drawRune(30005,3, "Air"); drawRune(30006,4, "Earth"); drawRune(30007,5, "Mind"); drawRune(30008,6, "Body"); drawRune(30009,7, "Death"); drawRune(30010,8, "Nature"); drawRune(30011,9, "Chaos"); drawRune(30012,10, "Law"); drawRune(30013,11, "Cosmic"); drawRune(30014,12, "Blood"); drawRune(30015,13, "Soul"); drawRune(30016,14, "Astral"); addLunar3RunesSmallBox(30017, 9075, 554, 555, 0, 4, 3, 30003, 30004, 64, "Bake Pie","Bake pies without a stove",TDA,0, 16,2); addLunar2RunesSmallBox(30025, 9075, 557, 0, 7, 30006, 65,"Cure Plant", "Cure disease on farming patch",TDA,1, 4,2); addLunar3RunesBigBox(30032, 9075, 564, 558, 0,0, 0, 30013, 30007, 65,"Monster Examine", "Detect the combat statistics of a\\nmonster",TDA, 2,2,2); addLunar3RunesSmallBox(30040, 9075, 564, 556, 0, 0, 1, 30013, 30005, 66, "NPC Contact","Speak with varied NPCs",TDA,3,0,2); addLunar3RunesSmallBox(30048, 9075, 563, 557, 0, 0, 9, 30012, 30006, 67, "Cure Other","Cure poisoned players",TDA,4,8,2); addLunar3RunesSmallBox(30056, 9075, 555, 554, 0, 2, 0, 30004, 30003, 67, "Humidify","fills certain vessels with water",TDA,5,0,5); addLunar3RunesSmallBox(30064, 9075, 563, 557, 1, 0, 1, 30012, 30006, 68, "Moonclan Teleport","Teleports you to moonclan island",TDA,6,0,5); addLunar3RunesBigBox(30075, 9075, 563, 557, 1, 0, 3, 30012, 30006, 69,"Tele Group Moonclan", "Teleports players to Moonclan\\nisland",TDA, 7,0,5); addLunar3RunesSmallBox(30083, 9075, 563, 557, 1, 0, 5, 30012, 30006, 70, "Ourania Teleport","Teleports you to ourania rune altar",TDA,8,0,5); addLunar3RunesSmallBox(30091, 9075, 564, 563, 1, 1, 0, 30013, 30012, 70, "Cure Me","Cures Poison",TDA,9,0,5); addLunar2RunesSmallBox(30099, 9075, 557, 1, 1, 30006, 70,"Hunter Kit", "Get a kit of hunting gear",TDA,10,0,5); addLunar3RunesSmallBox(30106, 9075, 563, 555, 1, 0,0, 30012, 30004, 71,"Waterbirth Teleport", "Teleports you to Waterbirth island",TDA,11,0,5); addLunar3RunesBigBox(30114, 9075, 563, 555, 1, 0, 4, 30012, 30004, 72,"Tele Group Waterbirth", "Teleports players to Waterbirth\\nisland",TDA, 12,0,5); addLunar3RunesSmallBox(30122, 9075, 564, 563, 1, 1, 1, 30013, 30012, 73, "Cure Group","Cures Poison on players",TDA,13,0,5); addLunar3RunesBigBox(30130, 9075, 564, 559, 1, 1, 4, 30013, 30008, 74,"Stat Spy", "Cast on another player to see their\\nskill levels",TDA, 14,8,2); addLunar3RunesBigBox(30138, 9075, 563, 554, 1, 1, 2, 30012, 30003, 74,"Barbarian Teleport", "Teleports you to the Barbarian\\noutpost",TDA, 15,0,5); addLunar3RunesBigBox(30146, 9075, 563, 554, 1, 1, 5, 30012, 30003, 75,"Tele Group Barbarian", "Teleports players to the Barbarian\\noutpost",TDA, 16,0,5); addLunar3RunesSmallBox(30154, 9075, 554, 556, 1, 5, 9, 30003, 30005, 76, "Superglass Make","Make glass without a furnace",TDA,17, 16,2); addLunar3RunesSmallBox(30162, 9075, 563, 555, 1, 1, 3, 30012, 30004, 77, "Khazard Teleport","Teleports you to Port khazard",TDA,18,0,5); addLunar3RunesSmallBox(30170, 9075, 563, 555, 1, 1, 7, 30012, 30004, 78, "Tele Group Khazard","Teleports players to Port khazard",TDA,19,0,5); addLunar3RunesBigBox(30178, 9075, 564, 559, 1, 0, 4, 30013, 30008, 78,"Dream", "Take a rest and restore hitpoints 3\\n times faster",TDA, 20,0,5); addLunar3RunesSmallBox(30186, 9075, 557, 555, 1, 9, 4, 30006, 30004, 79, "String Jewellery","String amulets without wool",TDA,21,0,5); addLunar3RunesLargeBox(30194, 9075, 557, 555, 1, 9, 9, 30006, 30004, 80,"Stat Restore Pot\\nShare", "Share a potion with up to 4 nearby\\nplayers",TDA, 22,0,5); addLunar3RunesSmallBox(30202, 9075, 554, 555, 1, 6, 6, 30003, 30004, 81, "Magic Imbue","Combine runes without a talisman",TDA,23,0,5); addLunar3RunesBigBox(30210, 9075, 561, 557, 2, 1, 14, 30010, 30006, 82,"Fertile Soil", "Fertilise a farming patch with super\\ncompost",TDA, 24, 4,2); addLunar3RunesBigBox(30218, 9075, 557, 555, 2, 11, 9, 30006, 30004, 83,"Boost Potion Share", "Shares a potion with up to 4 nearby\\nplayers",TDA, 25, 0,5); addLunar3RunesSmallBox(30226, 9075, 563, 555, 2, 2, 9, 30012, 30004, 84, "Fishing Guild Teleport","Teleports you to the fishing guild",TDA,26,0,5); addLunar3RunesLargeBox(30234, 9075, 563, 555, 1, 2, 13, 30012, 30004, 85, "Tele Group Fishing\\nGuild", "Teleports players to the Fishing\\nGuild",TDA, 27,0,5); addLunar3RunesSmallBox(30242, 9075, 557, 561, 2, 14, 0, 30006, 30010, 85, "Plank Make","Turn Logs into planks",TDA,28,16,5); /********Cut Off Limit**********/ addLunar3RunesSmallBox(30250, 9075, 563, 555, 2, 2, 9, 30012, 30004, 86, "Catherby Teleport","Teleports you to Catherby",TDA,29,0,5); addLunar3RunesSmallBox(30258, 9075, 563, 555, 2, 2, 14, 30012, 30004, 87, "Tele Group Catherby","Teleports players to Catherby",TDA,30,0,5); addLunar3RunesSmallBox(30266, 9075, 563, 555, 2, 2, 7, 30012, 30004, 88, "Ice Plateau Teleport","Teleports you to Ice Plateau",TDA,31,0,5); addLunar3RunesBigBox(30274, 9075, 563, 555, 2, 2, 15, 30012, 30004, 89, "Tele Group Ice\\n Plateau","Teleports players to Ice Plateau",TDA,32,0,5); addLunar3RunesBigBox(30282, 9075, 563, 561, 2, 1, 0, 30012, 30010, 90, "Energy Transfer","Spend hitpoints and SA Energy to\\n give another player hitpoints and run energy",TDA,33,8,2); addLunar3RunesBigBox(30290, 9075, 563, 565, 2, 2, 0, 30012, 30014, 91, "Heal Other","Transfer up to 75% of hitpoints\\n to another player",TDA,34,8,2); addLunar3RunesBigBox(30298, 9075, 560, 557, 2, 1, 9, 30009, 30006, 92, "Vengeance Other","Allows another player to rebound\\ndamage to an opponent",TDA,35,8,2); addLunar3RunesSmallBox(30306, 9075, 560, 557, 3, 1, 9,30009, 30006, 93, "Vengeance","Rebound damage to an opponent",TDA,36,0,5); addLunar3RunesBigBox(30314, 9075, 565, 563, 3, 2, 5, 30014, 30012, 94, "Heal Group","Transfer up to 75% of hitpoints to a group",TDA,37,0,5); addLunar3RunesBigBox(30322, 9075, 564, 563, 2, 1, 0, 30013, 30012, 95, "Spellbook Swap","Change to another spellbook for 1\\nspell cast",TDA,38,0,5); } public static void constructLunar(){ RSInterface Interface = addInterface(16640); Interface.totalChildren(80); setBounds(30000, 11, 10, 0, Interface); setBounds(30017, 40, 9, 1, Interface); setBounds(30025, 71, 12, 2, Interface); setBounds(30032, 103, 10, 3, Interface); setBounds(30040, 135, 12, 4, Interface); setBounds(30048, 165, 10, 5, Interface); setBounds(30056, 8, 38, 6, Interface); setBounds(30064, 39, 39, 7, Interface); setBounds(30075, 71, 39, 8, Interface); setBounds(30083, 103, 39, 9, Interface); setBounds(30091, 135, 39, 10, Interface); setBounds(30099, 165, 37, 11, Interface); setBounds(30106, 12, 68, 12, Interface); setBounds(30114, 42, 68, 13, Interface); setBounds(30122, 71, 68, 14, Interface); setBounds(30130, 103, 68, 15, Interface); setBounds(30138, 135, 68, 16, Interface); setBounds(30146, 165, 68, 17, Interface); setBounds(30154, 14, 97, 18, Interface); setBounds(30162, 42, 97, 19, Interface); setBounds(30170, 71, 97, 20, Interface); setBounds(30178, 101, 97, 21, Interface); setBounds(30186, 135, 98, 22, Interface); setBounds(30194, 168, 98, 23, Interface); setBounds(30202, 11, 125, 24, Interface); setBounds(30210, 42, 124, 25, Interface); setBounds(30218, 74, 125, 26, Interface); setBounds(30226, 103, 125, 27, Interface); setBounds(30234, 135, 125, 28, Interface); setBounds(30242, 164, 126, 29, Interface); setBounds(30250, 10, 155, 30, Interface); setBounds(30258, 42, 155, 31, Interface); setBounds(30266, 71, 155, 32, Interface); setBounds(30274, 103, 155, 33, Interface); setBounds(30282, 136, 155, 34, Interface); setBounds(30290, 165, 155, 35, Interface); setBounds(30298, 13, 185, 36, Interface); setBounds(30306, 42, 185, 37, Interface); setBounds(30314, 71, 184, 38, Interface); setBounds(30322, 104, 184, 39, Interface); setBounds(30001, 6, 184, 40, Interface);// hover setBounds(30018, 5, 176, 41, Interface);// hover setBounds(30026, 5, 176, 42, Interface);// hover setBounds(30033, 5, 163, 43, Interface);// hover setBounds(30041, 5, 176, 44, Interface);// hover setBounds(30049, 5, 176, 45, Interface);// hover setBounds(30057, 5, 176, 46, Interface);// hover setBounds(30065, 5, 176, 47, Interface);// hover setBounds(30076, 5, 163, 48, Interface);// hover setBounds(30084, 5, 176, 49, Interface);// hover setBounds(30092, 5, 176, 50, Interface);// hover setBounds(30100, 5, 176, 51, Interface);// hover setBounds(30107, 5, 176, 52, Interface);// hover setBounds(30115, 5, 163, 53, Interface);// hover setBounds(30123, 5, 176, 54, Interface);// hover setBounds(30131, 5, 163, 55, Interface);// hover setBounds(30139, 5, 163, 56, Interface);// hover setBounds(30147, 5, 163, 57, Interface);// hover setBounds(30155, 5, 176, 58, Interface);// hover setBounds(30163, 5, 176, 59, Interface);// hover setBounds(30171, 5, 176, 60, Interface);// hover setBounds(30179, 5, 163, 61, Interface);// hover setBounds(30187, 5, 176, 62, Interface);// hover setBounds(30195, 5, 149, 63, Interface);// hover setBounds(30203, 5, 176, 64, Interface);// hover setBounds(30211, 5, 163, 65, Interface);// hover setBounds(30219, 5, 163, 66, Interface);// hover setBounds(30227, 5, 176, 67, Interface);// hover setBounds(30235, 5, 149, 68, Interface);// hover setBounds(30243, 5, 176, 69, Interface);// hover setBounds(30251, 5, 5, 70, Interface);// hover setBounds(30259, 5, 5, 71, Interface);// hover setBounds(30267, 5, 5, 72, Interface);// hover setBounds(30275, 5, 5, 73, Interface);// hover setBounds(30283, 5, 5, 74, Interface);// hover setBounds(30291, 5, 5, 75, Interface);// hover setBounds(30299, 5, 5, 76, Interface);// hover setBounds(30307, 5, 5, 77, Interface);// hover setBounds(30323, 5, 5, 78, Interface);// hover setBounds(30315, 5, 5, 79, Interface);// hover }[/QUOTE]
  2. [B]The source I downloaded DecietfulPK ancient alter doesn't give you the different spell books when you click the dialogue so trying to just have a command that anyone can use whenever except for when in the wildy. Some examples of my server commands, hopefully it helps you come up with the code. [/B] case "changepassword": try { String password = playerCommand.substring(15); if (password.length() < 4) { c.sendMessage("Your password needs to be bigger than 3 characters."); return; } c.playerPass = password; c.sendMessage("Your password is now: " + password); } catch (Exception e) { c.sendMessage("You must enter a password."); } return; if (cmd.startsWith("rep")) { if (c.reputationPoints >= 1000) { c.forcedChat("I have "+c.reputationPoints+" reputation points, so you can **** off."); } else c.forcedChat("I currently have "+c.reputationPoints+" reputation point(s)."); } if(cmd.startsWith("unpc")) { c.isNpc = false; c.updateRequired = true; c.appearanceUpdateRequired = true; }
  3. I want to add teleports to lunar spellbook on my project insanity server, (Monster teleport,skilling.pking etc), How do i do that?
  4. VogusHD

    Spellbook Teleports

    So, I'm trying to learn how to code and I love 508's so I decided to learn using palidino67's server and client. Basically in this the teleports are terrible. they are just all the regular city teleports, they require all runes, and the magic level. I would like all my teleport spells to have no requirements, I want options on each one and to change the name and description of the teleport.. I'm not looking for someone to fix it for me. I would like someone to show me how to fix one so I can do the rest myself. I already know how to change the title and description. I can post a code for one of the teleports and someone maybe can change it to what I want and then I can learn off that and do the rest myself? Thanks a lot!
  5. banjo

    Spellbook teleports

    So, I'm trying to figure out how to change the teleport in the basic spellbook, i looked everywhere and I can't find it. Its not in Magic.java ( I think..) Or buttonhandler.java or anything. I'm using a zenith source just for practice and I can't figure it out. Any suggestions? :)
  6. When i press the H buttom then i go to my home but i want it to be with loadstones instead can some one help?
  7. Ok so i've finally gotten lunars to work. I have everything working except the runes coming up to show whats required. How can i fix this? Here's a picture. [URL=http://s858.photobucket.com/user/pray4urlife_photo/media/Untitled_zpsc02ad8e2.png.html][IMG]http://i858.photobucket.com/albums/ab149/pray4urlife_photo/Untitled_zpsc02ad8e2.png[/img][/URL]
  8. Hi, I need help with this magic book button. [IMG]http://i.imgur.com/HgDeGyZ.jpg[/IMG] When I click on the book it freezes instantly. I dont know how to fix it. So help would be great.
  9. mattr130

    Spellbook

    Hi, I am trying to add new tele's to the spellbook (im using TrisidiaX V3 Source) I have figured out how to change the teleports just don't know how to add them & have them show up. I also tried to re-name on of the teleports & it wouldn't change (tried changing Godwars to Bandos) So... how do I change the name of teleports that are in the spellbook & how do I add new one's??? [B]This is what I put in (Bandos was already there- although it was named Godwars)[/B] _______________________________________________________________ case 86207://Bandos c.getPA().spellTeleport(2916, 3612, 0); break; case 86210://Armadyl c.getPA().spellTeleport(2910, 3613, 8); break; case 86213://Saradomin c.getPA().spellTeleport(2915, 3609, 4); break;
  10. Hello guys, I have started new project by making unique skill in my server wich is 317 [PI] ( loading 600+, 700+ customs) And to make it work, I need help with adding new magic tab ( I dont want to delete my other magic tabs, what some of the guides shows) Doesnt matter if its copy of normal magic tabs like lunar or ancient, because I can always edit it, but I want to know how to add 1 more magic tab. Hope you guys understand and help me out :)... I hope you answer me quick:D!
  11. i need to change a spellbook teleport what would i go to to change in magic.java to change mobilising armies?
  12. Ok so what you want to do is go into texthandler.java and search for what ever the tele name is like home or minigames. You can change it there. It should look like this [code]c.sendQuest("Home", 1300); c.sendQuest("Teleport home", 1301); c.sendQuest("Home", 13037); c.sendQuest("Teleport home", 13038); [/code] One is for ancient spellbook and one is for normal spells. now to change location go into clickingmost.java. go to where your teleport currently teleports you and type ::mypos. It will give you an x and y coord. now search that coord in clickingmost.java. If your changing a home teleport, choose some coords close to it if it dosent show up because some home teleports will have it so it teles you somewhere close to the actual coords. It should look like this: [code]case 73100: case 4140: case 50235: c.triggerTele(x coord+misc.random(3),y coord+misc.random(3), 0); break; [/code] Hope this helps!
  13. Hi, I need help changing the names of teleports in my spellbook and changing the coords they teleport to. Please help :(
  14. Hey, I really need help customizing spellbook teleports. I know how to make command teleports but I need to edit the teleports that are in the spellbook. Please help!
×