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

knaif

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

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

  • Посещение

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

    1
  • Отзывы

    0%

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

  1. Вот порыскал как вот эта сборка La2Phoenix Rev. 13942 (Gracia Part II) ???
  2. Всем доброе время суток Посоветуйте сборку сервера для Gracia Part 2
  3. Правда я хз что случилась у них с проектом(
  4. А у тебя дополнений нету с проекта Линия войны 2 начало ???
  5. Вот та ошибка CREATED = State('Start', QUEST)
  6. Скрытый текст#done by denser 17.04.2007 # Modifed by Bibigon for RusTeam at 02.12.07 # Modifed by Zloctb for L2REDZ at 11.08.2007 #Jython-based miss queen implementation v0.1 import sys from evermore.gameserver.model.quest import State from evermore.gameserver.model.quest import QuestState from evermore.gameserver.model.quest.jython import QuestJython as JQuest qn = "111_HeavyMedal" #cats ROY = 31228 WINNIE = 31229 #item EVENT_GLITTERING_MEDAL = 6393 #marks RABBIT = 6399 HYENA = 6400 FOX = 6401 WOLF = 6402 CHANCE = 35 PAY = 5 class Quest (JQuest) : def __init__(self,id,name,descr): JQuest.__init__(self,id,name,descr) def onEvent (self,event,st) : cond = st.getInt("cond") if event == "game" : if cond == 0 and st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*1 : st.playSound("ItemSound.quest_accept") htmltext = "game.htm" elif cond == 1 and st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*2 : st.playSound("ItemSound.quest_accept") htmltext = "game.htm" elif cond == 2 and st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*4 : st.playSound("ItemSound.quest_accept") htmltext = "game.htm" elif cond == 3 and st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*8 : st.playSound("ItemSound.quest_accept") htmltext = "game.htm" else: htmltext = "less.htm" elif event == "play" : if st.getRandom(100)<CHANCE : if cond == 0 : if st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*1 : st.takeItems(EVENT_GLITTERING_MEDAL,PAY*1) st.giveItems(RABBIT,1) st.set("cond","1") st.playSound("ItemSound.quest_itemget") htmltext = "win-1.htm" else : htmltext = "less.htm" elif cond == 1 : if st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*2 : st.takeItems(EVENT_GLITTERING_MEDAL,PAY*2) st.takeItems(RABBIT,1) st.giveItems(HYENA,1) st.set("cond","2") st.playSound("ItemSound.quest_itemget") htmltext = "win-1.htm" else : htmltext = "less.htm" elif cond == 2 : if st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*4 : st.takeItems(EVENT_GLITTERING_MEDAL,PAY*4) st.takeItems(HYENA,1) st.giveItems(FOX,1) st.set("cond","3") st.playSound("ItemSound.quest_itemget") htmltext = "win-1.htm" else : htmltext = "less.htm" elif cond == 3 : if st.getQuestItemsCount(EVENT_GLITTERING_MEDAL) >= PAY*8 : st.takeItems(EVENT_GLITTERING_MEDAL,PAY* st.takeItems(FOX,1) st.giveItems(WOLF,1) st.set("cond","4") st.playSound("ItemSound.quest_finish") htmltext = "win.htm" else : htmltext = "less.htm" else: htmltext = "lose.htm" if cond == 0 : st.takeItems(EVENT_GLITTERING_MEDAL,PAY*1) elif cond == 1: st.takeItems(EVENT_GLITTERING_MEDAL,PAY*2) elif cond == 2 : st.takeItems(EVENT_GLITTERING_MEDAL,PAY*4) elif cond == 3 : st.takeItems(EVENT_GLITTERING_MEDAL,PAY* return htmltext def onTalk (self,npc,player): st = player.getQuestState(qn) npcId = npc.getNpcId() cond = st.getInt("cond") htmltext = "<html><body>Мне нечего тебе сказать</body></html>" if not st : return htmltext if npcId == WINNIE : if st.getQuestItemsCount(RABBIT) == 0 and st.getQuestItemsCount(HYENA) == 0 and st.getQuestItemsCount(FOX) == 0 and st.getQuestItemsCount(WOLF) == 0 : htmltext = "5.htm" st.set("cond","0") elif cond == 1 : htmltext = "10.htm" elif cond == 2 : htmltext = "20.htm" elif cond == 3 : htmltext = "40.htm" elif st.getQuestItemsCount(WOLF) == 1 : htmltext = "win.htm" else: htmltext = "win.htm" elif npcId == ROY : if st.getQuestItemsCount(RABBIT) == 0 and st.getQuestItemsCount(HYENA) == 0 and st.getQuestItemsCount(FOX) == 0 and st.getQuestItemsCount(WOLF) == 0 : htmltext = "roy.htm" elif st.getQuestItemsCount(RABBIT) == 1 : htmltext = "roy-1.htm" elif st.getQuestItemsCount(HYENA) == 1 : htmltext = "roy-2.htm" elif st.getQuestItemsCount(FOX) == 1 : htmltext = "roy-3.htm" elif st.getQuestItemsCount(WOLF) == 1 : htmltext = "roy-4.htm" return htmltext QUEST = Quest(111,qn,"custom") CREATED = State('Start', QUEST) STARTED = State('Started', QUEST) COMPLETED = State('Completed', QUEST) # Quest initialization QUEST.setInitialState(CREATED) # Quest NPC starter initialization QUEST.addStartNpc(ROY) QUEST.addStartNpc(WINNIE) QUEST.addTalkId(ROY) QUEST.addTalkId(WINNIE)
  7. Всем доброе время суток Помогите как можно исправить ошибку с квестам Line: -1 - Column: -1 Traceback (innermost last): File "__init__.py", line 139, in ? TypeError: evermore.gameserver.model.quest.State(): expected 0 args; got 2
  8. Там фул фепо р 90 а не от р90 и до 97 Фалы анимации там obj так туш их можно и под Хф и под ИТ
  9. http://dump.ru/file/5809279 Ставти +
  10. Там сего две пухи
  11. Каму надо могу выложить !!! А с вас спс!
  12. Как вам это ? http://s3.dump.ru/viewer/5809250/ http://s3.dump.ru/viewer/5809251/
  13. Вот если кому то надо http://dump.ru/file/5809218
  14. Как вам для первого раза ? Скрытый текстhttp://s3.dump.ru/viewer/5809212/
  15. knaif

    Как Сделать ?

    Не фига я уже делал
  16. knaif

    Как Сделать ?

    Мда так и не кто и не помог
  17. knaif

    Как Сделать ?

    Если кто то может сделать сделайте пожалуйста
  18. knaif

    Как Сделать ?

    Скрытый текстreturn (IdFactoryType)Enum.valueOf(l2jlionna/Config$IdFactoryType, n ame); ^ Config.java:100: cannot find symbol symbol : variable Config$IdFactoryType location: class l2jlionna.Config.IdFactoryType return (IdFactoryType)Enum.valueOf(l2jlionna/Config$IdFactoryType, n ame); ^ Config.java:100: <T>valueOf(java.lang.Class<T>,java.lang.String) in java.lang.En um cannot be applied to (int,java.lang.String) return (IdFactoryType)Enum.valueOf(l2jlionna/Config$IdFactoryType, n ame); ^ Config.java:120: cannot find symbol symbol : constructor Enum(java.lang.String,int,java.lang.String,int) location: class java.lang.Enum super(s, i); ^ Config.java:124: classes cannot directly extend java.lang.Enum public static final class OnSuccessLoginAction extends Enum ^ Config.java:134: cannot find symbol symbol : variable l2jlionna location: class l2jlionna.Config.OnSuccessLoginAction return (OnSuccessLoginAction)Enum.valueOf(l2jlionna/Config$OnSuccess LoginAction, name); ^ Config.java:134: cannot find symbol symbol : variable Config$OnSuccessLoginAction location: class l2jlionna.Config.OnSuccessLoginAction return (OnSuccessLoginAction)Enum.valueOf(l2jlionna/Config$OnSuccess LoginAction, name); ^ Config.java:134: <T>valueOf(java.lang.Class<T>,java.lang.String) in java.lang.En um cannot be applied to (int,java.lang.String) return (OnSuccessLoginAction)Enum.valueOf(l2jlionna/Config$OnSuccess LoginAction, name); ^ Config.java:152: cannot find symbol symbol : constructor Enum(java.lang.String,int,java.lang.String,int) location: class java.lang.Enum super(s, i); ^ Config.java:156: classes cannot directly extend java.lang.Enum public static final class CorrectSpawnsZ extends Enum ^ Config.java:166: cannot find symbol symbol : variable l2jlionna location: class l2jlionna.Config.CorrectSpawnsZ return (CorrectSpawnsZ)Enum.valueOf(l2jlionna/Config$CorrectSpawnsZ, name); ^ Config.java:166: cannot find symbol symbol : variable Config$CorrectSpawnsZ location: class l2jlionna.Config.CorrectSpawnsZ return (CorrectSpawnsZ)Enum.valueOf(l2jlionna/Config$CorrectSpawnsZ, name); ^ Config.java:166: <T>valueOf(java.lang.Class<T>,java.lang.String) in java.lang.En um cannot be applied to (int,java.lang.String) return (CorrectSpawnsZ)Enum.valueOf(l2jlionna/Config$CorrectSpawnsZ, name); ^ Config.java:188: cannot find symbol symbol : constructor Enum(java.lang.String,int,java.lang.String,int) location: class java.lang.Enum super(s, i); ^ Config.java:236: cannot find symbol symbol : class FastMap location: class l2jlionna.Config EXTENDERS = new FastMap(); ^ Config.java:258: cannot find symbol symbol : class FastList location: class l2jlionna.Config EXTENDERS.put(baseName, new FastList()); ^ Config.java:259: warning: [unchecked] unchecked call to add(E) as a member of th e raw type java.util.List ((List)EXTENDERS.get(baseName)).add(className); ^ Config.java:3931: cannot find symbol symbol : variable l2jlionna location: class l2jlionna.Config private static final Log _log = LogFactory.getLog(l2jlionna/Config); ^ Config.java:3931: cannot find symbol symbol : variable Config location: class l2jlionna.Config private static final Log _log = LogFactory.getLog(l2jlionna/Config); ^ Config.java:3931: cannot find symbol symbol : variable LogFactory location: class l2jlionna.Config private static final Log _log = LogFactory.getLog(l2jlionna/Config); ^ Config.java:275: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config MMOTopEnable = TypeFormat.parseBoolean(p.getProperty("MMOTopEnable", "false")); ^ Config.java:277: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config MMOTopRefreshTime = TypeFormat.parseInt(p.getProperty("MMOTopRefresh Time", "10")); ^ Config.java:278: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config MMOTopRewardItemId = TypeFormat.parseInt(p.getProperty("MMOTopReward ItemId", "4037")); ^ Config.java:279: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config MMOTopRewardItemCount = TypeFormat.parseInt(p.getProperty("MMOTopRew ardItemCount", "1")); ^ Config.java:294: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config ALLOW_MESSAGE_ON_ENTER = TypeFormat.parseBoolean(p.getProperty("Allo wMessageOnEnter", "False")); ^ Config.java:296: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config ONLINE_PLAYERS_ON_LOGIN = TypeFormat.parseBoolean(p.getProperty("Onl ineOnLogin", "False")); ^ Config.java:297: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config WELCOME_HTM = TypeFormat.parseBoolean(p.getProperty("WelcomeHtm", "F alse")); ^ Config.java:298: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config NOBLE_CUSTOM_ITEMS = TypeFormat.parseBoolean(p.getProperty("EnableNo bleCustomItem", "True")); ^ Config.java:299: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config NOOBLE_CUSTOM_ITEM_ID = TypeFormat.parseInt(p.getProperty("NoobleCus tomItemId", "6673")); ^ Config.java:300: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config HERO_CUSTOM_ITEMS = TypeFormat.parseBoolean(p.getProperty("EnableHer oCustomItem", "True")); ^ Config.java:301: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config HERO_CUSTOM_ITEM_ID = TypeFormat.parseInt(p.getProperty("HeroCustomI temId", "3481")); ^ Config.java:302: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config HERO_CUSTOM_DAY = TypeFormat.parseInt(p.getProperty("HeroCustomDay", "0")); ^ Config.java:303: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config CASTLE_SHIELD = TypeFormat.parseBoolean(p.getProperty("CastleShieldR estriction", "True")); ^ Config.java:304: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config CLANHALL_SHIELD = TypeFormat.parseBoolean(p.getProperty("ClanHallShi eldRestriction", "True")); ^ Config.java:305: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config APELLA_ARMORS = TypeFormat.parseBoolean(p.getProperty("ApellaArmorsR estriction", "True")); ^ Config.java:306: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config OATH_ARMORS = TypeFormat.parseBoolean(p.getProperty("OathArmorsRestr iction", "True")); ^ Config.java:307: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config CASTLE_CROWN = TypeFormat.parseBoolean(p.getProperty("CastleLordsCro wnRestriction", "True")); ^ Config.java:308: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config CASTLE_CIRCLETS = TypeFormat.parseBoolean(p.getProperty("CastleCircl etsRestriction", "True")); ^ Config.java:309: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config CRUMA_TOWER_LEVEL_RESTRICT = TypeFormat.parseInt(p.getProperty("Crum aTowerLevelRestrict", "56")); ^ Config.java:310: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config KEEP_SUBCLASS_SKILLS = TypeFormat.parseBoolean(p.getProperty("KeepSu bClassSkills", "False")); ^ Config.java:311: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config ALLOWED_SUBCLASS = TypeFormat.parseInt(p.getProperty("AllowedSubclas s", "3")); ^ Config.java:313: cannot find symbol symbol : variable TypeFormat location: class l2jlionna.Config STORE_ZONE_PEACE = TypeFormat.parseBoolean(p.getProperty("StoreOnlyI nPeaceZone", "False")); ^ Config.java:714: warning: [unchecked] unchecked call to add(E) as a member of th e raw type java.util.List LIST_NO_DROP_THIS_PLAYERS.add(Integer.valueOf(Integer.parseInt(i d))); ^ Config.java:1071: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List MAGE_WEAPON_ID_LIST.add(Integer.valueOf(Integer.parseInt(id))); ^ Config.java:1580: warning: [unchecked] unchecked call to addAll(java.util.Collec tion<? extends E>) as a member of the raw type java.util.ArrayList MULTILANG_ALLOWED.addAll(Arrays.asList(allowed)); ^ Config.java:1828: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List LIST_RESTRICTED_CHAR_NAMES.add(name); ^ Config.java:1854: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Map ENCHANT_MULTISELL_LIST.put(Integer.valueOf(Integer.parse Int(enchantSplit[0])), Integer.valueOf(Integer.parseInt(enchantSplit[1]))); ^ Config.java:1979: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List LIST_GM_BANCHAT.add(Integer.valueOf(Integer.parseInt(id))); ^ Config.java:2012: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List LIST_SALE_DISALLOWED_ITEMS_FOR_BID.add(Integer.valueOf(Integer.p arseInt(id))); ^ Config.java:2516: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List for(StringTokenizer buff = new StringTokenizer(p.getProperty("Commun ityBufferExcludeOn", ""), " "); buff.hasMoreTokens(); COMMUNITY_BUFFER_EXCLUDE_O N.add(buff.nextToken())); ^ Config.java:2517: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List for(StringTokenizer gk = new StringTokenizer(p.getProperty("Gatekeep erExcludeOn", ""), " "); gk.hasMoreTokens(); COMMUNITY_GATEKEEPER_EXCLUDE_ON.add (gk.nextToken())); ^ Config.java:2555: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List STARTING_CUSTOM_ITEMS_M.add(new int[] { ^ Config.java:2579: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List STARTING_CUSTOM_ITEMS_F.add(new int[] { ^ Config.java:2995: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List LIST_GM_MASTERS.add(Integer.valueOf(Integer.parseInt(id))); ^ Config.java:2998: warning: [unchecked] unchecked call to add(E) as a member of t he raw type java.util.List for(StringTokenizer buff = new StringTokenizer(p.getProperty("AdminC ommandsType", ""), " "); buff.hasMoreTokens(); ADMIN_COMMANDS_TYPE.add(buff.next Token())); ^ 100 errors 14 warnings G:\compile>
  19. knaif

    Как Сделать ?

    Вот вмести с ядром http://dump.ru/file/5807419
  20. knaif

    Как Сделать ?

    javac -classpath l2jlionna.jar -Xlint:unchecked Config.java Когда жму Enter то когда она начинает ком...... там ошибка
×
×
  • Создать...