Jump to content
  • 0

Multisell How Get Item +1 From Multisell


dymek1984

Question

Hello. I have question how to do when i have item for example Eternal Core Sword +1 as ingredient and adena 500 also as ingerdien and it give me Eternal Core Sword +2 as production.

but i want to show me in multisell only items where in ingredient enchant is same, 

 

here is example:

<item>
<ingredient count="1" id="15544" enchantmentLevel="1" />
<ingredient count="500" id="57" />
<production count="1" id="15544" enchantmentLevel="2" />
</item>

ofc maintainEnchantment="true"

 

in normal merchant is working but if i put all items possible for enchant, list will be very large.

and also item augumentation and attributes should also be on new item.

so i want to hide all other items that i cant buy like in famemanager. 

 

I search all MultiSellChose.java and found :

product.setEnchantLevel(e.getEnchantLevel());

changet to:

product.setEnchantLevel(e.getEnchantLevel()+1);

but as return i had 2 items +0 ;/

 

dont know where to search now to resolve my problem.

 

 

edit. i want to add, when i add this: 

<item>
<ingredient count="1" id="15544" enchantmentLevel="1" />
<ingredient count="500" id="57" />
<production count="1" id="15544" enchantmentLevel="2" />
</item>

to famemanager, no matter what i put in enchantmentLevel, always production have same enchant as ingredient. (famemanager i mean _exc_multisell )

Edited by dymek1984
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hello. I have question how to do when i have item for example Eternal Core Sword +1 as ingredient and adena 500 also as ingerdien and it give me Eternal Core Sword +2 as production.

but i want to show me in multisell only items where in ingredient enchant is same, 

 

here is example:

<item>
<ingredient count="1" id="15544" enchantmentLevel="1" />
<ingredient count="500" id="57" />
<production count="1" id="15544" enchantmentLevel="2" />
</item>

ofc maintainEnchantment="true"

 

in normal merchant is working but if i put all items possible for enchant, list will be very large.

and also item augumentation and attributes should also be on new item.

so i want to hide all other items that i cant buy like in famemanager. 

 

I search all MultiSellChose.java and found :

product.setEnchantLevel(e.getEnchantLevel());

changet to:

product.setEnchantLevel(e.getEnchantLevel()+1);

but as return i had 2 items +0 ;/

 

dont know where to search now to resolve my problem.

 

 

edit. i want to add, when i add this: 

<item>
<ingredient count="1" id="15544" enchantmentLevel="1" />
<ingredient count="500" id="57" />
<production count="1" id="15544" enchantmentLevel="2" />
</item>

to famemanager, no matter what i put in enchantmentLevel, always production have same enchant as ingredient. (famemanager i mean _exc_multisell )

http://www.maxcheaters.com/topic/182155-guide-l2j-freya-enchanted-items-in-gm-shop/

Link to comment
Share on other sites

  • 0

Already added this what you paste. But I ask for hide items like in _exc_multisell in bypass. Fame manager have hides items if u don't have ingrediento in your inventory. When I put enhancement level in fame manager it's completely ignored and give me weapon with same enchant.

Link to comment
Share on other sites

  • 0

I thought i have what i want but i make mistake, is still not resolved. 

 

Maybe i try to explain better:

 

one multisell for enchanted items, when u open u can see only items that u can buy ( same as in PvP merchant for Fame) 

in L2MerchantInstance is 2 bypasses _multisell and _exc_multisell .

if i use _multisell as bypass for my multisell list i have all item visible in multisell window and ingredient is Eternal core sword +1 and prduction eternal core sword +2

if i have eternal core swoerd + 1 i can buy eternal core sword +2, this work perfectly.

if i use _exc_multisell i can see only 1 item eternal core sword +1 as ingredient and prduction so ignore my " enchantmentLevel="2" " in production, 

as production i have +1 because i have item +1 in my inventory. 

 

so i want to do, if u have noe items from multisell list u see nothing in window, if u have u can see and exchange with "enchantmentLevel="2" " 

 

 

hope u undersand me. 

Edited by dymek1984
Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...