I was waiting for you to wrap all this stuff around xD The true is that he selling Lucera 2 IL on Classic client claiming this the best stuff but reality maybe pvp srv can this shit adopt and the maps was taken from devmem or how it calllz forgot this guy who makingmaps, use this all work without even geodata selling this crap and claim its the best pack, he sould ban from ucera cominity for crappy image but up to them ) Anyway this shit was selin for money and u can download for free )
the translation on google is something about discovering a mammoths dick or something
but generally he says that "dick" a lot maybe he likes them
but whats the story behind and what is the truth ..we will never know
Question
Hyo
Is there any way to do that using java to enchant an item leaves a message on the screen saying the chanse of success ?
like "you have X% chance to enchant your item"
im use l2jServer high five
Looking I found that should edit the "RequestExTryToPutEnchantTargetItem.java"
But exactly who should edit to make it work ?
package com.l2jserver.gameserver.network.clientpackets; import java.util.logging.Level; import com.l2jserver.gameserver.datatables.EnchantItemData; import com.l2jserver.gameserver.model.EnchantScroll; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; import com.l2jserver.gameserver.model.items.instance.L2ItemInstance; import com.l2jserver.gameserver.network.SystemMessageId; import com.l2jserver.gameserver.network.serverpackets.ExPutEnchantTargetItemResult; /** * @author KenM */ public class RequestExTryToPutEnchantTargetItem extends L2GameClientPacket { private static final String _C__D0_4C_REQUESTEXTRYTOPUTENCHANTTARGETITEM = "[C] D0:4C RequestExTryToPutEnchantTargetItem"; private int _objectId = 0; @Override protected void readImpl() { _objectId = readD(); } @Override protected void runImpl() { L2PcInstance activeChar = getClient().getActiveChar(); if ((_objectId == 0) || (activeChar == null)) { return; } if (activeChar.isEnchanting()) { return; } L2ItemInstance item = activeChar.getInventory().getItemByObjectId(_objectId); L2ItemInstance scroll = activeChar.getActiveEnchantItem(); if ((item == null) || (scroll == null)) { return; } EnchantScroll scrollTemplate = EnchantItemData.getInstance().getEnchantScroll(scroll); if ((scrollTemplate == null) || !scrollTemplate.isValid(item)) { activeChar.sendPacket(SystemMessageId.DOES_NOT_FIT_SCROLL_CONDITIONS); activeChar.setActiveEnchantItem(null); activeChar.sendPacket(new ExPutEnchantTargetItemResult(0)); if (scrollTemplate == null) { _log.log(Level.WARNING, getClass().getSimpleName() + ": Undefined scroll have been used id: " + scroll.getItemId()); } return; } activeChar.setIsEnchanting(true); activeChar.setActiveEnchantTimestamp(System.currentTimeMillis()); activeChar.sendPacket(new ExPutEnchantTargetItemResult(_objectId)); } @Override public String getType() { return _C__D0_4C_REQUESTEXTRYTOPUTENCHANTTARGETITEM; } }Edited by Hyo11 answers to this question
Recommended Posts