ItemAuction Problem

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
Post Reply
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

ItemAuction Problem

Post 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?
User avatar
Gnacik
L2j Veteran
L2j Veteran
Posts: 925
Joined: Tue Dec 16, 2008 3:49 pm
Location: Wąchock ٩(̾●̮̮̃̾•̃̾)۶ Polska
Contact:

Re: ItemAuction Problem

Post 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.
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

Re: ItemAuction Problem

Post 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)
:(
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: ItemAuction Problem

Post by _DS_ »

Post your xml.

PS. Worksforme.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Post Reply