Page 1 of 2
Sell Option (buy/sell/refund) epilogue
Posted: Sun Jan 10, 2010 8:12 am
by babyjason
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.
Re: Sell Option (buy/sell/refund) epilogue
Posted: Sun Jan 10, 2010 9:28 am
by janiii
"Buy" bypass works only on npc type L2Merchant .
Re: Sell Option (buy/sell/refund) epilogue
Posted: Sun Jan 10, 2010 12:41 pm
by Notorious
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?
Re: Sell Option (buy/sell/refund) epilogue
Posted: Sun Jan 10, 2010 12:49 pm
by janiii
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.
Re: Sell Option (buy/sell/refund) epilogue
Posted: Sun Jan 10, 2010 1:28 pm
by Probe
and the npc must be L2Merchant in npc table
Re: Sell Option (buy/sell/refund) epilogue
Posted: Wed Jan 13, 2010 9:32 am
by Notorious
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.
In the merchant_shopids, can I just make up any shop_id?
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?
Re: Sell Option (buy/sell/refund) epilogue
Posted: Wed Jan 13, 2010 8:49 pm
by jurchiks
Notorious 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?
it's for taxes
Re: Sell Option (buy/sell/refund) epilogue
Posted: Thu Jan 14, 2010 10:20 am
by Vampyre
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?
Re: Sell Option (buy/sell/refund) epilogue
Posted: Thu Jan 14, 2010 11:37 am
by jurchiks
did you try it first?
Re: Sell Option (buy/sell/refund) epilogue
Posted: Thu Jan 14, 2010 12:01 pm
by Vampyre
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....
Re: Sell Option (buy/sell/refund) epilogue
Posted: Sun Jan 24, 2010 2:18 am
by nitromaster
is there for this problem a fix to let work the sell button ?????
Re: Sell Option (buy/sell/refund) epilogue
Posted: Sun Jan 24, 2010 5:31 pm
by jurchiks
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.
Re: Sell Option (buy/sell/refund) epilogue
Posted: Fri Apr 23, 2010 12:09 pm
by bwd890
and how i can make a sell button?? to sell items?????
Re: Sell Option (buy/sell/refund) epilogue
Posted: Fri Apr 23, 2010 1:15 pm
by jurchiks
wtf do you even READ??
read the last post before yours 10 more times, maybe that will help... though i doubt that
Re: Sell Option (buy/sell/refund) epilogue
Posted: Fri Apr 23, 2010 1:30 pm
by janiii
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.