Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Code [Guide] L2J Freya Enchanted Items In Gm Shop


Recommended Posts

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 :)

 

 

 

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 3 weeks later...

 

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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.

Guest
Reply to this topic...

×   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.