Jump to content

Search the Community

Showing results for tags 'skillcape'.



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 28 results

  1. Ok so I am pretty new to the private server seen and I am having trouble with my SkillCape shop. I can't purchase any capes. I have 7 99's, enough money, and inventory space but still doesn't let me buy it. When I try to buy a cape it does nothing. Something I did notice was that when I click on value it returns 113849 or 113k as the price needed but in the code it says 99,000 coins. Can someone please help me. This is my buyitem code: public boolean buyItem(int itemID, int fromSlot, int amount) { //if(!shopSellsItem(itemID) && c.myShopId != 50 && c.myShopId != 60) // return false; if (c.myShopId == 14) { skillBuy(itemID); return false; } else if (c.myShopId == 15) { buyVoid(itemID); return false; }else if(!shopSellsItem(itemID)) { return false; } if (amount > 0) { if (amount > Server.shopHandler.ShopItemsN[c.myShopId][fromSlot]) { amount = Server.shopHandler.ShopItemsN[c.myShopId][fromSlot]; } //double ShopValue; //double TotPrice; int TotPrice2 = 0; //int Overstock; int Slot = 0; int Slot1 = 0;//Tokkul int Slot2 = 0;//Pking Points if (c.myShopId == 17 || c.myShopId == 18 || c.myShopId == 50 || c.myShopId == 60) { handleOtherShop(itemID); return false; } for (int i = amount; i > 0; i--) { TotPrice2 = (int)Math.floor(getItemShopValue(itemID, 0, fromSlot)); Slot = c.getItems().getItemSlot(995); Slot1 = c.getItems().getItemSlot(6529); if (Slot == -1 && c.myShopId != 29 && c.myShopId != 30 && c.myShopId != 31) { c.sendMessage("You don't have enough coins."); break; } if(Slot1 == -1 && c.myShopId == 29 || c.myShopId == 30 || c.myShopId == 31) { c.sendMessage("You don't have enough tokkul."); break; } if(TotPrice2 <= 1) { TotPrice2 = (int)Math.floor(getItemShopValue(itemID, 0, fromSlot)); TotPrice2 *= 1.66; } if(c.myShopId != 29 || c.myShopId != 30 || c.myShopId != 31) { if (c.playerItemsN[Slot] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sendMessage("You don't have enough space in your inventory."); break; } } else { c.sendMessage("You don't have enough coins."); break; } } if(c.myShopId == 29 || c.myShopId == 30 || c.myShopId == 31) { if (c.playerItemsN[Slot1] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { c.getItems().deleteItem(6529, c.getItems().getItemSlot(6529), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sendMessage("You don't have enough space in your inventory."); break; } } else { c.sendMessage("You don't have enough tokkul."); break; } } } c.getItems().resetItems(3823); resetShop(c.myShopId); updatePlayerShop(); return true; } return false; } This is my skillbuy code: public void skillBuy(int item) { int nn = get99Count(); if (nn > 1) nn = 1; else nn = 0; for (int j = 0; j < skillCapes.length; j++) { if (skillCapes[j] == item || skillCapes[j]+1 == item) { if (c.getItems().freeSlots() > 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sendMessage("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sendMessage("You need 99k to buy this item."); } } else { c.sendMessage("You must have at least 1 inventory spaces to buy this item."); } } /*if (skillCapes[j][1 + nn] == item) { if (c.getItems().freeSlots() >= 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sendMessage("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sendMessage("You need 99k to buy this item."); } } else { c.sendMessage("You must have at least 1 inventory spaces to buy this item."); } break; }*/ } c.getItems().resetItems(3823); } and this is my setup skillcape: public void openSkillCape() { int capes = get99Count(); if (capes > 1) capes = 1; else capes = 0; c.myShopId = 14; setupSkillCapes(capes, get99Count()); } /*public int[][] skillCapes = {{0,9747,4319,2679},{1,2683,4329,2685},{2,2680,4359,2682},{3,2701,4341,2703},{4,2686,4351,2688},{5,2689,4347,2691},{6,2692,4343,2691}, {7,2737,4325,2733},{8,2734,4353,2736},{9,2716,4337,2718},{10,2728,4335,2730},{11,2695,4321,2697},{12,2713,4327,2715},{13,2725,4357,2727}, {14,2722,4345,2724},{15,2707,4339,2709},{16,2704,4317,2706},{17,2710,4361,2712},{18,2719,4355,2721},{19,2737,4331,2739},{20,2698,4333,2700}};*/ public int[] skillCapes = {9747,9753,9750,9768,9756,9759,9762,9801,9807,9783,9798,9804,9780,9795,9792,9774,9771,9777,9786,9810,9765,9948,12169,18508}; public int get99Count() { int count = 0; for (int j = 0; j < c.playerLevel.length; j++) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { count++; } } return count; } public void setupSkillCapes(int capes, int capes2) { synchronized(c) { c.getItems().resetItems(3823); c.isShopping = true; c.myShopId = 14; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126("Skillcape Shop", 3901); int TotalItems = 0; TotalItems = capes2; if (TotalItems > Server.shopHandler.MaxShopItems) { TotalItems = Server.shopHandler.MaxShopItems; } c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); int TotalCount = 0; for (int i = 0; i < 21; i++) { if (c.getLevelForXP(c.playerXP[i]) < 99) continue; c.getOutStream().writeByte(1); c.getOutStream().writeWordBigEndianA(skillCapes[i] + 2); TotalCount++; } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); } }
  2. Ok so I am pretty new to the private server seen and I am having trouble with my SkillCape shop. I can't purchase any capes. I have 7 99's, enough money, and inventory space but still doesn't let me buy it. When I try to buy a cape it does nothing. Something I did notice was that when I click on value it returns 113849 or 113k as the price needed but in the code it says 99,000 coins. Can someone please help me. This is my buyitem code: public boolean buyItem(int itemID, int fromSlot, int amount) { //if(!shopSellsItem(itemID) && c.myShopId != 50 && c.myShopId != 60) // return false; if (c.myShopId == 14) { skillBuy(itemID); return false; } else if (c.myShopId == 15) { buyVoid(itemID); return false; }else if(!shopSellsItem(itemID)) { return false; } if (amount > 0) { if (amount > Server.shopHandler.ShopItemsN[c.myShopId][fromSlot]) { amount = Server.shopHandler.ShopItemsN[c.myShopId][fromSlot]; } //double ShopValue; //double TotPrice; int TotPrice2 = 0; //int Overstock; int Slot = 0; int Slot1 = 0;//Tokkul int Slot2 = 0;//Pking Points if (c.myShopId == 17 || c.myShopId == 18 || c.myShopId == 50 || c.myShopId == 60) { handleOtherShop(itemID); return false; } for (int i = amount; i > 0; i--) { TotPrice2 = (int)Math.floor(getItemShopValue(itemID, 0, fromSlot)); Slot = c.getItems().getItemSlot(995); Slot1 = c.getItems().getItemSlot(6529); if (Slot == -1 && c.myShopId != 29 && c.myShopId != 30 && c.myShopId != 31) { c.sendMessage("You don't have enough coins."); break; } if(Slot1 == -1 && c.myShopId == 29 || c.myShopId == 30 || c.myShopId == 31) { c.sendMessage("You don't have enough tokkul."); break; } if(TotPrice2 <= 1) { TotPrice2 = (int)Math.floor(getItemShopValue(itemID, 0, fromSlot)); TotPrice2 *= 1.66; } if(c.myShopId != 29 || c.myShopId != 30 || c.myShopId != 31) { if (c.playerItemsN[Slot] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sendMessage("You don't have enough space in your inventory."); break; } } else { c.sendMessage("You don't have enough coins."); break; } } if(c.myShopId == 29 || c.myShopId == 30 || c.myShopId == 31) { if (c.playerItemsN[Slot1] >= TotPrice2) { if (c.getItems().freeSlots() > 0) { c.getItems().deleteItem(6529, c.getItems().getItemSlot(6529), TotPrice2); c.getItems().addItem(itemID, 1); Server.shopHandler.ShopItemsN[c.myShopId][fromSlot] -= 1; Server.shopHandler.ShopItemsDelay[c.myShopId][fromSlot] = 0; if ((fromSlot + 1) > Server.shopHandler.ShopItemsStandard[c.myShopId]) { Server.shopHandler.ShopItems[c.myShopId][fromSlot] = 0; } } else { c.sendMessage("You don't have enough space in your inventory."); break; } } else { c.sendMessage("You don't have enough tokkul."); break; } } } c.getItems().resetItems(3823); resetShop(c.myShopId); updatePlayerShop(); return true; } return false; } This is my skillbuy code: public void skillBuy(int item) { int nn = get99Count(); if (nn > 1) nn = 1; else nn = 0; for (int j = 0; j < skillCapes.length; j++) { if (skillCapes[j] == item || skillCapes[j]+1 == item) { if (c.getItems().freeSlots() > 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sendMessage("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sendMessage("You need 99k to buy this item."); } } else { c.sendMessage("You must have at least 1 inventory spaces to buy this item."); } } /*if (skillCapes[j][1 + nn] == item) { if (c.getItems().freeSlots() >= 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sendMessage("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sendMessage("You need 99k to buy this item."); } } else { c.sendMessage("You must have at least 1 inventory spaces to buy this item."); } break; }*/ } c.getItems().resetItems(3823); } and this is my setup skillcape: public void openSkillCape() { int capes = get99Count(); if (capes > 1) capes = 1; else capes = 0; c.myShopId = 14; setupSkillCapes(capes, get99Count()); } /*public int[][] skillCapes = {{0,9747,4319,2679},{1,2683,4329,2685},{2,2680,4359,2682},{3,2701,4341,2703},{4,2686,4351,2688},{5,2689,4347,2691},{6,2692,4343,2691}, {7,2737,4325,2733},{8,2734,4353,2736},{9,2716,4337,2718},{10,2728,4335,2730},{11,2695,4321,2697},{12,2713,4327,2715},{13,2725,4357,2727}, {14,2722,4345,2724},{15,2707,4339,2709},{16,2704,4317,2706},{17,2710,4361,2712},{18,2719,4355,2721},{19,2737,4331,2739},{20,2698,4333,2700}};*/ public int[] skillCapes = {9747,9753,9750,9768,9756,9759,9762,9801,9807,9783,9798,9804,9780,9795,9792,9774,9771,9777,9786,9810,9765,9948,12169,18508}; public int get99Count() { int count = 0; for (int j = 0; j < c.playerLevel.length; j++) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { count++; } } return count; } public void setupSkillCapes(int capes, int capes2) { synchronized(c) { c.getItems().resetItems(3823); c.isShopping = true; c.myShopId = 14; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126("Skillcape Shop", 3901); int TotalItems = 0; TotalItems = capes2; if (TotalItems > Server.shopHandler.MaxShopItems) { TotalItems = Server.shopHandler.MaxShopItems; } c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); int TotalCount = 0; for (int i = 0; i < 21; i++) { if (c.getLevelForXP(c.playerXP[i]) < 99) continue; c.getOutStream().writeByte(1); c.getOutStream().writeWordBigEndianA(skillCapes[i] + 2); TotalCount++; } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); } }
  3. Ok, so it doesn't happen very often, but i need help again guys. One of my players informed me that my skillcape shop wasnt working(this was yesterday). So i checked it out, and it doesnt let you buy the cape, regardless of whether or not you have the skill for it. I looked over my coding for it and neither i nor Eclipse see anything wrong with it. Maybe one of you can tell me whats wrong here? Shopassistant.java(skillcape related part only.) [CODE] public int[] skillCapes = { 9747, 9753, 9750, 9768, 9756, 9759, 9762, 9801, 9807, 9783, 9798, 9804, 9780, 9795, 9792, 9774, 9771, 9777, 9786, 9810, 9765 }; public int get99Count() { int count = 0; for (int j = 0; j < c.playerLevel.length; j++) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { count++; } } return count; } public void setupSkillCapes(int capes, int capes2) { synchronized (c) { c.getItems().resetItems(3823); c.isShopping = true; c.myShopId = 14; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126("Skillcape Shop", 3901); int TotalItems = 0; TotalItems = capes2; if (TotalItems > ShopHandler.MaxShopItems) { TotalItems = ShopHandler.MaxShopItems; } c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); for (int i = 0; i < 23; i++) { if (c.getLevelForXP(c.playerXP[i]) < 99) continue; c.getOutStream().writeByte(1); c.getOutStream().writeWordBigEndianA(skillCapes[i] + 2); } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); } } public void skillBuy(int item) { int nn = get99Count(); if (nn > 1) nn = 1; else nn = 0; for (int j = 0; j < skillCapes.length; j++) { if (skillCapes[j] == item || skillCapes[j] + 1 == item) { if (c.getItems().freeSlots() > 1) { if (c.getItems().playerHasItem(995, 99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn, 1); c.getItems().addItem(skillCapes[j] + 2, 1); } else { c.sendMessage("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sendMessage("You need 99k to buy this item."); } } else { c.sendMessage("You must have at least 1 inventory spaces to buy this item."); } } } c.getItems().resetItems(3823); } public void openVoid() { } public void buyVoid(int item) { } } [/CODE] Thanks in advance, Zelda
  4. All I need is just the models and possibly the ints for the Divination skillcape for 317 PI, I am working to add Divination to my server and so far, it looks good, if I can get the skillcape and get it all to work, I might just release a tutorial for it :)
  5. So, i've been working on a server for quite some time now, off a base, and while going through armour requirements, i've ran into a snag. I cannot seem to give skillcapes a level requirement, and I certainly do not want people wearing them without it. I've searched on the web, i've gone though everything i've learnt so far, and tried different ideas, none of them worked. the main two i thought should work didnt, which are: [CODE] if (itemName.contains("attack cape")) { c.attackLevelReq = 99 ; } [/CODE] This brought no errors, it just didn't work. [CODE] if (itemName.contains("prayer cape")) { c.prayerLevelReq = 99 ; } [/CODE] this brought me the following error [CODE]src\server\model\items\ItemAssistant.java:1790: error: cannot find symbol c.prayerLevelReq = 99 ; ^ symbol: variable prayerLevelReq location: variable c of type Client[/CODE] The only ones requirements i added up to this snag were my dungeoneering requirements, which all went off without a hitch, all set up like this: [CODE] if (itemName.contains("sagittarian vambraces")) { c.defenceLevelReq = 99 ; c.rangeLevelReq = 99 ; } or if (itemName.contains("fractite gauntlets")) { c.defenceLevelReq = 40; } and so forth[/CODE] anyone got any ideas? i've been doing all this in itemAssistant.java let me know if you need more info, im stumped! **Update, I managed to get the Attack, Defence, magic, ranged and strength capes working with requirements by declaring with a case: (thanks to kingbing for jogging the idea of using an ID [code] case 9747: c.attackLevelReq = 99; break; [/code] That's the untrimmed attack cape, and it works But I still have not figured out how to give the rest of my capes a requirement
  6. [url]http://www.youtube.com/watch?feature=player_embedded&v=X2VQYjuJ3R8[/url] Took a while to find the anim and gfx, but gf jagex keeping it a surprise :P
  7. Since I'm using Dementhium's base, and their skillcape masters were a little messed up about which capes to give you. I know this is an easy fix, but I thought it'd be nice to at least help a few others if they're using Dementhium. To replace this, go to [COLOR="#FF0000"]\src\org\dementhium\content[/COLOR] and look for [B]SkillCapes.java[/B] Find: [CODE]private enum Masters {[/CODE] You should know what to do from here. Simple. Old Code - [B]DO NOT USE THIS ONE.[/B] [CODE] private enum Masters { AJJAT(4288, Skills.ATTACK, new Item[] {new Item(9747), new Item(9748)}, new Item(9749)), SLOANE(4297, Skills.STRENGTH, new Item[] {new Item(9750), new Item(9751)}, new Item(9752)), MELEE_INSTRUCTOR(705, Skills.DEFENCE, new Item[] {new Item(9753), new Item(9754)}, new Item(9755)), ARMOUR_SALESMAN(682, Skills.RANGE, new Item[] {new Item(9756), new Item(9757)}, new Item(9758)), BROTHER_JERED(802, Skills.PRAYER, new Item[] {new Item(9759), new Item(9760)}, new Item(9761)), ROBE_STORE_OWNER(1658, Skills.MAGIC, new Item[] {new Item(9762), new Item(9763)}, new Item(9764)), SURGEON_GENERAL(961, Skills.HITPOINTS, new Item[]{new Item(9768), new Item(9769)}, new Item(9770)), CAPTION_IZZY(437, Skills.AGILITY, new Item[] {new Item(9771), new Item(9772)}, new Item(9773)), KAQEMEEX(455, Skills.HERBLORE, new Item[]{new Item(9774), new Item(9775)}, new Item(9776)), MARTIN_THWAIT(2270, Skills.THIEVING, new Item[] {new Item(9777), new Item(9778)}, new Item(9779)), MASTER_CRAFTER(805, Skills.CRAFTING, new Item[]{new Item(9780), new Item(9781)}, new Item(9782)), HICKTON(575, Skills.FLETCHING, new Item[]{new Item(9763), new Item(9764)}, new Item(9765)), DWARF(3295, Skills.MINING, new Item[]{new Item(9792), new Item(9793)}, new Item(9794)), THURGO(604, Skills.SMITHING, new Item[]{new Item(9795), new Item(9795)}, new Item(9796)), MASTER_FISHER(308, Skills.FISHING, new Item[]{new Item(9798), new Item(9799)}, new Item(9800)), HEAD_CHEF(847, Skills.COOKING, new Item[]{new Item(9801), new Item(9802)}, new Item(9803)), IGNATIUS_VULCAN(4946, Skills.FIREMAKING, new Item[]{new Item(9804), new Item(9805)}, new Item(9806)), WILFRED(4906, Skills.WOODCUTTING, new Item[]{new Item(9807), new Item(9808)}, new Item(9809)), MARTIN_MASTER_GARDENER(3299, Skills.FARMING, new Item[]{new Item(9789), new Item(9790)}, new Item(9791));[/CODE] New code: - [B]REPLACE OLD ONE.[/B] [CODE] private enum Masters { //first item id is untrimmed || second id is trimmed || third id is hood ||||| Fixed by Gircat - RuneLocus.com AJJAT(4288, Skills.ATTACK, new Item[] {new Item(9747), new Item(9748)}, new Item(9749)), //attack SLOANE(4297, Skills.STRENGTH, new Item[] {new Item(9750), new Item(9751)}, new Item(9752)), //strength MELEE_INSTRUCTOR(705, Skills.DEFENCE, new Item[] {new Item(9753), new Item(9754)}, new Item(9755)), //defence ARMOUR_SALESMAN(682, Skills.RANGE, new Item[] {new Item(9756), new Item(9757)}, new Item(9758)), //range BROTHER_JERED(802, Skills.PRAYER, new Item[] {new Item(9759), new Item(9760)}, new Item(9761)), //prayer ROBE_STORE_OWNER(1658, Skills.MAGIC, new Item[] {new Item(9762), new Item(9763)}, new Item(9764)), //magic SURGEON_GENERAL(961, Skills.HITPOINTS, new Item[]{new Item(9768), new Item(9769)}, new Item(9770)), //hitpoints CAPTION_IZZY(437, Skills.AGILITY, new Item[] {new Item(9771), new Item(9772)}, new Item(9773)), //agility KAQEMEEX(455, Skills.HERBLORE, new Item[]{new Item(9774), new Item(9775)}, new Item(9776)), //herblore MARTIN_THWAIT(2270, Skills.THIEVING, new Item[] {new Item(9777), new Item(9778)}, new Item(9779)), //thieving MASTER_CRAFTER(805, Skills.CRAFTING, new Item[]{new Item(9780), new Item(9781)}, new Item(9782)), //crafting HICKTON(575, Skills.FLETCHING, new Item[]{new Item(9783), new Item(9784)}, new Item(9785)), //fletching DWARF(3295, Skills.MINING, new Item[]{new Item(9792), new Item(9793)}, new Item(9794)), //mining THURGO(604, Skills.SMITHING, new Item[]{new Item(9795), new Item(9796)}, new Item(9797)), //smithing MASTER_FISHER(308, Skills.FISHING, new Item[]{new Item(9798), new Item(9799)}, new Item(9800)), //fishing HEAD_CHEF(847, Skills.COOKING, new Item[]{new Item(9801), new Item(9802)}, new Item(9803)), //cooking IGNATIUS_VULCAN(4946, Skills.FIREMAKING, new Item[]{new Item(9804), new Item(9805)}, new Item(9806)), //firemaking WILFRED(4906, Skills.WOODCUTTING, new Item[]{new Item(9807), new Item(9808)}, new Item(9809)), //woodcutting MARTIN_MASTER_GARDENER(3299, Skills.FARMING, new Item[]{new Item(9810), new Item(9811)}, new Item(9812)); //farming[/CODE]
  8. If you know of how to fix skillcape emotes, please help me with it, this is my last problem, and I'll finsh, I'll repp++ and thank you if you're going to help me Thanks.
  9. So if I click on the skill cape shop and I have cash anywhere except the last inventory slot, it disconnects the whole client. I've searched this on the search bar and found a couple of threads, but they all had no answers to this particular bug. Here are my methods located in ItemAssistant.java EDIT: I can buy skill capes when I have cash in last inventory slot. So buying the skill cape is not the issue here. [CODE] public void openSkillCape() { int capes = get99Count(); if (capes > 1) capes = 1; else capes = 0; c.myShopId = 15; setupSkillCapes(capes, get99Count()); } /*public int[][] skillCapes = {{0,9747,4319,2679},{1,2683,4329,2685},{2,2680,4359,2682},{3,2701,4341,2703},{4,2686,4351,2688},{5,2689,4347,2691},{6,2692,4343,2691}, {7,2737,4325,2733},{8,2734,4353,2736},{9,2716,4337,2718},{10,2728,4335,2730},{11,2695,4321,2697},{12,2713,4327,2715},{13,2725,4357,2727}, {14,2722,4345,2724},{15,2707,4339,2709},{16,2704,4317,2706},{17,2710,4361,2712},{18,2719,4355,2721},{19,2737,4331,2739},{20,2698,4333,2700}};*/ public int[] skillCapes = {9747,9753,9750,9768,9756,9759,9762,9801,9807,9783,9798,9804,9780,9795,9792,9774,9771,9777,9786,9810,9765,9948,12169,18508}; public int get99Count() { int count = 0; for (int j = 0; j < c.playerLevel.length; j++) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { count++; } } return count; } public void setupSkillCapes(int capes, int capes2) { synchronized(c) { c.getItems().resetItems(3823); c.isShopping = true; c.myShopId = 14; c.getPA().sendFrame248(3824, 3822); c.getPA().sendFrame126("Skillcape Shop", 3901); int TotalItems = 0; TotalItems = capes2; if (TotalItems > Server.shopHandler.MaxShopItems) { TotalItems = Server.shopHandler.MaxShopItems; } c.getOutStream().createFrameVarSizeWord(53); c.getOutStream().writeWord(3900); c.getOutStream().writeWord(TotalItems); int TotalCount = 0; for (int i = 0; i < 24; i++) { if (c.getLevelForXP(c.playerXP[i]) < 99) continue; c.getOutStream().writeByte(1); c.getOutStream().writeWordBigEndianA(skillCapes[i] + 2); TotalCount++; } c.getOutStream().endFrameVarSizeWord(); c.flushOutStream(); } } public void skillBuy(int item) { int nn = get99Count(); if (nn > 1) nn = 1; else nn = 0; for (int j = 0; j < skillCapes.length; j++) { if (skillCapes[j] == item || skillCapes[j]+1 == item) { if (c.getItems().freeSlots() > 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sendMessage("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sendMessage("You need 99k to buy this item."); } } else { c.sendMessage("You must have at least 1 inventory spaces to buy this item."); } } /*if (skillCapes[j][1 + nn] == item) { if (c.getItems().freeSlots() >= 1) { if (c.getItems().playerHasItem(995,99000)) { if (c.getLevelForXP(c.playerXP[j]) >= 99) { c.getItems().deleteItem(995, c.getItems().getItemSlot(995), 99000); c.getItems().addItem(skillCapes[j] + nn,1); c.getItems().addItem(skillCapes[j] + 2,1); } else { c.sendMessage("You must have 99 in the skill of the cape you're trying to buy."); } } else { c.sendMessage("You need 99k to buy this item."); } } else { c.sendMessage("You must have at least 1 inventory spaces to buy this item."); } break; }*/ } c.getItems().resetItems(3823); }[/CODE]
  10. EDIT: nvm.. fixed it somehow!
  11. I created a dialogue for an NPC that gives you a skillcape, currently I am doing a chef and he hands out the cooking skillcape. I added the factor in which he won't talk to you unless you have 99 cooking but how do I make him take 99k from you and hand you the skillcape? Thanks in advanced
  12. Playerassistant.java search "public void levelUp(int skill) {" replace that whole void with this [CODE]public void levelUp(int skill) { int totalLevel = (getLevelForXP(c.playerXP[0]) + getLevelForXP(c.playerXP[1]) + getLevelForXP(c.playerXP[2]) + getLevelForXP(c.playerXP[3]) + getLevelForXP(c.playerXP[4]) + getLevelForXP(c.playerXP[5]) + getLevelForXP(c.playerXP[6]) + getLevelForXP(c.playerXP[7]) + getLevelForXP(c.playerXP[8]) + getLevelForXP(c.playerXP[9]) + getLevelForXP(c.playerXP[10]) + getLevelForXP(c.playerXP[11]) + getLevelForXP(c.playerXP[12]) + getLevelForXP(c.playerXP[13]) + getLevelForXP(c.playerXP[14]) + getLevelForXP(c.playerXP[15]) + getLevelForXP(c.playerXP[16]) + getLevelForXP(c.playerXP[17]) + getLevelForXP(c.playerXP[18]) + getLevelForXP(c.playerXP[19]) + getLevelForXP(c.playerXP[20])); sendFrame126("Total Lvl: "+totalLevel, 3984); switch(skill) { case 0: sendFrame126("Congratulations, you just advanced an attack level!", 6248); sendFrame126("Your attack level is now "+getLevelForXP(c.playerXP[skill])+".", 6249); c.sendMessage("Congratulations, you just advanced an attack level."); sendFrame164(6247); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9748,1); c.getItems().addItem(9749,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Attack!", "Global Chat", 2); } } } break; case 1: sendFrame126("Congratulations, you just advanced a defence level!", 6254); sendFrame126("Your defence level is now "+getLevelForXP(c.playerXP[skill])+".", 6255); c.sendMessage("Congratulations, you just advanced a defence level."); sendFrame164(6253); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9754,1); c.getItems().addItem(9755,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Defence!", "Global Chat", 2); } } } break; case 2: sendFrame126("Congratulations, you just advanced a strength level!", 6207); sendFrame126("Your strength level is now "+getLevelForXP(c.playerXP[skill])+".", 6208); c.sendMessage("Congratulations, you just advanced a strength level."); sendFrame164(6206); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9751,1); c.getItems().addItem(9752,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Strength!", "Global Chat", 2); } } } break; case 3: sendFrame126("Congratulations, you just advanced a hitpoints level!", 6217); sendFrame126("Your hitpoints level is now "+getLevelForXP(c.playerXP[skill])+".", 6218); c.sendMessage("Congratulations, you just advanced a hitpoints level."); sendFrame164(6216); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9769,1); c.getItems().addItem(9770,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Hitpoints!", "Global Chat", 2); } } } break; case 4: sendFrame126("Congratulations, you just advanced a ranged level!", 5453); sendFrame126("Your ranged level is now "+getLevelForXP(c.playerXP[skill])+".", 6114); c.sendMessage("Congratulations, you just advanced a ranging level."); sendFrame164(4443); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9757,1); c.getItems().addItem(9758,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Range!", "Global Chat", 2); } } } break; case 5: sendFrame126("Congratulations, you just advanced a prayer level!", 6243); sendFrame126("Your prayer level is now "+getLevelForXP(c.playerXP[skill])+".", 6244); c.sendMessage("Congratulations, you just advanced a prayer level."); sendFrame164(6242); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9760,1); c.getItems().addItem(9761,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Prayer!", "Global Chat", 2); } } } break; case 6: sendFrame126("Congratulations, you just advanced a magic level!", 6212); sendFrame126("Your magic level is now "+getLevelForXP(c.playerXP[skill])+".", 6213); c.sendMessage("Congratulations, you just advanced a magic level."); sendFrame164(6211); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9757,1); c.getItems().addItem(9758,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Magic!", "Global Chat", 2); } } } break; case 7: sendFrame126("Congratulations, you just advanced a cooking level!", 6227); sendFrame126("Your cooking level is now "+getLevelForXP(c.playerXP[skill])+".", 6228); c.sendMessage("Congratulations, you just advanced a cooking level."); sendFrame164(6226); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9802,1); c.getItems().addItem(9803,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Cooking!", "Global Chat", 2); } } } break; case 8: sendFrame126("Congratulations, you just advanced a woodcutting level!", 4273); sendFrame126("Your woodcutting level is now "+getLevelForXP(c.playerXP[skill])+".", 4274); c.sendMessage("Congratulations, you just advanced a woodcutting level."); sendFrame164(4272); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9808,1); c.getItems().addItem(9809,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Woodcutting!", "Global Chat", 2); } } } break; case 9: sendFrame126("Congratulations, you just advanced a fletching level!", 6232); sendFrame126("Your fletching level is now "+getLevelForXP(c.playerXP[skill])+".", 6233); c.sendMessage("Congratulations, you just advanced a fletching level."); sendFrame164(6231); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9784,1); c.getItems().addItem(9785,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Fletching!", "Global Chat", 2); } } } break; case 10: sendFrame126("Congratulations, you just advanced a fishing level!", 6259); sendFrame126("Your fishing level is now "+getLevelForXP(c.playerXP[skill])+".", 6260); c.sendMessage("Congratulations, you just advanced a fishing level."); sendFrame164(6258); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9799,1); c.getItems().addItem(9800,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Fishing!", "Global Chat", 2); } } } break; case 11: sendFrame126("Congratulations, you just advanced a fire making level!", 4283); sendFrame126("Your firemaking level is now "+getLevelForXP(c.playerXP[skill])+".", 4284); c.sendMessage("Congratulations, you just advanced a fire making level."); sendFrame164(4282); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9805,1); c.getItems().addItem(9806,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Fire Making!", "Global Chat", 2); } } } break; case 12: sendFrame126("Congratulations, you just advanced a crafting level!", 6264); sendFrame126("Your crafting level is now "+getLevelForXP(c.playerXP[skill])+".", 6265); c.sendMessage("Congratulations, you just advanced a crafting level."); sendFrame164(6263); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9805,1); c.getItems().addItem(9806,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Crafting!", "Global Chat", 2); } } } break; case 13: sendFrame126("Congratulations, you just advanced a smithing level!", 6222); sendFrame126("Your smithing level is now "+getLevelForXP(c.playerXP[skill])+".", 6223); c.sendMessage("Congratulations, you just advanced a smithing level."); sendFrame164(6221); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9796,1); c.getItems().addItem(9797,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Smithing!", "Global Chat", 2); } } } break; case 14: sendFrame126("Congratulations, you just advanced a mining level!", 4417); sendFrame126("Your mining level is now "+getLevelForXP(c.playerXP[skill])+".", 4438); c.sendMessage("Congratulations, you just advanced a mining level."); sendFrame164(4416); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9793,1); c.getItems().addItem(9794,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Mining!", "Global Chat", 2); } } } break; case 15: sendFrame126("Congratulations, you just advanced a herblore level!", 6238); sendFrame126("Your herblore level is now "+getLevelForXP(c.playerXP[skill])+".", 6239); c.sendMessage("Congratulations, you just advanced a herblore level."); sendFrame164(6237); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9775,1); c.getItems().addItem(9776,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Herblore!", "Global Chat", 2); } } } break; case 16: sendFrame126("Congratulations, you just advanced a agility level!", 4278); sendFrame126("Your agility level is now "+getLevelForXP(c.playerXP[skill])+".", 4279); c.sendMessage("Congratulations, you just advanced an agility level."); sendFrame164(4277); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9772,1); c.getItems().addItem(9773,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Agility!", "Global Chat", 2); } } } break; case 17: sendFrame126("Congratulations, you just advanced a thieving level!", 4263); sendFrame126("Your theiving level is now "+getLevelForXP(c.playerXP[skill])+".", 4264); c.sendMessage("Congratulations, you just advanced a thieving level."); sendFrame164(4261); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9778,1); c.getItems().addItem(9779,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Thieving!", "Global Chat", 2); } } } break; case 18: sendFrame126("Congratulations, you just advanced a slayer level!", 12123); sendFrame126("Your slayer level is now "+getLevelForXP(c.playerXP[skill])+".", 12124); c.sendMessage("Congratulations, you just advanced a slayer level."); sendFrame164(12122); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9787,1); c.getItems().addItem(9788,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Slayer!", "Global Chat", 2); } } } break; case 19: sendFrame126("Congratulations, you just advanced a farming level!", 12123); sendFrame126("Your farming level is now "+getLevelForXP(c.playerXP[skill])+".", 12124); c.sendMessage("Congratulations, you just advanced a farming level."); sendFrame164(12122); if(getLevelForXP(c.playerXP[skill]) == 99) { for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Farming!", "Global Chat", 2); } } } break; case 20: sendFrame126("Congratulations, you just advanced a runecrafting level!", 4268); sendFrame126("Your runecrafting level is now "+getLevelForXP(c.playerXP[skill])+".", 4269); c.sendMessage("Congratulations, you just advanced a runecrafting level."); sendFrame164(4267); if(getLevelForXP(c.playerXP[skill]) == 99) { c.getItems().addItem(9766,1); c.getItems().addItem(9767,1); for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client)Server.playerHandler.players[j]; c2.sendClan("<shad=40960>[SERVER]", c.playerName+" just advanced to "+getLevelForXP(c.playerXP[skill])+" Runecrafting!", "Global Chat", 2); } } } break; } c.dialogueAction = 0; c.nextChat = 0; }[/CODE] Enjoy. I know it's sloppy and may have errors cba to look it all over.
  13. how to make a 639 skillcape shop but you can only see the skillcapes you meet the requirements for, 99s and 120 dung
  14. Ok so ive been adding items to my shops and havent even touched my skillcape shop yet, but when i went to check the shop it has a restore potion(3)? I've searched everywhere to remove it and i cannot find a single thing leading to this potion: [IMG]http://i1139.photobucket.com/albums/n547/Im_G_O_D/helpp.png[/IMG] Anyone got an idea on what i need to do to remove it out of the shop?
  15. Server based : Delta its not hard to do it. Its easy lol u need only to C&P I did not make this First open client.java and search for : public class client extends Player implements Runnable { Add this under it : public void capeEmote() { if (playerEquipment[playerCape]==4319) { //attack stillgfx(630, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4959); } if (playerEquipment[playerCape]==4359) { //strength stillgfx(615, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4981); } if (playerEquipment[playerCape]==4329) { //defence stillgfx(621, absY, absX); plrText = ""; plrTextUpdateRequired = true; setAnimation(4961); } if (playerEquipment[playerCape]==4317) { //agility stillgfx(625, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4977); } if (playerEquipment[playerCape]==4351) { //range stillgfx(617, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4973); } if (playerEquipment[playerCape]==4347) { //prayer stillgfx(606, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4979); } if (playerEquipment[playerCape]==4353) { //woodcutting stillgfx(613, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4957); } if (playerEquipment[playerCape]==4343) { //magic stillgfx(629, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4939); } if (playerEquipment[playerCape]==4325) { //cooking stillgfx(618, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4955); } if (playerEquipment[playerCape]==4355) { //slayer stillgfx(624, absY, absX); startAnimation(4967); plrText = ""; plrTextUpdateRequired = true; } if (playerEquipment[playerCape]==4337) { //fletching stillgfx(619, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4937); } if (playerEquipment[playerCape]==4345) { //mining stillgfx(610, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4941); } if (playerEquipment[playerCape]==2740) { //QuestCape stillgfx(608, absY, absX); plrText = ""; plrTextUpdateRequired = true; } if (playerEquipment[playerCape]==4335) { //fishing stillgfx(616, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4951); } if (playerEquipment[playerCape]==4331) { //farming stillgfx(622, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4963); } if (playerEquipment[playerCape]==4333) { //rc stillgfx(607, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4947); } if (playerEquipment[playerCape]==4327) { //crafting stillgfx(620, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4949); } if (playerEquipment[playerCape]==4357) { //smithing stillgfx(609, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4943); } if (playerEquipment[playerCape]==4361) { //thieving stillgfx(623, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4965); } if (playerEquipment[playerCape]==4341) { //hp stillgfx(628, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4971); } if (playerEquipment[playerCape]==4339) { //herblore stillgfx(626, absY, absX); plrText = ""; plrTextUpdateRequired = true; startAnimation(4969); } } Now to go your commands and add this to your commands : if (command.startsWith("skillcape")) { capeEmote(); } Save & Compile it should work now tell me if i forgot something Rep only if u want it. I did not make this (Forgot who did) i did only this here bc runelocus was crashed. Have Fun!
  16. when i put dungeoneering cape into the skill cape shop there is another item that comes in aswell as shown here [ATTACH=CONFIG]5080[/ATTACH] does any1 know how to get rid of the other item and keep the dungeonerring cape in the shop?
  17. Ok so i am using InsidiaX but i have a small problem. When trying to open the skillcape shop with gold in your inventory, the client crashes. I want to add the specific skillcape/hood to their bank(incase inventory is full) upon them getting 99 in that stat? My PlayerAssistant.java: [code] public void l*****p(int skill) { int totalLevel = (getLevelForXP(c.playerXP[0]) + getLevelForXP(c.playerXP[1]) + getLevelForXP(c.playerXP[2]) + getLevelForXP(c.playerXP[3]) + getLevelForXP(c.playerXP[4]) + getLevelForXP(c.playerXP[5]) + getLevelForXP(c.playerXP[6]) + getLevelForXP(c.playerXP[7]) + getLevelForXP(c.playerXP[8]) + getLevelForXP(c.playerXP[9]) + getLevelForXP(c.playerXP[10]) + getLevelForXP(c.playerXP[11]) + getLevelForXP(c.playerXP[12]) + getLevelForXP(c.playerXP[13]) + getLevelForXP(c.playerXP[14]) + getLevelForXP(c.playerXP[15]) + getLevelForXP(c.playerXP[16]) + getLevelForXP(c.playerXP[17]) + getLevelForXP(c.playerXP[18]) + getLevelForXP(c.playerXP[19]) + getLevelForXP(c.playerXP[20]) + getLevelForXP(c.playerXP[21]) + getLevelForXP(c.playerXP[22]) + getLevelForXP(c.playerXP[23]) + getLevelForXP(c.playerXP[24])); sendFrame126("Levels: "+totalLevel, 13983); switch(skill) { case 0: sendFrame126("Congratulations, you just advanced an Attack level!", 6248); sendFrame126("Your Attack level is now " + getLevelForXP(c.playerXP[skill]) + ".", 6249); c.sendMessage("Congratulations, you just advanced an Attack level."); c.getPA().sendFrame126("Combat Level: " + c.getCombatLevel() + "", 3983); sendFrame164(6247); break; case 1: sendFrame126("Congratulations, you just advanced a defence level!", 6254); sendFrame126("Your defence level is now "+getLevelForXP(c.playerXP[skill])+".", 6255); c.sendMessage("Congratulations, you just advanced a defence level."); c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983); sendFrame164(6253); break; case 2: sendFrame126("Congratulations, you just advanced a strength level!", 6207); sendFrame126("Your strength level is now "+getLevelForXP(c.playerXP[skill])+".", 6208); c.sendMessage("Congratulations, you just advanced a strength level."); c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983); sendFrame164(6206); break; case 3: sendFrame126("Congratulations, you just advanced a hitpoints level!", 6217); sendFrame126("Your hitpoints level is now "+getLevelForXP(c.playerXP[skill])+".", 6218); c.sendMessage("Congratulations, you just advanced a hitpoints level."); c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983); sendFrame164(6216); break; case 4: sendFrame126("Congratulations, you just advanced a ranged level!", 5453); sendFrame126("Your ranged level is now "+getLevelForXP(c.playerXP[skill])+".", 6114); c.sendMessage("Congratulations, you just advanced a ranging level."); c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983); sendFrame164(4443); break; case 5: sendFrame126("Congratulations, you just advanced a prayer level!", 6243); sendFrame126("Your prayer level is now "+getLevelForXP(c.playerXP[skill])+".", 6244); c.sendMessage("Congratulations, you just advanced a prayer level."); c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983); sendFrame164(6242); break; case 6: sendFrame126("Congratulations, you just advanced a magic level!", 6212); sendFrame126("Your magic level is now "+getLevelForXP(c.playerXP[skill])+".", 6213); c.sendMessage("Congratulations, you just advanced a magic level."); c.getPA().sendFrame126("Combat Level: "+c.getCombatLevel()+"", 3983); sendFrame164(6211); break; case 7: sendFrame126("Congratulations, you just advanced a cooking level!", 6227); sendFrame126("Your cooking level is now "+getLevelForXP(c.playerXP[skill])+".", 6228); c.sendMessage("Congratulations, you just advanced a cooking level."); sendFrame164(6226); break; case 8: sendFrame126("Congratulations, you just advanced a woodcutting level!", 4273); sendFrame126("Your woodcutting level is now "+getLevelForXP(c.playerXP[skill])+".", 4274); c.sendMessage("Congratulations, you just advanced a woodcutting level."); sendFrame164(4272); break; case 9: sendFrame126("Congratulations, you just advanced a fletching level!", 6232); sendFrame126("Your fletching level is now "+getLevelForXP(c.playerXP[skill])+".", 6233); c.sendMessage("Congratulations, you just advanced a fletching level."); sendFrame164(6231); break; case 10: sendFrame126("Congratulations, you just advanced a fishing level!", 6259); sendFrame126("Your fishing level is now "+getLevelForXP(c.playerXP[skill])+".", 6260); c.sendMessage("Congratulations, you just advanced a fishing level."); sendFrame164(6258); break; case 11: sendFrame126("Congratulations, you just advanced a fire making level!", 4283); sendFrame126("Your firemaking level is now "+getLevelForXP(c.playerXP[skill])+".", 4284); c.sendMessage("Congratulations, you just advanced a fire making level."); sendFrame164(4282); break; case 12: sendFrame126("Congratulations, you just advanced a crafting level!", 6264); sendFrame126("Your crafting level is now "+getLevelForXP(c.playerXP[skill])+".", 6265); c.sendMessage("Congratulations, you just advanced a crafting level."); sendFrame164(6263); break; case 13: sendFrame126("Congratulations, you just advanced a smithing level!", 6222); sendFrame126("Your smithing level is now "+getLevelForXP(c.playerXP[skill])+".", 6223); c.sendMessage("Congratulations, you just advanced a smithing level."); sendFrame164(6221); break; case 14: sendFrame126("Congratulations, you just advanced a mining level!", 4417); sendFrame126("Your mining level is now "+getLevelForXP(c.playerXP[skill])+".", 4438); c.sendMessage("Congratulations, you just advanced a mining level."); sendFrame164(4416); break; case 15: sendFrame126("Congratulations, you just advanced a herblore level!", 6238); sendFrame126("Your herblore level is now "+getLevelForXP(c.playerXP[skill])+".", 6239); c.sendMessage("Congratulations, you just advanced a herblore level."); sendFrame164(6237); break; case 16: sendFrame126("Congratulations, you just advanced a agility level!", 4278); sendFrame126("Your agility level is now "+getLevelForXP(c.playerXP[skill])+".", 4279); c.sendMessage("Congratulations, you just advanced an agility level."); sendFrame164(4277); break; case 17: sendFrame126("Congratulations, you just advanced a thieving level!", 4263); sendFrame126("Your theiving level is now "+getLevelForXP(c.playerXP[skill])+".", 4264); c.sendMessage("Congratulations, you just advanced a thieving level."); sendFrame164(4261); break; case 18: sendFrame126("Congratulations, you just advanced a slayer level!", 12123); sendFrame126("Your slayer level is now "+getLevelForXP(c.playerXP[skill])+".", 12124); c.sendMessage("Congratulations, you just advanced a slayer level."); sendFrame164(12122); break; case 20: sendFrame126("Congratulations, you just advanced a runecrafting level!", 4268); sendFrame126("Your runecrafting level is now "+getLevelForXP(c.playerXP[skill])+".", 4269); c.sendMessage("Congratulations, you just advanced a runecrafting level."); sendFrame164(4267); break; case 21: c.sendMessage("Congratulations, you just advanced a hunter level!"); c.sendMessage("Your hunter level is now "+getLevelForXP(c.playerXP[skill])+"."); break; case 22: sendFrame126("Congratulations, you just advanced a Summoning level!", 4268); sendFrame126("Your Summoning level is now "+getLevelForXP(c.playerXP[skill])+".", 4269); c.sendMessage("Congratulations, you just advanced a Summoning level."); sendFrame164(4267); break; case 23: sendFrame126("Congratulations, you just advanced a PK'ing level!", 12123); sendFrame126("Your PK'ing level is now "+getLevelForXP(c.playerXP[skill])+".", 12124); c.sendMessage("Congratulations, you just advanced a PK'ing level."); sendFrame164(12122); break; case 24: sendFrame126("Congratulations, you just advanced a Dungeoneering level!", 12123); sendFrame126("Your Dungeoneering level is now "+getLevelForXP(c.playerXP[skill])+".", 12124); c.sendMessage("Congratulations, you just advanced a Dungeoneering level."); sendFrame164(12122); break; } c.dialogueAction = 0; c.nextChat = 0; }[/code] How could i do this?
  18. HEy, when I trade the skillcape shop in InsidiaX source the client crashes...It only does that if you have money in your inventory. cmd output: [CODE]Exception in thread "Thread-4" java.lang.ArrayIndexOutOfBoundsException: 32895 at ItemDef.forID(ItemDef.java:12) at ItemDef.getSprite(ItemDef.java:755) at client.drawInterface(client.java:10135) at client.draw3dScreen(client.java:10888) at client.method146(client.java:14823) at client.drawGameScreen(client.java:9926) at client.processDrawing(client.java:10821) at RSApplet.run(RSApplet.java:108) at client.run(client.java:6073) at java.lang.Thread.run(Unknown Source)[/CODE]
  19. hypowolf

    SkillCape help

    Hi I am working on a 317 client using Pk Planet Source. Could someone code the skillcape emotes for me (I'm not that great of a programmer yet, i just started) I would REALLY appreciate it if you did. Thanks (: -HypoWolf
  20. hey, i want to add skillcape emote onto my server, i have the files already into the client and stuff.. but the skillcape emote button isnt added onto the emote scroll bar yet.. how can i do this?
  21. Whenever you open the skillcape shop (talk to the guy) w/o coins in your inventory, the shop works fine. But when you open the skillcape shop (talk to the guy) w/ coins in your inventory, your client will freeze everytime. So I've come to the conclusion that if you have coins in your inventory when you open the skillcape shop, then it will freeze your client. Anyone know how to fix this? Sincerly, Starkzter
  22. Source: InsidiaX Problem: So the shop for skill capes is the "Wise Old Man" from Runescape, Every time you click on him to buy a cape it DC's (Disconnects) the whole server. Priority: Medium Status: [COLOR="#FF0000"]NOT FIXED[/COLOR] If you need any other details then just drop a comment below.
  23. dNy1337

    skillcape graphic?

    Hello, I am having a problem with the skillcape, the mote works but the cape doesn't show up as it has too. I am having this with all trimmed skillcapes but with untrimmed skillcapes it is the wrong one. [It is farming(t) instead of woodcutting skillcape) [ATTACH=CONFIG]3313[/ATTACH] Please tell me if you know the problem (and yes I am pretty new)
  24. Purpose: Making Level QC Difficulty: 1/10 Knowledge To read and C&P Classes Modified: ClickingButtons.Java In clickingbuttons class add: ( If you already have skill buttons look wich one you like more and replace them with these ) [CODE] /* Skill buttons */ case 33207: c.forcedText = "[QC] My Hitpoints level is " + c.getPA().getLevelForXP(c.playerXP[3]) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 33218: c.forcedText = "[QC] My Prayer level is " + c.getPA().getLevelForXP(c.playerXP[5]) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 33206: c.forcedText = "[QC] My Attack level is " + c.getPA().getLevelForXP(c.playerXP[0]) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 33212: c.forcedText = "[QC] My Defence level is " + c.getPA().getLevelForXP(c.playerXP[1]) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 33209: c.forcedText = "[QC] My Strength level is " + c.getPA().getLevelForXP(c.playerXP[2]) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 33215: c.forcedText = "[QC] My Ranged level is " + c.getPA().getLevelForXP(c.playerXP[4]) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 33221: c.forcedText = "[QC] My Magic level is " + c.getPA().getLevelForXP(c.playerXP[6]) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 47130: c.forcedText = "I must slay another " + c.taskAmount + " " + Server.npcHandler.getNpcListName(c.slayerTask) + "."; c.forcedChatUpdateRequired = true; c.updateRequired = true; break; case 24017: c.getPA().resetAutocast(); //c.sendFrame246(329, 200, c.playerEquipment[c.playerWeapon]); c.getItems().sendWeapon(c.playerEquipment[c.playerWeapon], c.getItems().getItemName(c.playerEquipment[c.playerWeapon])); //c.setSidebarInterface(0, 328); //c.setSidebarInterface(6, c.playerMagicBook == 0 ? 1151 : c.playerMagicBook == 1 ? 12855 : 1151); break; } if (c.isAutoButton(actionButtonId)) c.assignAutocast(actionButtonId); /* End of Skill buttons */ [/CODE] [B]The slayer button tells you the amound of your task is left[/B]
  25. This was made couple of weeks ago. And yes, it's rendered. [IMG]http://img403.imageshack.us/img403/6744/baearpeedo.png[/IMG]
×