Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. It is coded on aCis.. FastMap -> HashMap FastList - > ArraList
  2. Google is your friend. :P
  3. L2Skill.java 2628 line
  4. It's core (source) modification and not npc :P
  5. 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
  6. 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
  7. 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:
  8. Too much drama @ MxC those days :troll:
  9. Take a look here. Dunno if it's still up or so. :P
  10. Nowadays, it's impossible.. :)
  11. Yes, service manager. Check aCis section. Just change imports.
  12. 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.
  13. RequestSellItem.java int price = item.getReferencePrice() / 2; change it to 0
  14. 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.
  15. 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.
  16. Maybe compile before use :troll:
  17. Leave them default for local server.
  18. Looks like wrong IP configuration.
  19. Show me how looks like your "Index: ...." Also, you can do it manually, even if it's huge.. Its gonna take awhile, but if it's the only way.. :P After you manage to fix the patch, you will split into 2 patches, which can't be applied cuz of errors, and second part which can be applied w/o problem :) Reply here or in pm/skype. As you want, so I could help :D
  20. Yes, then I added the relation for the fists change controlled @ L2PcInstance :) Anyway, what's your idea? :P
  21. I guess you're right. It's about _relation and its sending info via UserInfo.java For example // 0x40 leader rights // siege flags: attacker - 0x180 sword over name, defender - 0x80 shield, 0xC0 crown (|leader), 0x1C0 flag (|leader) writeD(_relation); I guess the same with dat fist. Somehow.. :D public static final int RELATION_MUTUAL_WAR = 0x08000; // double fist public static final int RELATION_1SIDED_WAR = 0x10000; // single fist Check L2PcInstance for the use @ public int getRelation(L2PcInstance target) if (getClan().isAtWarWith(target.getClan().getClanId())) result |= RelationChanged.RELATION_MUTUAL_WAR; Boom, double fist :P
  22. Whatever you wish, all packs got its problems :P Check the sources, the logic and see which more fits your style. As I said, all depends of your servers gameplay, test both packs and pick the one which is more 'fixed' for you. :)
  23. Interlude - frozen (custom shit inside) or aCis (clean, retail like) and hellas Above chronicles - L2jServer - generally, check L2Packs & Files section, there is some nice with extra mods and 'fixes' :D
  24. There isn't the best 'java in the europe'. There is more or less buggy. With more retail like things or with more customs :P Depends on what you looking for.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock