Jump to content
  • 0

Npc Upgrade


InFocus

Question

Recommended Posts

  • 0
2 hours ago, InFocus said:

anyway, i can make  dnasty armor 2 types with same textures? i mean lv 1 and lv 2 with same textures but with different status. ofc i must create a secound item in xml's

Just change the ID of the armor lvl 2. Dyn set ID 1,2,3,4,5, go to your xml/items, c/p those armor parts and then change the ID and stats. Also, you will need to put the new ID on client. itemname, armorgrp.

About shop, as sweet told you, you will need to put npc type Merchant. 

 

Mutilsell example:


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

<!-- D-Grade Weapons -->

<list>
  <!-- Dynasty Helm lvl 1 -->
  <item id="1">
        <ingredient id="1" count="1"/>
        <production id="2" count="1"/>
  </item>

 

  <!-- Dynasty BreastPlate lvl 1 -->
  <item id="2">
        <ingredient id="1" count="1"/>
        <production id="2" count="1"/>
  </item>

 

  <!-- Dynasty Legs lvl 1 -->
  <item id="3">
        <ingredient id="1" count="1"/>
        <production id="2" count="1"/>
  </item>

 

  <!-- Dynasty Gloves lvl 1 -->
  <item id="4">
        <ingredient id="1" count="1"/>
        <production id="2" count="1"/>
  </item>

 

  <!-- Dynasty Boots lvl 1 -->
  <item id="5">
        <ingredient id="1" count="1"/>
        <production id="2" count="1"/>
  </item>
</list>

 

Npc example:


        <npc id="20704" idTemplate="30865" name="Shop" title="Global Store">
        <set name="usingServerSideName" val="true"/>
        <set name="usingServerSideTitle" val="true"/>
        <set name="level" val="80"/>
        <set name="radius" val="8"/>
        <set name="height" val="26"/>
        <set name="rHand" val="0"/>
        <set name="lHand" val="0"/>
        <set name="type" val="Merchant"/>
        <set name="exp" val="0"/>
        <set name="sp" val="0"/>
        <set name="hp" val="2444.46819"/>
        <set name="mp" val="1345.8"/>
        <set name="hpRegen" val="7.5"/>
        <set name="mpRegen" val="2.7"/>
        <set name="pAtk" val="688.86373"/>
        <set name="pDef" val="295.91597"/>
        <set name="mAtk" val="470.40463"/>
        <set name="mDef" val="216.53847"/>
        <set name="crit" val="4"/>
        <set name="atkSpd" val="253"/>
        <set name="str" val="40"/>
        <set name="int" val="21"/>
        <set name="dex" val="30"/>
        <set name="wit" val="20"/>
        <set name="con" val="43"/>
        <set name="men" val="20"/>
        <set name="corpseTime" val="7"/>
        <set name="walkSpd" val="50"/>
        <set name="runSpd" val="120"/>
        <set name="dropHerbGroup" val="0"/>
        <ai type="DEFAULT" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="0" canMove="true" seedable="false"/>
        <skills>
            <skill id="4045" level="1"/>
            <skill id="4416" level="17"/>
        </skills>
    </npc>

 

html/merchant/20704


<html>
<title>
SHOP UPGRADER
</title>
<center>
<img src="networklogo1.networklogo1" height=90 width=294></td>
</center>
<center>
<img src="L2UI.SquareGray" width=300 height=1>
<br>
<img src="L2UI.SquareGray" width=300 height=1>
<table width=300 height=32 bgcolor=000000>
<tr>
<td fixwidth=5>
</td>
<td fixwidth=32 height=42>
<img src="icon.accessory_necklace_of_valakas_i00" width=34 height=33>
</td>
<td fixwidth=250>
<font color=F57E21><a action="bypass -h npc_%objectId%_multisell 501">Upgrade Dynasty</font></a><br1>
<font color=F2F5A9>You need Upgrade? Here you are.</font>
</td>
</tr>
</table>
<img src="L2UI.SquareGray" width=300 height=1>
</center>
</body>
</html>

  • Upvote 1
Link to comment
Share on other sites

  • 0

Upgrade to what? From Arcana to Dynasty or something? You can create a new npc, edit the multisell and that's it..

Check how blacksmith works with SA and make your own..

 

 

 

Link to comment
Share on other sites

  • 0
[26/08 14:46:30] MultisellData: player L2PcInstance:Admin[268481273] attempted to open multisell 10005 from npc L2TrainerInstance:Upgrader(3030011)[268484471] which is not allowed!

This error i get in gameserver

Link to comment
Share on other sites

  • 0

You can't freely use another npc instance bypass. If you want to use that bypass from that npc instance, you must add the code to the instance. 

Link to comment
Share on other sites

  • 0

very simple, example : you have item(tier1) with id: 25002 and item(tier2) with id : 25003 you will make one multisell that will give as product the 25003 and as ingridient will require the 25002

Edited by Sidereal Day
Link to comment
Share on other sites

  • 0

nop, i don't want this Sideral. I want to Upgrade, no buy another armor, just upgrade. i know what u say, but i don't want to buy a armor with another armor

Edited by InFocus
Link to comment
Share on other sites

  • 0
12 hours ago, InFocus said:

nop, i don't want this Sideral. I want to Upgrade, no buy another armor, just upgrade. i know what u say, but i don't want to buy a armor with another armor

