.::Darklight::. A.M
عدد الرسائل : 917 التقييم : 9
&لمعاينه معلومات الاعب& اسم اللاعب: skiller0rich Combat Level: (138/138) أوسمة التميز في المنتدى: وسام الادارة العامة
| موضوع: أفضل صناعة godsword لل 508 2010-09-16, 23:51 | |
| بسم الله الرحمن الرحيم أول شي إفتح itemonobject.java ضيف - الكود:
-
public void setString(Player p, String str, int interfaceId, int childId) { if (p == null || p.stream == null || p.disconnected[0]) { return; } بعدين - الكود:
-
if (objectId == 2783) { if (itemId == 11710 && Server.engine.playerItems.haveItem(player, 11712, 1) && Server.engine.playerItems.haveItem(player, 11714, 1) && Server.engine.playerItems.haveItem(player, 2347, 1)) { player.requestAnim(898, 0); Server.engine.playerItems.deleteItem(player, 11710, Server.engine.playerItems.getItemSlot(player, 11710), 1); Server.engine.playerItems.deleteItem(player, 11712, Server.engine.playerItems.getItemSlot(player, 11712), 1); Server.engine.playerItems.deleteItem(player, 11714, Server.engine.playerItems.getItemSlot(player, 11714), 1); Server.engine.playerItems.addItem(player, 11690, 1); player.frames.showChatboxInterface(player, 211); player.frames.setString(player, "Even for an experienced smith it is not an easy task, but eventually", 211, 1); player.frames.setString(player, "it is done", 211, 2); } if (itemId == 11712 && Server.engine.playerItems.haveItem(player, 11710, 1) && Server.engine.playerItems.haveItem(player, 11714, 1) && Server.engine.playerItems.haveItem(player, 2347, 1)) { player.frames.showChatboxInterface(player, 211); player.frames.setString(player, "Even for an experienced smith it is not an easy task, but eventually", 211, 1); player.frames.setString(player, "it is done", 211, 2); player.requestAnim(898, 0); Server.engine.playerItems.deleteItem(player, 11710, Server.engine.playerItems.getItemSlot(player, 11710), 1); Server.engine.playerItems.deleteItem(player, 11712, Server.engine.playerItems.getItemSlot(player, 11712), 1); Server.engine.playerItems.deleteItem(player, 11714, Server.engine.playerItems.getItemSlot(player, 11714), 1); Server.engine.playerItems.addItem(player, 11690, 1); } if (itemId == 11714 && Server.engine.playerItems.haveItem(player, 11712, 1) && Server.engine.playerItems.haveItem(player, 11710, 1) && Server.engine.playerItems.haveItem(player, 2347, 1)) { player.frames.showChatboxInterface(player, 211); player.frames.setString(player, "Even for an experienced smith it is not an easy task, but eventually", 211, 1); player.frames.setString(player, "it is done", 211, 2); player.requestAnim(898, 0); Server.engine.playerItems.deleteItem(player, 11710, Server.engine.playerItems.getItemSlot(player, 11710), 1); Server.engine.playerItems.deleteItem(player, 11712, Server.engine.playerItems.getItemSlot(player, 11712), 1); Server.engine.playerItems.deleteItem(player, 11714, Server.engine.playerItems.getItemSlot(player, 11714), 1); Server.engine.playerItems.addItem(player, 11690, 1); } } بعدين لوصل hilt مع blade إفتح itemonitem.java ضيف - الكود:
-
if (itemUsed == 11690 && usedWith == 11708 || itemUsed == 11708 && usedWith == 11690) { pi.deleteItem(player, itemUsed, pi.getItemSlot(player, itemUsed), 1); pi.deleteItem(player, usedWith, pi.getItemSlot(player, usedWith), 1); pi.addItem(player, 11700, 1); player.frames.sendMessage(player, "You attach the hilt and the blade together, getting the zamorak Godsword."); } if (itemUsed == 11690 && usedWith == 11704 || itemUsed == 11704 && usedWith == 11690) { pi.deleteItem(player, itemUsed, pi.getItemSlot(player, itemUsed), 1); pi.deleteItem(player, usedWith, pi.getItemSlot(player, usedWith), 1); pi.addItem(player, 11696, 1); player.frames.sendMessage(player, "You attach the hilt and the blade together, getting the Bandos Godsword."); } if (itemUsed == 11690 && usedWith == 11706 || itemUsed == 11706 && usedWith == 11690) { pi.deleteItem(player, itemUsed, pi.getItemSlot(player, itemUsed), 1); pi.deleteItem(player, usedWith, pi.getItemSlot(player, usedWith), 1); pi.addItem(player, 11698, 1); player.frames.sendMessage(player, "You attach the hilt and the blade together, getting the Saradomin Godsword."); } if (itemUsed == 11690 && usedWith == 11702 || itemUsed == 11702 && usedWith == 11690) { pi.deleteItem(player, itemUsed, pi.getItemSlot(player, itemUsed), 1); pi.deleteItem(player, usedWith, pi.getItemSlot(player, usedWith), 1); pi.addItem(player, 11694, 1); player.frames.sendMessage(player, "You attach the hilt and the blade together, getting the Armadyl Godsword."); } و أيضاً إبحث عن - الكود:
-
public void handlePacket(Player player, int packetId, int packetSize) { وضيف تحتها - الكود:
-
PlayerItems pi = new PlayerItems(); بعدين compile و بإذن الله شغالة 100% |
|