Everything posted by SweeTs
-
Making A New Clan Manager (Can't Add Skills; Acis)
Wrong import, read error :D
-
Making A New Clan Manager (Can't Add Skills; Acis)
But, did you replace the jar? And as I said, fix imports. You miss L2Skill.
-
Acis Toggle Skills
Should not it be a continue? No access to files atm :p
-
Making A New Clan Manager (Can't Add Skills; Acis)
I home you added it properly. Also you have to compile again and switch l2jserver.jar You know that, right?
-
Making A New Clan Manager (Can't Add Skills; Acis)
You must add the second part as I posted in my first post and fix imports.
-
Pet Ai Attack
I will send you a pm with details where to send her :D Can be locked, I guess.
-
Anti Buff Shield
Lmao.. You need also core (script).
-
[L2Off] L2 Firebird
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.
-
Pet Ai Attack
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.
-
Making A New Clan Manager (Can't Add Skills; Acis)
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
-
Pet Ai Attack
What pet are you testing? With strider its working fine. Also, which is your 738 line?
-
Making A New Clan Manager (Can't Add Skills; Acis)
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
-
Making A New Clan Manager (Can't Add Skills; Acis)
Ofc it's possible, you only put the "execute" part. Just.. you have to use it properly. Atm, it's one big mess.
-
Making A New Clan Manager (Can't Add Skills; Acis)
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..
-
Pet Ai Attack
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(); }
-
How To Disable Npc Attack
Read the check and try to understand it.
-
Lineage H5 - Java Sources
Russian' joke :D They are not worth such money.
-
Pet Ai Attack
Nooo, RequestActonUse.java file case 16 and 22. Check the file, you will figure it out.
-
Hopzone/topzone/network Vote Reward [Re-Share]
If you are using old rev of aCis or frozen, the method is another. L2World.getInstance().getAllPlayers(); or L2World.getInstance().getAllPlayers().values();
-
How To Disable Npc Attack
L2NpcInstance.java @Override public boolean isAttackable() { if (isInsideZone(ZoneId.TOWN)) return false; return true; }
-
Making A New Clan Manager (Can't Add Skills; Acis)
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
-
Making A New Clan Manager (Can't Add Skills; Acis)
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);
-
System
Debuf timer is server side. Ofc the value must be 1. So as a player you can do nothing, I guess.
-
Walker Mob Like Hi5
As I said above, there is no logic. if (npc == null || npc.getSpawn() == null) != && !=
-
Walker Mob Like Hi5
Do not bump like that. Do as Tk said.