FeeLings Posted February 11, 2022 Posted February 11, 2022 18 hours ago, arm4729 said: Hey thank you for sharing your TradeWnd.uc !! I have tryed and got same results with blank space after <Augment Effects> , but i have changed itemInfo.RefineryOp2 = itemInfo.Blessed; itemInfo.RefineryOp1 = itemInfo.Damaged; to itemInfo.RefineryOp2 = itemInfo.Damaged; itemInfo.RefineryOp1 = itemInfo.Blessed; and managed to get it work but only showing ++ stats and not show what passive skill / active skill item has , this is getting weird Where is this text Maximum HP +80 comming from ? is some editable .dat file ? You also need to change this packets, so you can see item augment when you add it to the trade TradeOwnAdd TradeItemUpdate TradeOtherAdd i have same issue with interface, but for some augments i can see skill for some other i cant Quote
wongerlt Posted February 11, 2022 Posted February 11, 2022 18 minutes ago, FeeLings said: You also need to change this packets, so you can see item augment when you add it to the trade TradeOwnAdd TradeItemUpdate TradeOtherAdd i have same issue with interface, but for some augments i can see skill for some other i cant I see client side you found in me server interface You almost figure out how it work Ok this is last part what u need: Quote
arm4729 Posted February 12, 2022 Posted February 12, 2022 (edited) 15 hours ago, wongerlt said: I see client side you found in me server interface You almost figure out how it work Ok this is last part what u need: 2+2=4 quick maths Finally victory !!! Thank you sir , you are pure genius ! don't understand that maths you did there with the bits move left move right (16>>) , this was impossible without your tips.. thx will try to do same for private store sell next Edited February 12, 2022 by arm4729 Quote
wongerlt Posted February 12, 2022 Posted February 12, 2022 9 hours ago, arm4729 said: 2+2=4 quick maths Finally victory !!! Thank you sir , you are pure genius ! don't understand that maths you did there with the bits move left move right (16>>) , this was impossible without your tips.. thx will try to do same for private store sell next yes for private store must work i think, there are 2 unused vars. 30 minutes ago, wongerlt said: yes for private store must work i think, there are 2 unused vars. first 0x00 - blessed, second 0x00 - damaged. 1 Quote
Williams Posted February 13, 2022 Posted February 13, 2022 On 2/11/2022 at 9:15 PM, arm4729 said: 2+2=4 quick maths Finally victory !!! Thank you sir , you are pure genius ! don't understand that maths you did there with the bits move left move right (16>>) , this was impossible without your tips.. thx will try to do same for private store sell next which package did you change? Quote
arm4729 Posted February 13, 2022 Posted February 13, 2022 (edited) 5 hours ago, Williams said: which package did you change? PrivateStoreListSell / PrivateStoreManageListSell / TradeItem / Does anyone know how to edit an already custom interface.u ? , and with edit i mean adding 2 lines to TradeWnd / PrivateStoreWnd ? Can someone decompile please this https://www.mediafire.com/file/fv9pnnp0v76m9ac/interface.u/file interface.u into .uc files ? Edited February 13, 2022 by arm4729 Quote
Williams Posted February 13, 2022 Posted February 13, 2022 32 minutes ago, arm4729 said: PrivateStoreListSell / PrivateStoreManageListSell / TradeItem / Does anyone know how to edit an already custom interface.u ? , and with edit i mean adding 2 lines to TradeWnd / PrivateStoreWnd ? Can someone decompile please this https://www.mediafire.com/file/fv9pnnp0v76m9ac/interface.u/file interface.u into .uc files ? TradeStart needs to be implemented too. Quote
arm4729 Posted February 13, 2022 Posted February 13, 2022 3 hours ago, Williams said: TradeStart needs to be implemented too. public class TradeStart extends L2GameServerPacket { private final Player _activeChar; private final ItemInstance[] _itemList; public TradeStart(Player player) { _activeChar = player; _itemList = player.getInventory().getAvailableItems(true, false); } @Override protected final void writeImpl() { if (_activeChar.getActiveTradeList() == null || _activeChar.getActiveTradeList().getPartner() == null) return; writeC(0x1E); writeD(_activeChar.getActiveTradeList().getPartner().getObjectId()); writeH(_itemList.length); for (ItemInstance temp : _itemList) { if (temp == null || temp.getItem() == null) continue; Item item = temp.getItem(); writeH(item.getType1()); writeD(temp.getObjectId()); writeD(temp.getItemId()); writeD(temp.getCount()); writeH(item.getType2()); // int _augorg = 0; int _aug = 0; int _aug2 = 0; int _aug3 = 0; if (temp.isAugmented()) { _augorg = temp.getAugmentation().getAugmentationId(); _aug = _augorg>>16; _aug2 = _aug; _aug3 = _augorg-(_aug<<16); } if (temp.isAugmented()) writeH(_aug2); if (temp.isAugmented() == false) writeH(0x00); writeD(item.getBodyPart()); writeH(temp.getEnchantLevel()); writeH(0x00); if (temp.isAugmented()) writeH(_aug3); if (temp.isAugmented() == false) writeH(0x00); } } } 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.