Jump to content

0flee

Members
  • Posts

    485
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by 0flee

  1. Amazing developer and really good. This guy know how to do things comparative with others ! I don;t give names. But this is 1st dev!
  2. Thank you @Psygrammator Iit works. Thank you again. And for Hp how i can do?
  3. I maked custom skills. And i want to implement much more that custom skills. Skill have lv 30. And skill add 5% atk each lv. And i want premium add +3% additional stats ( atk ). And i want to make like this in skill xml: <set name="premiumAdd" val="1.08" /> So, each lv of skill add 8% if player has premium service. Not 5%. Help me please !
  4. Hello, for multiskill server, how i can do levels of skills to be directly lv max on Masters? Just for premium i want. For non-premium users, i want to be normal like now. l2j-Sunrise Hi5. What packer i have to edit and how? Now it is like this
  5. As title say, i want to make a gm shop just for premium users. I make code like this and witout premium i still can use. I put few logs, but don't work. P.S. I use L2j-Sunrise. package l2r.gameserver.model.actor.instance; import java.util.StringTokenizer; import l2r.gameserver.enums.InstanceType; import l2r.gameserver.model.actor.FakePc; import l2r.gameserver.model.actor.L2Npc; import l2r.gameserver.model.actor.templates.L2NpcTemplate; import l2r.gameserver.network.serverpackets.ActionFailed; import l2r.gameserver.network.serverpackets.NpcHtmlMessage; public class L2CustomShopInstance extends L2Npc { @Override public void showChatWindow(L2PcInstance player) { player.sendPacket(ActionFailed.STATIC_PACKET); NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); html.setFile(player, player.getHtmlPrefix(), "data/html/mods/shop/main.htm"); html.replace("%objectId%", String.valueOf(getObjectId())); player.sendPacket(html); } /** * @param template */ public L2CustomShopInstance(L2NpcTemplate template) { super(template); setInstanceType(InstanceType.L2CustomShopInstance); FakePc fpc = getFakePc(); if (fpc != null) { setTitle(fpc.title); } } @Override public void onBypassFeedback(final L2PcInstance player, String command) { StringTokenizer st = new StringTokenizer(command, " "); String actualCommand = st.nextToken(); if (player == null) { return; } if (!player.isPremium()) { System.out.println("Only premium player can use this shop!"); return; } if (actualCommand == null) { return; } if (actualCommand.startsWith("buy")) { System.out.println("buy"); } else if (actualCommand.startsWith("sell")) { System.out.println("sell"); } } } Thank you !
  6. I have paid version. Latest I put just 1 method. If i fix that, i will fix others. Ok, it works, but i still get When i press on button, i get item on inventory, but i still get that. Ok, fixed. I miss separateandsend line. Can close topic
  7. Hello, i want to make smart thing in alt+b. I want to make a shop where player can buy runes. For drop & Spoil. I maked buttons and looks like this, All good till hee. But when i press " purchase " I get this: On bbs, i make code like this: // Drop Amount 100% 2 hours if (command.startsWith("_bbstopDropBonusAmountx2for2Hours")) { if (ownsAtLeastOneItem(activeChar, 17400, 17401)) { activeChar.sendMessage("You already have drop rune! Please wait...!"); } else if (!ownsAtLeastOneItem(activeChar, 17400, 17401)) { if (activeChar.getInventory().getInventoryItemCount(14351, 0, false) < 600) { activeChar.sendMessage("You don't have 600 Gracian Anniversary Coins!"); } else { activeChar.getInventory().addItem("Rune_Drop_Amount_2_hours", 17401, 1, activeChar, activeChar.getTarget()); activeChar.destroyItemByItemId("cost", 14351, 600, activeChar, true); activeChar.sendMessage("====== Bonus Drop Amount ======"); activeChar.sendMessage("====== 100% - ( 2 hours ) ======"); activeChar.sendMessage("====== Enjoy ======"); } } } This is for 1 button. I make this on TopBBSManager.java. What i do wrong? Where i have to implement the "_bbstopDropBonusAmountx2for2Hours"? Project L2j-Sunrise HIgh Five. Thank you !
  8. As title say, it is this a CB issue of height max possible? (That White BG) If anyone can help me please. Thank you !
  9. Nvm. Forget it. Thank you for answers.
  10. Error on save You edit line with more spaces and he generate errors :)))
  11. Well, M. Def it's with red, right. But i want P DEF which is 4th "0" I know how to set that. But for this item doesn't want to work. I put 10 for test in my file. But doesn't work.
  12. https://easyupload.io/cdyhad Take it This is original grp file
  13. 1 43400 0 0 2 5 0 dropitems.drop_sack_m00 dropitemstex.drop_sack_t00 0 0 0 0 0 1 0 0 icon.etc_rbracelet_s_i03 -1 150 4 1 0 0 1 0 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 0 0 LineageEffect.p_u002_a 1 ItemSound.itemdrop_mold 1 0 0 5 0 10 0 0 0 I posted already. But i will post now again. Thank you ! ( This is custom item. Copyed by original. NOthing changed. Just grade.)
  14. I don't broke anything. Pure and simple was by default. As for jewels it is.
  15. How i can edit that? With what program? Can you share please? Still M. Def after i replace L2Font-e.utx
  16. Give me another link please. Thank you !
  17. For grade works. Just i can't change from M. Def to P. Def.
  18. And P. Def. from where starts? From 100? The guy tell me: Idk what file edit he use. Any cheater can tell me how to fix this?
  19. 1 43400 0 0 2 5 0 dropitems.drop_sack_m00 dropitemstex.drop_sack_t00 0 0 0 0 0 1 0 0 icon.etc_rbracelet_s_i03 -1 150 4 1 0 0 1 0 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 1 0 255 1 1 1 0 0 LineageEffect.p_u002_a 1 ItemSound.itemdrop_mold 1 0 0 5 0 10 0 0 0 This it's custom bracelet copyed by original one. High FIve i use
×
×
  • Create New...