Sell Option (buy/sell/refund) epilogue

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
babyjason
Posts: 575
Joined: Wed Dec 02, 2009 7:59 pm

Sell Option (buy/sell/refund) epilogue

Post 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.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Sell Option (buy/sell/refund) epilogue

Post by janiii »

"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!
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Sell Option (buy/sell/refund) epilogue

Post 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?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Sell Option (buy/sell/refund) epilogue

Post 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.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Sell Option (buy/sell/refund) epilogue

Post by Probe »

and the npc must be L2Merchant in npc table
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Sell Option (buy/sell/refund) epilogue

Post 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?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Sell Option (buy/sell/refund) epilogue

Post 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
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.
Vampyre
Posts: 88
Joined: Tue Jun 30, 2009 7:43 am

Re: Sell Option (buy/sell/refund) epilogue

Post 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?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Sell Option (buy/sell/refund) epilogue

Post by jurchiks »

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.
Vampyre
Posts: 88
Joined: Tue Jun 30, 2009 7:43 am

Re: Sell Option (buy/sell/refund) epilogue

Post 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....
nitromaster
Posts: 1
Joined: Fri Jan 15, 2010 7:24 pm

Re: Sell Option (buy/sell/refund) epilogue

Post by nitromaster »

is there for this problem a fix to let work the sell button ?????
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Sell Option (buy/sell/refund) epilogue

Post 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.
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.
bwd890
Posts: 5
Joined: Sun Mar 07, 2010 4:28 pm

Re: Sell Option (buy/sell/refund) epilogue

Post by bwd890 »

and how i can make a sell button?? to sell items?????
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Sell Option (buy/sell/refund) epilogue

Post by jurchiks »

wtf do you even READ??
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.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Sell Option (buy/sell/refund) epilogue

Post 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.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply