Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Wrong section.
  2. People now a days..
  3. Locked.
  4. Check the skill XML?
  5. Here you go an example <item id="9235" type="EtcItem" name="Clan Coin"> <set name="material" val="PAPER" /> <set name="is_tradable" val="true" /> <set name="is_dropable" val="false" /> <set name="is_sellable" val="true" /> <set name="handler" val="ClanItem" /> </item> You only have to add "handler", val is the name of the file. Also, don't forget to register the itemhandler. Otherwise it's not gonna work.
  6. Do not use set, use add. player.getClan().addReputationScore(5000); And you do not need ITEM_IDS, it's useless. It's handled directly via xml handler.
  7. For Eu ppl developing its a hobby. Ru they do it on daily basis and thats why its more "advanced" with more fixes. But still, the price is hilarious :D
  8. That doesnt change anything. Ru community is just way more populated, more donations.
  9. But, did you replace the jar? And as I said, fix imports. You miss L2Skill.
  10. Should not it be a continue? No access to files atm :p
  11. I home you added it properly. Also you have to compile again and switch l2jserver.jar You know that, right?
  12. You must add the second part as I posted in my first post and fix imports.
  13. I will send you a pm with details where to send her :D Can be locked, I guess.
  14. Lmao.. You need also core (script).
  15. Right. The topic shows how badly they want to success. Poor advertise. Put more info, proper site link, and honestly .tk site.. No one plays such rates now. Anyway, good luck.
  16. This line creates the NPE, so it's not from this pet addon :D Also, for me, on aCis Int, it's working fine, with any pet.
  17. I showed you 2 posts before. else if (event.equals("levelUpClan")) { if (player.getClan() == null) return "ClanLevelUp-NoClan.htm"; else if (!player.isClanLeader()) return "ClanLevelUp-NoLeader.htm"; else if (player.getClan().getLevel() == 8) return "ClanLevelUp-Limit.htm"; // CREATE THIS FILE, IF YOU DON'T HAVE IT else if (st.getQuestItemsCount(clanLevelItemsId[2]) < clanLevelItemsCount[2]) return "ClanLevelUp-NoItems.htm"; else { st.takeItems(clanLevelItemsId[2], clanLevelItemsCount[2]); player.getClan().changeLevel(8); player.getClan().addReputationScore(100000); for (L2Skill cs : SkillTable.getClanSkills()) player.getClan().addNewSkill(cs); player.getClan().broadcastClanStatus(); player.sendMessage("Your clan is now level " + player.getClan().getLevel() + "."); player.sendMessage("Your reputation score is now " + player.getClan().getReputationScore() + "."); player.sendMessage("Your clan has learned all clan skills."); player.broadcastPacket(new MagicSkillUse(player, player, 5103, 1, 1000, 0)); return "ClanLevelUp.htm"; } } Your code, if you compare, is messy, don't follow the order. Notably the for loop :D
×
×
  • Create New...