Перейти к содержанию

Warox

Заблокирован
  • Публикаций

    766
  • Зарегистрирован

  • Посещение

  • Отзывы

    0%

Весь контент Warox

  1. Warox

    Pc Bang!

    сборка?
  2. Warox

    Login Server

    скопируй весь текст логин сервера и кинь сюда.
  3. Warox

    Создание Серва

    Prosti dymal mojno((
  4. Warox

    Создание Серва

    1. FTP 2. FTP 3. xz
  5. Warox

    Сервер

    удаляем хексид регаем наново) или заходим в файлик рега и там есть "clean" и ещё чтоот) жмём клин регаем наново.
  6. Warox

    Смотри)

    Можно ли банер? 1.Свой исходник(если есть) Нету. 2.Текст который нужно написать. Interlude x5.000 Уникальные Дополнения! Идеальный Баланс! 3.Размер файла. 468x60
  7. Warox

    Sos

    ну воопщемто шлем глада есть фиксаный,а с крыльями ты не чего не поделашь)
  8. Warox

    У Кого Имееться

    Кто может дать запрос на изменения титула всем нпц и мобам на сереве с меня спасибко)
  9. Warox

    Помогите

    Неа нету таких идов(
  10. Warox

    Помогите

    Все вещи что я добавил на сервер имеют название noitemname что посоветуете сделать? Сборка FW.
  11. Warox

    Rt Баффер

    В скриптах прописал?
  12. Warox

    Нужна Помощь!

    Воопщемто скачал аргумент шоп. Ошибка: Скрытый текст1. ERROR in \AugmentShop.java (at line 3) import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance; ^^^ The import net cannot be resolved ---------- 2. ERROR in \AugmentShop.java (at line 4) import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; ^^^ The import net cannot be resolved ---------- 3. ERROR in \AugmentShop.java (at line 5) import net.sf.l2j.gameserver.model.quest.Quest; ^^^ The import net cannot be resolved ---------- 4. ERROR in \AugmentShop.java (at line 6) import net.sf.l2j.gameserver.model.quest.QuestState; ^^^ The import net cannot be resolved ---------- 5. ERROR in \AugmentShop.java (at line 7) import net.sf.l2j.gameserver.model.Inventory; ^^^ The import net cannot be resolved ---------- 6. ERROR in \AugmentShop.java (at line 10) import net.sf.l2j.L2DatabaseFactory; ^^^ The import net cannot be resolved ---------- 7. ERROR in \AugmentShop.java (at line 12) import net.sf.l2j.gameserver.model.L2ItemInstance; ^^^ The import net cannot be resolved ---------- 8. ERROR in \AugmentShop.java (at line 19) public class AugmentShop extends Quest ^^^^^ Quest cannot be resolved to a type ---------- 9. ERROR in \AugmentShop.java (at line 29) addFirstTalkId(NPC); ^^^^^^^^^^^^^^ The method addFirstTalkId(int) is undefined for the type AugmentShop ---------- 10. ERROR in \AugmentShop.java (at line 30) addStartNpc(NPC); ^^^^^^^^^^^ The method addStartNpc(int) is undefined for the type AugmentShop ---------- 11. ERROR in \AugmentShop.java (at line 31) addTalkId(NPC); ^^^^^^^^^ The method addTalkId(int) is undefined for the type AugmentShop ---------- 12. ERROR in \AugmentShop.java (at line 35) public String onAdvEvent(String event, L2NpcInstance npc, L2PcInstance p layer) ^^^^^^^^^^^^^ L2NpcInstance cannot be resolved to a type ---------- 13. ERROR in \AugmentShop.java (at line 35) public String onAdvEvent(String event, L2NpcInstance npc, L2PcInstance p layer) ^^^^^^^^^^^^ L2PcInstance cannot be resolved to a type ---------- 14. ERROR in \AugmentShop.java (at line 65) public String onFirstTalk(L2NpcInstance npc, L2PcInstance player) ^^^^^^^^^^^^^ L2NpcInstance cannot be resolved to a type ---------- 15. ERROR in \AugmentShop.java (at line 65) public String onFirstTalk(L2NpcInstance npc, L2PcInstance player) ^^^^^^^^^^^^ L2PcInstance cannot be resolved to a type ---------- 16. ERROR in \AugmentShop.java (at line 68) QuestState qs = player.getQuestState(qn); ^^^^^^^^^^ QuestState cannot be resolved to a type ---------- 17. ERROR in \AugmentShop.java (at line 81) private static void updateAugment(L2PcInstance player, int attributes, i nt skill, int level) ^^^^^^^^^^^^ L2PcInstance cannot be resolved to a type ---------- 18. ERROR in \AugmentShop.java (at line 83) L2ItemInstance item = player.getInventory().getPaperdollItem(Inventory.P APERDOLL_RHAND); ^^^^^^^^^^^^^^ L2ItemInstance cannot be resolved to a type ---------- 19. ERROR in \AugmentShop.java (at line 83) L2ItemInstance item = player.getInventory().getPaperdollItem(Inventory.P APERDOLL_RHAND); ^^^^^^^^^ Inventory cannot be resolved to a variable ---------- 20. ERROR in \AugmentShop.java (at line 84) if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) == null) ^^^^^^^^^ Inventory cannot be resolved to a variable ---------- 21. ERROR in \AugmentShop.java (at line 91) if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).is Augmented()) ^^^^^^^^^ Inventory cannot be resolved to a variable ---------- 22. ERROR in \AugmentShop.java (at line 107) con = L2DatabaseFactory.getInstance().getConnection(); ^^^^^^^^^^^^^^^^^ L2DatabaseFactory cannot be resolved ---------- 23. ERROR in \AugmentShop.java (at line 122) _log.log(Level.SEVERE, "Could not augment item: "+item.getObjectId()+" " , e); ^^^^ _log cannot be resolved ---------- 23 problems (23 errors)Quest cannot be resolved to a type L2NpcInstance cannot be resolved to a type L2PcInstance cannot be resolved to a type L2NpcInstance cannot be resolved to a type L2PcInstance cannot be resolved to a type L2PcInstance cannot be resolved to a type The import net cannot be resolved The import net cannot be resolved The import net cannot be resolved The import net cannot be resolved The import net cannot be resolved The import net cannot be resolved The import net cannot be resolved The method addFirstTalkId(int) is undefined for the type custom.AugmentShop.Augm entShop The method addStartNpc(int) is undefined for the type custom.AugmentShop.Augment Shop The method addTalkId(int) is undefined for the type custom.AugmentShop.AugmentSh op QuestState cannot be resolved to a type L2ItemInstance cannot be resolved to a type Inventory cannot be resolved to a variable Inventory cannot be resolved to a variable Inventory cannot be resolved to a variable L2DatabaseFactory cannot be resolved _log cannot be resolved Failed executing script: E:\IceWorld\gameserver\data\scripts\custom\AugmentShop\ AugmentShop.java. See AugmentShop.java.error.log for details. Код Скрытый текстpackage custom.AugmentShop; import net.sf.l2j.gameserver.model.actor.instance.L2NpcInstance; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.model.quest.Quest; import net.sf.l2j.gameserver.model.quest.QuestState; import net.sf.l2j.gameserver.model.Inventory; import java.sql.Connection; import java.sql.PreparedStatement; import net.sf.l2j.L2DatabaseFactory; import java.util.logging.Level; import net.sf.l2j.gameserver.model.L2ItemInstance; /** * * @author adapted by Samar 2011 RUSSIA * */ public class AugmentShop extends Quest { private final static int ITEM_ID = 57; private final static int ITEM_COUNT = 1000000; private final static String qn = "AugmentShop"; private final static int NPC = 91000; public AugmentShop(int questId, String name, String descr) { super(questId, name, descr); addFirstTalkId(NPC); addStartNpc(NPC); addTalkId(NPC); } @Override public String onAdvEvent(String event, L2NpcInstance npc, L2PcInstance player) { String htmltext = ""; if (event.equalsIgnoreCase("active")) { htmltext = "active.htm"; } else if (event.equalsIgnoreCase("passive")) { htmltext = "passive.htm"; } else if (event.equalsIgnoreCase("chance")) { htmltext = "chance.htm"; } else { updateAugment(player, Integer.parseInt(event.substring(0,5)), Integer.parseInt(event.substring(6,10)), Integer.parseInt(event.substring(11,13))); } return htmltext; } @Override public String onFirstTalk(L2NpcInstance npc, L2PcInstance player) { String htmltext = ""; QuestState qs = player.getQuestState(qn); if (qs == null) qs = newQuestState(player); htmltext = "main.htm"; return htmltext; } public static void main(String[] args) { new AugmentShop(-1, qn, "AugmentShop"); } private static void updateAugment(L2PcInstance player, int attributes, int skill, int level) { L2ItemInstance item = player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND); if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND) == null) { player.sendMessage("You have to equip a weapon."); return; } if (player.getInventory().getPaperdollItem(Inventory.PAPERDOLL_RHAND).isAugmented() ) { player.sendMessage("The weapon is already augmented."); return; } if (player.getInventory().getInventoryItemCount(ITEM_ID, -1) < ITEM_COUNT) { player.sendMessage("You dont have enough item."); return; } Connection con = null; try { player.destroyItemByItemId("Consume", ITEM_ID, ITEM_COUNT, player, true); con = L2DatabaseFactory.getInstance().getConnection(); PreparedStatement statement = con.prepareStatement("REPLACE INTO augmentations VALUES(?,?,?,?)"); statement.setInt(1, item.getObjectId()); statement.setInt(2, attributes*65536+1); statement.setInt(3, skill); statement.setInt(4, level); statement.executeUpdate(); player.sendMessage("Succesfully augmented. You have to relog now."); statement.close(); } catch (Exception e) { _log.log(Level.SEVERE, "Could not augment item: "+item.getObjectId()+" ", e); } finally { try { /*L2DatabaseFactory.close(con);*/ con.close(); } catch (Exception e) { } } } } Надо бы под замороженых. Сам умею читать и понимаю что там пишет что ошибка в определённых линиях но как их "починить" не знаю,помогите кому не лень.И ещё мб у когото есть квесты под них же поделитесь)!
  13. Warox

    Ошибочка

    Только с этим итемом такая проблема?
  14. Warox

    Home Video

    vegas
  15. Warox

    Проблема

    Датники норм прописал? Текстуры норм скопировал?)
  16. Warox

    Winrar

    У меня такое когда архив битый или же не донца скачаный.
  17. Warox

    Toshiro

    Рости большой!) ТруБатя где обещяный подарок?)
  18. Warox

    Заработай 1к!

    могу запустить окон 10 и пару друзей попросить
  19. Warox

    Решил Расшарить

    На вкус и цвет фламастеры разные не обращяй внимание,а просто игнорируй.
  20. Warox

    Решил Расшарить

    ДокторЗло ты прям неадекват) чё ты к людям прикопался?
  21. Warox

    Toshiro

    Тоширо с ДР! Duality Крыло не от Абу?
  22. Warox

    L2jfrozen

    отдельно нету)
  23. Warox

    Крылья

    на сайте есть пак под базу там есть эти крылья их вытощить не проблема.Когда приду с учёбы мб вытощю.
×
×
  • Создать...