For first problem.
If it's multisell limits id.
java/net/sf/l2j/gameserver/network/serverpackets/MultiSellList.java
@@ -91,8 +91,8 @@
for(MultiSellIngredient i : ent.getIngredients())
{
int items = i.getItemId();
- int typeE = 65535;
- if (items != 65336)
+ int typeE = 500000;
+ if (items != 500000)
typeE = ItemTable.getInstance().getTemplate(i.getItemId()).getType2();
writeH(items); //ID
writeH(typeE);
java/net/sf/l2j/gameserver/network/clientpackets/MultiSellChoose.java
@@ -166,7 +166,7 @@
_ingredientsList = null;
return;
}
- if(e.getItemId() !=65336)
+ if(e.getItemId() !=500000)
{
// if this is not a list that maintains enchantment, check the count of all items that have the given id.
// otherwise, check only the count of items with exactly the needed enchantment level
@@ -205,7 +205,7 @@
for(MultiSellIngredient e : entry.getIngredients())
{
- if(e.getItemId()!=65336)
+ if(e.getItemId()!=500000)
{
L2ItemInstance itemToTake = inv.getItemByItemId(e.getItemId()); // initialize and initial guess for the item to take.
if (itemToTake == null)