Jump to content

rocs

Members
  • Posts

    54
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by rocs

  1. Greetings, i am trying my java skills adapting(and undersanding) an AIO buff system to l2jacis(last share revision) : L2SkillLearn[] skills = SkillTreeTable.getInstance().getAvailableSkills(target, target.getClassId()); while(skills.length > unLearnable) { for (L2SkillLearn s : skills) { L2Skill sk = SkillTable.getInstance().getInfo(s.getId(), s.getLevel()); if (sk == null || !sk.getCanLearn(target.getClassId())) { if(countUnlearnable) unLearnable++; continue; } if(target.getSkillLevel(sk.getId()) == -1) skillCounter++; target.addSkill(sk, true); } countUnlearnable = false; skills = SkillTreeTable.getInstance().getAvailableSkills(target, target.getClassId()); } I am having problems compiling from this part of the AioBufferHandle.java C:\Users\Administrator\Desktop\interlude\aCis_gameserver\java\net\sf\l2j\gameserver\model\AioBuffHandler.java:150: error: incompatible types [javac] L2SkillLearn[] skills = SkillTreeTable.getInstance().getAvailableSkills(target, target.getClassId()); [javac] ^ [javac] required: L2SkillLearn[] [javac] found: List<L2SkillLearn> [javac] C:\Users\Administrator\Desktop\interlude\aCis_gameserver\java\net\sf\l2j\gameserver\model\AioBuffHandler.java:156: error: cannot find symbol [javac] if (sk == null || !sk.getCanLearn(target.getClassId())) [javac] ^ [javac] symbol: method getCanLearn(ClassId) [javac] location: variable sk of type L2Skill [javac] C:\Users\Administrator\Desktop\interlude\aCis_gameserver\java\net\sf\l2j\gameserver\model\AioBuffHandler.java:167: error: incompatible types [javac] skills = SkillTreeTable.getInstance().getAvailableSkills(target, target.getClassId()); [javac] ^ [javac] required: L2SkillLearn[] [javac] found: List<L2SkillLearn> [javac] 3 errors I pretty much think that the first error is something like example: (adding Integers when I want to concatenate something and trying to put it in a string), but I can't manage to resolve it
  2. ImportError: no module named net xD
  3. Cool , just wanted to see
  4. destro on frenzy rullz :)
  5. ty for those crest :P i love them
  6. c4 and c6 the best ever made
  7. seems nice
  8. im w8ting for L3 :P
  9. i have played aion europe for 6 months, aion is a very cool and nice game but all until 50 level when u can do only Dark Poeta and some pvp's. For now ill say l2 but who knows how aion will be after this patch is applyed :P
  10. amazing share ty :P ill test it now
  11. this help me very very much ty man ty
  12. i miss the old chronicles
  13. interlude rullz
  14. 3 times all for swearing admins :)
×
×
  • 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