Page 1 of 1

ShopIds and Core IDS

Posted: Tue Sep 08, 2009 7:24 am
by Punisher
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:
L2JDP Revision Number:
I had transfer one shop to command .shop , but When i click for example S Grade weapons, It doesnt open any windows.... The problem is about Shop Ids because It needed shop ID... is there any way to have Npc ID to command?

Re: ShopIds and Core IDS

Posted: Tue Sep 08, 2009 7:31 am
by janiii
maybe you can create a dummy npc, which you will not spawn and assign the shop to it. no idea if this would work, was only an idea..

and call the shop something like this:

Code: Select all

player.tempInventoryDisable();L2TradeList list = TradeController.getInstance().getBuyList(shopId);double taxRate = 0;BuyList bl = new BuyList(list, player.getAdena(), taxRate);player.sendPacket(bl);