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

Demoncool

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

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

  • Посещение

  • Победитель дней

    43
  • Отзывы

    100%

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

  1. Demoncool

    Помогите

    Ну еще дело такое я переместил с кастома в квест и теперь 1 строке не package custom.AugmentShop; а package quests.AugmentShop; Скрытый текстError on: D:\La2off\server\gameserver\data\scripts\quests\AugmentShop\AugmentShop.java.error.logLine: -1 - Column: -1 no main method in quests.AugmentShop.AugmentShop Да еще есть вопрос , есть шаровые эвенты для л2фаирейджа, в них есть Пекло , но там оно нерабочие *(тоесть рабочие, но когда я зарегался, меня тп на ивент, мобы заспавнились около 3 волн , а дальше мобы куда то исчезли, это мобы под текстурами или как?)
  2. Demoncool

    Помогите

    а рабочего ниукаво нету? а еще мб у кавото есть аукцион?
  3. Demoncool

    Помогите

    вот 4 ошибки осталось Скрытый текст 1. ERROR in \AugmentShop.java (at line 10) import com.l2jfrozen.L2DatabaseFactory; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The import com.l2jfrozen.L2DatabaseFactory cannot be resolved ---------- 2. ERROR in \AugmentShop.java (at line 12) import com.l2jfrozen.gameserver.model.L2ItemInstance; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The import com.l2jfrozen.gameserver.model.L2ItemInstance cannot be resolved ---------- 3. ERROR in \AugmentShop.java (at line 83) L2ItemInstance item = player.getInventory().getPaperdollItem(Inventory.P APERDOLL_RHAND); ^^^^^^^^^^^^^^ L2ItemInstance cannot be resolved to a type ---------- 4. ERROR in \AugmentShop.java (at line 107) con = L2DatabaseFactory.getInstance().getConnection(); ^^^^^^^^^^^^^^^^^ L2DatabaseFactory cannot be resolved ---------- 4 problems (4 errors)The import com.l2jfrozen.L2DatabaseFactory cannot be resolv ed The import com.l2jfrozen.gameserver.model.L2ItemInstance cannot be resolved L2ItemInstance cannot be resolved to a type L2DatabaseFactory cannot be resolved Failed executing script: D:\La2off\server\gameserver\data\scripts\quests\Augment Shop\AugmentShop.java. See AugmentShop.java.error.log for details.
  4. Demoncool

    Помогите

    Исправьте эти ошибки: Скрытый текст 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: D:\La2off\server\gameserver\data\scripts\quests\Augment Shop\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) { } } } } Забыл сборка фрозенов
  5. кул дизайн токо он не на тему л2. если я не ошибаюсь
  6. Demoncool

    Сиськи

    Тема сиськи, а в ней другое. Мое мнение дать бан на 1 день ему, пусть подумает прежде чем тему создавать!
  7. Demoncool

    Осады

    зачем это? а если 2 чела кастуют в разных алтарях? вначале 1 замок, потом резко 2?
  8. Demoncool

    Бафы

    что это хоть может быть? не бафается половина дансов. Точнее бафается токо 3 штуки
  9. Demoncool

    Апдейтер На Заказ

    тогды и мне))))
  10. Demoncool

    Вопросы

    3. <TD> <!-- Buffer --> <button value="Buffer" action="bypass -h npc_%objectId%_Quest 20701_NPCBuffer" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"> <TD> вот код
  11. Demoncool

    Вопросы

    давай что именно удалить)) ну путь к этой фигне)
  12. Demoncool

    Регенерацыя Хп

    пасив я так понимаю это просто+%хп. Ладно бы актив, но как это пасив хил? типо Лса тебя бьют , а тебе хил идет?
  13. Demoncool

    Вопросы

    1. Сразу говорю очень нубский))). Где находятся логи сервера*(трейды и тп) нашел)))))
  14. Demoncool

    Вопросы

    1. Сразу говорю очень нубский))). Где находятся логи сервера*(трейды и тп) 2.Как убрать лаг при выборе профы*(при получении скилов). В 2 реве фрозен ворлда будет реализовано.*(задержка сервера при получении скилов) 3.В шопе стоит перенаправка на бафера. Нажимаеш бафер, оно показует таблицу бафера, но после нажатие на любой раздел окно просто исчезает 4. Как с l2jfrozen зделать l2jfireage.(конфиги и тп*(все что фиксили фаеры)). Что именно нужно перенести в ядре.*(тоесть можно сказать как зделать с фрозенов новой ревы, фаер ейджов нову)
  15. узнаеш ид допустим 130 и прибавь по 1 на каждую точку. тоесть +1 будет 131 ид. что бы по др. пути точить 161 ид будет .(ид взял просто любое). что бы узнать ид alt+h и имя скила вводиш(с заглавными буквами)
  16. Demoncool

    Квест

    vovacool3 скайп
  17. Demoncool

    Квест

    да я знаю что исходы одни,но мб чет нето)))
  18. Demoncool

    Квест

    я на l2jfireage а не l2jfrozen мб из-за етого)))
  19. Demoncool

    Квест

    Error on: E:\La2off\server\gameserver\data\scripts\quests\9764_ClanReputationSaick\__init__.py.error.log Line: -1 - Column: -1 Traceback (innermost last): (no code object) at line 0 SyntaxError: ('Lexical error at line 1, column 1. Encountered: "\\u00ff" (255), after : ""', ('__init__.py', 1, 1, '\xFFimport sys')) еще такой вопрос, а где пишутся логины все(трейды и тп)
  20. Demoncool

    Квест

    удалил, не помогло
×
×
  • Создать...