Skip to content

SweeTs

Legendary Member
  • Joined

  • Last visited

  • Trader rating

    N/A

Everything posted by SweeTs

  1. But, did you replace the jar? And as I said, fix imports. You miss L2Skill.
  2. Should not it be a continue? No access to files atm :p
  3. I home you added it properly. Also you have to compile again and switch l2jserver.jar You know that, right?
  4. You must add the second part as I posted in my first post and fix imports.
  5. I will send you a pm with details where to send her :D Can be locked, I guess.
  6. Lmao.. You need also core (script).
  7. 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.
  8. 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.
  9. 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
  10. What pet are you testing? With strider its working fine. Also, which is your 738 line?
  11. Nop, you already call it on your script. But while you cay this, you have no idea what you have c/p there and so, you have no idea why its not working.. :P
  12. Ofc it's possible, you only put the "execute" part. Just.. you have to use it properly. Atm, it's one big mess.
  13. The code is a mess.. fix it else if (event.equals("levelUpClan")) for (L2Skill cs : SkillTable.getClanSkills()) wuut.. wrong place. You have everything you need in this topic. Check the pastebin above..
  14. I'm taking your sister, period. @Override public void doAttack(L2Character target) { final L2Summon pet = getPet(); if (pet != null) pet.getAI().setIntention(CtrlIntention.ATTACK, target); super.doAttack(target); clearRecentFakeDeath(); }
  15. Read the check and try to understand it.
  16. Russian' joke :D They are not worth such money.
  17. Nooo, RequestActonUse.java file case 16 and 22. Check the file, you will figure it out.
  18. If you are using old rev of aCis or frozen, the method is another. L2World.getInstance().getAllPlayers(); or L2World.getInstance().getAllPlayers().values();
  19. L2NpcInstance.java @Override public boolean isAttackable() { if (isInsideZone(ZoneId.TOWN)) return false; return true; }
  20. Yup :D Else, if you want to call it from script, then do like Devlin did inside this clan manager http://pastebin.com/n4kY3kbJ . As you can see, you miss the for loop and such. Compare. @Devlin if (!(sk == null)) Why not simply sk != null :D
  21. Even better, change this if (((player.getClan().getLevel() <= 1) || (player.getClan().getLevel() == 2) || (player.getClan().getLevel() == 3) || (player.getClan().getLevel() == 4) || (player.getClan().getLevel() == 5) || (player.getClan().getLevel() == 6) || (player.getClan().getLevel() == 7))) to if (player.getClan().getLevel() < 8 ) About skills, if you want to load it inside core, then do it properly (no offense Devlin) :P Index: java/net/sf/l2j/gameserver/datatables/SkillTable.java + private static final L2Skill[] _clanSkills = new L2Skill[22]; + private static final int[] _clanSkillsId = + { + 370,371,372,373,374,375,376,377,378,379, + 380,381,382,383,384,385,386,387,388,389, + 390,391 + }; + private static final L2Skill[] _nobleSkills = new L2Skill[8]; @@ -99,6 +107,9 @@ for (int i = 0; i < _heroSkillsId.length; i++) _heroSkills[i] = getInfo(_heroSkillsId[i], 1); + for (int i = 0; i < _clanSkillsId.length; i++) + _clanSkills[i] = getInfo(_clanSkillsId[i], 1); + for (int i = 0; i < _nobleSkills.length; i++) } @@ -175,6 +186,11 @@ + public static L2Skill[] getClanSkills() + { + return _clanSkills; + } and then call this method inside your bypass to give the clan skills for (L2Skill cs : SkillTable.getClanSkills()) player.getClan().addNewSkill(cs);
  22. Debuf timer is server side. Ofc the value must be 1. So as a player you can do nothing, I guess.
  23. As I said above, there is no logic. if (npc == null || npc.getSpawn() == null) != && !=
  24. Do not bump like that. Do as Tk said.

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.