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

JustRain

Постоялец
  • Публикаций

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

  • Посещение

  • Отзывы

    0%

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

  1. Вообщем пользовался этим мануалом ссылка В игре отображается всё отлично (скилл есть) Когда нажимаю, итем забирается (1ккк адена) В чате пишет, что дало Coin of Luck, но в инвентаре его нету. Аналогично с кола в адену. Возможно защита какая-то, подскажите, кто знает. К сожалению обрыл поиск, но подобной проблемы не нашел. За ранее спасибо) Сборка - l2jfrozen Встроенной защиты никакой нету, только примудрости фрозенов Что показывает клиент: Код скилла: <skill id="3634" levels="1" name="Adena - Coin"> <set name="mpConsume" val="50"/> <set name="target" val="TARGET_SELF"/> <set name="hitTime" val="1000"/> <set name="skillType" val="CREATE_ITEM"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="effectRange" val="-1"/> <set name="itemConsumeId" val="57"/> <set name="itemConsumeCount" val="1000000000"/> <set name="create_item_id" val="4037"/> <set name="create_item_count" val="1"/> <set name="random_count" val="1"/> </skill> <skill id="3635" levels="1" name="Coin - Adena"> <set name="mpConsume" val="50"/> <set name="target" val="TARGET_SELF"/> <set name="hitTime" val="1000"/> <set name="skillType" val="CREATE_ITEM"/> <set name="operateType" val="OP_ACTIVE"/> <set name="castRange" val="-1"/> <set name="effectRange" val="-1"/> <set name="itemConsumeId" val="4037"/> <set name="itemConsumeCount" val="1"/> <set name="create_item_id" val="57"/> <set name="create_item_count" val="1000000000"/> <set name="random_count" val="1"/> </skill> В логе это Выглядит вот так: [24 окт 10:26:15] CHANGE:Consume | item 268478773: Coin of Luck(553970)| player [ADM]~Krays [24 окт 10:26:15] DELETE:Skill | item 268478792: Adena(0)| player [ADM]~Krays| player [ADM]~Krays [24 окт 10:26:22] CHANGE:Consume | item 268478773: Coin of Luck(553969)| player [ADM]~Krays [24 окт 10:26:22] DELETE:Skill | item 268478793: Adena(0)| player [ADM]~Krays| player [ADM]~Krays
  2. JustRain

    Fakeplayers

    Если честно ничего не понял Возможно на форуме есть какая-то функция, которая описуется в посте и на её примере можно добавить эту?
  3. JustRain

    Fakeplayers

    Извините за возможно глупый вопрос, но каким именно образом осуществляется заливка этого в исходники?
  4. У меня при компиляции выбивает это: Buildfile: E:\server\eclipse\L2jlink\gameserver\build.xml prepare-local: prepare-final: init: version: [echo] L2jFrozen Gameserver Revision: 953M compile: [javac] Compiling 1110 source files to E:\server\eclipse\L2jlink\gameserver\build\classes [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:55: cannot find symbol [javac] symbol : variable VOTES_SYSYEM_INITIAL_DELAY [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), PowerPakConfig.VOTES_SYSYEM_INITIAL_DELAY, PowerPakConfig.VOTES_SYSYEM_STEP_DELAY); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:55: cannot find symbol [javac] symbol : variable VOTES_SYSYEM_STEP_DELAY [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new AutoReward(), PowerPakConfig.VOTES_SYSYEM_INITIAL_DELAY, PowerPakConfig.VOTES_SYSYEM_STEP_DELAY); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:63: cannot find symbol [javac] symbol : variable VOTES_SYSYEM_STEP_DELAY [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] int minutes = (PowerPakConfig.VOTES_SYSYEM_STEP_DELAY/1000)/60; [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:72: cannot find symbol [javac] symbol : variable VOTES_FOR_REWARD [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] if (hopzone_votes != 0 && hopzone_votes >= getHopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:72: operator + cannot be applied to int,com.l2jfrozen.gameserver.powerpak.PowerPakConfig.VOTES_FOR_REWARD [javac] if (hopzone_votes != 0 && hopzone_votes >= getHopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:72: operator >= cannot be applied to int,<nulltype> [javac] if (hopzone_votes != 0 && hopzone_votes >= getHopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:87: cannot find symbol [javac] symbol : variable VOTES_REWARDS_LIST [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] Set<Integer> items = PowerPakConfig.VOTES_REWARDS_LIST.keySet(); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:93: cannot find symbol [javac] symbol : variable VOTES_REWARDS_LIST [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] player.addItem("reward", i, PowerPakConfig.VOTES_REWARDS_LIST.get(i), player, true); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:102: cannot find symbol [javac] symbol : variable VOTES_FOR_REWARD [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] Announcements.getInstance().gameAnnounceToAll("[AutoVoteReward] Next HOPZONE Reward in "+minutes+" minutes at " + (getHopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) + " Votes!!"); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:102: operator + cannot be applied to int,com.l2jfrozen.gameserver.powerpak.PowerPakConfig.VOTES_FOR_REWARD [javac] Announcements.getInstance().gameAnnounceToAll("[AutoVoteReward] Next HOPZONE Reward in "+minutes+" minutes at " + (getHopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) + " Votes!!"); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:104: cannot find symbol [javac] symbol : variable SERVER_WEB_SITE [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] Announcements.getInstance().gameAnnounceToAll("[siteWeb] "+PowerPakConfig.SERVER_WEB_SITE); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:110: cannot find symbol [javac] symbol : variable VOTES_SYSYEM_STEP_DELAY [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] if(topzone && hopzone && PowerPakConfig.VOTES_SYSYEM_STEP_DELAY>0) [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:113: cannot find symbol [javac] symbol : variable VOTES_SYSYEM_STEP_DELAY [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] Thread.sleep(PowerPakConfig.VOTES_SYSYEM_STEP_DELAY/2); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:129: cannot find symbol [javac] symbol : variable VOTES_FOR_REWARD [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] if (topzone_votes != 0 && topzone_votes >= getTopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:129: operator + cannot be applied to int,com.l2jfrozen.gameserver.powerpak.PowerPakConfig.VOTES_FOR_REWARD [javac] if (topzone_votes != 0 && topzone_votes >= getTopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:129: operator >= cannot be applied to int,<nulltype> [javac] if (topzone_votes != 0 && topzone_votes >= getTopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:144: cannot find symbol [javac] symbol : variable VOTES_REWARDS_LIST [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] Set<Integer> items = PowerPakConfig.VOTES_REWARDS_LIST.keySet(); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:150: cannot find symbol [javac] symbol : variable VOTES_REWARDS_LIST [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] player.addItem("reward", i, PowerPakConfig.VOTES_REWARDS_LIST.get(i), player, true); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:160: cannot find symbol [javac] symbol : variable VOTES_FOR_REWARD [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] Announcements.getInstance().gameAnnounceToAll("[AutoVoteReward] Next TOPZONE Reward in "+minutes+" minutes at " + (getTopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) + " Votes!!"); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:160: operator + cannot be applied to int,com.l2jfrozen.gameserver.powerpak.PowerPakConfig.VOTES_FOR_REWARD [javac] Announcements.getInstance().gameAnnounceToAll("[AutoVoteReward] Next TOPZONE Reward in "+minutes+" minutes at " + (getTopZoneVoteCount() + PowerPakConfig.VOTES_FOR_REWARD) + " Votes!!"); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:162: cannot find symbol [javac] symbol : variable SERVER_WEB_SITE [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] Announcements.getInstance().gameAnnounceToAll("[siteWeb] "+PowerPakConfig.SERVER_WEB_SITE); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:198: cannot find symbol [javac] symbol : variable VOTES_SITE_HOPZONE_URL [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] url = new URL(PowerPakConfig.VOTES_SITE_HOPZONE_URL); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:253: cannot find symbol [javac] symbol : variable VOTES_SITE_TOPZONE_URL [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] url = new URL(PowerPakConfig.VOTES_SITE_TOPZONE_URL); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:324: cannot find symbol [javac] symbol : variable VOTES_SITE_HOPZONE_URL [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] if(PowerPakConfig.VOTES_SITE_HOPZONE_URL != null && !PowerPakConfig.VOTES_SITE_HOPZONE_URL.equals("")){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:324: cannot find symbol [javac] symbol : variable VOTES_SITE_HOPZONE_URL [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] if(PowerPakConfig.VOTES_SITE_HOPZONE_URL != null && !PowerPakConfig.VOTES_SITE_HOPZONE_URL.equals("")){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:328: cannot find symbol [javac] symbol : variable VOTES_SITE_TOPZONE_URL [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] if(PowerPakConfig.VOTES_SITE_TOPZONE_URL != null && !PowerPakConfig.VOTES_SITE_TOPZONE_URL.equals("")){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\AutoVoteRewardHandler.java:328: cannot find symbol [javac] symbol : variable VOTES_SITE_TOPZONE_URL [javac] location: class com.l2jfrozen.gameserver.powerpak.PowerPakConfig [javac] if(PowerPakConfig.VOTES_SITE_TOPZONE_URL != null && !PowerPakConfig.VOTES_SITE_TOPZONE_URL.equals("")){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\admincommandhandlers\AdminDonator.java:75: cannot find symbol [javac] symbol : method isDonator() [javac] location: class com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance [javac] boolean newDonator = !targetPlayer.isDonator(); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\admincommandhandlers\AdminDonator.java:79: cannot find symbol [javac] symbol : method setDonator(boolean) [javac] location: class com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance [javac] targetPlayer.setDonator(true); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\handler\admincommandhandlers\AdminDonator.java:88: cannot find symbol [javac] symbol : method setDonator(boolean) [javac] location: class com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance [javac] targetPlayer.setDonator(false); [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\skills\BaseStats.java:165: cannot find symbol [javac] symbol : variable ALT_RAIDS_STATS_BONUS [javac] location: class com.l2jfrozen.Config [javac] if((actor instanceof L2RaidBossInstance || actor instanceof L2GrandBossInstance) && Config.ALT_RAIDS_STATS_BONUS){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\skills\BaseStats.java:192: cannot find symbol [javac] symbol : variable ALT_RAIDS_STATS_BONUS [javac] location: class com.l2jfrozen.Config [javac] if((actor instanceof L2RaidBossInstance || actor instanceof L2GrandBossInstance) && Config.ALT_RAIDS_STATS_BONUS){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\skills\BaseStats.java:218: cannot find symbol [javac] symbol : variable ALT_RAIDS_STATS_BONUS [javac] location: class com.l2jfrozen.Config [javac] if((actor instanceof L2RaidBossInstance || actor instanceof L2GrandBossInstance) && Config.ALT_RAIDS_STATS_BONUS){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\skills\BaseStats.java:245: cannot find symbol [javac] symbol : variable ALT_RAIDS_STATS_BONUS [javac] location: class com.l2jfrozen.Config [javac] if((actor instanceof L2RaidBossInstance || actor instanceof L2GrandBossInstance) && Config.ALT_RAIDS_STATS_BONUS){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\skills\BaseStats.java:272: cannot find symbol [javac] symbol : variable ALT_RAIDS_STATS_BONUS [javac] location: class com.l2jfrozen.Config [javac] if((actor instanceof L2RaidBossInstance || actor instanceof L2GrandBossInstance) && Config.ALT_RAIDS_STATS_BONUS){ [javac] ^ [javac] E:\server\eclipse\L2jlink\gameserver\head-src\com\l2jfrozen\gameserver\skills\BaseStats.java:297: cannot find symbol [javac] symbol : variable ALT_RAIDS_STATS_BONUS [javac] location: class com.l2jfrozen.Config [javac] if((actor instanceof L2RaidBossInstance || actor instanceof L2GrandBossInstance) && Config.ALT_RAIDS_STATS_BONUS){ [javac] ^ [javac] 36 errors BUILD FAILED E:\server\eclipse\L2jlink\gameserver\build.xml:65: Compile failed; see the compiler error output for details. Total time: 5 seconds Чистую сборку фрозенов без проблем компилит. Посоветуйте что-то. Пробовал на jdk 6.35 и jdk 7.07 - Толку 0.
  5. JustRain

    Есть Ли У Кого?:3

    Попробуй поискать в патче клаба)
  6. JustRain

    Splash Screen

    У кого есть сплэш скрины с этой темы? Облазил везде, нигде нету. Если есть у кого - скиньте, буду очень благодарен)
  7. JustRain

    Buffer

    блин, у фрозенов открытый сорц, в нете куча бафферов, если уж не подходят сделанные под фрозен, возьми, который нравится и перепиши импорты
  8. JustRain

    Frozen Guard

    что за бред? Frozen Guard - это древняя защита sps (scoria protection system), изменили там только название, картинку добавили и привязку сделали. Защита и в прям не о чем, возможно от школоты, которая использует версию хлапекса 5-го года - поможет.
  9. JustRain

    God Rus-dev Rev. 192

    возможно... сам удивился, что эта папка забыла в корне компила значение знаете, умники? на каждом шагу в интернете палм никак не может быть здесь уместно, нечего сказать - помолчите. Жду адекватные ответы! Бред школоты не позновательно читать. Убейтесь неверные
  10. JustRain

    God Rus-dev Rev. 192

    Трям, форумчане в прочем вопрос каким макаром ставится сборка Rus-Dev rev. 192 у меня уже мозги кипят реально ничего не понятно одна и та же ошибка в лс и гс, только базу залить умудрился, и то с ошибкой >.<
  11. просто пустозвон. доказывать мальчишке 15-ти лет, который едва импорты зазучил и написал шоп на "очень" сложном языке html, то да, чувак, это круто. печально
  12. всё, молодцы. все пантанулись? всем стало легче? никто не пробовал и все такие умные. Стоит привязка на сайт создателя защиты, видать он предпочел отключить защиту. поставил frozen guard вообще без толку сюда писать, помогаешь людям, а остальные просто посты набивают. досвидос.
  13. первым делом все это пробуют.
  14. где чорт возьми писать ip в клиенской части?
  15. и что там поменять/дописать/с абракадабрить? ничего не пойму. что бы консоль защиту запускал мне нужно
  16. где в исходах писать путь к защите
  17. JustRain

    Остановка Exp

    я понмю ты мне писал что-то подобное))
  18. JustRain

    Остановка Exp

    Может кому понадобится Остановка EXP коммандами в чате .expoff, .xpoff Включение .expon, .xpon Index: trunk/gameserver/config/functions/l2jfrozen.properties =================================================================== --- trunk/gameserver/config/functions/l2jfrozen.properties (revision 803) +++ trunk/gameserver/config/functions/l2jfrozen.properties (working copy) @@ -275,4 +275,10 @@ ProtectorSkillLevel = 13 ProtectorSkillTime = 600 # Npc Protector Message -ProtectorMessage = Hey You!, Never Kill On This Area, Go Read The Rules! \ No newline at end of file +ProtectorMessage = Hey You!, Never Kill On This Area, Go Read The Rules! + +# --------------------------------------------------------------------------------- +# Enable / Disable Xp +# --------------------------------------------------------------------------------- +#Enable / Disable command receiving experience. (. Expon. Expoff. Xpon. Xpoff) +AllowExpGainCommand = False \ No newline at end of file Index: trunk/gameserver/head-src/com/l2jfrozen/Config.java =================================================================== --- trunk/gameserver/head-src/com/l2jfrozen/Config.java (revision 803) +++ trunk/gameserver/head-src/com/l2jfrozen/Config.java (working copy) @@ -2241,6 +2241,7 @@ public static String FARM2_CUSTOM_MESSAGE; public static String PVP1_CUSTOM_MESSAGE; public static String PVP2_CUSTOM_MESSAGE; + public static boolean ALLOW_EXP_GAIN_COMMAND; //============================================================ public static void loadL2SCORIAConfig() @@ -2359,6 +2360,7 @@ FARM2_CUSTOM_MESSAGE = L2ScoriaSettings.getProperty("Farm2CustomMeesage", "You have been teleported to Farm Zone 2!"); PVP1_CUSTOM_MESSAGE = L2ScoriaSettings.getProperty("PvP1CustomMeesage", "You have been teleported to PvP Zone 1!"); PVP2_CUSTOM_MESSAGE = L2ScoriaSettings.getProperty("PvP2CustomMeesage", "You have been teleported to PvP Zone 2!"); + ALLOW_EXP_GAIN_COMMAND = Boolean.parseBoolean(L2ScoriaSettings.getProperty("AllowExpGainCommand", "false")); } catch(Exception e) { Index: trunk/gameserver/head-src/com/l2jfrozen/gameserver/handler/VoicedCommandHandler.java =================================================================== --- trunk/gameserver/head-src/com/l2jfrozen/gameserver/handler/VoicedCommandHandler.java (revision 803) +++ trunk/gameserver/head-src/com/l2jfrozen/gameserver/handler/VoicedCommandHandler.java (working copy) @@ -36,6 +36,7 @@ import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.VersionCmd; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Voting; import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.Wedding; +import com.l2jfrozen.gameserver.handler.voicedcommandhandlers.ExpGain; /** * This class ... @@ -90,7 +91,8 @@ { registerVoicedCommandHandler(new Wedding()); } - + + registerVoicedCommandHandler(new ExpGain()); registerVoicedCommandHandler(new StatsCmd()); if(Config.ALLOW_VERSION_COMMAND) Index: trunk/gameserver/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java =================================================================== --- trunk/gameserver/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (revision 803) +++ trunk/gameserver/head-src/com/l2jfrozen/gameserver/model/actor/instance/L2PcInstance.java (working copy) @@ -13049,8 +13049,13 @@ @Override public void addExpAndSp(long addToExp, int addToSp) { - getStat().addExpAndSp(addToExp, addToSp); - } + // getStat().addExpAndSp(addToExp, addToSp, false); + //} + if (_expGainOn) + getStat().addExpAndSp(addToExp, addToSp); + else + getStat().addExpAndSp(0, addToSp); + } public void removeExpAndSp(long removeExp, int removeSp) { @@ -15984,4 +15989,16 @@ { return getClient().getFloodProtectors(); } + + // ----------------------EXP on/off---------------------- + private boolean _expGainOn = true; + public void setExpOn(boolean expOn) + { + _expGainOn = expOn; + } + public boolean getExpOn() + { + return _expGainOn; + } + // ----------------------EXP on/off----end------------------ } Index: trunk/gameserver/head-src/com/l2jfrozen/gameserver/handler/voicedcommandhandlers/ExpGain.java =================================================================== --- trunk/gameserver/head-src/com/l2jfrozen/gameserver/handler/voicedcommandhandlers/ExpGain.java (revision 0) +++ trunk/gameserver/head-src/com/l2jfrozen/gameserver/handler/voicedcommandhandlers/ExpGain.java (revision 0) @@ -0,0 +1,48 @@ +/* + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU General Public License as published by the Free Software + * Foundation, either version 3 of the License, or (at your option) any later + * version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see <http://www.gnu.org/licenses/>. + */ +package com.l2jfrozen.gameserver.handler.voicedcommandhandlers; + +import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler; +import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance; + +public class ExpGain implements IVoicedCommandHandler +{ + private String[] _voicedCommands = { + "expon", + "xpon", + "expoff", + "xpoff" + }; + + public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target) + { + if (command.equalsIgnoreCase("expon") || command.equalsIgnoreCase("xpon")) + { + activeChar.setExpOn(true); + activeChar.sendMessage("You gain XP."); + } + else if (command.equalsIgnoreCase("expoff") || command.equalsIgnoreCase("xpoff")) + { + activeChar.setExpOn(false); + activeChar.sendMessage("You not gain XP."); + } + return true; + } + + public String[] getVoicedCommandList() + { + return _voicedCommands; + } +} \ No newline at end of file Источник: перейти
  19. JustRain

    Осады Каждую Неделю

    можно закрыть
  20. JustRain

    Осады Каждую Неделю

    // Since siege has past reschedule it to the next one (14 days) было не впадло залесть в исходники. кому надо файл Siege.java getCastle().getSiegeDate().add(Calendar.DAY_OF_MONTH, 14);
  21. JustRain

    Осады Каждую Неделю

    Привет кодеры интересует вопрос: Как сделать в L2jFrozen осады каждую неделю?
  22. JustRain

    Компиляция Сервера

    нашел проблему) можно закрыть
  23. JustRain

    Компиляция Сервера

    Ребят, привет всем Вот столкнулся с проблемкой при компиляции сервера.. датапак компилит отлично, а с геймсервером что-то не понятное Всё делал по инструкции вот что консоль пишет: Buildfile: C:\eclipse\trunk\gameserver\build.xml prepare-local: prepare-final: init: version: [echo] L2jFrozen Gameserver Revision: 823 compile: [javac] Compiling 1405 source files to C:\eclipse\trunk\gameserver\build\classes [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\ItemsAutoDestroy.java:87: incomparable types: java.lang.Enum<capture#22 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(item.getItemType() == L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:3666: incomparable types: java.lang.Enum<capture#97 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] && ItemTable.getInstance().createDummyItem(itemId).getItemType() == L2EtcItemType.HERB [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:3667: incomparable types: java.lang.Enum<capture#300 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] || ItemTable.getInstance().createDummyItem(itemId).getItemType() != L2EtcItemType.HERB)) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:3707: incomparable types: java.lang.Enum<capture#883 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(ItemTable.getInstance().createDummyItem(itemId).getItemType() == L2EtcItemType.HERB) //If item is herb dont add it to iv :] [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5278: incomparable types: java.lang.Enum<capture#722 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(target.getItemType() == L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5300: inconvertible types [javac] found : java.lang.Enum<capture#672 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType [javac] if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5300: inconvertible types [javac] found : java.lang.Enum<capture#227 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5453: inconvertible types [javac] found : java.lang.Enum<capture#259 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType [javac] if((L2ArmorType) armor.getItemType() == L2ArmorType.HEAVY) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5467: inconvertible types [javac] found : java.lang.Enum<capture#327 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType [javac] if((L2ArmorType) armor.getItemType() == L2ArmorType.LIGHT) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5481: inconvertible types [javac] found : java.lang.Enum<capture#209 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType [javac] if((L2ArmorType) armor.getItemType() == L2ArmorType.MAGIC) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\TradeList.java:337: incomparable types: java.lang.Enum<capture#122 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] || item.getItemType() == L2EtcItemType.QUEST) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\TradeList.java:391: incomparable types: java.lang.Enum<capture#38 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(!item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:210: incomparable types: java.lang.Enum<capture#808 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(item.getItemType() == L2WeaponType.BOW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:253: incomparable types: java.lang.Enum<capture#723 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(item.getItemType() == L2WeaponType.BOW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:1310: incomparable types: java.lang.Enum<capture#977 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(!(item.getItem() instanceof L2EtcItem) || item.getItem().getItemType() != L2EtcItemType.ARROW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:691: incomparable types: java.lang.Enum<capture#700 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:744: incomparable types: java.lang.Enum<capture#394 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\ShortCuts.java:133: incomparable types: java.lang.Enum<capture#470 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(item != null && item.getItemType() == L2EtcItemType.SHOT) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2492: incomparable types: java.lang.Enum<capture#605 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && ditem.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && ditem.getItemType() == L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2492: incomparable types: java.lang.Enum<capture#5 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && ditem.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && ditem.getItemType() == L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2Weapon.java:141: inconvertible types [javac] found : java.lang.Enum<capture#722 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType [javac] return (L2WeaponType) super._type; [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2Armor.java:82: inconvertible types [javac] found : java.lang.Enum<capture#339 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType [javac] return (L2ArmorType) super._type; [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:341: incomparable types: java.lang.Enum<capture#506 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(item.type == L2WeaponType.NONE) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:390: incomparable types: java.lang.Enum<capture#500 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(item.type == L2WeaponType.PET) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:465: incomparable types: java.lang.Enum<capture#519 of ?> and com.l2jfrozen.gameserver.templates.L2ArmorType [javac] if(item.type == L2ArmorType.PET) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2EtcItem.java:48: inconvertible types [javac] found : java.lang.Enum<capture#995 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] return (L2EtcItemType) super._type; [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Blow.java:149: incomparable types: java.lang.Enum<capture#512 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && (weapon.getItemType() == L2WeaponType.DAGGER )); [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Pdam.java:134: incomparable types: java.lang.Enum<capture#244 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && weapon.getItemType() != L2WeaponType.DAGGER); [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\StrSiegeAssault.java:107: incomparable types: java.lang.Enum<capture#512 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && weapon.getItemType() != L2WeaponType.DAGGER); [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:169: incomparable types: java.lang.Enum<capture#969 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && item.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && item.getItemType() == L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:169: incomparable types: java.lang.Enum<capture#311 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(Config.AUTODESTROY_ITEM_AFTER > 0 && item.getItemType() != L2EtcItemType.HERB || Config.HERB_AUTO_DESTROY_TIME > 0 && item.getItemType() == L2EtcItemType.HERB) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestDropItem.java:102: incomparable types: java.lang.Enum<capture#342 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(item.getItemType() == L2EtcItemType.QUEST && !(activeChar.isGM() && Config.GM_TRADE_RESTRICTED_ITEMS)) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestEnchantItem.java:133: incomparable types: java.lang.Enum<capture#618 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(item.getItem().getItemType() == L2WeaponType.ROD || item.isShadowItem()) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestPackageSend.java:153: incomparable types: java.lang.Enum<capture#267 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(!item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\network\clientpackets\SendWareHouseDepositList.java:164: incomparable types: java.lang.Enum<capture#603 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] if(warehouse instanceof ClanWarehouse && !item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:162: inconvertible types [javac] found : java.lang.Enum<capture#542 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType [javac] if(_currentItem.type instanceof L2ArmorType) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:164: inconvertible types [javac] found : java.lang.Enum<capture#545 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType [javac] _currentItem.item = new L2Armor((L2ArmorType) _currentItem.type, _currentItem.set); [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:166: inconvertible types [javac] found : java.lang.Enum<capture#771 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(_currentItem.type instanceof L2WeaponType) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:168: inconvertible types [javac] found : java.lang.Enum<capture#327 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType [javac] _currentItem.item = new L2Weapon((L2WeaponType) _currentItem.type, _currentItem.set); [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:170: inconvertible types [javac] found : java.lang.Enum<capture#933 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] else if(_currentItem.type instanceof L2EtcItemType) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:172: inconvertible types [javac] found : java.lang.Enum<capture#838 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] _currentItem.item = new L2EtcItem((L2EtcItemType) _currentItem.type, _currentItem.set); [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\SkillsEngine.java:152: inconvertible types [javac] found : java.lang.Enum<capture#779 of ?> [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType [javac] list.add(new L2EtcItem((L2EtcItemType) item.type, item.set)); [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:106: incomparable types: java.lang.Enum<capture#93 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(itemType == L2WeaponType.BOW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:110: incomparable types: java.lang.Enum<capture#81 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:110: incomparable types: java.lang.Enum<capture#368 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:110: incomparable types: java.lang.Enum<capture#335 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:120: incomparable types: java.lang.Enum<capture#824 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(itemType == L2WeaponType.BOW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:124: incomparable types: java.lang.Enum<capture#940 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:124: incomparable types: java.lang.Enum<capture#416 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:124: incomparable types: java.lang.Enum<capture#173 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:134: incomparable types: java.lang.Enum<capture#814 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(itemType == L2WeaponType.BOW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:138: incomparable types: java.lang.Enum<capture#263 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:138: incomparable types: java.lang.Enum<capture#689 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:138: incomparable types: java.lang.Enum<capture#268 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:149: incomparable types: java.lang.Enum<capture#56 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(itemType == L2WeaponType.BOW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:159: incomparable types: java.lang.Enum<capture#166 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] if(itemType == L2WeaponType.BOW) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:163: incomparable types: java.lang.Enum<capture#110 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:163: incomparable types: java.lang.Enum<capture#278 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:163: incomparable types: java.lang.Enum<capture#971 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] else if(itemType == L2WeaponType.DUALFIST || itemType == L2WeaponType.DUAL || itemType == L2WeaponType.SWORD && item.getItem().getBodyPart() == 16384) [javac] ^ [javac] C:\eclipse\trunk\gameserver\head-src\com\l2jfrozen\gameserver\skills\l2skills\L2SkillChargeDmg.java:113: incomparable types: java.lang.Enum<capture#841 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType [javac] boolean soul = weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && weapon.getItemType() != L2WeaponType.DAGGER; [javac] ^ [javac] 60 errors BUILD FAILED C:\eclipse\trunk\gameserver\build.xml:64: Compile failed; see the compiler error output for details. Total time: 7 seconds
×
×
  • Создать...