Jump to content

Question

Posted

Well I built a few xml's using Lineage2 Multisell ... The question is how do I implent them Into an npc ? Like I took an Npc which Is ready and edited its Html to  an example :

 

99999.html :

 

<html><title>GM Shop</title><body>

<center><img src="L2UI_CH3.herotower_deco" width=256 height=32></center><br>

<center><table width=230>

<tr><td>Weapons:</td><td>Armors:</td><td>Miscelanious:</td></tr>

<tr><td><button value="S80 Weapons" action="bypass -h npc_%objectId%_multisell 4444466" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="S80 Armors" action="bypass -h npc_%objectId%_multisell 4444468" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="S80 Jewelry" action="bypass -h npc_%objectId%_multisell 4444463" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="S Weapones" action="bypass -h npc_%objectId%_multisell 4444467" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="S Armor" action="bypass -h npc_%objectId%_multisell 4444464" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="S Jewelry" action="bypass -h npc_%objectId%_multisell 4444469" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Dual Swords" action="bypass -h npc_%objectId%_Buy 5006" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Armors(Full)" action="bypass -h npc_%objectId%_Buy 5010" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Enchants" action="bypass -h npc_%objectId%_multisell 4444465" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Daggers" action="bypass -h npc_%objectId%_Buy 5007" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></a></td><td><button value="Chests(Mage)" action="bypass -h npc_%objectId%_Buy 5013" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="SpellBooks" action="bypass -h npc_%objectId%_Buy 5023" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Bows/Arrows" action="bypass -h npc_%objectId%_Buy 5009" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Legs" action="bypass -h npc_%objectId%_Buy 5012" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Scrolls" action="bypass -h npc_%objectId%_Buy 5008" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Fists" action="bypass -h npc_%objectId%_Buy 5005" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Legs(Mage)" action="bypass -h npc_%objectId%_Buy 5014" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Tattoos" action="bypass -h npc_%objectId%_multisell 90004" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Polearms" action="bypass -h npc_%objectId%_Buy 5003" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Boots" action="bypass -h npc_%objectId%_Buy 5016" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Cloaks" action="bypass -h npc_%objectId%_Buy 5020" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Blunts" action="bypass -h npc_%objectId%_Buy 5002" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Gloves" action="bypass -h npc_%objectId%_Buy 5017" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Underwear" action="bypass -h npc_%objectId%_Buy 5019" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Staffs" action="bypass -h npc_%objectId%_Buy 5004" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Shields" action="bypass -h npc_%objectId%_Buy 5015" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="SS/Bsps" action="bypass -h npc_%objectId%_Buy 5025" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td>-Custom---</td><td>-------</td><td>------</td></tr>

<tr><td><button value="No Grade" action="bypass -h npc_%objectId%_Buy 20042" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Henna Dyes" action="bypass -h npc_%objectId%_Buy 5026" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Fireworks" action="bypass -h npc_%objectId%_Buy 5032" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="S-GradeArmors" action="bypass -h npc_%objectId%_Buy 5029" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Carol Crystals" action="bypass -h npc_%objectId%_Buy 5027" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Hair Items" action="bypass -h npc_%objectId%_Buy 5028" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="Misc Items" action="bypass -h npc_%objectId%_Buy 5030" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Quest Items" action="bypass -h npc_%objectId%_multisell 9104" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="Quest Items 2" action="bypass -h npc_%objectId%_multisell 9005" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr>

<tr><td><button value="C5 Weapons" action="bypass -h npc_%objectId%_Buy 5033" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="C5 Armors" action="bypass -h npc_%objectId%_Buy 5034" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><td><button value="L2Day Scrolls" action="bypass -h npc_%objectId%_Buy 5035" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td></tr><br>

<tr><td><button value="Sell" action="bypass -h npc_%objectId%_Sell" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br></tr>

</table></center><br>

<a action="bypass -h npc_%objectId%_TerritoryStatus">See the Lord and Tax Rate Information</a>

</body></html>

 

 

 

now the xml :

(4444466)

<?xml version='1.0' encoding='utf-8'?>

 

<!-- Created with Lineage II - Multisell Manager -->

<!-- © 2007 by tReXpert -->

 

