Page 1 of 1

Sell multiple items in one multisell slot??

Posted: Mon Jun 08, 2009 2:51 am
by bjc435
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

i have another question regarding multisell. if i wanted to sell multiple items like an armor set in one slot would the xml be something like:

Code: Select all

 <?xml version="1.0" encoding="UTF-8"?>    <list>        <item id="1">            <ingredient id="57" count="12000"/>            <production id="2416, 11402, 11404, 572, 5736" count="1"/>        </item>
I think I have seen some servers do this. If so would that code above work? or would it be:

Code: Select all

 <production id="2416" "11402" "11404"" 572"" 5736" count="1"/>
Or neither one of those? I'm still learning this xml stuff, but what i have learned from the things i have created, lead me to think one of those would fit...but like i said i could be wrong XD

Re: Sell multiple items in one multisell slot??

Posted: Mon Jun 08, 2009 3:12 am
by Kudos
You can only put one id for each <production> node. So you will have to put one <production ...> node for each item you need to sell in that slot.

Code: Select all

  <item id="1">             <ingredient id="57" count="12000"/>             <production id="2416" count="1"/>             <production id="11402" count="1"/>             <production id="114046" count="1"/>             <production id="572" count="1"/>             <production id="5736" count="1"/>         </item> 

Re: Sell multiple items in one multisell slot??

Posted: Mon Jun 08, 2009 3:15 am
by bjc435
Awesome!!! thanks :mrgreen: