Hello friends, I am working on a personal project L2j Homunculus. After several days trying to run an appearance tester for the CB, I go to consult here.
I'm using the base of the "wear" command from some old NPCs, but somewhat reduced.
if (command.equals("_bbsequipment"))
{
player.sendPacket(new ShopPreviewList(BuyListData.getInstance().getBuyList(3013500), player.getAdena()));
}
After configuring the buttons, it opens the window with the items that I want to try but when I want to buy them, it does not give me the item or any message in the game, but in the Gameserver console it announces "null merchant".
Community Board - Services
Window for test
Shop Preview Window
Console Announcement
Could someone give me a hand? Thank you.