Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Subclass change - retail like. players.properties # Life crystal needed to learn clan skills # Default: True LifeCrystalNeeded = True
  2. The same way as in this video http://www.youtube.com/watch?v=3gQ2yYH-F1Q
  3. Test them both and make a choose, since both of them have probems :D aCis, broken and hellas.
  4. Have you compiled the pack? :D since many ppl try to do it via source.. :P
  5. I told you what to change :P its based on old rev. Follow eclipse tips.
  6. Depend what gamestyle you want to create. Well, test both packs (frozen, acis or hellas) and take which you like more :)
  7. Multiclass? Didn't happen and I wonder where have you read that, lol :happyforever: About sieges, yes, there are.
  8. It is coded on aCis.. FastMap -> HashMap FastList - > ArraList
  9. Google is your friend. :P
  10. L2Skill.java 2628 line
  11. It's core (source) modification and not npc :P
  12. Two possibilietes 1 - systemmsg-e.dat file inside system folder - L2FileEdit or 2 - it's hardcoded inside EnterWorld.java - you need sources and remove it via Eclipse
  13. So, just make 2 new configs like REQUIRED_ITEM = your id REQUIRED_AMOUNT = 5000 and replace them in the code here if st.getPlayer().isClanLeader() and st.getPlayer().getClan().getLevel() >= 5 and st.getPlayer().getClan().getReputationScore() < NEW_REP_SCORE : if st.getPlayer().isNoble() and count > REQUESTED_AMOUNT: htmltext=event st.getPlayer().getClan().setReputationScore(NEW_REP_SCORE, 5000); st.playSound("ItemSound.quest_finish") st.takeItems(REQUESTED_ITEM,REQUESTED_AMOUNT) REQUESTED_TEM / REQUESTED_AMOUNT => REQUIRED_ITEM / REQUIRED_AMOUNT Should work :P
  14. You already changed it REQUESTED_ITEM=5574 REQUESTED_AMOUNT=5000 I don't get your problem :o Btw, when you restart the server your clan lvl stay or get back to previous level or to 0 ? Since.. st.getPlayer().getClan().changeLevel(8) Should be setLevel and not change.. Anyway, that's broken pack, so everything is possible :happyforever: Also, haha this code is funny :happyforever: :happyforever:
  15. Too much drama @ MxC those days :troll:
  16. Take a look here. Dunno if it's still up or so. :P
  17. Nowadays, it's impossible.. :)
  18. Yes, service manager. Check aCis section. Just change imports.
  19. What have you added ? Look here vitality_points=?,language=? vitality_points,createDate,language Looks like you miss createDate. Also check createDb() method @ L2PcInstance, if all is fine - probably you forgot this part.
  20. RequestSellItem.java int price = item.getReferencePrice() / 2; change it to 0
  21. So, use frozen forum. There is a patch @ frozen forum for sure. Also, Im award it's not implemented in sources, or maybe it is, dunno rly. You must add new file at eclipse, gameserver.handler.itemhandlers; in here, you have create it.
  22. Depend what pack he use. There may be not such config. Anyway. About clan rep item. You have to create new item handler /* * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see <http://www.gnu.org/licenses/>. */ package net.sf.l2j.gameserver.handler.itemhandlers; import net.sf.l2j.gameserver.handler.IItemHandler; import net.sf.l2j.gameserver.model.L2ItemInstance; import net.sf.l2j.gameserver.model.actor.L2Playable; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUse; public class ClanItem implements IItemHandler { @Override public void useItem(L2Playable playable, L2ItemInstance item, boolean forceUse) { if (!(playable instanceof L2PcInstance)) return; final L2PcInstance activeChar = (L2PcInstance) playable; if (activeChar.getClan() == null) return; if (!activeChar.isClanLeader()) { activeChar.sendMessage("Only clan leader can use it."); return; } activeChar.getClan().addReputationScore(500); activeChar.getClan().broadcastClanStatus(); activeChar.sendMessage("Your clans reputation score has been increased."); MagicSkillUse MSU = new MagicSkillUse(activeChar, activeChar, 2024, 1, 1, 0); activeChar.broadcastPacket(MSU); activeChar.destroyItem("Consume", item.getObjectId(), 1, null, true); } } Then register it inside Itemhandler.java Go to xml folder, to the item that you want and change its handler to ClanItem.
  23. Maybe compile before use :troll:
×
×
  • Create New...