Reventon | Дата: Четверг, 13.01.2011, 18:59 | Сообщение # 1 |
Группа: Постоянный
Сообщений: 523
Награды: 44
Репутация: 119
Статус: Offline
| Уверен есть еще люди которые не знают как это сделать... Это очень просто, но для этого вам по требуются исходники от сборки которую вы используете. Приступим. Сделаем поддержку в ядре: идем в net.sf.l2j.gameserver.network.clientpackets, открываем файл: RequestEnchantItem.java, и ищем строчку: Code scroll = activeChar.getInventory().destroyItem("Enchant", scroll, activeChar, item); заменяем ее на: Code activeChar.destroyItemByItemId("Enchant", scroll.getItemId(), 1, null, true); Поддержка в ядре есть. Сделаем поддержку в sql: Удаляем: Code DELETE FROM etcitem where item_id = 729; DELETE FROM etcitem where item_id = 730; DELETE FROM etcitem where item_id = 731; DELETE FROM etcitem where item_id = 732; DELETE FROM etcitem where item_id = 947; DELETE FROM etcitem where item_id = 948; DELETE FROM etcitem where item_id = 949; DELETE FROM etcitem where item_id = 950; DELETE FROM etcitem where item_id = 951; DELETE FROM etcitem where item_id = 952; DELETE FROM etcitem where item_id = 953; DELETE FROM etcitem where item_id = 954; DELETE FROM etcitem where item_id = 955; DELETE FROM etcitem where item_id = 956; DELETE FROM etcitem where item_id = 957; DELETE FROM etcitem where item_id = 958; DELETE FROM etcitem where item_id = 959; DELETE FROM etcitem where item_id = 960; DELETE FROM etcitem where item_id = 961; DELETE FROM etcitem where item_id = 962; DELETE FROM etcitem where item_id = 6569; DELETE FROM etcitem where item_id = 6570; DELETE FROM etcitem where item_id = 6571; DELETE FROM etcitem where item_id = 6572; DELETE FROM etcitem where item_id = 6573; DELETE FROM etcitem where item_id = 6574; DELETE FROM etcitem where item_id = 6575; DELETE FROM etcitem where item_id = 6576; DELETE FROM etcitem where item_id = 6577; DELETE FROM etcitem where item_id = 6578; Вставляем: Code INSERT INTO `etcitem` VALUES ('729', 'Scroll: Enchant Weapon (Grade A)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '1800000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_wp_a', 'scroll'); INSERT INTO `etcitem` VALUES ('730', 'Scroll: Enchant Armor (Grade A)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '240000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_am_a', 'scroll'); INSERT INTO `etcitem` VALUES ('731', 'Crystal Scroll: Enchant Weapon (Grade A)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '240000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_wp_a', 'scroll'); INSERT INTO `etcitem` VALUES ('732', 'Crystal Scroll: Enchant Armor (Grade A)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '240000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_am_a', 'scroll'); INSERT INTO `etcitem` VALUES ('947', 'Scroll: Enchant Weapon (Grade B)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '500000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_wp_b', 'scroll'); INSERT INTO `etcitem` VALUES ('948', 'Scroll: Enchant Armor (Grade B)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '80000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_am_b', 'scroll'); INSERT INTO `etcitem` VALUES ('949', 'Crystal Scroll: Enchant Weapon (Grade B)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '80000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_wp_b', 'scroll'); INSERT INTO `etcitem` VALUES ('950', 'Crystal Scroll: Enchant Armor (Grade B)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '80000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_am_b', 'scroll'); INSERT INTO `etcitem` VALUES ('951', 'Scroll: Enchant Weapon (Grade C)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '110000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_wp_c', 'scroll'); INSERT INTO `etcitem` VALUES ('952', 'Scroll: Enchant Armor (Grade C)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '15000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_am_c', 'scroll'); INSERT INTO `etcitem` VALUES ('953', 'Crystal Scroll: Enchant Weapon (Grade C)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '15000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_wp_c', 'scroll'); INSERT INTO `etcitem` VALUES ('954', 'Crystal Scroll: Enchant Armor (Grade C)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '15000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_am_c', 'scroll'); INSERT INTO `etcitem` VALUES ('955', 'Scroll: Enchant Weapon (Grade D)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '50000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_wp_d', 'scroll'); INSERT INTO `etcitem` VALUES ('956', 'Scroll: Enchant Armor (Grade D)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '6000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_am_d', 'scroll'); INSERT INTO `etcitem` VALUES ('957', 'Crystal Scroll: Enchant Weapon (Grade D)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '6000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_wp_d', 'scroll'); INSERT INTO `etcitem` VALUES ('958', 'Crystal Scroll: Enchant Armor (Grade D)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '6000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_am_d', 'scroll'); INSERT INTO `etcitem` VALUES ('959', 'Scroll: Enchant Weapon (Grade S)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '5000000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_wp_s', 'scroll'); INSERT INTO `etcitem` VALUES ('960', 'Scroll: Enchant Armor (Grade S)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '500000', '0', 'true', 'true', 'true', 'true', 'scrl_of_ench_am_s', 'scroll'); INSERT INTO `etcitem` VALUES ('961', 'Crystal Scroll: Enchant Weapon (Grade S)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '500000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_wp_s', 'scroll'); INSERT INTO `etcitem` VALUES ('962', 'Crystal Scroll: Enchant Armor (Grade S)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '500000', '0', 'true', 'true', 'true', 'true', 'cry_scrl_of_ench_am_s', 'scroll'); INSERT INTO `etcitem` VALUES ('6569', 'Blessed Scroll: Enchant Weapon (Grade A)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '1750000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6570', 'Blessed Scroll: Enchant Armor (Grade A)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '750000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6571', 'Blessed Scroll: Enchant Weapon (Grade B)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '1250000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6572', 'Blessed Scroll: Enchant Armor (Grade B)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '250000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6573', 'Blessed Scroll: Enchant Weapon (Grade C)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '250000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6574', 'Blessed Scroll: Enchant Armor (Grade C)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '100000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6575', 'Blessed Scroll: Enchant Weapon (Grade D)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '150000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6576', 'Blessed Scroll: Enchant Armor (Grade D)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '50000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6577', 'Blessed Scroll: Enchant Weapon (Grade S)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '2250000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); INSERT INTO `etcitem` VALUES ('6578', 'Blessed Scroll: Enchant Armor (Grade S)', 'false', 'scroll', '120', 'stackable', 'none', '-1', '1250000', '0', 'true', 'true', 'true', 'true', 'C4Item', 'castle_guard'); Сделаем поддержку в клиенте: Находим эти файлы в клиенте и заменяем на ниже написанные. Внимание: не дописываем а находим и заменяем. файл etcitemgrp.dat Code 2 729 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i04 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 730 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i04 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 731 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 1 0 2 732 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 1 0
2 947 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 948 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 949 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 950 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 951 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 952 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 953 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 954 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 955 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 956 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 957 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 958 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 959 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i05 -1 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 960 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i05 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 961 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_weapon_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 962 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_scroll_of_enchant_armor_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0
2 6569 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_wp_a_i04 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6570 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_am_a_i04 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6571 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_wp_b_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6572 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_am_b_i03 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6573 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_wp_c_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6574 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_am_c_i02 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6575 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_wp_d_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6576 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_am_d_i01 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6577 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_wp_s_i05 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 2 6578 0 3 6 3 0 dropitems.drop_scroll_m00 dropitemstex.drop_scroll_t00 icon.etc_blessed_scrl_of_ench_am_s_i05 0 120 18 0 0 1 1 ItemSound.itemdrop_scroll 2 0 0 Автор данного мануала TheFosT
Lineage Eternal
загрузка наград ...
Сообщение отредактировал sXeInjected - Четверг, 13.01.2011, 19:24 |
|
| |