Stefoulis15 Posted May 1, 2009 Posted May 1, 2009 Well , I'm Sure That You All Have Seen That , Some Times When We Put an Item Into a Multisell , We Get a Black Icon , Instead of That Item.. So, There are 2 Possible Ways For Fixing. First, Lower The Id's of those items.. for example, instead of 999912 Put 9610 Or Something. Second.. Via Java. ( No need of changing the id's ) so.. Here's The Patch. 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) Credits : VaGo
snag Posted May 1, 2009 Posted May 1, 2009 i think it is a way to correct little bug with multisell, i am right? anyway, helpfull share. Thanks.
FroZeNSoul Posted May 1, 2009 Posted May 1, 2009 Thanks For the share its rly helpfull i may test it cause i have some Problems with that black icon BTW Can u make a Share how to fix that no item name?I mean a lot of people Have that type of Problem Even when itemname-e.dat is fine some custom items are shown like NoItemName Plz a Guide to fix it
Chandy Posted May 1, 2009 Posted May 1, 2009 Nice one §tëFØuLi§15™ thx :p. Plz add in the l2dot pack ;) !
Vago Posted May 2, 2009 Posted May 2, 2009 Thanks For the share its rly helpfull i may test it cause i have some Problems with that black icon BTW Can u make a Share how to fix that no item name?I mean a lot of people Have that type of Problem Even when itemname-e.dat is fine some custom items are shown like NoItemName Plz a Guide to fix it That can be because of wrong slots. Also if your IDs are over 65535 this patch will fix it.
uNiQue1337 Posted May 4, 2009 Posted May 4, 2009 That can be because of wrong slots. Also if your IDs are over 65535 this patch will fix it. Or items that are not exist if im not wrong.
~Sensei~ Posted August 4, 2009 Posted August 4, 2009 Not working. you mean.. not used right? anyway, its always nice to see core shares.. gj =)
~Sensei~ Posted August 6, 2009 Posted August 6, 2009 things never work if you dont use them right.. so maybe see whats different in your source and adapt the patch? maybe do it manual in the first place and you wont have to w8 for forum replys..
Mask Posted August 6, 2009 Posted August 6, 2009 Very nice share! Many people had this problem even I. :P But i solved it before this. xD Anyway ty and am sure it will help a lot the newb developers. :)
Recommended Posts