Jump to content

Question

Posted (edited)
helo everyone, I need little bit advice how to make buy list not for GM. L2 interlude server. I using this commands:

L2TradeList list = TradeController.getInstance().getBuyList(999999);

activeChar.sendPacket(new BuyList(list, activeChar.getAdena(),0));

 

and it works for only admin. I whant to make it use for everyone in my server. Maybe is another way?

 

I trying to make shop from etc book(Guide Tutorial). When click with bypass open buylist, but i dont know how to do on activeChar buy list...

 

I tryed and thiat command:

L2Multisell.getInstance().SeparateAndSend(999999, activeChar, false, 0);

 

but works only when i be near NPC if not buylist shows, but i cant buy from it...

 

Sorry for English...

Edited by ernestyno

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...