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.


  • Posts

    • Hello there, Im beyond confused and dont know what path to take. I want to start working on a L2 server, changing some stuff here and there and finally in the future if  im happy with the results, to launch the server, but... L2j or L2off? After all this years, is there a Interlude L2j close to off?   Ive spent some time lookin over this forum, searching what would be better and what files to take but I ain't near to a clear answer.  Most of the time everyone is trowing stones at everyone, "your filles are trash, my filles are good" and viceversa. Therefore, Im reaching out to a knowledge guy, hopefully from a neutral position to all this drama, that can pin point me in a direction.    To explain what I want for a base start is an Interlude with a classic interface (features), low rate. Mostly what this guy TravorJ is describing in his post TravorJ post , and to do some reworks on it, ex: mobs drop, rethink the augment system/interface, rethink learning skills/enchant skills, create some custom potions/buff effects, siege mechanics... Is that possible on off files? or is better to go with L2j? I also want to mention that I have little to none L2 dev experince (13-15yrs ago I had an L2j server running  for a month where I made some basics changes), but I have coding background so Im used to that and more than willing to learn.   So in conclusion, I dont want to get some free shared files without any support, that I need to wrap my head around and fix stuff for long time to make them work, stuff thats already fixed buy someone else. Instead im looking to buy something thats more updated and start working from there. Question is what and from whom? Kinda sux when you go and buy something and u dont know what the hell are you buying (need some guidance here)   Is L2j Orion a good choice? I saw that is regularly updated. Lucera2 I dont think is something that I want cuz they dont sell soruce, prefer to have control and not to be dependent on someone to much...   Big thanks in advance!   
    • L2 INSIDE - HTML DESIGN     Portfolio - protojahdesigns.com You can also join Protojah Designs Discord
    • Server / Discord Live Discord L2Fol Community . you are welcome to join on our latest updates.
    • Hi, for l2jfrozen...   I want Bless Enchat to have a limit.   Example: 7+ to +15 with Bless Enchat.   That for +16, it doesn't allow use.
  • Topics

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