Apella lvl 1 to Apella lvl 2. Same thing as Sideral told you.. You will give Apella lvl 1(ID 1) for Apella lvl 2(ID 2). 

Link to comment
Share on other sites

  • 0

Then how the heck you want to upgrade it.. That's the only way, take armor id 1 (with other ingredients) - > give armor id 2. No matter if it's multisell or hard-coded stuff. 

Link to comment
Share on other sites

  • 0

There isn't any retail upgrade shop. Learn to explain what you need.

2 options.

A) merchant

B) check blacksmith how SA/sealed/ unsealed working

 

Move on

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Thank you very much, but now, if i spawn a raid, i see in chat, but npc isn;t spawned, it's visual bug?  
    • +256783219521 N1 WITCHCRAFT SPELLS CASTER IN TEXAS USA/UK EU.   ARE YOU DESPERATE FOR ATTRACTION OR YOU WANT YOUR EX LOVER BACK INTO YOUR LIFE AND YOU ARE , DESPERATE  BECAUSE YOU HAVE NO ONE TO TALK TO,  THEN WORRY AND CRY NO MORE BECAUSE THE SOLUTION IS AT HAND AND YOUR PROBLEMS WILL BE NO MORE. HERE COMES PSYCHIC MAGGU A SPECIALIST WITH VAST EXPERIENCE SPANNING 25 YEARS AS A LOVE SPELLS CASTER, MARRIAGE SPELLS CASTER, BINDING SPELLS CASTER, LOST LOVE SPELLS CASTER, ATTRACTION SPELLS CASTER, PSYCHIC,WEALTH SPELLS, TRADITIONAL HEALER, DIVINER,MEDIUM, FINANCIAL SPELLS, VOODOO,WORK RELATED SPELLS, BLACK MAGIC, WHITE MAGIC.  WITH SUCH EXPERTISE, I HAVE BEEN ABLE TO WORK ON CLIENTS FROM DIFFERENT PARTS OF THE WORLD INCLUDING BUT NOT LIMITED TO USA, CANADA, EUROPE, UAE, INDIA, SOUTH AFRICA, ASIA, INDONESIA, BOTSWANA. IF AT ALL YOUR PROBLEMS PERSISTED FOR A LONG TIME  AND YOU HAVE FAILED TO GET A LASTING AND PERMANENT REMEDY SO THAT YOU LIVE A HAPPY AND BLISSFUL LIFE, PLEASE DON'T HESITATE TO CALL/ WHATSAPP +256 783219521  . 
    • #REAL BLACK MAGIC SPELLS CASTER IN USA UK +256783219521 POWERFUL BLACK MAGIC SPELLS CASTER|Witchcraft Spells Caster In USA UK AUSTRALIA CANADA NEW ZEALAND EUROPE SOUTH AFRICA SOUTH AMERICA ASIA IRELAND (USA) New York,California,Florida,Georgia,South Carolina,North Carolina,Virginia,West Virginia,Alabama,Louisiana,Mississippi,Tennessee,Kentucky,Delaware,New Jersey,Maryland,Ohio,Indiana,Michigan,Pennsylvania,Connecticut,Rhode Island,Massachusetts,New Hampshire,Vermont,Maine,Texas,Oklahoma,Arkansas,Wisconsin,Illinois,Minnesota,Iowa,Missouri,Kansas,New Mexico,Arizona,Nevada,Utah,Colorado,Nebraska,South Dakota,North Dakota,Montana,Wyoming,Oregon,Idaho,Washington,Fertility,Attraction,Binding Spell Caster In South America,24 Hours Online Love Psychic Reader,Native Herbalist,Sangoma,Traditional Healer in South Africa,Canada Best Lost Love Spell Caster,Strong Medium For Gays/Lesbians Relationships,Trusted Interracial Love Marriage Healer,POWERFUL Native Incantation Love Spell Caster in UK,Europe,Australia,Faithful Islamic-Arabic Divine Love Spells In Middle East,Top Online Love Traditional Doctor In USA,The Bahamas,Trusted Traditionalist in ALL Counties,A Love Spell Caster in Poland UK,Binding Love Spell In Dubai,Bring Back Lost Love Spells In Australia,Online Magic Love Charms In Australia,Bahama Best Online Love SPELL Caster,A Powerful Voodoo Love Spell Caster In German,France,Norway,A Powerful Native Binding Spell Caster In United Kingdom,Powerful Love Doctor In Ireland,Sweden,Italy,Black Magic Spell Caster In Philippines,NEW LAND,Denmark,Sangoma In Gauteng South Africa,Spain Love Medium Psychic,Islami Arabic Divine Lost Love Medium,EX Back Spell Caster In Mauritius,A Best Bring Back Lost Love Spell Caster In The Bahamas,Saudi Arabia,Kuwait,A Love Spell Caster In South America,A powerful Traditional Healer In Caribbean."IF YOU CAN'T SEE IT,DOESN'T MEAN IT'S NOT THERE"WELCOME TO AN EXPERIENCED[19 YEARS OF SERVICE] BLACK MAGIC NATIVE TRADITIONAL HEALER, LOST LOVE SPELLS CASTER, LOVE SPELL CASTER, HEALER, HERBALIST, BINDING SPELL CASTER,MEDIUM OF LOVE,BEST ONLINE PSYCHIC READER,SANGOMA,WITCH DOCTOR [PSYCHIC- MAGGU +256783219521.
  • Topics

×
×
  • Create New...