Eipa na arxiso na ksanadoulepso me java pano se interlude client k kala kala dn arxisa eki p piga na do ama ginete to compile mou evgale ta parakato error eno ta source ine kathara dn exo piraxi tpt epano ston kodika tis l2jfrozen :S
episis dokimasa na to kano compile me eclipse galileo k me eclipse indigo alla tpt :S
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:4975: incomparable types: java.lang.Enum<capture#743 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] && ItemTable.getInstance().createDummyItem(itemId).getItemType() == L2EtcItemType.HERB
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:4976: incomparable types: java.lang.Enum<capture#232 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] || ItemTable.getInstance().createDummyItem(itemId).getItemType() != L2EtcItemType.HERB))
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:5016: incomparable types: java.lang.Enum<capture#924 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:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6706: incomparable types: java.lang.Enum<capture#59 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] if(target.getItemType() == L2EtcItemType.HERB)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6728: inconvertible types
[javac] found : java.lang.Enum<capture#781 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType || target.getItem() instanceof L2Armor || target.getItem() instanceof L2Weapon)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6728: inconvertible types
[javac] found : java.lang.Enum<capture#948 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] if(target.getItemType() instanceof L2ArmorType || target.getItemType() instanceof L2WeaponType || target.getItem() instanceof L2Armor || target.getItem() instanceof L2Weapon)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6753: incomparable types: java.lang.Enum<capture#569 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] if(target.getItem() != null && target.getItem().getItemType() == L2EtcItemType.ARROW)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6932: inconvertible types
[javac] found : java.lang.Enum<capture#20 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] if ((L2ArmorType)legs.getItemType() == L2ArmorType.HEAVY
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6933: inconvertible types
[javac] found : java.lang.Enum<capture#334 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] && ((L2ArmorType)armor.getItemType() == L2ArmorType.HEAVY))
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6939: inconvertible types
[javac] found : java.lang.Enum<capture#872 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] && (L2ArmorType)armor.getItemType() == L2ArmorType.HEAVY))
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6957: inconvertible types
[javac] found : java.lang.Enum<capture#421 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] if ((L2ArmorType)legs.getItemType() == L2ArmorType.LIGHT
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6958: inconvertible types
[javac] found : java.lang.Enum<capture#94 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] && ((L2ArmorType)armor.getItemType() == L2ArmorType.LIGHT))
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6964: inconvertible types
[javac] found : java.lang.Enum<capture#748 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] && (L2ArmorType)armor.getItemType() == L2ArmorType.LIGHT))
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6982: inconvertible types
[javac] found : java.lang.Enum<capture#4 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] if ((L2ArmorType)legs.getItemType() == L2ArmorType.MAGIC
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6983: inconvertible types
[javac] found : java.lang.Enum<capture#74 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] && ((L2ArmorType)armor.getItemType() == L2ArmorType.MAGIC))
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:6989: inconvertible types
[javac] found : java.lang.Enum<capture#189 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] && (L2ArmorType)armor.getItemType() == L2ArmorType.MAGIC))
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2Weapon.java:141: inconvertible types
[javac] found : java.lang.Enum<capture#87 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] return (L2WeaponType) super._type;
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\TradeList.java:344: incomparable types: java.lang.Enum<capture#479 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] || item.getItemType() == L2EtcItemType.QUEST)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\TradeList.java:408: incomparable types: java.lang.Enum<capture#938 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] if(!item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:210: incomparable types: java.lang.Enum<capture#719 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] if(item.getItemType() == L2WeaponType.BOW)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:253: incomparable types: java.lang.Enum<capture#881 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] if(item.getItemType() == L2WeaponType.BOW)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\Inventory.java:1330: incomparable types: java.lang.Enum<capture#412 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] if(!(item.getItem() instanceof L2EtcItem) || item.getItem().getItemType() != L2EtcItemType.ARROW)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:733: incomparable types: java.lang.Enum<capture#770 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\PcInventory.java:786: incomparable types: java.lang.Enum<capture#959 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] if(!(item.isStackable() && getItemByItemId(item.getItemId()) != null) && item.getItemType() != L2EtcItemType.HERB)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\ShortCuts.java:134: incomparable types: java.lang.Enum<capture#928 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] if(item != null && item.getItemType() == L2EtcItemType.SHOT)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2520: incomparable types: java.lang.Enum<capture#721 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:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\model\L2Attackable.java:2520: incomparable types: java.lang.Enum<capture#884 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:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2Armor.java:82: inconvertible types
[javac] found : java.lang.Enum<capture#730 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] return (L2ArmorType) super._type;
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:338: incomparable types: java.lang.Enum<capture#56 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] if(item.type == L2WeaponType.NONE)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:387: incomparable types: java.lang.Enum<capture#62 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] if(item.type == L2WeaponType.PET)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\datatables\sql\ItemTable.java:462: incomparable types: java.lang.Enum<capture#183 of ?> and com.l2jfrozen.gameserver.templates.L2ArmorType
[javac] if(item.type == L2ArmorType.PET)
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\templates\L2EtcItem.java:48: inconvertible types
[javac] found : java.lang.Enum<capture#314 of ?>
[javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
[javac] return (L2EtcItemType) super._type;
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Blow.java:159: incomparable types: java.lang.Enum<capture#214 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] soul = (ss && (weapon.getItemType() == L2WeaponType.DAGGER ));
[javac] ^
[javac] C:\workspace\L2JFrozen\gameserver\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Pdam.java:137: incomparable types: java.lang.Enum<capture#129 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
[javac] soul = (ss && weapon.getItemType() != L2WeaponType.DAGGER);
[javac] ^
A small reminder for everyone browsing here - our bonus-start is active starting from today, you can already play with the new benefits! Have a good time everyone 🙂
Question
kokkinidisjim
Eipa na arxiso na ksanadoulepso me java pano se interlude client k kala kala dn arxisa eki p piga na do ama ginete to compile mou evgale ta parakato error eno ta source ine kathara dn exo piraxi tpt epano ston kodika tis l2jfrozen :S
episis dokimasa na to kano compile me eclipse galileo k me eclipse indigo alla tpt :S
sinexia sto epomeno post
3 answers to this question
Recommended Posts