Jump to content

SweeTs

Legendary Member
  • Posts

    8,941
  • Joined

  • Last visited

  • Days Won

    25
  • Feedback

    0%

Everything posted by SweeTs

  1. 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); }
  2. PARTYROOM_ALL is yellow.
  3. It's red cuz you use Say2.PARTYROOM_COMMANDER Move your cursor over the CreatureSay -> int objectId
  4. The real you is back ! :happyforever:
  5. 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
  6. You're ruining my dream :rage:
  7. 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."); }
  8. Here you go, SVN https://xp-dev.com/svn/aCis_community/ /locked :p
  9. 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.
  10. 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
  11. If you know what I mean :troll: Or I'm outdated :P
  12. 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
  13. Yes .. its just htm and multisell. There is nothing to adapt.
  14. I don't think so. Do like Tryskell said, probably you must do it via core side.
  15. Don't use aCis pack from 2nd hand, so you can avoid errors .. To answer your last question, here you go. Use these bypasses for your augmenter. Augment action="bypass -h npc_%objectId%_Augment 1" Cancel action="bypass -h npc_%objectId%_Augment 2" /locked
  16. Ohhh right, I forgot about Sido :troll:
  17. Strain, Lelouch, xDamian, xDrac, Snoopi .. :P
  18. Python is not supported. Your buffer must be coded in java.
  19. Hahaha, dunno about this guy but be aware of these ppl who reply with "pm me" or "pmed". I'd suggest you to find a proper guy. Do NOT create such topics like "wtb, up to 300 euro" - scammers will pm you. Friendly advice so you can avoid wasting your time on some guys ;) Start searching from here http://www.maxcheaters.com/forum/137-web-developmentdesigning/
  20. The lines on the road are crooked I guess .. :happyforever: "Unknown database l2pride"
  21. Just register new hexid (gameserver). Umm..
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..