Jump to content
  • 0

No item handler?


Question

Posted

Hi all I am using coins from this share ( http://www.maxcheaters.com/forum/index.php?topic=132606.0 )

I will use them as custom currency on my server.

 

Just 1 problem, if i click the item, its says in my gameserver  "No item handler registered for item ID xxxx"

how can I fix this, I dont want this spamming my gameserver..  :-\

 

ps-

using latest l2j interlude rev

 

please help, and thanks

7 answers to this question

Recommended Posts

  • 0
Posted

It's not client mod related.

 

In UseItem.java find

 

// Items that cannot be used
if (_itemId == 57)
return;

 

and make it like that (xxxx is your custom item ID which use your aion icon) :

 

// Items that cannot be used
if (_itemId == 57 || _itemId == xxxx)
return;

 

It should correct your problem.

  • 0
Posted

It's not client mod related.

 

In UseItem.java find

 

// Items that cannot be used
if (_itemId == 57)
return;

 

and make it like that (xxxx is your custom item ID which use your aion icon) :

 

// Items that cannot be used
if (_itemId == 57 || _itemId == xxxx)
return;

 

It should correct your problem.

do this, and really its not a problem, click any item that isnt consumable and it will say this

 

  • 0
Posted

Do a search in your project with "No item handler registered for item ID", you will have only 3 results, 2 haven't the Config.DEBUG thing, they both look like that :

 

if (handler == null)
_log.fine("No item handler registered for item ID " + target.getItemId() + ".");

 

instead of upper code, put :

 

if (handler == null)
{
if (Config.DEBUG)
	_log.fine("No item handler registered for item ID " + target.getItemId() + ".");
}

 

All errors will be shown only on debug.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock