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.

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...