Jump to content
  • 0

how to add trade table to GM shop?


Question

Posted

 

Can someone explain me how can I add a new trade table to GM shop, where you can trade for ex.: 5 Gold Bars to a Book of Giants?

Shouldn`t be hard i guess, but i have little experience with java :>

8 answers to this question

Recommended Posts

  • 0
Posted

So i have a good gm shop working on my server, this shop has already 1 multisell file with banking system. So I`f i create a new multisel xx.xml file, how can i attach it to my gm shop?

  • 0
Posted

I`m not waiting, im trying to do something :)

But anyway, I tryed to make some changes on my shop and now when i try to speak with it, I get disconnecected from server and my gameserver console writes a lot of java errors

 

Heres what i`ve done

1.I`m using a Gm shop by stefoulis15

http://www.4shared.com/file/110363610/9c3d1de/Gracia_Final_GM_Shop_By_Stefoulis15.html

2.I went to data/multisell and created a new document. Renamed it to 99.xml

3.Inside the document i added this

 

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

 

<list maintainEnchantment="true">

 

  <!-- Book of Giants -->

  <item id="1">

    <ingredient id="3481" count="5"/>

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

  </item>

 

  <!-- Gold Dragon -->

  <item id="2">

    <ingredient id="6622" count="1"/>

    <production id="3481" count="5"/>

  </item>

 

 

</list>

 

4. Now in data/html/merchant/53.htm I added

 

fore="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td><td><button value="PvP Rewards" action="bypass -h npc_%objectId%_multisell 99" width=77 height=21

back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td></tr>

 

What have I done wrong? :|

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...