l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com

Author Topic: [Guild]HOW TO MAKE A CUSTOM SHOP(gracia final)  (Read 9982 times)

0 Members and 2 Guests are viewing this topic.

OfflineiMm0rtAl

  • Full Member
  • ***
  • Posts: 100
  • L2topzone Votes: 0
  • Servers reviews: 0
  • Reputation: +379/-0
  • The Start Of The Game Is The Finish Of You!
    [Guild]HOW TO MAKE A CUSTOM SHOP(gracia final)
    « on: January 28, 2010, 11:06:29 AM »

    this tutorial is made for L2J...should work for all other L2J packs.
    1).First thing is first...find a NPC you want to use(in my example i use ALEXANDRIA from girans luxury shop)
    and get there NPC-ID.(there are 2 ways to get it,via the SQL or Holding down shift and clicking the left mouse button).
    Alexandria's NPC-ID is 30098


    2a)now we have the ID exit the game and goto your server folder(my folder located at mycomputer/c:/server)
    now goto the folowing= gameserver/data/html/merchant and look for that NPC ID number(30098 is what you are looking for).
    once found open it up in notepad.
    you should now see the following=

    Quote
    <a action="bypass -h npc_%objectId%_multisell 300984001">Buy armor.[/url]

    <a action="bypass -h npc_%objectId%_multisell 300984002">Buy groceries.[/url]


    this code is where it tels the server what and where.


    2b).copy and past 1 of the lines and past it under the bottom string so it looks like this=

    Quote
    <a action="bypass -h npc_%objectId%_multisell 300984001">Buy armor.[/url]

    <a action="bypass -h npc_%objectId%_multisell 300984002">Buy groceries.[/url]

    <a action="bypass -h npc_%objectId%_multisell 300984001">NAME OF WHAT YOU ARE SELLING HERE.[/url]


    2c).take note of the numbers in the code becuase they are very important.
    we are now going to change 1 set of numbers to= 987654321 =

    Quote
    <a action="bypass -h npc_%objectId%_multisell 987654321">NAME OF WHAT YOU ARE SELLING HERE.[/url]


    thats how it should look.

    now save the file.


    3a).goto C:\server\gameserver\data\multisell and copy and past 1 of the files to your desktop and rename it = 987654321(i used 300984001)

    when you have named your file copy and past it back into the multisell folder and open it with notepad.

    3b).you should now see some code like this=

    Quote
      <item id="1">
            <!-- Ingredients -->
            <ingredient id="1460" count="138" enchant="0"/>
            <ingredient id="1459" count="415" enchant="0"/>

            <!-- Products -->
            <production id="357" count="1" enchant="0"/>
        </item>

    as you can see there are some numbers,these are item numbers etc.
    if you want to make it a trade shop the top 2 set of strings should stay the same.
    all you need to do is change the ID numbers to the ID numbers of the item you want them to trade for.

    Quote
    count="138"

    this is the amount of the trade item they must provide,change it to your desired amount.

    Quote
    <production id="357" count="1" enchant="0"/>

    this is the item they trade for.
    change the ID number to what ever ID number the item you want to give.


    HERE IS A EXAMPLE OF WHAT YOUR CODE SHOULD NOW LOOK LIKE=

    Quote
    <list>
        <item id="1">
            <!-- Ingredients -->
            <ingredient id="1460" count="138" enchant="0"/>
            <ingredient id="1459" count="415" enchant="0"/>

            <!-- Products -->
            <production id="357" count="1" enchant="0"/>

    </list>

    THIS ABOVE CODE WILL TRADE ARMOUR AS IT IS USING THE DEFAULT ARMOUR IDS FROM ALEXADRIA.


    HERE IS A EXAMPLE IF YOU WANT TO TRADE ITEMS FOR ADENA =

    Quote
    <list>
        <item id="1">
            <!-- Ingredients -->
            <ingredient id="57" count="50000000" enchant="0"/>
           
            <!-- Products -->
            <production id="9160" count="1" enchant="0"/>
        </item>
    </list>

    THIS CODE IF YOU WANT TO USE IT WILL SELL A HAT FOR 50MILL ADENA.


    once you have adeed your ID numbers you can now save the file.

    congratulations you have now added a part to alexandria to sell what ever you want.
    not load game and goto Alexandria at the luxury shop in giran.

    i tryed to give as much detail as posible, hope hope this helped.
    if there is anything you dont understand or are having trouble following this guide please let me know.


    PS for multi sell items Example: armour sets
    try this code =
    Code: [Select]
    <item id="18">
    <!-- Ingredients -->
    <ingredient id="57" count="12000" enchant="0"/>

    <!-- Products -->
    <production id="141" count="1" enchant="0"/>
    <production id="142" count="1" enchant="0"/>
    <production id="55" count="1" enchant="0"/>
    <production id="56" count="1" enchant="0"/>
    <production id="57" count="1" enchant="0"/>
    </item>

    rember for each new item you must change the item ID for the specific order you want it to show
    (this code shows ID number 18...thats the 18 item).
    all works for me.
    storm3r is offline   Reply With Quote[/color][/font][/size][/b]


    Linkback: https://l2topzone.com/forum/index.php?topic=447.0

    l2topzone.com
    l2topzone.com
    l2topzone.com
    l2topzone.com
    l2topzone.com

    Onlinexzone

    • Read our rules
    • Hero Member
    • *****
    • Posts: 663
    • L2topzone Votes: 53
    • Servers reviews: 159
    • Reputation: +10480/-0
      • l2topzone
    Re: [Guild]HOW TO MAKE A CUSTOM SHOP(gracia final)
    « Reply #1 on: January 30, 2010, 10:21:44 AM »
    Or you can use this program is much easy L2Multisell_1.2.rar;)

    OfflineiMm0rtAl

    • Full Member
    • ***
    • Posts: 100
    • L2topzone Votes: 0
    • Servers reviews: 0
    • Reputation: +379/-0
    • The Start Of The Game Is The Finish Of You!
      Re: [Guild]HOW TO MAKE A CUSTOM SHOP(gracia final)
      « Reply #2 on: January 30, 2010, 12:45:36 PM »
      Or you can use this program is much easy L2Multisell_1.2.rar;)
      hehe ok ;)

      OfflineBoOmBoOm

      • Full Member
      • ***
      • Posts: 145
      • L2topzone Votes: 0
      • Servers reviews: 0
      • Reputation: +446/-1
      • ★MaxCheaters★
        Re: [Guild]HOW TO MAKE A CUSTOM SHOP(gracia final)
        « Reply #3 on: February 20, 2011, 10:52:36 AM »
        Driver  you is very interesting and  Analysis
        « Last Edit: February 20, 2011, 10:53:46 AM by MrAnGeL »

         

        Sitemap