Skip to content

[Help]Error Pvp Auto Enchant Compilation.

Featured Replies

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

 

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

  • Author

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:

r0km.jpg
 
Uploaded with ImageShack.us

What about pressing "CTRL + S" before making the screen shot? -.-

Edited by ^Wyatt

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.

 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

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
  • Author

please unresolved closing topic

Edited by Dominion

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.