Jump to content
  • 0

[HELP]Java Prob


Question

Posted

Ok Paidia Meta Apo to English Ir8a edo opos ziti8ike tespa

 

Ekana oti katalaba kai m ebgale afto to error tora

 

    [javac] Compiling 1463 source files to C:\Users\elias\workspace\L2_GameServer 2.4\build\classes

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:89: cannot find symbol

    [javac] symbol  : method getCanLearn(com.l2jserver.gameserver.model.base.ClassId)

    [javac] location: class com.l2jserver.gameserver.model.L2Skill

    [javac] if (sk == null || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))

    [javac]                     ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:89: cannot find symbol

    [javac] symbol  : method canTeachBy(int)

    [javac] location: class com.l2jserver.gameserver.model.L2Skill

    [javac] if (sk == null || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))

    [javac]                                                             ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestJoinParty.java:111: cannot find symbol

    [javac] symbol  : variable player

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestJoinParty

    [javac] if (((p2.isTeam1Member() && player.isTeam2Member()) || (p2.isTeam2Member() && player.isTeam1Member())) && Config.ENABLE_FACTION_ENGINE)

    [javac]                             ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestJoinParty.java:111: cannot find symbol

    [javac] symbol  : variable player

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestJoinParty

    [javac] if (((p2.isTeam1Member() && player.isTeam2Member()) || (p2.isTeam2Member() && player.isTeam1Member())) && Config.ENABLE_FACTION_ENGINE)

    [javac]                                                                               ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestJoinParty.java:113: cannot find symbol

    [javac] symbol  : variable player

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestJoinParty

    [javac]     player.sendMessage("You Cant Trade with the Different Faction");

    [javac]     ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:183: cannot find symbol

    [javac] symbol  : variable Config

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask

    [javac] loc = new Location(Config.FACTION_TEAM1_BASE_X, Config.FACTION_TEAM1_BASE_Y, Config.FACTION_TEAM1_BASE_Z);

    [javac]                   ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:183: cannot find symbol

    [javac] symbol  : variable Config

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask

    [javac] loc = new Location(Config.FACTION_TEAM1_BASE_X, Config.FACTION_TEAM1_BASE_Y, Config.FACTION_TEAM1_BASE_Z);

    [javac]                                                 ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:183: cannot find symbol

    [javac] symbol  : variable Config

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask

    [javac] loc = new Location(Config.FACTION_TEAM1_BASE_X, Config.FACTION_TEAM1_BASE_Y, Config.FACTION_TEAM1_BASE_Z);

    [javac]                                                                             ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:187: cannot find symbol

    [javac] symbol  : variable Config

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask

    [javac] loc = new Location(Config.FACTION_TEAM2_BASE_X, Config.FACTION_TEAM2_BASE_Y, Config.FACTION_TEAM2_BASE_Z);

    [javac]                   ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:187: cannot find symbol

    [javac] symbol  : variable Config

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask

    [javac] loc = new Location(Config.FACTION_TEAM2_BASE_X, Config.FACTION_TEAM2_BASE_Y, Config.FACTION_TEAM2_BASE_Z);

    [javac]                                                 ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\network\clientpackets\RequestRestartPoint.java:187: cannot find symbol

    [javac] symbol  : variable Config

    [javac] location: class com.l2jserver.gameserver.network.clientpackets.RequestRestartPoint.DeathTask

    [javac] loc = new Location(Config.FACTION_TEAM2_BASE_X, Config.FACTION_TEAM2_BASE_Y, Config.FACTION_TEAM2_BASE_Z);

    [javac]                                                                             ^

    [javac] Note: C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\L2World.java uses or overrides a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

    [javac] 11 errors

 

BUILD FAILED

C:\Users\elias\workspace\L2_GameServer 2.4\build.xml:62: Compile failed; see the compiler error output for details.

 

Total time: 14 seconds

Recommended Posts

  • 0
Posted

Αre you sure that you are using Epilogue? Because this should be defined..

Anyway, if I'm not mistaken, in my engine you can remove these 2 lines without having any effects.

 

if (sk == null || !sk.getCanLearn(player.getClassId()) || !sk.canTeachBy(npcId))

    continue;

  • 0
Posted

i got this know but the combile finish

    [javac] Compiling 1463 source files to C:\Users\elias\workspace\L2_GameServer 2.4\build\classes

    [javac] Note: C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\L2World.java uses or overrides a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

 

BUILD SUCCESSFUL

Total time: 1 minute 13 seconds

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