Sell multiple items in one multisell slot??

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
bjc435
Posts: 73
Joined: Sun Jan 18, 2009 4:07 pm

Sell multiple items in one multisell slot??

Post 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
Kudos
Posts: 52
Joined: Mon Aug 20, 2007 11:59 am

Re: Sell multiple items in one multisell slot??

Post 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> 
bjc435
Posts: 73
Joined: Sun Jan 18, 2009 4:07 pm

Re: Sell multiple items in one multisell slot??

Post by bjc435 »

Awesome!!! thanks :mrgreen:
Post Reply