Jump to content

Search the Community

Showing results for tags 'broken'.



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

  1. hi so i want my friend to play my rsps with me, I have the no-ip and portforwarded my ip correctly. I'm not sure how to make other friends play because i gave them the client and it wont run on theres. (i use local client) when my friend tries to run it he gets this and i get it too when i try to press run on this so i have to use local client everytime [url]http://gyazo.com/a3db671952e42996b0abb8bfee07c781[/url] this is the client folder: [url]http://gyazo.com/9d7c95496ff42e1a8d65908091a02984[/url] this is the run: [url]http://gyazo.com/56bc6ec178faace9dc198c5ae281dc6e[/url] compiler: [url]http://gyazo.com/124d191e86dbb5186b64884d1ac9670d[/url] please help to make it work for others. i did enter 127.0.0.1 for the ip
  2. This is more of a laugh at my pain type of thing but I've always been that guy that something doesn't work for even when it's tried and true. Over the past week I've downloaded 20 sources in hopes of getting something to use a test environment to practice. NONE of them have worked or have even been operable. Why me? XD [CENTER][IMG]http://i.gyazo.com/0a25c2c22826566ea44ca68d59b8ad79.png[/IMG][/CENTER]
  3. [B]I am using a 718 client/source loading 745[/B] I've Tried multiple caches from customs to blank to Complete caches. But they all had this map data I am trying to make it like original RS when you go to the tormented demons and trying to do quest just like RS [img]http://i.imgur.com/nok9E0H.png[/img] This is really Driving me insane The map makes you go to coords [code][B]x:3257 y:9517 h:2[/B][/code] I don't know if you are supposed to go to Height 2 with the cords but if i don't then i can't move or walk but when i do the height 2 i can move just in a certain length then the floor is black/ non existent plus it looks like 317 map old/ blocky + the npc looks like 317 as well. I want to to look like this. [IMG]http://i58.tinypic.com/30cvhfm.png[/IMG] Better looking, higher detail + correct map data. [video=youtube;B8FWh65JKB4]https://www.youtube.com/watch?v=B8FWh65JKB4[/video] Video of it as well. If anyone can help me out that would be great.
  4. Hey guys, I am using the Eriewin II source, and this happens to be a bug that released with it. I have tracked down one post on another forum that talked of this issue, but failed to produce a fix or explain the method of solving the issue. Somehow the entire itemonitem handler is completely broke, nothing works in it. No changes to it matter, so it has to be pulling from some other bug elsewhere. Sadly I have yet to find this bug and am seeking you guys to help me out possibly, if you think you can I will be greatly appreciative. Below is my itemonitem handler with the contains method which is needed to be used by it. Any ideas or suggestions are all welcomed! [CODE] public static Item contains(int id1, Item item1, Item item2) { if (item1.getId() == id1) return item2; if (item2.getId() == id1) return item1; return null; } public static boolean contains(int id1, int id2, Item... items) { boolean containsId1 = false; boolean containsId2 = false; for (Item item : items) { if (item.getId() == id1) containsId1 = true; else if (item.getId() == id2) containsId2 = true; } return containsId1 && containsId2; } public static void handleItemOnItem(final Player player, InputStream stream) { int itemUsedWithId = stream.readShort(); int toSlot = stream.readShortLE128(); int hash1 = stream.readInt(); int hash2 = stream.readInt(); int interfaceId = hash1 >> 16; int interfaceId2 = hash2 >> 16; int comp1 = hash1 & 0xFFFF; int fromSlot = stream.readShort(); int itemUsedId = stream.readShortLE128(); if (interfaceId == 430 && interfaceId2 == 679) { Item item = player.getInventory().getItem(toSlot); if (item == null) return; switch(comp1) { case 33: Lunars.handlePlankMake(player, item); break; case 50: Lunars.handleRestorePotionShare(player, item); break; case 72: Lunars.handleLeatherMake(player, item); break; case 49: Lunars.handleBoostPotionShare(player, item); break; default: if (player.getRights() == 2) { player.getPackets().sendGameMessage("Unhandled lunar spell: component1: "+comp1+" slotId: "+toSlot); } break; } return; } if ((interfaceId2 == 747 || interfaceId2 == 662) && interfaceId == Inventory.INVENTORY_INTERFACE) { if (player.getFamiliar() != null) { player.getFamiliar().setSpecial(true); if (player.getFamiliar().getSpecialAttack() == SpecialAttack.ITEM) { if (player.getFamiliar().hasSpecialOn()) player.getFamiliar().submitSpecial(toSlot); } } return; } if (interfaceId == Inventory.INVENTORY_INTERFACE && interfaceId == interfaceId2 && !player.getInterfaceManager().containsInventoryInter()) { if (toSlot >= 28 || fromSlot >= 28) { return; } Item usedWith = player.getInventory().getItem(toSlot); Item itemUsed = player.getInventory().getItem(fromSlot); if (itemUsed == null || usedWith == null || itemUsed.getId() != itemUsedId || usedWith.getId() != itemUsedWithId) { return; } player.stopAll(); if (!player.getControlerManager().canUseItemOnItem(itemUsed, usedWith)) { return; } Fletch fletch = Fletching.isFletching(usedWith, itemUsed); if (fletch != null) { player.getDialogueManager().startDialogue("FletchingD", fletch); return; } if ((itemUsed.getId() == 985 && usedWith.getId() == 987)|| (itemUsed.getId() == 987 && usedWith.getId() == 985)){ if (player.getInventory().containsItem(985, 1) && player.getInventory().containsItem(987, 1)) { player.getInventory().deleteItem(985, 1); player.getInventory().deleteItem(987, 1); player.getInventory().addItem(989, 1); player.getPackets().sendGameMessage("You succesfully make a crytal key."); } else { player.getPackets().sendGameMessage("You need both parts to make this key."); } return; } int leatherIndex = LeatherCraftingD.getIndex(itemUsedId) == -1 ? LeatherCraftingD.getIndex(usedWith.getId()) : LeatherCraftingD.getIndex(itemUsedId); if (leatherIndex != -1 && ((itemUsedId == 1733 || usedWith.getId() == 1733) || LeatherCraftingD.isExtraItem(usedWith.getId()) || LeatherCraftingD.isExtraItem(itemUsedId))) { player.getDialogueManager().startDialogue("LeatherCraftingD", leatherIndex); return; } if (itemUsed.getId() == 187 || itemUsed.getId() == 5937 || itemUsed.getId() == 5940 || usedWith.getId() == 187 || usedWith.getId() == 5937 || usedWith.getId() == 5940) WeaponPoison.handleItemInteract(player, itemUsed, usedWith); if ((itemUsed.getId() >= 1617 && itemUsed.getId() <= 1624) && usedWith.getId() == 18338) { if (player.gembagspace < 100) { if (itemUsed.getId() == 1617) { player.diamonds++; player.getInventory().deleteItem(1617, 1); } else if (itemUsed.getId() == 1619) { player.rubies++; player.getInventory().deleteItem(1619, 1); } else if (itemUsed.getId() == 1621) { player.emeralds++; player.getInventory().deleteItem(1621, 1); } else if (itemUsed.getId() == 1623) { player.sapphires++; player.getInventory().deleteItem(1623, 1); } player.gembagspace++; } else { player.getPackets().sendGameMessage("Your gem bag is too full to carry anymore uncut gems."); } } if (itemUsed.getId() == 453 && usedWith.getId() == 18339) { if (player.coal < 27) { player.getInventory().deleteItem(453, 1); player.coal++; player.getPackets().sendGameMessage("You add a piece of coal to your coal bag."); } else { player.getPackets().sendGameMessage("Your coal bag is too full to carry anymore coal."); } } if ((itemUsed.getId() == 1785 && usedWith.getId() == 18330) || (itemUsed.getId() == 18330 && usedWith.getId() == 1785)) { player.getInventory().deleteItem(18330, 1); player.getInventory().deleteItem(851, 1); player.getInventory().addItem(18331, 1); player.getPackets().sendGameMessage("You attach the two pieces together to create a maple sheildbow (sighted)."); } if ((itemUsed.getId() == 851 && usedWith.getId() == 23193) || (itemUsed.getId() == 23193 && usedWith.getId() == 851)) { if (player.getSkills().getLevel(Skills.CRAFTING) >= 89) { player.getInventory().deleteItem(23193, 1); player.getInventory().addItem(23191, 1); player.getSkills().addXp(Skills.CRAFTING, 40); player.setNextAnimation(new Animation(884)); player.getPackets().sendGameMessage("You succesfully create an empty potion flask."); } else { player.getPackets().sendGameMessage("You need a crafting level of atleast 89 to create a potion flask."); } } /** * Flask Making */ // Attack (4) if (usedWith.getId() == 121 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(121, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(121, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23201, 1); } } // Attack (3) if (usedWith.getId() == 121 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(121, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(121, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23201, 1); } } // Attack (2) if (usedWith.getId() == 123 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(123, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(123, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23203, 1); } } // Attack (1) if (usedWith.getId() == 125 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(125, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(125, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23205, 1); } } // Super Attack (1) into Super Attack Flask (5) if (usedWith.getId() == 149 || usedWith.getId() == 23257) { if (player.getInventory().containsItem(149, 1) && player.getInventory().containsItem(23257, 1)) { player.getInventory().deleteItem(149, 1); player.getInventory().deleteItem(23257, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (1) into Super Attack Flask (4) if (usedWith.getId() == 149 || usedWith.getId() == 23259) { if (player.getInventory().containsItem(149, 1) && player.getInventory().containsItem(23259, 1)) { player.getInventory().deleteItem(149, 1); player.getInventory().deleteItem(23259, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23257, 1); } } // Super Attack (1) into Super Attack Flask (3) if (usedWith.getId() == 149 || usedWith.getId() == 23261) { if (player.getInventory().containsItem(149, 1) && player.getInventory().containsItem(23261, 1)) { player.getInventory().deleteItem(149, 1); player.getInventory().deleteItem(23261, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23259, 1); } } // Super Attack (1) into Super Attack Flask (2) if (usedWith.getId() == 149 || usedWith.getId() == 23263) { if (player.getInventory().containsItem(149, 1) && player.getInventory().containsItem(23263, 1)) { player.getInventory().deleteItem(149, 1); player.getInventory().deleteItem(23263, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23261, 1); } } // Super Attack (1) into Super Attack Flask (1) if (usedWith.getId() == 149 || usedWith.getId() == 23265) { if (player.getInventory().containsItem(149, 1) && player.getInventory().containsItem(23265, 1)) { player.getInventory().deleteItem(149, 1); player.getInventory().deleteItem(23265, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23263, 1); } } // Super Attack (2) into Super Attack Flask (5) if (usedWith.getId() == 147 || usedWith.getId() == 23257) { if (player.getInventory().containsItem(147, 1) && player.getInventory().containsItem(23257, 1)) { player.getInventory().deleteItem(147, 1); player.getInventory().deleteItem(23257, 1); player.getInventory().addItem(149, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (2) into Super Attack Flask (4) if (usedWith.getId() == 147 || usedWith.getId() == 23259) { if (player.getInventory().containsItem(147, 1) && player.getInventory().containsItem(23259, 1)) { player.getInventory().deleteItem(147, 1); player.getInventory().deleteItem(23259, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (2) into Super Attack Flask (3) if (usedWith.getId() == 147 || usedWith.getId() == 23261) { if (player.getInventory().containsItem(147, 1) && player.getInventory().containsItem(23261, 1)) { player.getInventory().deleteItem(147, 1); player.getInventory().deleteItem(23261, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23257, 1); } } // Super Attack (2) into Super Attack Flask (2) if (usedWith.getId() == 147 || usedWith.getId() == 23263) { if (player.getInventory().containsItem(147, 1) && player.getInventory().containsItem(23263, 1)) { player.getInventory().deleteItem(147, 1); player.getInventory().deleteItem(23263, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23259, 1); } } // Super Attack (2) into Super Attack Flask (1) if (usedWith.getId() == 147 || usedWith.getId() == 23265) { if (player.getInventory().containsItem(147, 1) && player.getInventory().containsItem(23265, 1)) { player.getInventory().deleteItem(147, 1); player.getInventory().deleteItem(23265, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23261, 1); } } // Super Attack (3) into Super Attack Flask (5) if (usedWith.getId() == 145 || usedWith.getId() == 23257) { if (player.getInventory().containsItem(145, 1) && player.getInventory().containsItem(23257, 1)) { player.getInventory().deleteItem(145, 1); player.getInventory().deleteItem(23257, 1); player.getInventory().addItem(147, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (3) into Super Attack Flask (4) if (usedWith.getId() == 145 || usedWith.getId() == 23259) { if (player.getInventory().containsItem(145, 1) && player.getInventory().containsItem(23259, 1)) { player.getInventory().deleteItem(145, 1); player.getInventory().deleteItem(23259, 1); player.getInventory().addItem(149, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (3) into Super Attack Flask (3) if (usedWith.getId() == 145 || usedWith.getId() == 23261) { if (player.getInventory().containsItem(145, 1) && player.getInventory().containsItem(23261, 1)) { player.getInventory().deleteItem(145, 1); player.getInventory().deleteItem(23261, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (3) into Super Attack Flask (2) if (usedWith.getId() == 145 || usedWith.getId() == 23263) { if (player.getInventory().containsItem(145, 1) && player.getInventory().containsItem(23263, 1)) { player.getInventory().deleteItem(145, 1); player.getInventory().deleteItem(23263, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23257, 1); } } // Super Attack (3) into Super Attack Flask (1) if (usedWith.getId() == 145 || usedWith.getId() == 23265) { if (player.getInventory().containsItem(145, 1) && player.getInventory().containsItem(23265, 1)) { player.getInventory().deleteItem(145, 1); player.getInventory().deleteItem(23265, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23259, 1); } } // Super Attack (4) into Super Attack Flask (5) if (usedWith.getId() == 2436 || usedWith.getId() == 23257) { if (player.getInventory().containsItem(2436, 1) && player.getInventory().containsItem(23257, 1)) { player.getInventory().deleteItem(2436, 1); player.getInventory().deleteItem(23257, 1); player.getInventory().addItem(145, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (4) into Super Attack Flask (4) if (usedWith.getId() == 2436 || usedWith.getId() == 23259) { if (player.getInventory().containsItem(2436, 1) && player.getInventory().containsItem(23259, 1)) { player.getInventory().deleteItem(2436, 1); player.getInventory().deleteItem(23259, 1); player.getInventory().addItem(147, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (4) into Super Attack Flask (3) if (usedWith.getId() == 2436 || usedWith.getId() == 23261) { if (player.getInventory().containsItem(2436, 1) && player.getInventory().containsItem(23261, 1)) { player.getInventory().deleteItem(2436, 1); player.getInventory().deleteItem(23261, 1); player.getInventory().addItem(149, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (4) into Super Attack Flask (2) if (usedWith.getId() == 2436 || usedWith.getId() == 23263) { if (player.getInventory().containsItem(2436, 1) && player.getInventory().containsItem(23263, 1)) { player.getInventory().deleteItem(2436, 1); player.getInventory().deleteItem(23263, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23255, 1); } } // Super Attack (4) into Super Attack Flask (1) if (usedWith.getId() == 2436 || usedWith.getId() == 23265) { if (player.getInventory().containsItem(2436, 1) && player.getInventory().containsItem(23265, 1)) { player.getInventory().deleteItem(2436, 1); player.getInventory().deleteItem(23265, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23257, 1); } } // Super Attack (4) into Empty Flask if (usedWith.getId() == 2436 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(2436, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(2436, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23259, 1); } } // Super Attack (3) into Empty Flask if (usedWith.getId() == 145 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(145, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(145, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23261, 1); } } // Super Attack (2) into Empty Flask if (usedWith.getId() == 147 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(147, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(147, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23263, 1); } } // Super Attack (1) into Empty Flask if (usedWith.getId() == 149 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(149, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(149, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23265, 1); } } // Super Strength (1) into Super Strength Flask (5) if (usedWith.getId() == 161 || usedWith.getId() == 23281) { if (player.getInventory().containsItem(161, 1) && player.getInventory().containsItem(23281, 1)) { player.getInventory().deleteItem(161, 1); player.getInventory().deleteItem(23281, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (1) into Super Strength Flask (4) if (usedWith.getId() == 161 || usedWith.getId() == 23283) { if (player.getInventory().containsItem(161, 1) && player.getInventory().containsItem(23283, 1)) { player.getInventory().deleteItem(161, 1); player.getInventory().deleteItem(23283, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23281, 1); } } // Super Strength (1) into Super Strength Flask (3) if (usedWith.getId() == 161 || usedWith.getId() == 23285) { if (player.getInventory().containsItem(161, 1) && player.getInventory().containsItem(23285, 1)) { player.getInventory().deleteItem(161, 1); player.getInventory().deleteItem(23285, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23283, 1); } } // Super Strength (1) into Super Strength Flask (2) if (usedWith.getId() == 161 || usedWith.getId() == 23287) { if (player.getInventory().containsItem(161, 1) && player.getInventory().containsItem(23287, 1)) { player.getInventory().deleteItem(161, 1); player.getInventory().deleteItem(23287, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23285, 1); } } // Super Strength (1) into Super Strength Flask (1) if (usedWith.getId() == 161 || usedWith.getId() == 23289) { if (player.getInventory().containsItem(161, 1) && player.getInventory().containsItem(23289, 1)) { player.getInventory().deleteItem(161, 1); player.getInventory().deleteItem(23289, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23287, 1); } } // Super Strength (2) into Super Strength Flask (5) if (usedWith.getId() == 159 || usedWith.getId() == 23281) { if (player.getInventory().containsItem(159, 1) && player.getInventory().containsItem(23281, 1)) { player.getInventory().deleteItem(159, 1); player.getInventory().deleteItem(23281, 1); player.getInventory().addItem(161, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (2) into Super Strength Flask (4) if (usedWith.getId() == 159 || usedWith.getId() == 23283) { if (player.getInventory().containsItem(159, 1) && player.getInventory().containsItem(23283, 1)) { player.getInventory().deleteItem(159, 1); player.getInventory().deleteItem(23283, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (2) into Super Strength Flask (3) if (usedWith.getId() == 159 || usedWith.getId() == 23285) { if (player.getInventory().containsItem(159, 1) && player.getInventory().containsItem(23285, 1)) { player.getInventory().deleteItem(159, 1); player.getInventory().deleteItem(23285, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23281, 1); } } // Super Strength (2) into Super Strength Flask (2) if (usedWith.getId() == 159 || usedWith.getId() == 23287) { if (player.getInventory().containsItem(159, 1) && player.getInventory().containsItem(23287, 1)) { player.getInventory().deleteItem(159, 1); player.getInventory().deleteItem(23287, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23283, 1); } } // Super Strength (2) into Super Strength Flask (1) if (usedWith.getId() == 159 || usedWith.getId() == 23289) { if (player.getInventory().containsItem(159, 1) && player.getInventory().containsItem(23289, 1)) { player.getInventory().deleteItem(159, 1); player.getInventory().deleteItem(23289, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23285, 1); } } // Super Strength (3) into Super Strength Flask (5) if (usedWith.getId() == 157 || usedWith.getId() == 23281) { if (player.getInventory().containsItem(157, 1) && player.getInventory().containsItem(23281, 1)) { player.getInventory().deleteItem(157, 1); player.getInventory().deleteItem(23281, 1); player.getInventory().addItem(159, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (3) into Super Strength Flask (4) if (usedWith.getId() == 157 || usedWith.getId() == 23283) { if (player.getInventory().containsItem(157, 1) && player.getInventory().containsItem(23283, 1)) { player.getInventory().deleteItem(157, 1); player.getInventory().deleteItem(23283, 1); player.getInventory().addItem(161, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (3) into Super Strength Flask (3) if (usedWith.getId() == 157 || usedWith.getId() == 23285) { if (player.getInventory().containsItem(157, 1) && player.getInventory().containsItem(23285, 1)) { player.getInventory().deleteItem(157, 1); player.getInventory().deleteItem(23285, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (3) into Super Strength Flask (2) if (usedWith.getId() == 157 || usedWith.getId() == 23287) { if (player.getInventory().containsItem(157, 1) && player.getInventory().containsItem(23287, 1)) { player.getInventory().deleteItem(157, 1); player.getInventory().deleteItem(23287, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23281, 1); } } // Super Strength (3) into Super Strength Flask (1) if (usedWith.getId() == 157 || usedWith.getId() == 23289) { if (player.getInventory().containsItem(157, 1) && player.getInventory().containsItem(23289, 1)) { player.getInventory().deleteItem(157, 1); player.getInventory().deleteItem(23289, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23283, 1); } } // Super Strength (4) into Super Strength Flask (5) if (usedWith.getId() == 2440 || usedWith.getId() == 23281) { if (player.getInventory().containsItem(2440, 1) && player.getInventory().containsItem(23281, 1)) { player.getInventory().deleteItem(2440, 1); player.getInventory().deleteItem(23281, 1); player.getInventory().addItem(157, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (4) into Super Strength Flask (4) if (usedWith.getId() == 2440 || usedWith.getId() == 23283) { if (player.getInventory().containsItem(2440, 1) && player.getInventory().containsItem(23283, 1)) { player.getInventory().deleteItem(2440, 1); player.getInventory().deleteItem(23283, 1); player.getInventory().addItem(159, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (4) into Super Strength Flask (3) if (usedWith.getId() == 2440 || usedWith.getId() == 23285) { if (player.getInventory().containsItem(2440, 1) && player.getInventory().containsItem(23285, 1)) { player.getInventory().deleteItem(2440, 1); player.getInventory().deleteItem(23285, 1); player.getInventory().addItem(161, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (4) into Super Strength Flask (2) if (usedWith.getId() == 2440 || usedWith.getId() == 23287) { if (player.getInventory().containsItem(2440, 1) && player.getInventory().containsItem(23287, 1)) { player.getInventory().deleteItem(2440, 1); player.getInventory().deleteItem(23287, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23279, 1); } } // Super Strength (4) into Super Strength Flask (1) if (usedWith.getId() == 2440 || usedWith.getId() == 23289) { if (player.getInventory().containsItem(2440, 1) && player.getInventory().containsItem(23289, 1)) { player.getInventory().deleteItem(2440, 1); player.getInventory().deleteItem(23289, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23281, 1); } } // Super Strength (4) into Empty Flask if (usedWith.getId() == 2440 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(2440, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(2440, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23283, 1); } } // Super Strength (3) into Empty Flask if (usedWith.getId() == 157 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(157, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(157, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23285, 1); } } // Super Strength (2) into Empty Flask if (usedWith.getId() == 159 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(159, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(159, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23287, 1); } } // Super Strength (1) into Empty Flask if (usedWith.getId() == 161 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(161, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(161, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23289, 1); } } // Super Defence (1) into Super Defence Flask (5) if (usedWith.getId() == 167 || usedWith.getId() == 23293) { if (player.getInventory().containsItem(167, 1) && player.getInventory().containsItem(23293, 1)) { player.getInventory().deleteItem(167, 1); player.getInventory().deleteItem(23293, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (1) into Super Defence Flask (4) if (usedWith.getId() == 167 || usedWith.getId() == 23295) { if (player.getInventory().containsItem(167, 1) && player.getInventory().containsItem(23295, 1)) { player.getInventory().deleteItem(167, 1); player.getInventory().deleteItem(23295, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23293, 1); } } // Super Defence (1) into Super Defence Flask (3) if (usedWith.getId() == 167 || usedWith.getId() == 23297) { if (player.getInventory().containsItem(167, 1) && player.getInventory().containsItem(23297, 1)) { player.getInventory().deleteItem(167, 1); player.getInventory().deleteItem(23297, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23295, 1); } } // Super Defence (1) into Super Defence Flask (2) if (usedWith.getId() == 167 || usedWith.getId() == 23299) { if (player.getInventory().containsItem(167, 1) && player.getInventory().containsItem(23299, 1)) { player.getInventory().deleteItem(167, 1); player.getInventory().deleteItem(23299, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23297, 1); } } // Super Defence (1) into Super Defence Flask (1) if (usedWith.getId() == 167 || usedWith.getId() == 23301) { if (player.getInventory().containsItem(167, 1) && player.getInventory().containsItem(23301, 1)) { player.getInventory().deleteItem(167, 1); player.getInventory().deleteItem(23301, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23299, 1); } } // Super Defence (2) into Super Defence Flask (5) if (usedWith.getId() == 165 || usedWith.getId() == 23293) { if (player.getInventory().containsItem(165, 1) && player.getInventory().containsItem(23293, 1)) { player.getInventory().deleteItem(165, 1); player.getInventory().deleteItem(23293, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (2) into Super Defence Flask (4) if (usedWith.getId() == 165 || usedWith.getId() == 23295) { if (player.getInventory().containsItem(165, 1) && player.getInventory().containsItem(23295, 1)) { player.getInventory().deleteItem(165, 1); player.getInventory().deleteItem(23295, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (2) into Super Defence Flask (3) if (usedWith.getId() == 165 || usedWith.getId() == 23297) { if (player.getInventory().containsItem(165, 1) && player.getInventory().containsItem(23297, 1)) { player.getInventory().deleteItem(165, 1); player.getInventory().deleteItem(23297, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23293, 1); } } // Super Defence (2) into Super Defence Flask (2) if (usedWith.getId() == 165 || usedWith.getId() == 23299) { if (player.getInventory().containsItem(165, 1) && player.getInventory().containsItem(23299, 1)) { player.getInventory().deleteItem(165, 1); player.getInventory().deleteItem(23299, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23295, 1); } } // Super Defence (2) into Super Defence Flask (1) if (usedWith.getId() == 165 || usedWith.getId() == 23301) { if (player.getInventory().containsItem(165, 1) && player.getInventory().containsItem(23301, 1)) { player.getInventory().deleteItem(165, 1); player.getInventory().deleteItem(23301, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23297, 1); } } // Super Defence (3) into Super Defence Flask (5) if (usedWith.getId() == 163 || usedWith.getId() == 23293) { if (player.getInventory().containsItem(163, 1) && player.getInventory().containsItem(23293, 1)) { player.getInventory().deleteItem(163, 1); player.getInventory().deleteItem(23293, 1); player.getInventory().addItem(165, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (3) into Super Defence Flask (4) if (usedWith.getId() == 163 || usedWith.getId() == 23295) { if (player.getInventory().containsItem(163, 1) && player.getInventory().containsItem(23295, 1)) { player.getInventory().deleteItem(163, 1); player.getInventory().deleteItem(23295, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (3) into Super Defence Flask (3) if (usedWith.getId() == 163 || usedWith.getId() == 23297) { if (player.getInventory().containsItem(163, 1) && player.getInventory().containsItem(23297, 1)) { player.getInventory().deleteItem(163, 1); player.getInventory().deleteItem(23297, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (3) into Super Defence Flask (2) if (usedWith.getId() == 163 || usedWith.getId() == 23299) { if (player.getInventory().containsItem(163, 1) && player.getInventory().containsItem(23299, 1)) { player.getInventory().deleteItem(163, 1); player.getInventory().deleteItem(23299, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23293, 1); } } // Super Defence (3) into Super Defence Flask (1) if (usedWith.getId() == 163 || usedWith.getId() == 23301) { if (player.getInventory().containsItem(163, 1) && player.getInventory().containsItem(23301, 1)) { player.getInventory().deleteItem(163, 1); player.getInventory().deleteItem(23301, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23295, 1); } } // Super Defence (4) into Super Defence Flask (5) if (usedWith.getId() == 2442 || usedWith.getId() == 23293) { if (player.getInventory().containsItem(2442, 1) && player.getInventory().containsItem(23293, 1)) { player.getInventory().deleteItem(2442, 1); player.getInventory().deleteItem(23293, 1); player.getInventory().addItem(163, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (4) into Super Defence Flask (4) if (usedWith.getId() == 2442 || usedWith.getId() == 23295) { if (player.getInventory().containsItem(2442, 1) && player.getInventory().containsItem(23295, 1)) { player.getInventory().deleteItem(2442, 1); player.getInventory().deleteItem(23295, 1); player.getInventory().addItem(165, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (4) into Super Defence Flask (3) if (usedWith.getId() == 2442 || usedWith.getId() == 23297) { if (player.getInventory().containsItem(2442, 1) && player.getInventory().containsItem(23297, 1)) { player.getInventory().deleteItem(2442, 1); player.getInventory().deleteItem(23297, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (4) into Super Defence Flask (2) if (usedWith.getId() == 2442 || usedWith.getId() == 23299) { if (player.getInventory().containsItem(2442, 1) && player.getInventory().containsItem(23299, 1)) { player.getInventory().deleteItem(2442, 1); player.getInventory().deleteItem(23299, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23291, 1); } } // Super Defence (4) into Super Defence Flask (1) if (usedWith.getId() == 2442 || usedWith.getId() == 23301) { if (player.getInventory().containsItem(2442, 1) && player.getInventory().containsItem(23301, 1)) { player.getInventory().deleteItem(2442, 1); player.getInventory().deleteItem(23301, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23293, 1); } } // Super Defence (4) if (usedWith.getId() == 2442 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(2442, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(2442, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23295, 1); } } // Super Defence (3) if (usedWith.getId() == 163 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(163, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(163, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23297, 1); } } // Super Defence (2) if (usedWith.getId() == 165 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(165, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(165, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23299, 1); } } // Super Defence (1) if (usedWith.getId() == 167 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(167, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(167, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23301, 1); } } /** * Overloads */ // Overload (1) into Overload Flask (5) if (usedWith.getId() == 15335 || usedWith.getId() == 23532) { if (player.getInventory().containsItem(15335, 1) && player.getInventory().containsItem(26751, 1)) { player.getInventory().deleteItem(15335, 1); player.getInventory().deleteItem(23532, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (1) into Overload Flask (4) if (usedWith.getId() == 15335 || usedWith.getId() == 23533) { if (player.getInventory().containsItem(15335, 1) && player.getInventory().containsItem(23533, 1)) { player.getInventory().deleteItem(15335, 1); player.getInventory().deleteItem(23533, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23532, 1); // id for (5) } } // Overload (1) into Overload Flask (3) if (usedWith.getId() == 15335 || usedWith.getId() == 23534) { if (player.getInventory().containsItem(15335, 1) && player.getInventory().containsItem(23534, 1)) { player.getInventory().deleteItem(15335, 1); player.getInventory().deleteItem(23534, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23533, 1); // id for (4) } } // Overload (1) into Overload Flask (2) if (usedWith.getId() == 15335 || usedWith.getId() == 23535) { if (player.getInventory().containsItem(15335, 1) && player.getInventory().containsItem(23535, 1)) { player.getInventory().deleteItem(15335, 1); player.getInventory().deleteItem(23535, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23534, 1); // id for (3) } } // Overload (1) into Overload Flask (1) if (usedWith.getId() == 15335 || usedWith.getId() == 23536) { if (player.getInventory().containsItem(15335, 1) && player.getInventory().containsItem(23536, 1)) { player.getInventory().deleteItem(15335, 1); player.getInventory().deleteItem(23536, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23535, 1); // id for (2) } } // Overload (2) into Overload Flask (5) if (usedWith.getId() == 15334 || usedWith.getId() == 23532) { if (player.getInventory().containsItem(15334, 1) && player.getInventory().containsItem(23532, 1)) { player.getInventory().deleteItem(15334, 1); player.getInventory().deleteItem(23532, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (2) into Overload Flask (4) if (usedWith.getId() == 15334 || usedWith.getId() == 23533) { if (player.getInventory().containsItem(15334, 1) && player.getInventory().containsItem(23533, 1)) { player.getInventory().deleteItem(15334, 1); player.getInventory().deleteItem(23533, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (2) into Overload Flask (3) if (usedWith.getId() == 15334 || usedWith.getId() == 23534) { if (player.getInventory().containsItem(15334, 1) && player.getInventory().containsItem(23534, 1)) { player.getInventory().deleteItem(15334, 1); player.getInventory().deleteItem(23534, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23532, 1); // id for (5) } } // Overload (2) into Overload Flask (2) if (usedWith.getId() == 15334 || usedWith.getId() == 23535) { if (player.getInventory().containsItem(15334, 1) && player.getInventory().containsItem(23535, 1)) { player.getInventory().deleteItem(15334, 1); player.getInventory().deleteItem(23535, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23533, 1); // id for (4) } } // Overload (2) into Overload Flask (1) if (usedWith.getId() == 15334 || usedWith.getId() == 23536) { if (player.getInventory().containsItem(15334, 1) && player.getInventory().containsItem(23536, 1)) { player.getInventory().deleteItem(15334, 1); player.getInventory().deleteItem(23536, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23534, 1); // id for (3) } } // Overload (3) into Overload Flask (5) if (usedWith.getId() == 15333 || usedWith.getId() == 23532) { if (player.getInventory().containsItem(15333, 1) && player.getInventory().containsItem(23532, 1)) { player.getInventory().deleteItem(15333, 1); player.getInventory().deleteItem(23532, 1); player.getInventory().addItem(15333, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (3) into Overload Flask (4) if (usedWith.getId() == 15333 || usedWith.getId() == 23533) { if (player.getInventory().containsItem(15333, 1) && player.getInventory().containsItem(23533, 1)) { player.getInventory().deleteItem(15333, 1); player.getInventory().deleteItem(23533, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (3) into Overload Flask (3) if (usedWith.getId() == 15333 || usedWith.getId() == 23534) { if (player.getInventory().containsItem(15333, 1) && player.getInventory().containsItem(23534, 1)) { player.getInventory().deleteItem(15333, 1); player.getInventory().deleteItem(23534, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (3) into Overload Flask (2) if (usedWith.getId() == 15333 || usedWith.getId() == 23535) { if (player.getInventory().containsItem(15333, 1) && player.getInventory().containsItem(23535, 1)) { player.getInventory().deleteItem(15333, 1); player.getInventory().deleteItem(23535, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23532, 1); // id for (5) } } // Overload (3) into Overload Flask (1) if (usedWith.getId() == 15333 || usedWith.getId() == 23536) { if (player.getInventory().containsItem(15333, 1) && player.getInventory().containsItem(23536, 1)) { player.getInventory().deleteItem(15333, 1); player.getInventory().deleteItem(23536, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23533, 1); // id for (4) } } // Overload (4) into Overload Flask (5) if (usedWith.getId() == 15332 || usedWith.getId() == 23532) { if (player.getInventory().containsItem(15332, 1) && player.getInventory().containsItem(23532, 1)) { player.getInventory().deleteItem(15332, 1); player.getInventory().deleteItem(23532, 1); player.getInventory().addItem(163, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (4) into Overload Flask (4) if (usedWith.getId() == 15332 || usedWith.getId() == 23533) { if (player.getInventory().containsItem(15332, 1) && player.getInventory().containsItem(23533, 1)) { player.getInventory().deleteItem(15332, 1); player.getInventory().deleteItem(23533, 1); player.getInventory().addItem(165, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (4) into Overload Flask (3) if (usedWith.getId() == 15332 || usedWith.getId() == 23534) { if (player.getInventory().containsItem(15332, 1) && player.getInventory().containsItem(23534, 1)) { player.getInventory().deleteItem(15332, 1); player.getInventory().deleteItem(23534, 1); player.getInventory().addItem(167, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (4) into Overload Flask (2) if (usedWith.getId() == 15332 || usedWith.getId() == 23535) { if (player.getInventory().containsItem(15332, 1) && player.getInventory().containsItem(23535, 1)) { player.getInventory().deleteItem(15332, 1); player.getInventory().deleteItem(23535, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23531, 1); // id for (6) } } // Overload (4) into Overload Flask (1) if (usedWith.getId() == 15332 || usedWith.getId() == 23536) { if (player.getInventory().containsItem(15332, 1) && player.getInventory().containsItem(23536, 1)) { player.getInventory().deleteItem(15332, 1); player.getInventory().deleteItem(23536, 1); player.getInventory().addItem(229, 1); player.getInventory().addItem(23532, 1); // id for (5) } } // Overload (1) if (usedWith.getId() == 15335 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(15335, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(15335, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23536, 1); } } // Overload (2) if (usedWith.getId() == 15334 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(15334, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(15334, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23535, 1); } } // Overload (3) if (usedWith.getId() == 15333 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(15333, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(15333, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23534, 1); } } // Overload (4) if (usedWith.getId() == 15332 || usedWith.getId() == 23191) { if (player.getInventory().containsItem(15332, 1) && player.getInventory().containsItem(23191, 1)) { player.getInventory().deleteItem(15332, 1); player.getInventory().deleteItem(23191, 1); player.getInventory().addItem(23533, 1); } } //Dragon Sq shield if (itemUsed.getId() == 2368 || usedWith.getId() == 2366) { if (player.getInventory().containsItem(2366, 1) && player.getInventory().containsItem(2368, 1)) { player.getInventory().deleteItem(2366, 1); player.getInventory().deleteItem(2368, 1); player.getInventory().addItem(1187, 1); player.getPackets().sendGameMessage("You create a Dragon sq shield."); } } if (itemUsed.getId() == 2366 || usedWith.getId() == 2368) { if (player.getInventory().containsItem(2366, 1) && player.getInventory().containsItem(2368, 1)) { player.getInventory().deleteItem(2366, 1); player.getInventory().deleteItem(2368, 1); player.getInventory().addItem(1187, 1); player.getPackets().sendGameMessage("You create a Dragon sq shield."); } } //doogle sardine if (itemUsed.getId() == 327 || usedWith.getId() == 1573) { if (player.getInventory().containsItem(1573, 1) && player.getInventory().containsItem(327, 1)) { player.getInventory().deleteItem(1573, 1); player.getInventory().deleteItem(327, 1); player.getInventory().addItem(1552, 1); player.getPackets().sendGameMessage("You wrap the sardine in the doogle leaf."); } } if (itemUsed.getId() == 1573 || usedWith.getId() == 327) { if (player.getInventory().containsItem(1573, 1) && player.getInventory().containsItem(327, 1)) { player.getInventory().deleteItem(1573, 1); player.getInventory().deleteItem(327, 1); player.getInventory().addItem(1552, 1); player.getPackets().sendGameMessage("You wrap the sardine in the doogle leaf."); } } // //Dragonfire shield if (itemUsed.getId() == 11286 || usedWith.getId() == 1540) { if (player.getInventory().containsItem(11286, 1) && player.getInventory().containsItem(1540, 1)) { player.getInventory().deleteItem(11286, 1); player.getInventory().deleteItem(1540, 1); player.getInventory().addItem(11283, 1); player.getPackets().sendGameMessage("You create a Dragonfire Shield!"); } } if (itemUsed.getId() == 1540 || usedWith.getId() == 11286) { if (player.getInventory().containsItem(11286, 1) && player.getInventory().containsItem(1540, 1)) { player.getInventory().deleteItem(11286, 1); player.getInventory().deleteItem(1540, 1); player.getInventory().addItem(11283, 1); player.getPackets().sendGameMessage("You create a Dragonfire Shield!"); } } //Fire Arrows if (itemUsed.getId() == 1485 || usedWith.getId() == 882) { if (player.getInventory().containsItem(1485, 1) && player.getInventory().containsItem(882, 1)) { player.getInventory().deleteItem(1485, 1); player.getInventory().deleteItem(882, 1); player.getInventory().addItem(942, 1); player.getPackets().sendGameMessage("You create a bronze fire arrow."); } } if (itemUsed.getId() == 882 || usedWith.getId() == 1485) { if (player.getInventory().containsItem(1485, 1) && player.getInventory().containsItem(882, 1)) { player.getInventory().deleteItem(1485, 1); player.getInventory().deleteItem(882, 1); player.getInventory().addItem(942, 1); player.getPackets().sendGameMessage("You create a bronze fire arrow."); } } //Roe if (itemUsed.getId() == 946 || usedWith.getId() == 11328) { if (player.getInventory().containsItem(946, 1) && player.getInventory().containsItem(11328, 1)) { player.getInventory().deleteItem(11328, 1); player.getInventory().addItem(11324, 1); } } if (itemUsed.getId() == 11328 || usedWith.getId() == 946) { if (player.getInventory().containsItem(946, 1) && player.getInventory().containsItem(11328, 1)) { player.getInventory().deleteItem(11328, 1); player.getInventory().addItem(11324, 1); } } if (itemUsed.getId() == 946 || usedWith.getId() == 11330) { if (player.getInventory().containsItem(946, 1) && player.getInventory().containsItem(11330, 1)) { player.getInventory().deleteItem(11330, 1); player.getInventory().addItem(11324, 1); } } if (itemUsed.getId() == 11330 || usedWith.getId() == 946) { if (player.getInventory().containsItem(946, 1) && player.getInventory().containsItem(11330, 1)) { player.getInventory().deleteItem(11330, 1); player.getInventory().addItem(11324, 1); } } if (contains(272, 273, itemUsed, usedWith) || (contains(273, 272, itemUsed, usedWith))) { player.getInventory().deleteItem(272, 1); player.getInventory().deleteItem(273, 1); player.getInventory().addItem(274, 1); } if (itemUsed.getId() == 946 || usedWith.getId() == 11332) { if (player.getInventory().containsItem(946, 1) && player.getInventory().containsItem(11332, 1)) { player.getInventory().deleteItem(11332, 1); player.getInventory().addItem(11324, 1); } } if (itemUsed.getId() == 11332 || usedWith.getId() == 946) { if (player.getInventory().containsItem(946, 1) && player.getInventory().containsItem(11332, 1)) { player.getInventory().deleteItem(11332, 1); player.getInventory().addItem(11324, 1); } } //SS Godswords if (itemUsed.getId() == 11690 || usedWith.getId() == 13746) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(13746, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(13746, 1); player.getInventory().addItem(29961, 1); player.getPackets().sendGameMessage("You attach the sigil to the blade and create an Arcane godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 13748) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(13748, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(13748, 1); player.getInventory().addItem(29960, 1); player.getPackets().sendGameMessage("You attach the sigil to the blade and create a Divine godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 13750) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(13750, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(13750, 1); player.getInventory().addItem(29959, 1); player.getPackets().sendGameMessage("You attach the sigil to the blade and create an Elysian godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 13752) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(13752, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(13752, 1); player.getInventory().addItem(29958, 1); player.getPackets().sendGameMessage("You attach the sigil to the blade and create a Spectral godsword."); } } //Godswords if (itemUsed.getId() == 11710 || usedWith.getId() == 11712 || usedWith.getId() == 11714) { if (player.getInventory().containsItem(11710, 1) && player.getInventory().containsItem(11712, 1) && player.getInventory().containsItem(11714, 1)) { player.getInventory().deleteItem(11710, 1); player.getInventory().deleteItem(11712, 1); player.getInventory().deleteItem(11714, 1); player.getInventory().addItem(11690, 1); player.getPackets().sendGameMessage("You made a godsword blade."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11702) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11702, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11702, 1); player.getInventory().addItem(11694, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Armadyl godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11704) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11704, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11704, 1); player.getInventory().addItem(11696, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Bandos godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11706) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11706, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11706, 1); player.getInventory().addItem(11698, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Saradomin godsword."); } } if (itemUsed.getId() == 11690 || usedWith.getId() == 11708) { if (player.getInventory().containsItem(11690, 1) && player.getInventory().containsItem(11708, 1)) { player.getInventory().deleteItem(11690, 1); player.getInventory().deleteItem(11708, 1); player.getInventory().addItem(11700, 1); player.getPackets().sendGameMessage("You attach the hilt to the blade and make an Zamorak godsword."); } } //Polypore staff if (itemUsed.getId() == 22498 || usedWith.getId() == 22448 || usedWith.getId() == 554) { if (player.getInventory().containsItem(22498, 1) && player.getInventory().containsItem(22448, 3000) && player.getInventory().containsItem(554, 15000) && (player.getSkills().getLevel(Skills.FARMING) > 79)) { player.getInventory().deleteItem(22498, 1); player.getInventory().deleteItem(22448, 3000); player.getInventory().deleteItem(554, 15000); player.getInventory().addItem(22494, 1); player.getPackets().sendGameMessage("You craft a Polypore Staff."); } else { player.getDialogueManager().startDialogue("SimpleMessage","You must have 80 farming, 15k fire runes, 3k polypore spore and 1 polypore stick to make this."); return; } } if (itemUsed.getId() == 22448|| usedWith.getId() == 22498 || usedWith.getId() == 554) { if (player.getInventory().containsItem(22498, 1) && player.getInventory().containsItem(22448, 3000) && player.getInventory().containsItem(554, 15000) && (player.getSkills().getLevel(Skills.FARMING) > 79)) { player.getInventory().deleteItem(22498, 1); player.getInventory().deleteItem(22448, 3000); player.getInventory().deleteItem(554, 15000); player.getInventory().addItem(22494, 1); player.getPackets().sendGameMessage("You craft a Polypore Staff."); } else { player.getDialogueManager().startDialogue("SimpleMessage","You must have 80 farming, 15k fire runes, 3k polypore spore and 1 polypore stick to make this."); return; } } //Ganodermic robes if (itemUsed.getId() == 22451 && usedWith.getId() == 22452) {//Visor player.getDialogueManager().startDialogue("PolyVisor"); } if (itemUsed.getId() == 22451 && usedWith.getId() == 22454) {//Leggings player.getDialogueManager().startDialogue("PolyLeggings"); } if (itemUsed.getId() == 22451 && usedWith.getId() == 22456) {//poncho player.getDialogueManager().startDialogue("PolyPoncho"); } //Grifolic Robes if (itemUsed.getId() == 22450 && usedWith.getId() == 22452) {//Visor player.getDialogueManager().startDialogue("PolyVisor"); } if (itemUsed.getId() == 22450 && usedWith.getId() == 22454) {//Leggings player.getDialogueManager().startDialogue("PolyLeggings"); } if (itemUsed.getId() == 22450 && usedWith.getId() == 22456) {//poncho player.getDialogueManager().startDialogue("PolyPoncho"); } //Fungal Robes if (itemUsed.getId() == 22449 && usedWith.getId() == 22452) {//Visor player.getDialogueManager().startDialogue("PolyVisor"); } if (itemUsed.getId() == 22449 && usedWith.getId() == 22454) {//Leggings player.getDialogueManager().startDialogue("PolyLeggings"); } if (itemUsed.getId() == 22449 && usedWith.getId() == 22456) {//poncho player.getDialogueManager().startDialogue("PolyPoncho"); } int herblore = Herblore.isHerbloreSkill(itemUsed, usedWith); if (herblore > -1) { player.getDialogueManager().startDialogue("HerbloreD", herblore, itemUsed, usedWith); return; } if (itemUsed.getId() == LeatherCrafting.NEEDLE.getId() || usedWith.getId() == LeatherCrafting.NEEDLE.getId()) { if (LeatherCrafting .handleItemOnItem(player, itemUsed, usedWith)) { return; } } Sets set = ArmourSets.getArmourSet(itemUsedId, itemUsedWithId); if (set != null) { ArmourSets.exchangeSets(player, set); return; } if (Firemaking.isFiremaking(player, itemUsed, usedWith)) { return; } else ; //player.getPackets().sendGameMessage( // "Nothing interesting happens."); if (Settings.DEBUG) Logger.log("ItemHandler", "Used:" + itemUsed.getId() + ", With:" + usedWith.getId()); } }[/CODE] Additional info: All other parts of the InventoryOptionsHandler works perfectly fine, which just adds to my confusion. I have tracked down code in WorldPackets and ItemDefinitions in order to try and find the issue but have failed to do so. If you need ANYTHING from me please post here and I will get it for you ASAP!
  5. are mention tags broken ? don't seem to work at all, just leave a "@" with no username
  6. Hey there, I saw the notification for server owners that they needed to re-upload their server images, so I went ahead and tried to reupload, getting this error: [url]http://gyazo.com/7d5dc11186e867d8d8492d5e93a31ebb[/url] I'm not sure if it's just me getting this issue, or if everyone is having it. Please let me know when it's resolved, thanks!
  7. Hello, How can I change the client starting screen from the Client StarterPack found here [url]http://www.runelocus.com/tools/starterpack.html[/url] I can't find the picture that is loaded into the background for logging in. Also, the attack animations don't work on this starter version, is there a patch somewhere or is it just an accepted flaw in the 317 starter pack?
  8. [CENTER][ATTACH=CONFIG]9807[/ATTACH][/CENTER] I've updated their Attack/Death animations but I'm not sure how to update there idle/walking animations. Could anyone guide me in the right direction with this?
  9. [url]http://prntscr.com/17hlzz[/url] The shout box and top 10 posters is down. I don't know if this is just me or whoever else.
  10. axter

    Broken Bubbler

    I broke my glass bubbler by mistake while I was cleaning it. The mouthpiece separated from the chamber in 3 pieces. I used gorilla glue to put the pieces back together, is that a good way of doing it? Oh and there's also a little sliver where there is no glass, what should I seal it with?
  11. hi, after getting my server compiling and working properly, ive run into a bit of a problem where i can become stuck in an area with doors/gates, and the only way to get in or out is to use ::noclip which i really dont want to have to do anymore. where on earth do i find where the data for the doors are stored so that they can be fixed?? or is there no door code implemented?? or a much more simple way to put it would be, how do i fix the doors??
  12. Thought I would release this as it may help some of those who dont know how or simply are too lazy... I was aske dto make this today so here it is! Make a new Dialogue class called Repair.java and add this in: [CODE] package com.rs.game.player.dialogues; import com.rs.cache.loaders.NPCDefinitions; import com.rs.game.WorldTile; public class Repair extends Dialogue { private int npcId; [MENTION=15855]Over[/MENTION]ride public void start() { npcId = (Integer) parameters[0]; sendEntityDialogue(SEND_2_TEXT_CHAT, new String[] { NPCDefinitions.getNPCDefinitions(npcId).name, "Hello, I can your broken equipment,", " would you like to?" }, IS_NPC, npcId, 9827); } [MENTION=15855]Over[/MENTION]ride public void run(int interfaceId, int componentId) { if (stage == -1) { sendEntityDialogue(SEND_1_TEXT_CHAT, new String[] { player.getDisplayName(), "um, Hellz yea!" }, IS_PLAYER, player.getIndex(), 9827); stage = 1; } else if (stage == 1) { sendOptionsDialogue("What would you like to repair?", "Torva full helm", "Torva platebody.", "Torva platelegs.", "Torva gloves.", "More Options..."); stage = 2; } else if (stage == 2) { if (componentId == OPTION_1) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20138, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20138, 1); player.getInventory().addItem(20135, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Torva full helm to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_2) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20142, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20142, 1); player.getInventory().addItem(20139, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Torva platebody to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_3) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20146, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20146, 1); player.getInventory().addItem(20143, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Torva platelegs to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_4) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(24979, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(24979, 1); player.getInventory().addItem(24977, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Torva gloves to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_5) { stage = 3; sendOptionsDialogue("What would you like to repair?", "Torva boots.", "Pernix cowl.", "Pernix body.", "Pernix chaps", "More Options..."); } } else if (stage == 3) { if (componentId == OPTION_1) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(24985, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(24985, 1); player.getInventory().addItem(24983, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Torva boots to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_2) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20150, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20150, 1); player.getInventory().addItem(20147, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Pernix cowl to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_3) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20154, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20154, 1); player.getInventory().addItem(20151, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Pernix body to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_4) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20158, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20158, 1); player.getInventory().addItem(20155, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Pernix chaps to repair this."); } } player.closeInterfaces(); } else if (componentId == OPTION_5) { sendOptionsDialogue("What would you like to repair?", "Pernix gloves", "Pernix boots.", "Virtus mask.", "Virtus robe top.", "More Options..."); stage = 4; } } else if (stage == 4) { if (componentId == OPTION_1) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(24976, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(24976, 1); player.getInventory().addItem(24974, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Pernix gloves to repair this."); } } } else if (componentId == OPTION_2) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(24991, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(24991, 1); player.getInventory().addItem(24989, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Pernix boots to repair this."); } } } else if (componentId == OPTION_3) if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20162, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20162, 1); player.getInventory().addItem(20159, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Virtus mask to repair this."); } } else if (componentId == OPTION_4) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20166, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20166, 1); player.getInventory().addItem(20163, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Virtus robe top to repair this."); } } } else if (componentId == OPTION_5) { stage = 5; sendOptionsDialogue("What would you like to repair?", "Virtus robe legs", "Virtus gloves.", "Virtus boots.", "Zaryte bow.", "More Options..."); } } else if (stage == 5) { if (componentId == OPTION_1) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20170, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20170, 1); player.getInventory().addItem(20167, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Virtus robe legs to repair this."); } } } else if (componentId == OPTION_2) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(24982, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(24982, 1); player.getInventory().addItem(24980, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Virtus gloves to repair this."); } } } else if (componentId == OPTION_3) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(24988, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(24988, 1); player.getInventory().addItem(24986, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Virtus boots to repair this."); } } } else if (componentId == OPTION_4) { if (player.getInventory().containsItem(995, 100000000)) { if (player.getInventory().containsItem(20174, 1)) { player.getInventory().deleteItem(995, 100000000); player.getInventory().deleteItem(20174, 1); player.getInventory().addItem(20171, 1); } else { player.getPackets().sendGameMessage("You need 100m and a broken Zarye bow to repair this."); } } } else if (componentId == OPTION_5) { stage = 2; sendOptionsDialogue("What would you like to repair?", "Torva full helm", "Torva platebody.", "Torva platelegs.", "Torva gloves.", "More Options..."); } } } [MENTION=15855]Over[/MENTION]ride public void finish() { } } [/CODE] Inside NPCHandler.java under first click add: [CODE] else if (npc.getId() == 10) player.getDialogueManager().startDialogue("Repair", npc.getId()); [/CODE] (yes ik its a schoolgirl you can replace the ID) Next in DialogueHandler.java add this: [CODE] Class<Dialogue> value46 = (Class<Dialogue>) Class .forName(Repair.class.getCanonicalName()); handledDialogues.put("Repair", value56); [/CODE] Save Close Compile And Done! Then place a spot in you NPCSpawning.java file and save compile and close then load server and get to repairing your broken stuff like a boss.
  13. Sooo... Yeah The Title Says It All Here Is The Link To My Tutorial On How To Fix It So You Can Fish Link Here ;) :D lolking :santa: [url]http://www.youtube.com/watch?v=zEYEFamuC-g[/url] Get Rid of spaces!!!!! Add Me On Skype My Name is (modmaster98) If You Need Any Help I am also soon making a video on how to fix agility!!!
  14. Fascism

    Broken Thought

    [img]http://fc06.deviantart.net/fs70/f/2012/245/7/6/broken_thought_by_fascistgfx-d5d9sb0.png[/img] deviantArt: [url]http://fascistgfx.deviantart.com/#/d5d9sb0[/url] PSD: [url]http://www.mediafire.com/?3g873ud9p8ujd38[/url]
  15. I'm pretty sure that before I started working on the source it had wilderness working.. But then since that I've done alot of updates to do with different things such as clanwars etc and I never went to the wildy so I didn't know that it wasn't working.. When you go into the wildy you can only see the normal options on other people like follow, trade, req assist but no attack :\ Does anybody know how I could fix it or has anyone else had this problem before and fixed it? Am I missing a method or something? :\ Thanks any help appreciated I'll rep+ you :)
  16. [code]java.nio.channels.ClosedChannelException at org.jboss.netty.channel.socket.nio.NioWorker.cleanUpWriteBuffer(NioWorker.java:619) at org.jboss.netty.channel.socket.nio.NioWorker.close(NioWorker.java:595) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:350) at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:274) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:194) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89) at sun.nio.ch.IOUtil.write(IOUtil.java:46) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450) at org.jboss.netty.channel.socket.nio.SocketSendBufferPool$PooledSendBuffer.transferTo(SocketSendBufferPool.java:235) at org.jboss.netty.channel.socket.nio.NioWorker.write0(NioWorker.java:464) at org.jboss.netty.channel.socket.nio.NioWorker.writeFromUserCode(NioWorker.java:382) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:129) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:68) at org.jboss.netty.channel.Channels.write(Channels.java:605) at org.jboss.netty.channel.Channels.write(Channels.java:572) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:245) at com.rs.net.Session.write(Session.java:41) at com.rs.net.encoders.GrabPacketsEncoder.sendStartUpPacket(GrabPacketsEncoder.java:46) at com.rs.net.decoders.ClientPacketsDecoder.decodeGrab(ClientPacketsDecoder.java:56) at com.rs.net.decoders.ClientPacketsDecoder.decode(ClientPacketsDecoder.java:22) at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.java:96) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:343) at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:274) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:194) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) [/code] Both are two separate stacktraces. They are causing players to disconnect. The networking is netty, of course. What is the cause of this?
  17. [CODE]java.io.IOException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89) at sun.nio.ch.IOUtil.write(IOUtil.java:46) at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:450) at org.jboss.netty.channel.socket.nio.SocketSendBufferPool$PooledSendBuffer.transferTo(SocketSendBufferPool.java:235) at org.jboss.netty.channel.socket.nio.NioWorker.write0(NioWorker.java:464) at org.jboss.netty.channel.socket.nio.NioWorker.writeFromUserCode(NioWorker.java:382) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:129) at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:68) at org.jboss.netty.channel.Channels.write(Channels.java:605) at org.jboss.netty.channel.Channels.write(Channels.java:572) at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:245) at com.rs.net.Session.write(Session.java:42) at com.rs.net.encoders.GrabPacketsEncoder.sendStartUpPacket(GrabPacketsEncoder.java:45) at com.rs.net.decoders.ClientPacketsDecoder.decodeGrab(ClientPacketsDecoder.java:61) at com.rs.net.decoders.ClientPacketsDecoder.decode(ClientPacketsDecoder.java:23) at com.rs.net.ServerChannelHandler.messageReceived(ServerChannelHandler.java:97) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:343) at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:274) at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:194) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) [/CODE] Is the stacktrace, I've looked around many stackoverflows, I've even read the documentation on ClosedChannelExceptions and Broken Pipelines, I don't understand what I haven't done: [CODE]public final ChannelFuture write(OutputStream outStream) { if (!channel.isConnected() || !channel.isOpen()) { return null; } ChannelBuffer buffer = ChannelBuffers.copiedBuffer(outStream.getBuffer(), 0, outStream.getOffset()); return channel.write(buffer); } public final ChannelFuture write(ChannelBuffer outStream) { if (outStream == null) return null; if (!channel.isConnected() || !channel.isOpen()) { return null; } return channel.write(outStream); }[/code]
  18. The chaotic weapons are classified as unarmed and give no stats, the dung armor and item (like prom and primal) give no stats and dung weapons are classified as unarmed how can i fix this? I am somewhat new too this kinda stuff
  19. Hey guys, i am using brokenx v2 source, i fixed the combat problems including the range and mage errors, but i got stuck at this gambling issue. when i use the donator zone and gamble with the mode "five" and win, i get my items correctly. when i do it again and win again, it shows me the same items i won before, gives me other items, and disconnects me and these errors appear. [code][8/21/11 2:09 AM]: java.lang.ArrayIndexOutOfBoundsException: 35 [8/21/11 2:09 AM]: at server.model.minigames.Gambling.addReward(Gambling.ja va:61) [8/21/11 2:09 AM]: at server.model.minigames.Gambling.rewardFive(Gambling.j ava:46) [8/21/11 2:09 AM]: at server.model.minigames.Gambling.playGame(Gambling.jav a:26) [8/21/11 2:09 AM]: at server.model.players.packets.ClickingButtons.processP acket(ClickingButtons.java:720) [8/21/11 2:09 AM]: at server.model.players.PacketHandler.processPacket(Pack etHandler.java:137) [8/21/11 2:09 AM]: at server.model.players.Client.processQueuedPackets(Clie nt.java:1017) [8/21/11 2:09 AM]: at server.model.players.PlayerHandler.process(PlayerHand ler.java:140) [8/21/11 2:09 AM]: at server.Server.main(Server.java:163)[/code] any help is appreciated.
  20. anyone know how to load the Dementhium 639 Client on Mac. It's the equipids.txt What are the directories in Mac. Like in windows its C:\users\username\desktop What about in mac.
  21. I just jailbroken my Ipod Touch and wondering where I can download lots of apps for free without having to signup (or if I do, not having to put in credit card details etc...). ? :)
  22. 0 compile errors but it doesn't work when I do them. [CODE] if (command[0].equals("donoryell") && player.getUsername().equals("Test")) { String yell = getCompleteString(command, 1); for(Player pl : World.getWorld().getPlayers()) { pl.sendMessage("[Premium User][" + Misc.formatPlayerNameForDisplay(player.getUsername()) +"]" + yell); } } if (command[0].equals("adminyell") && player.getUsername().equals("Paul, Dewon, Nathan, Natha")) { String yell = getCompleteString(command, 1); for(Player pl : World.getWorld().getPlayers()) { pl.sendMessage("[Admin Yell][" + Misc.formatPlayerNameForDisplay(player.getUsername()) +"]" + yell); } } if (command[0].equals("owneryell") && player.getUsername().equals("Natha")) { String yell = getCompleteString(command, 1); for(Player pl : World.getWorld().getPlayers()) { pl.sendMessage("[<img="+(player.getRights()==0?3:player.getRights()-1)+"> Owner/Developer]" + Misc.formatPlayerNameForDisplay(player.getUsername()) +"]" + yell); } } [/CODE]
×