Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/MultiSellChoose.java
- ===================================================================
- --- head-src/com/l2jfrozen/gameserver/network/clientpackets/MultiSellChoose.java (revision 968)
- +++ head-src/com/l2jfrozen/gameserver/network/clientpackets/MultiSellChoose.java (working copy)
- @@ -240,7 +240,8 @@
- _ingredientsList.clear();
- _ingredientsList = null;
- FastList<L2Augmentation> augmentation = new FastList<L2Augmentation>();
- - /** All ok, remove items and add final product */
- + // All ok. Remove items, add final product and send success message.
- + player.sendPacket(new SystemMessage(SystemMessageId.SUCCESSFULLY_TRADED_WITH_NPC));
- for (MultiSellIngredient e : entry.getIngredients())
- {
- Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBuyItem.java
- ===================================================================
- --- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBuyItem.java (revision 968)
- +++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBuyItem.java (working copy)
- @@ -374,6 +374,10 @@
- }
- // Add item to Inventory and adjust update packet
- player.getInventory().addItem("Buy", itemId, count, player, merchant);
- +
- + // Send success message.
- + player.sendPacket(new SystemMessage(SystemMessageId.SUCCESSFULLY_TRADED_WITH_NPC));
- +
- /* TODO: Disabled until Leaseholders are rewritten ;-)
- // Update Leaseholder list
- if (_listId >= 1000000)
- Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestSellItem.java
- ===================================================================
- --- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestSellItem.java (revision 968)
- +++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestSellItem.java (working copy)
- @@ -204,6 +204,9 @@
- }
- player.addAdena("Sell", (int) totalPrice, merchant, false);
- + // Send success message.
- + player.sendPacket(new SystemMessage(SystemMessageId.SUCCESSFULLY_TRADED_WITH_NPC));
- +
- String html = HtmCache.getInstance().getHtm("data/html/" + htmlFolder + "/" + merchant.getNpcId() + "-sold.htm");
- if(html != null)
- Index: head-src/com/l2jfrozen/gameserver/network/SystemMessageId.java
- ===================================================================
- --- head-src/com/l2jfrozen/gameserver/network/SystemMessageId.java (revision 968)
- +++ head-src/com/l2jfrozen/gameserver/network/SystemMessageId.java (working copy)
- @@ -3829,6 +3829,12 @@
- THE_OLYMPIAD_GAME_IS_NOT_CURRENTLY_IN_PROGRESS(1651),
- /**
- + * ID: 1656<br>
- + * Message: You have successfully traded the item with the NPC.
- + */
- + SUCCESSFULLY_TRADED_WITH_NPC(1656),
- +
- + /**
- * ID: 1657<br>
- * Message: $s1 has earned $s2 points in the Grand Olympiad Games.
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement