qwnzdif 0 Опубликовано 7 мая, 2020 Пытаюсь скомпилить в class выдает ошибки) C:\compile>javac -classpath l2ro-scripts.jar -Xlint:unchecked _456_DontKnowDo are.java _456_DontKnowDontCare.java:3: error: package l2ro.commons.util does not exist /* */ import l2ro.commons.util.Rnd; ^ _456_DontKnowDontCare.java:4: error: package l2ro.gameserver.model.instances s not exist /* */ import l2ro.gameserver.model.instances.NpcInstance; ^ _456_DontKnowDontCare.java:5: error: package l2ro.gameserver.model.quest does t exist /* */ import l2ro.gameserver.model.quest.Quest; ^ _456_DontKnowDontCare.java:6: error: package l2ro.gameserver.model.quest does t exist /* */ import l2ro.gameserver.model.quest.QuestState; ^ _456_DontKnowDontCare.java:7: error: package l2ro.gameserver.scripts does not ist /* */ import l2ro.gameserver.scripts.ScriptFile; ^ _456_DontKnowDontCare.java:8: error: package org.apache.commons.lang3 does no xist /* */ import org.apache.commons.lang3.ArrayUtils; ^ _456_DontKnowDontCare.java:10: error: cannot find symbol /* */ public class _456_DontKnowDontCare extends Quest implements ScriptF { ^ symbol: class Quest _456_DontKnowDontCare.java:10: error: cannot find symbol /* */ public class _456_DontKnowDontCare extends Quest implements ScriptF { ^ symbol: class ScriptFile _456_DontKnowDontCare.java:48: error: cannot find symbol /* */ public String onEvent(String event, QuestState st, NpcInstance np { ^ symbol: class QuestState location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:48: error: cannot find symbol /* */ public String onEvent(String event, QuestState st, NpcInstance np { ^ symbol: class NpcInstance location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:100: error: cannot find symbol /* */ public String onTalk(NpcInstance npc, QuestState st) { ^ symbol: class NpcInstance location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:100: error: cannot find symbol /* */ public String onTalk(NpcInstance npc, QuestState st) { ^ symbol: class QuestState location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:43: error: cannot find symbol /* 42 */ addStartNpc(SeparatedSoul); ^ symbol: method addStartNpc(int[]) location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:44: error: cannot find symbol /* 43 */ addTalkId(new int[] { 32884, 32885, 32886 }); ^ symbol: method addTalkId(int[]) location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:45: error: cannot find symbol /* 44 */ addQuestItem(new int[] { 17251, 17252, 17253 }); ^ symbol: method addQuestItem(int[]) location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:80: error: cannot find symbol /* 89 */ if (Rnd.chance(95)) { ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:81: error: cannot find symbol /* 90 */ st.giveItems(weapons[Rnd.get(weapons.length)], 1L); ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:82: error: cannot find symbol /* 91 */ } else if (Rnd.chance(4)) { ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:83: error: cannot find symbol /* 92 */ st.giveItems(armors[Rnd.get(armors.length)], 1L); ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:84: error: cannot find symbol /* 93 */ } else if (Rnd.chance(6)) { ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:85: error: cannot find symbol /* 94 */ st.giveItems(accessory[Rnd.get(accessory.length)], 1L); ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:86: error: cannot find symbol /* 95 */ } else if (Rnd.chance(8)) { ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:87: error: cannot find symbol /* 96 */ st.giveItems(scrolls[Rnd.get(scrolls.length)], 1L); ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:89: error: cannot find symbol /* 98 */ if (Rnd.chance(80)) ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:90: error: cannot find symbol /* 99 */ st.giveItems(reward_attr_crystal[Rnd.get(reward_attr_crys .length)], 20L); ^ symbol: variable Rnd location: class _456_DontKnowDontCare _456_DontKnowDontCare.java:103: error: cannot find symbol /* 115 */ if (ArrayUtils.contains(SeparatedSoul, npc.getNpcId())) ^ symbol: variable ArrayUtils location: class _456_DontKnowDontCare 26 errors C:\compile> Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты