Sell Option (buy/sell/refund) epilogue
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 575
- Joined: Wed Dec 02, 2009 7:59 pm
Sell Option (buy/sell/refund) epilogue
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 3732
L2JDP Revision Number: 6788
hello, i saw that now thelink for the sell option is changed, i wanted to add to my custom gmshop the sell option only, how can i do that?
the old link to sell was action="bypass -h npc_%objectId%_Sell, anybody knows wich is now? also would be nice for refund tab also?
i opened helvetica html, but saw <a action="bypass -h npc_%objectId%_Buy 3008100">Buy/Sell/Refund General.</a><br> and if i put it to another npc, it doesent work, wich is weird.
» Find Revision
L2J Revision Number: 3732
L2JDP Revision Number: 6788
hello, i saw that now thelink for the sell option is changed, i wanted to add to my custom gmshop the sell option only, how can i do that?
the old link to sell was action="bypass -h npc_%objectId%_Sell, anybody knows wich is now? also would be nice for refund tab also?
i opened helvetica html, but saw <a action="bypass -h npc_%objectId%_Buy 3008100">Buy/Sell/Refund General.</a><br> and if i put it to another npc, it doesent work, wich is weird.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Sell Option (buy/sell/refund) epilogue
"Buy" bypass works only on npc type L2Merchant .
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- Notorious
- Posts: 501
- Joined: Thu May 28, 2009 3:50 pm
- Location: Sweden
Re: Sell Option (buy/sell/refund) epilogue
There must be more to it than just making the NPC an L2merchant, mustn't it?
Like adding the npc to the merchant-list or whatever it is. But if you don't want it to sell anything, you just want it to buy, how do you do then?
Like adding the npc to the merchant-list or whatever it is. But if you don't want it to sell anything, you just want it to buy, how do you do then?
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Sell Option (buy/sell/refund) epilogue
the number after the Buy bypass is the shop id, which must be in the merchant_shopids table, the npc id has to have assigned the shopid. the buylist for given shop id is then in merchant_buylists table.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Sell Option (buy/sell/refund) epilogue
and the npc must be L2Merchant in npc table
- Notorious
- Posts: 501
- Joined: Thu May 28, 2009 3:50 pm
- Location: Sweden
Re: Sell Option (buy/sell/refund) epilogue
In the merchant_shopids, can I just make up any shop_id?janiii wrote:the number after the Buy bypass is the shop id, which must be in the merchant_shopids table, the npc id has to have assigned the shopid. the buylist for given shop id is then in merchant_buylists table.
What about the merchants db-table? Does it need to be in there?
And finally, if I just want the NPC - who is a multisell-shop otherwise - to buy stuff from the players, not sell anything (other than from multisell), do I need to enter anything into the merchant_buylists table?
Many thanks!

Edit: I tested and just made up an id for the shop_id, and it worked! But, maybe I should add it to merchants table aswell, and connect it to merchant_area_id 9, since it's in Giran?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Sell Option (buy/sell/refund) epilogue
it's for taxesNotorious wrote: Edit: I tested and just made up an id for the shop_id, and it worked! But, maybe I should add it to merchants table aswell, and connect it to merchant_area_id 9, since it's in Giran?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 88
- Joined: Tue Jun 30, 2009 7:43 am
Re: Sell Option (buy/sell/refund) epilogue
so
step 1: put the gmshop id in merchant_shopids table (shop_id=whatever# & npc_id=the#ofyournpc)
step 2: make sure the npc is an L2Merchant
step 3: use "bypass -h npc_%objectId%_Buy whatevertheshopidis"
yes no?
step 1: put the gmshop id in merchant_shopids table (shop_id=whatever# & npc_id=the#ofyournpc)
step 2: make sure the npc is an L2Merchant
step 3: use "bypass -h npc_%objectId%_Buy whatevertheshopidis"
yes no?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Sell Option (buy/sell/refund) epilogue
did you try it first?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 88
- Joined: Tue Jun 30, 2009 7:43 am
Re: Sell Option (buy/sell/refund) epilogue
first time I tried I got an error (dont recall exact error) in GS console, so I'm jsut comfirming I havent missed a step before trying again....
-
- Posts: 1
- Joined: Fri Jan 15, 2010 7:24 pm
Re: Sell Option (buy/sell/refund) epilogue
is there for this problem a fix to let work the sell button ?????
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Sell Option (buy/sell/refund) epilogue
THERE IS NO SELL BUTTON IN EPILOGUE!!!
There is only 1 window now, buy/sell/refund AIO, you can't seprate them anymore.
all you can do is make an empty shop or put some stuff in it (dunno about the empty buylist part, never tried it).
buy/sell/refund tabs are only true for buylists, not multisells.
There is only 1 window now, buy/sell/refund AIO, you can't seprate them anymore.
all you can do is make an empty shop or put some stuff in it (dunno about the empty buylist part, never tried it).
buy/sell/refund tabs are only true for buylists, not multisells.
Last edited by jurchiks on Fri Apr 23, 2010 4:11 pm, edited 3 times in total.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 5
- Joined: Sun Mar 07, 2010 4:28 pm
Re: Sell Option (buy/sell/refund) epilogue
and how i can make a sell button?? to sell items?????
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Sell Option (buy/sell/refund) epilogue
wtf do you even READ??
read the last post before yours 10 more times, maybe that will help... though i doubt that
read the last post before yours 10 more times, maybe that will help... though i doubt that
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Sell Option (buy/sell/refund) epilogue
you have the sell option already in the buy window.
Buy and Sell links have now been consolidated into one link called Buy/Sell/Refunds and a single window now houses all 3 options. These options are now tabbed for convenience.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!