<list maintainEnchantment="true">

 

  <!-- Dynasty Blade -->

  <item id="1">

    <ingredient id="6392" count="2800"/>

    <production id="9443" count="1"/>

  </item>

 

  <!-- Dynasty Bagh-Nakh -->

  <item id="2">

    <ingredient id="6392" count="2800"/>

    <production id="9450" count="1"/>

  </item>

 

  <!-- Dynasty Bow -->

  <item id="3">

    <ingredient id="6392" count="2800"/>

    <production id="9445" count="1"/>

  </item>

 

  <!-- Dynasty Crusher -->

  <item id="4">

    <ingredient id="6392" count="2800"/>

    <production id="10253" count="1"/>

  </item>

 

  <!-- Dynasty Cudgel -->

  <item id="5">

    <ingredient id="6392" count="2800"/>

    <production id="9448" count="1"/>

  </item>

 

  <!-- Dynasty Dual Sword -->

  <item id="6">

    <ingredient id="6392" count="2800"/>

    <production id="10004" count="1"/>

  </item>

 

  <!-- Dynasty Halberd -->

  <item id="7">

    <ingredient id="6392" count="2800"/>

    <production id="9447" count="1"/>

  </item>

 

  <!-- Dynasty Knife -->

  <item id="8">

    <ingredient id="6392" count="2800"/>

    <production id="9446" count="1"/>

  </item>

 

  <!-- Dynasty Mace -->

  <item id="9">

    <ingredient id="6392" count="2800"/>

    <production id="9449" count="1"/>

  </item>

 

  <!-- Dynasty Phantom -->

  <item id="10">

    <ingredient id="6392" count="2800"/>

    <production id="9444" count="1"/>

  </item>

 

  <!-- Dynasty Staff -->

  <item id="11">

    <ingredient id="6392" count="2800"/>

    <production id="10252" count="1"/>

  </item>

 

  <!-- Dynasty Sword -->

  <item id="12">

    <ingredient id="6392" count="2800"/>

    <production id="9442" count="1"/>

  </item>

 

 

</list>

 

 

 

 

Someone plox  ^^ ' I tried ..just faild what am I doing wrong ? when In game I'm Pressing S80 Weapons for example there is no respond ....weird Well I dunno I don't even know what the numbers of the xml's represnt I just used the old ones that came with the old npc (99999) and edited em...oh It drives me crazy its my first time savior PLEASE my sister is driving me crazy about this

 

Thx ahead  :P

 

4 answers to this question

Recommended Posts

  • 0
Posted

check this

 

<td align=center><button value="Weapons" action="bypass -h npc_%objectId%_Multisell 5050" width=100 height=23 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">

 

the red is the right bypass for multisell .. also change this in the xml

 

<?xml version='1.0' encoding='utf-8'?>
<list maintainEnchantment="true">
  <!-- Dynasty Blade -->
  <item id="1">
    <ingredient id="6392" count="2800"/>
    <production id="9443" count="1"/>
  </item>
  <!-- Dynasty Bagh-Nakh -->
  <item id="2">
    <ingredient id="6392" count="2800"/>
    <production id="9450" count="1"/>
  </item>
  <!-- Dynasty Bow -->
  <item id="3">
    <ingredient id="6392" count="2800"/>
    <production id="9445" count="1"/>
  </item>
  <!-- Dynasty Crusher -->
  <item id="4">
    <ingredient id="6392" count="2800"/>
    <production id="10253" count="1"/>
  </item>
  <!-- Dynasty Cudgel -->
  <item id="5">
    <ingredient id="6392" count="2800"/>
    <production id="9448" count="1"/>
  </item>
  <!-- Dynasty Dual Sword -->
  <item id="6">
    <ingredient id="6392" count="2800"/>
    <production id="10004" count="1"/>
  </item>
  <!-- Dynasty Halberd -->
  <item id="7">
    <ingredient id="6392" count="2800"/>
    <production id="9447" count="1"/>
  </item>
  <!-- Dynasty Knife -->
  <item id="8">
    <ingredient id="6392" count="2800"/>
    <production id="9446" count="1"/>
  </item>
  <!-- Dynasty Mace -->
  <item id="9">
    <ingredient id="6392" count="2800"/>
    <production id="9449" count="1"/>
  </item>
  <!-- Dynasty Phantom -->
  <item id="10">
    <ingredient id="6392" count="2800"/>
    <production id="9444" count="1"/>
  </item>
  <!-- Dynasty Staff -->
  <item id="11">
    <ingredient id="6392" count="2800"/>
    <production id="10252" count="1"/>
  </item>
  <!-- Dynasty Sword -->
  <item id="12">
    <ingredient id="6392" count="2800"/>
    <production id="9442" count="1"/>
  </item>
</list>

 

gl

  • 0
Posted

Still Dosen't work .... I dunno the shop just dosen't respond... HELP plox :P

 

any errors in gs? try to rename your xml to 4 digit number ...  or try to change this

 

<list maintainEnchantment="true">

 

from xml to this

 

<list>

 

or you made smth wrong on the html .. or the xml ismissing ...

Guest
This topic is now closed to further replies.
×
×
  • Create New...