Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Credits

  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. Decide then :troll: Old member with new acc, simple as that, anyway. I wish you good luck with your services :)
  2. What exactly you want to fix ? o.O For me the issues related with w8 is like a myth. I am a user of w8/.1 and I never had any issue launching l2. Anyway :P
  3. Your file name is EvestState, must be EventState. Just rename the file.
  4. True, anyway :D
  5. For you, frozen.
  6. Save the file. And "do not hide" the line you select/focus on the error.
  7. Unlocked and moved to proper section.
  8. What's so hard in adding some new xmls / sql ? You DO NOT have to pay, everything is shared :D
  9. L2PcInstance @doDie // if clans got mutual war, then use the reputation calcul if (_clan.isAtWarWith(pk.getClanId()) && pk.getClan().isAtWarWith(_clan.getClanId())) { // when your reputation score is 0 or below, the other clan cannot acquire any reputation points if (getClan().getReputationScore() > 0) pk.getClan().addReputationScore(1); // when the opposing sides reputation score is 0 or below, your clans reputation score doesn't decrease if (pk.getClan().getReputationScore() > 0) _clan.takeReputationScore(1); } Just add your line after reputation reward, like pk.addItem("reward", 57, 100, pk, true); Do not forget to open the brackets. if (getClan().getReputationScore() > 0) { pk.getClan().addReputationScore(1); pk.addItem("reward", 57, 100, pk, true); }
  10. PARTYROOM_ALL is yellow.
  11. It's red cuz you use Say2.PARTYROOM_COMMANDER Move your cursor over the CreatureSay -> int objectId
  12. The real you is back ! :happyforever:
  13. So find that bypass responsible for your "scheme" button and do the same. You can also add a check inside the method, like if (action.equals("add")) { if (player.getInventory().getItemsByItemId(57) == null) return; HTML_MESSAGE += "You can add <font color=LEVEL>" + (MAX_SCHEME_BUFFS - BUFF_COUNT) + "</font> Buffs and <font color=LEVEL>" + (MAX_SCHEME_DANCES - DANCE_SONG) + "</font> Dances more!"; String QUERY = "SELECT * FROM npcbuffer_buff_list WHERE buffType IN (" + generateQuery(BUFF_COUNT, DANCE_SONG) + ") AND canUse=1 ORDER BY Buff_Class ASC, id"; PreparedStatement getBuffCount = con.prepareStatement(QUERY); ResultSet rss = getBuffCount.executeQuery(); while (rss.next()) { String name = SkillTable.getInstance().getInfo(rss.getInt("buffId"), rss.getInt("buffLevel")).getName(); name = name.replace(" ", "+"); buffList.add(name + "_" + rss.getInt("buffId") + "_" + rss.getInt("buffLevel")); } } ) Else, you can hardcode it in another way, like if player dont have the item, send him normal.htm (with 2 category buffs). If player has the item then send him premium.htm (with 4 category buffs). You got the main point, now just add the checks @ correct places :P
  14. You're ruining my dream :rage:
  15. Well, it's better to block them when they speak to the npc. For example, when you speak to the npc and press "buffs" to open the buffer or w/e, the bypass looks like this else if (currentCommand.startsWith("buffs")) { showGiveBuffsWindow(player, st.nextToken()); } Where showGiveBuffsWindow is like your viewAllSchemeBuffs, so if you want to block players who dont have X item, you can do it like that else if (currentCommand.startsWith("buffs")) { if (player.getInventory().getItemsByItemId(57) == null) player.sendMessage("Haaa, you can not use my services."); else showGiveBuffsWindow(player, st.nextToken()); } or vice versa else if (currentCommand.startsWith("buffs")) { if (player.getInventory().getItemsByItemId(57) != null) showGiveBuffsWindow(player, st.nextToken()); else player.sendMessage("Haaa, you can not use my services."); }
  16. Here you go, SVN https://xp-dev.com/svn/aCis_community/ /locked :p
  17. L2j-Thug GG... No support for you, since it's "modified" pack by Thug.. Do not buy / use packs made by someone (like him). Looks like dp updated and GS not. Anyway. Use clean aCis, simple like that.
  18. That's why you use .tk site, free hosting (hostinger) and shared website. I love the way you 'edited' the server name. Dat Anna looks so professional - especially A :happyforever: Good luck tho
  19. If you know what I mean :troll: Or I'm outdated :P
  20. Check custom folder located inside npc, new npc' have other structure. You have to use displayId ;) https://svn.l2jdp.com/branches/unstable/L2J_DataPack_BETA/dist/game/data/stats/npcs/custom/custom.xml
  21. Yes .. its just htm and multisell. There is nothing to adapt.
  22. I don't think so. Do like Tryskell said, probably you must do it via core side.
×
×
  • Create New...