Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. What pet are you testing? With strider its working fine. Also, which is your 738 line?
  2. 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
  3. Ofc it's possible, you only put the "execute" part. Just.. you have to use it properly. Atm, it's one big mess.
  4. 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..
  5. 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(); }
  6. Read the check and try to understand it.
  7. Russian' joke :D They are not worth such money.
  8. Nooo, RequestActonUse.java file case 16 and 22. Check the file, you will figure it out.
  9. If you are using old rev of aCis or frozen, the method is another. L2World.getInstance().getAllPlayers(); or L2World.getInstance().getAllPlayers().values();
  10. L2NpcInstance.java @Override public boolean isAttackable() { if (isInsideZone(ZoneId.TOWN)) return false; return true; }
  11. 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
  12. 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);
  13. Debuf timer is server side. Ofc the value must be 1. So as a player you can do nothing, I guess.
  14. As I said above, there is no logic. if (npc == null || npc.getSpawn() == null) != && !=
  15. Do not bump like that. Do as Tk said.
  16. What can I say.. Do not dare to use it. Use the godamn SkillXML to change the buff time. Locked.
  17. As you can see it's for frozen, but you can easily add it on aCis, there is almost 0 difference.
  18. What the heck is that.. if (npc == null || npc.getSpawn() == null) { if (npc.getTemplate().getNpcId() != walkerNpc) The code lack of logic, a bit :D What's the error?
  19. Don't you know to read? if(activeChar.isBuffProtected()) if(activeChar.isSSDisabled()) if(!activeChar.isPartyInvProt()) You are trying to add a feature, which you don't have or you didn't add it yet, part of L2PcInstnace.
  20. StringBuild -> StringBuilder TextBuilder -> StringBuilder Ctrl+Shift+O to fix imports / to import the StringBuilder.
  21. Welcome.
  22. They are supposed to be there all the time..
  23. Scripts are inside the core, not dp...
  24. L2bufferxInstance. Type on XML, l2bufferx. But its better to merge them.
  25. Stop using shared, outdated pack(s) and use proper java.
×
×
  • Create New...