Jump to content
  • 0

[Help] Error


Question

Posted

Hello once again today,

 

im having an error when i try to apply the TheEnd's itemhandler about protable aug (thats the link -> http://www.maxcheaters.com/forum/index.php?topic=109703.0

 [javac] symbol  : class L2Playable
    [javac] location: package net.sf.l2j.gameserver.model.actor
    [javac] import net.sf.l2j.gameserver.model.actor.L2Playable;
    [javac]                                         ^
    [javac] C:\Eclipse Workspace\l2jinfinity\L2J-Infinity_IL_GS\java\net\sf\l2j\gameserver\handler\itemhandlers\PortableAug.java:37: cannot find symbol
    [javac] symbol  : class L2Playable
    [javac] location: class net.sf.l2j.gameserver.handler.itemhandlers.PortableAug
    [javac]     public void useItem(L2Playable playable, L2ItemInstance item)
    [javac]                         ^
    [javac] C:\Eclipse Workspace\l2jinfinity\L2J-Infinity_IL_GS\java\net\sf\l2j\gameserver\handler\ItemHandler.java:65: cannot find symbol
    [javac] symbol  : class PortableAug
    [javac] location: class net.sf.l2j.gameserver.handler.ItemHandler
    [javac] 		registerItemHandler(new PortableAug());
    [javac] 		                        ^
    [javac] Note: C:\Eclipse Workspace\l2jinfinity\L2J-Infinity_IL_GS\java\net\sf\l2j\gameserver\GeoEngine.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 3 errors

 

Basically, i always get errors when i try to apply a new itemhandler. dunno why. can you help me please?

 

Client: il Project: infinity

4 answers to this question

Recommended Posts

  • 0
Posted

do you mean that?

net.sf.l2j.gameserver.model.actor.L2Playable;

 

"cannot find symbol"

 

So I guess you have wrong import patch or something, I told you, check this class in ECLIPSE, it will show you where something is wrong and also it will show you few sultions.

  • 0
Posted

"cannot find symbol"

 

So I guess you have wrong import patch or something, I told you, check this class in ECLIPSE, it will show you where something is wrong and also it will show you few sultions.

well, eclipse found 3 errors.

first)

import net.sf.l2j.gameserver.model.actor.L2Playable;

However, L2Playable doesnt exist. L2Playable instance exists, but unfortunately none of them works.

second)

public void useItem(L2Playable playable, L2ItemInstance item)

I guess that the problem is again @ L2Playable

and third)

		registerItemHandler(new PortableAug());

I cant understand why it gives such an error, rofl.

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