Jump to content

melron

Legendary Member
  • Posts

    1,405
  • Joined

  • Last visited

  • Days Won

    32
  • Feedback

    0%

Everything posted by melron

  1. are you sure about grade? cause u can set it as A in db and the weapons icon as S ...
  2. What is the grade of the item?
  3. e rwta enan IG na sou pei to name apo to npc kai meta trava sto npcname pou vriskete sto system tou server sou kai des apo ekei to ID tou kai prakse analoga..
  4. What pack are you using?
  5. as he said he dont get the visually of the destroyed item and i guess thats why one more update added... about ur code ... cmon one code can be coded with 1k ways ...
  6. what to say... as i said its working perfect for me (acis)
  7. working perfect else if (parameters.contains("cov")) { if (player.destroyItemByItemId("Buff", 11010, 3, player, true)) { player.getInventory().destroyItemByItemId("Consume",11010, 3, player, null); player.sendMessage("SYS: 3 of your Vote Tickets have been consumed."); player.broadcastPacket(new InventoryUpdate()); MagicSkillUse mgc = new MagicSkillUse(player, player, 1363, 1, 1, 1); SkillTable.getInstance().getInfo(1363, 1).getEffects(player,player); player.broadcastPacket(mgc); player.sendMessage("Your strength is improved due to Chant of Victory effects!"); } else { player.sendMessage("You don't have enough vote tickets."); return; } }
  8. Cool :D added.
  9. Hello guys, Can someone explain me how can i add delay for example in craft? I want a delay of X seconds before u can craft again. thanks!
  10. Not exactly... What about if the char havent clan? :D npc will not work cause clan ...
  11. Δοκίμασε αυτό Edit: Δες της SweeTs τον τελευταίο κώδικα if (player.getClan() != null) { html.replace("%Clan%", player.getClan().getName()); html.replace("%Alliance%", activeChar.getClan().getAllyId() == 0 ? "<font color=FF0000>No</font>" : activeChar.getClan().getAllyName()); } else { html.replace("%Clan%", "<font color=FF0000>No</font>"); html.replace("%Alliance%", "<font color=FF0000>No</font>"); }
  12. So your main problem wasnt problem at all... You just wanted to chance the msg ...
  13. your lines are fine, check again what u edited ...
  14. can you post your java file here? (use code) Edit: with what scroll you enchanting?
  15. @ RequestEnchantitem.java find if (rndValue < chance) and check with these lines if (rndValue < chance) { if (item.getOwnerId() != activeChar.getObjectId()) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); return; } if (item.getLocation() != L2ItemInstance.ItemLocation.INVENTORY && item.getLocation() != L2ItemInstance.ItemLocation.PAPERDOLL) { activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION)); return; } if (item.getEnchantLevel() == 0) { sm = new SystemMessage(SystemMessageId.S1_SUCCESSFULLY_ENCHANTED); sm.addItemName(item.getItemId()); activeChar.sendPacket(sm); } else { sm = new SystemMessage(SystemMessageId.S1_S2_SUCCESSFULLY_ENCHANTED); sm.addNumber(item.getEnchantLevel()); sm.addItemName(item.getItemId()); activeChar.sendPacket(sm); } item.setEnchantLevel(item.getEnchantLevel() + Config.CUSTOM_ENCHANT_VALUE); item.updateDatabase(); }
  16. Cool ;) Link added.
  17. U're right! forgot to add the market sql... Updated.
  18. run it and see bro :P thats why i give the code
  19. Updated: Npc Item Market added!
  20. Thare are many augment shops shared ;)
  21. ofc this can be like merchant with farm items etc but , Is there any rule about donation npcs service and cant call it donation npc? I can see posts with title like this and inside there are only htmls with the ways of donation pf... Cmon... say something good, as i said im not the owner of this npc and idk how to change the delivery way... p.s Title changed ><
×
×
  • 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