Jump to content

Recommended Posts

Posted

hello..i search alot of time for find that code. with this code can sell enchanted items in shop from multishell. i have see alot ppl ask for this for this i share this. isnt something big but can help some new ppl here..

 

you add this java code in eclipse::

 

http://pastebin.com/4TXQku5B

 

 

and this you use in multishell from your shop::

 

http://pastebin.com/3puSZZxm

 

some info about multishell::

 

  1. <?xml version='1.0' encoding='utf-8'?>
  2. <!-- Armor -->
  3.  
  4.  <list>
  5.  <list maintainEnchantment="true">
  6.  
  7. <!-- Vesper Cuirass -->
  8. <item id="1">
  9. <ingredient id="14721" count="3" enchant="0"/>               
  10. <production id="16168" count="1" enchantmentLevel="12"/>
  11. </item>

 

>>> ingredient id="14721" >>>>  is the id of the item of you want take from player for buy the item

>>> count="3" >>>>>>> is the price of item of you want take from player for buy the item

>>> ingredient id="14721" count="3" enchant="0"  >>>> enchant="0" from this line must ALWAYS be "0"

 

>>> <production id="16168" >>>> this is the id from item of you want sell

>>> <count="1" >>>>>> this is the number of this item of you sell

>>> enchantmentLevel="12" >>>> this is the enchant level of your item of you sell

 

credits for code:: Hl4p3x

credits for share-guide me 

 

sorry for bad english :)

 

 

 

  • 2 weeks later...
  • 3 weeks later...
Posted

 

hello i get an error at:

at Ingredient.java


public Ingredient getCopy()
	{
		return new Ingredient(_itemId, _itemCount, _isTaxIngredient, _maintainIngredient);
	}
	

add full the code at correct lines and after see again if you have errors

Posted

All current projects have this thing already. Moreover, it may be useful for those who have no idea how to take it.

hmm...i try to make sell enchanted items from multishell in my pack (l2j freya) with every type EnchantLevel,EnchantmentLevel etc and doesnt work. after add this code work fine. and for this i share

Posted

hmm...i try to make sell enchanted items from multishell in my pack (l2j freya) with every type EnchantLevel,EnchantmentLevel etc and doesnt work. after add this code work fine. and for this i share

 

I wasn't talking about the old ones.

Posted (edited)

I wasn't talking about the old ones.

 

idk if acis or frozen have already this feature cuz i dont use. but l2j ct2.5 sure havent this feature  :D

Edited by nikosdevil20

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock