Jump to content
  • 0

Multisell, Get Items On The Same Enchant As The Items You Give.


Question

Posted
Hey guys, i need help on something.

I want to make a shop where you can exchange your current armor to a better one for example you can get Draconic Leather Armor by giving your Dark Crystal Leather Armor.

What i want is this:


1. Multisell can get enchanted items

2. Multisell will make a check dunno how it works but i guess something like ingredient item getenchantlevel (check the item enchant level) and give the production item with the enchant level that the ingredient got.


I want to make it trade your current armor to a better one but also keep the enchantment level so you can trade for example your Dark Crystal Leather Armor +3 for Draconic Leather Armor +3.

 

Now if you have for example a Dark Crystal Robe +7 and you want to trade it for a Major +7

vfrMwvO.png

 

If item is enchanted the multisell won't take it

nIXMCDX.png

 

Anyone can help me on this?

I'm using aCis 350 rev.

Thanks in advance!

15 answers to this question

Recommended Posts

  • 0
Posted

Ohh right, I forgot. You also have to edit the bypass inside htm like this

 

 

<a action="bypass -h npc_%objectId%_exc_multisell 030">
  • 1
Posted

Oh well, if you are using free cycle then it might still work with id. So, ignore it. As you can see, for me it's working, so I don't see any point for ya it's not.

 

lbrs0xm.jpg

  • 0
Posted (edited)

I would tell to check system special ability when you trade examble db clean for db focus and its +4 you can take back the current enchant...so check there..

Edited by Reborn12
  • 0
Posted

I would tell to check system special ability when you trade examble db clean for db focus and its +4 you can take back the current enchant...so check there..

check skype

  • 0
Posted

 

<list maintainEnchantment="true">

 

Add maintain tag inside the xml. That way, the enchant will be kept.

  • 0
Posted
<list maintainEnchantment="true">

Add maintain tag inside the xml. That way, the enchant will be kept.

 

here is the multisell

<?xml version="1.0" encoding="UTF-8"?>
<!-- Test Multisell -->
<list maintainEnchantment="true">
	<!-- Dark Crystal for Major -->
	<item id="1">
		<ingredient id="2407" count="1"/>
		<production id="6383" count="1"/>
	</item>
</list>

still it won't let me trade the item if it's enchanted, so if it won't get the enchanted items it won't give the items i've set enchanted as well

  • 0
Posted

aCis is not using id within <item>. You know, I am always amazed when for someone something is not working, while for me it is  :dat:

  • 0
Posted

aCis is not using id within <item>. You know, I am always amazed when for someone something is not working, while for me it is  :dat:

i edited the multisell from a ready multisell of aCis and it's this one.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Noblesse Gate Pass ==>items -->
<list>
	<!--Blessed Scroll: Enchant Weapon (Grade S ) -->
	<item id="1">
		<ingredient id="6651" count="300000"/>
		<production id="6577" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Weapon (Grade A ) -->
	<item id="2">
		<ingredient id="6651" count="150000"/>
		<production id="6569" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Weapon (Grade B ) -->
	<item id="3">
		<ingredient id="6651" count="70000"/>
		<production id="6571" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Weapon (Grade C ) -->
	<item id="4">
		<ingredient id="6651" count="30000"/>
		<production id="6573" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Weapon (Grade D ) -->
	<item id="5">
		<ingredient id="6651" count="9000"/>
		<production id="6575" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Armor (Grade S ) -->
	<item id="6">
		<ingredient id="6651" count="45000"/>
		<production id="6578" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Armor (Grade A ) -->
	<item id="7">
		<ingredient id="6651" count="18000"/>
		<production id="6570" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Armor (Grade B ) -->
	<item id="8">
		<ingredient id="6651" count="7500"/>
		<production id="6572" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Armor (Grade C ) -->
	<item id="9">
		<ingredient id="6651" count="3500"/>
		<production id="6574" count="1"/>
	</item>
	<!--Blessed Scroll: Enchant Armor (Grade D ) -->
	<item id="10">
		<ingredient id="6651" count="1000"/>
		<production id="6576" count="1"/>
	</item>
	<!--Scroll: Enchant Weapon (Grade S ) -->
	<item id="11">
		<ingredient id="6651" count="50000"/>
		<production id="959" count="1"/>
	</item>
	<!--Scroll: Enchant Weapon (Grade A ) -->
	<item id="12">
		<ingredient id="6651" count="18000"/>
		<production id="729" count="1"/>
	</item>
	<!--Scroll: Enchant Weapon (Grade B ) -->
	<item id="13">
		<ingredient id="6651" count="5000"/>
		<production id="947" count="1"/>
	</item>
	<!--Scroll: Enchant Weapon (Grade C ) -->
	<item id="14">
		<ingredient id="6651" count="1100"/>
		<production id="951" count="1"/>
	</item>
	<!--Scroll: Enchant Weapon (Grade D ) -->
	<item id="15">
		<ingredient id="6651" count="500"/>
		<production id="955" count="1"/>
	</item>
	<!--Scroll: Enchant Armor (Grade S ) -->
	<item id="16">
		<ingredient id="6651" count="5000"/>
		<production id="960" count="1"/>
	</item>
	<!--Scroll: Enchant Armor (Grade A ) -->
	<item id="17">
		<ingredient id="6651" count="2400"/>
		<production id="730" count="1"/>
	</item>
	<!--Scroll: Enchant Armor (Grade B ) -->
	<item id="18">
		<ingredient id="6651" count="800"/>
		<production id="948" count="1"/>
	</item>
	<!--Scroll: Enchant Armor (Grade C ) -->
	<item id="19">
		<ingredient id="6651" count="150"/>
		<production id="952" count="1"/>
	</item>
	<!--Scroll: Enchant Armor (Grade D ) -->
	<item id="20">
		<ingredient id="6651" count="60"/>
		<production id="956" count="1"/>
	</item>
	<!-- Secred Book of Giants -->
	<item id="21">
		<ingredient id="6651" count="5000"/>
		<production id="6622" count="1"/>
	</item>
	<!-- Ancient Book - Divine Inspiration (Original Version) -->
	<item id="22">
		<ingredient id="6651" count="450000"/>
		<production id="8621" count="1"/>
	</item>
</list>

I didn't used any random multisell from a random pack.

So the problem is that it's <item id="1"> and not <item> ?? 

  • 0
Posted

Your multisell was like this i guess for example

<?xml version="1.0" encoding="UTF-8"?>
<!-- Test Multisell -->
<list maintainEnchantment="true">
	<!-- Dark Crystal for Major -->
	<item id="1">
		<ingredient id="2407" count="1" enchant="10"/>
		<production id="6383" count="1" enchant="10"/>
	</item>
</list>

right?

  • 0
Posted

 

Ohh right, I forgot. You also have to edit the bypass inside htm like this

<a action="bypass -h npc_%objectId%_exc_multisell 030">
  • 0
Posted

 

Ohh right, I forgot. You also have to edit the bypass inside htm like this

<a action="bypass -h npc_%objectId%_exc_multisell 030">

ah so it will exchange the ingredient item to the production item i've added with the enchant value that my ingredient item got?

  • 0
Posted

No, it's gonna summon a Santa Claus..  :rage:

oh great, christmas is coming so it will be great!

I'll check it and i'll come back to tell you, thanks anyway

Guest
This topic is now closed to further replies.


×
×
  • Create New...