Add sell button to GMShop
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 67
- Joined: Mon Oct 27, 2014 9:44 pm
Add sell button to GMShop
I edited my whole GMShop already but I found out
that It does not have a sell button and I would like to add on?
With which multisell or html should I connect it? I really dont have a clue
that It does not have a sell button and I would like to add on?
With which multisell or html should I connect it? I really dont have a clue
- HappyLDE
- Posts: 123
- Joined: Tue Sep 10, 2013 6:22 pm
- Location: Belgium
- Contact:
Re: Add sell button to GMShop
You mean to show to users the GMSHop?
Code: Select all
// 55555555 should be the id of the mutisell file<a action="bypass -h npc_%objectId%_multisell 55555555">Sell</a>
Thank you for making L2JServer happen! 
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford

"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
-
- Initiates
- Posts: 88
- Joined: Fri Jul 26, 2013 10:16 am
Re: Add sell button to GMShop
i think sell transaction is made by Buylist and not in multisell!HappyLDE wrote:You mean to show to users the GMSHop?
Code: Select all
// 55555555 should be the id of the mutisell file<a action="bypass -h npc_%objectId%_multisell 55555555">Sell</a>
game\data\buylists

-
- Posts: 67
- Joined: Mon Oct 27, 2014 9:44 pm
Re: Add sell button to GMShop
There is no multisell file with that ID.
There is no buylist folder in game/data...
There is no buylist folder in game/data...
- HappyLDE
- Posts: 123
- Joined: Tue Sep 10, 2013 6:22 pm
- Location: Belgium
- Contact:
Re: Add sell button to GMShop
Copy the multisell file there maybe (or buylist one).
Thank you for making L2JServer happen! 
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford

"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
- HappyLDE
- Posts: 123
- Joined: Tue Sep 10, 2013 6:22 pm
- Location: Belgium
- Contact:
Re: Add sell button to GMShop
You said you edited your gmshop xml files, copy those.II337 wrote:I edited my whole GMShop
Thank you for making L2JServer happen! 
"If you believe you will fail or succeed, in both ways you are right." - Henry Ford

"If you believe you will fail or succeed, in both ways you are right." - Henry Ford
-
- Posts: 67
- Joined: Mon Oct 27, 2014 9:44 pm
Re: Add sell button to GMShop
I edited my whole gmshop and I need a path to a sell multisell or buylist.....
Cause I want to add a "sell" button. In my multisells I only can buy
Cause I want to add a "sell" button. In my multisells I only can buy
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: Add sell button to GMShop
Hey,
Or just create a new buylist.
Add a file to buylists>custom>1234.xml
Content:
then add this to your npc:
And ofcourse change this in general.properties to true
# Default: False
CustomBuyListLoad = True
Good luck
Or just create a new buylist.
Add a file to buylists>custom>1234.xml
Content:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?><list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/buylist.xsd"> <npcs> <npc>12345</npc> <!-- YOUR_NPC_ID --> </npcs> <item id="57" price="1" /> <!-- adena --></list>
Code: Select all
<button value="Sell" action="bypass -h npc_%objectId%_buy 1234" width=90 height=21 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df">
# Default: False
CustomBuyListLoad = True
Good luck

-
- Posts: 67
- Joined: Mon Oct 27, 2014 9:44 pm
Re: Add sell button to GMShop
Thanks looks good. but there is no buylist folder on my server?
Should I add it to multisell?
Should I add it to multisell?
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: Add sell button to GMShop
It should be there.
Game>data>buylists>custom ?
Game>data>buylists>custom ?
-
- Posts: 67
- Joined: Mon Oct 27, 2014 9:44 pm
Re: Add sell button to GMShop
Nope there is not even a buylist folder 

-
- Initiates
- Posts: 88
- Joined: Fri Jul 26, 2013 10:16 am
Re: Add sell button to GMShop
you better tell us your Revision numbers to help you!!!II337 wrote:Nope there is not even a buylist folder


-
- Posts: 67
- Joined: Mon Oct 27, 2014 9:44 pm
Re: Add sell button to GMShop
Data:10421
Server : 6622
Server : 6622
-
- Posts: 67
- Joined: Mon Oct 27, 2014 9:44 pm
Re: Add sell button to GMShop
I have a custom_merchant_buylist table.
Mabye it works over this
Mabye it works over this