Skip to content

[Help] Error

Featured Replies

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

Open this class in eclipse, it will show you few solutions (check red underlines)

  • Author

do you mean that?

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

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.

  • Author

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.