Jump to content
  • 0

[Help]Error Pvp Auto Enchant Compilation.


Question

Posted
e5sz.jpg
 
Uploaded with ImageShack.us
 
    [javac] C:\Users\Admin\workspace\L2jFrozenInterlude\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:8334: error: illegal start of type
    [javac] if (rewardConsecutiveKillCount >= Config.PVP_COUNT_TILL_ENCHANTMENT && Config.ENABLE_PVP_ENCHANTMENT)
    [javac] ^
    [javac] C:\Users\Admin\workspace\L2jFrozenInterlude\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:8334: error: <identifier> expected
    [javac] if (rewardConsecutiveKillCount >= Config.PVP_COUNT_TILL_ENCHANTMENT && Config.ENABLE_PVP_ENCHANTMENT)
    [javac]                               ^
    [javac] C:\Users\Admin\workspace\L2jFrozenInterlude\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:8334: error: ';' expected
    [javac] if (rewardConsecutiveKillCount >= Config.PVP_COUNT_TILL_ENCHANTMENT && Config.ENABLE_PVP_ENCHANTMENT)
    [javac]                                  ^
    [javac] C:\Users\Admin\workspace\L2jFrozenInterlude\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:8334: error: illegal start of type
    [javac] if (rewardConsecutiveKillCount >= Config.PVP_COUNT_TILL_ENCHANTMENT && Config.ENABLE_PVP_ENCHANTMENT)
    [javac]                                         ^
    [javac] C:\Users\Admin\workspace\L2jFrozenInterlude\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:8334: error: ';' expected
    [javac] if (rewardConsecutiveKillCount >= Config.PVP_COUNT_TILL_ENCHANTMENT && Config.ENABLE_PVP_ENCHANTMENT)
    [javac]                                                                    ^
    [javac] C:\Users\Admin\workspace\L2jFrozenInterlude\trunk\gameserver\head-src\com\l2jfrozen\gameserver\model\actor\instance\L2PcInstance.java:8334: error: <identifier> expected
    [javac] if (rewardConsecutiveKillCount >= Config.PVP_COUNT_TILL_ENCHANTMENT && Config.ENABLE_PVP_ENCHANTMENT)
    [javac]                                                                                                     ^
    [javac] 6 errors
    [javac] 1 warning

 

9 answers to this question

Recommended Posts

  • 0
Posted (edited)

Could u make a screenshot with the eclipse in full screen? And close the "Outline" sidebar...

Btw are u using java 1.7 or 1.6? Errors with no red line? huh :lol:

Edited by ^Wyatt
  • 0
Posted

Just before the copy pasted code you got a strange bracket coming from nowhere. And as said Wyatt, your file isn't saved. Saving your file will indent your code correctly - if there is no errors - and fix imports issues aswell.

  • 0
Posted (edited)

 And as said Wyatt, your file isn't saved.

At 1st screen it's saved and the same, so I doubt :D

 

Also, it's weird he doesn't have the red lines :o

 

 

Errors with no red line? huh :lol:

Frozen pack, everything is possible! :troll:

Edited by SweeTs
  • 0
Posted

Brackets organization is then fucked up, as the indentation isn't automatically made. The method doesn't recognize the end of checks. Exemple :

if (condition)
{ } // correct

if (condition)
{ { } // incorrect
Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock