Page 1 of 1

ItemAuction Problem

Posted: Wed Oct 13, 2010 7:29 pm
by davide874
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Hi everyone,

does anyone know how to correctly set up the itemauction?

I set everything up but when i click to show the auctioned items nothing is shown.

After making lot of tests, i discovered that the following "if" is always activated (ItemAuctionLink.java)

Code: Select all

final ItemAuctionInstance au = ItemAuctionManager.getInstance().getManagerInstance(((L2Npc)target).getNpcId());        if (au == null){            activeChar.sendMessage("Test");            return false;}
So it means that "au" is null....

anyone knows how to fix that?

Re: ItemAuction Problem

Posted: Wed Oct 13, 2010 7:41 pm
by Gnacik
Check logs (auction schedule time)

Item will be visible after first auction on server. So if you update to freya and first auction is scheduled to future - its correct. after first all will be ok and you will see item always.

Re: ItemAuction Problem

Posted: Wed Oct 13, 2010 7:52 pm
by davide874
Gnacik wrote:Check logs (auction schedule time)

Item will be visible after first auction on server. So if you update to freya and first auction is scheduled to future - its correct. after first all will be ok and you will see item always.
i set time to be 0-23 in ItemAuctions.xml and day "4" (wich is today) but is still not working.

If you look at the post i made seems like that l2j doesn't recognize the npc as the instance manager...

But in ItemAuction.xml i entered the same ID of the NPC (like the example on the top of ItemAuction.xml says)
:(

Re: ItemAuction Problem

Posted: Wed Oct 13, 2010 8:01 pm
by _DS_
Post your xml.

PS. Worksforme.