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.

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