Jump to content
  • 0

[Help] Compiling L2JFrozen Pack Help Me


IMac

Question

Help Me Gyes Please

 [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Blow.java:148: incomparable types: java.lang.Enum<capture#181 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && (weapon.getItemType() == L2WeaponType.DAGGER ));
    [javac] 				                                                                                                                          ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\Pdam.java:134: incomparable types: java.lang.Enum<capture#139 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 			boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && weapon.getItemType() != L2WeaponType.DAGGER);
    [javac] 			                                                                                                                         ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\handler\skillhandlers\StrSiegeAssault.java:107: incomparable types: java.lang.Enum<capture#982 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 				boolean soul = (weapon != null && weapon.getChargedSoulshot() == L2ItemInstance.CHARGED_SOULSHOT && weapon.getItemType() != L2WeaponType.DAGGER);
    [javac] 				                                                                                                                         ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:169: incomparable types: java.lang.Enum<capture#695 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:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\managers\ItemsOnGroundManager.java:169: incomparable types: java.lang.Enum<capture#793 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:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestDropItem.java:95: incomparable types: java.lang.Enum<capture#328 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		if(item.getItemType() == L2EtcItemType.QUEST && !(activeChar.isGM() && Config.GM_TRADE_RESTRICTED_ITEMS))
    [javac] 		                      ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestEnchantItem.java:133: incomparable types: java.lang.Enum<capture#852 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 		if(item.getItem().getItemType() == L2WeaponType.ROD || item.isShadowItem())
    [javac] 		                                ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\network\clientpackets\RequestPackageSend.java:153: incomparable types: java.lang.Enum<capture#822 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\network\clientpackets\SendWareHouseDepositList.java:164: incomparable types: java.lang.Enum<capture#651 of ?> and com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			if(warehouse instanceof ClanWarehouse && !item.isTradeable() || item.getItemType() == L2EtcItemType.QUEST)
    [javac] 			                                                                                   ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:162: inconvertible types
    [javac] found   : java.lang.Enum<capture#266 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 		if(_currentItem.type instanceof L2ArmorType)
    [javac] 		               ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:164: inconvertible types
    [javac] found   : java.lang.Enum<capture#273 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2ArmorType
    [javac] 			_currentItem.item = new L2Armor((L2ArmorType) _currentItem.type, _currentItem.set);
    [javac] 			                                                          ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:166: inconvertible types
    [javac] found   : java.lang.Enum<capture#379 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 		else if(_currentItem.type instanceof L2WeaponType)
    [javac] 		                    ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:168: inconvertible types
    [javac] found   : java.lang.Enum<capture#872 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] 			_currentItem.item = new L2Weapon((L2WeaponType) _currentItem.type, _currentItem.set);
    [javac] 			                                                            ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:170: inconvertible types
    [javac] found   : java.lang.Enum<capture#375 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 		else if(_currentItem.type instanceof L2EtcItemType)
    [javac] 		                    ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\DocumentItem.java:172: inconvertible types
    [javac] found   : java.lang.Enum<capture#379 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 			_currentItem.item = new L2EtcItem((L2EtcItemType) _currentItem.type, _currentItem.set);
    [javac] 			                                                              ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\SkillsEngine.java:152: inconvertible types
    [javac] found   : java.lang.Enum<capture#119 of ?>
    [javac] required: com.l2jfrozen.gameserver.templates.L2EtcItemType
    [javac] 				list.add(new L2EtcItem((L2EtcItemType) item.type, item.set));
    [javac] 				                                           ^
    [javac] C:\workspace\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\skills\funcs\FuncEnchant.java:106: incomparable types: java.lang.Enum<capture#760 of ?> and com.l2jfrozen.gameserver.templates.L2WeaponType
    [javac] The system is out of resources.
    [javac] Consult the following stack trace for details.
    [javac] java.lang.OutOfMemoryError: Java heap space
    [javac] 	at java.io.BufferedReader.<init>(BufferedReader.java:80)
    [javac] 	at java.io.BufferedReader.<init>(BufferedReader.java:91)
    [javac] 	at org.eclipse.ant.internal.ui.antsupport.logger.RemoteAntBuildLogger.marshalTaskMessage(RemoteAntBuildLogger.java:309)
    [javac] 	at org.eclipse.ant.internal.ui.antsupport.logger.RemoteAntBuildLogger.processEvent(RemoteAntBuildLogger.java:269)
    [javac] 	at org.eclipse.ant.internal.ui.antsupport.logger.RemoteAntBuildLogger.messageLogged(RemoteAntBuildLogger.java:263)
    [javac] 	at org.apache.tools.ant.Project.fireMessageLoggedEvent(Project.java:2200)
    [javac] 	at org.apache.tools.ant.Project.fireMessageLogged(Project.java:2300)
    [javac] 	at org.apache.tools.ant.Project.log(Project.java:455)
    [javac] 	at org.apache.tools.ant.Task.log(Task.java:294)
    [javac] 	at org.apache.tools.ant.Task.handleErrorOutput(Task.java:261)
    [javac] 	at org.apache.tools.ant.UnknownElement.handleErrorOutput(UnknownElement.java:255)
    [javac] 	at org.apache.tools.ant.Project.demuxOutput(Project.java:1208)
    [javac] 	at org.apache.tools.ant.DemuxOutputStream.processBuffer(DemuxOutputStream.java:172)
    [javac] 	at org.apache.tools.ant.DemuxOutputStream.write(DemuxOutputStream.java:147)
    [javac] 	at org.apache.tools.ant.DemuxOutputStream.write(DemuxOutputStream.java:241)
    [javac] 	at java.io.PrintStream.write(PrintStream.java:430)
    [javac] 	at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
    [javac] 	at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
    [javac] 	at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
    [javac] 	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
    [javac] 	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
    [javac] 	at java.io.BufferedWriter.flush(BufferedWriter.java:236)
    [javac] 	at java.io.PrintWriter.newLine(PrintWriter.java:438)
    [javac] 	at java.io.PrintWriter.println(PrintWriter.java:585)
    [javac] 	at java.io.PrintWriter.println(PrintWriter.java:696)
    [javac] 	at com.sun.tools.javac.util.Log.printLines(Log.java:375)
    [javac] 	at com.sun.tools.javac.util.Log.writeDiagnostic(Log.java:546)
    [javac] 	at com.sun.tools.javac.util.Log.report(Log.java:523)
    [javac] 	at com.sun.tools.javac.util.Log.error(Log.java:394)
    [javac] 	at com.sun.tools.javac.comp.Attr.visitBinary(Attr.java:1661)
    [javac] 	at com.sun.tools.javac.tree.JCTree$JCBinary.accept(JCTree.java:1422)
    [javac] 	at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)

BUILD FAILED
C:\workspace\L2jFrozen_GameServer\build.xml:64: Compile failed; see the compiler error output for details.

Total time: 2 minutes 33 seconds

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...