Jump to content
  • 0

Question

Posted

Hey Guys i Add My Java Code For Faction Engine But i Get This When i Tru To Compile

 

[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\L2FactionInstance.java:15: class, interface, or enum expected

   [javac] packagecom.l2jserver.gameserver.model.actor.instance;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:17: class, interface, or enum expected

   [javac] importjava.sql.Connection;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:18: class, interface, or enum expected

   [javac] importjava.sql.PreparedStatement;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:19: class, interface, or enum expected

   [javac] importjava.sql.ResultSet;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:20: class, interface, or enum expected

   [javac] importjava.util.StringTokenizer;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:22: class, interface, or enum expected

   [javac] importcom.l2jserver.Config;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:23: class, interface, or enum expected

   [javac] importcom.l2jserver.L2DatabaseFactory;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:24: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.ai.CtrlIntention;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:25: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.cache.HtmCache;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:26: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.model.L2World;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:27: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.network.serverpackets.ActionFailed;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:28: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.network.serverpackets.MyTargetSelected;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:29: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:30: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.network.serverpackets.SocialAction;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:31: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.network.serverpackets.ValidateLocation;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:32: class, interface, or enum expected

   [javac] importcom.l2jserver.gameserver.templates.chars.L2NpcTemplate;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:33: class, interface, or enum expected

   [javac] importcom.l2jserver.util.Rnd;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:35: class, interface, or enum expected

   [javac] importjava.util.logging.Logger;

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:37: class, interface, or enum expected

   [javac] publicclassL2FactionInstanceextendsL2FolkInstance

   [javac] ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:42: class, interface, or enum expected

   [javac]     }

   [javac]     ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:44: <identifier> expected

   [javac]     privatestaticLogger_log=Logger.getLogger(L2FactionInstance.class.getName());

   [javac]                                                                     ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:44: invalid method declaration; return type required

   [javac]     privatestaticLogger_log=Logger.getLogger(L2FactionInstance.class.getName());

   [javac]                                                                      ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:44: ';' expected

   [javac]     privatestaticLogger_log=Logger.getLogger(L2FactionInstance.class.getName());

   [javac]                                                                               ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:47: invalid method declaration; return type required

   [javac]     publicvoidonBypassFeedback(L2PcInstanceplayer,Stringcommand)

   [javac]     ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:47: <identifier> expected

   [javac]     publicvoidonBypassFeedback(L2PcInstanceplayer,Stringcommand)

   [javac]                                                  ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:47: <identifier> expected

   [javac]     publicvoidonBypassFeedback(L2PcInstanceplayer,Stringcommand)

   [javac]                                                                ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:69: ')' expected

   [javac]                     player.sendMessage("DelevelwasSuccessfull!Youarenowlevel"player.getLevel()"!");

   [javac]                                                                              ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:69: illegal start of expression

   [javac]                     player.sendMessage("DelevelwasSuccessfull!Youarenowlevel"player.getLevel()"!");

   [javac]                                                                                    ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:69: ';' expected

   [javac]                     player.sendMessage("DelevelwasSuccessfull!Youarenowlevel"player.getLevel()"!");

   [javac]                                                                                             ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:85: ';' expected

   [javac]         elseif(actualCommand.equalsIgnoreCase("levelup"))

   [javac]                                                          ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:95: ')' expected

   [javac]                 player.sendMessage("LevelUpwasSuccessfull!Youarenowlevel"player.getLevel()"!");

   [javac]                                                                          ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:95: illegal start of expression

   [javac]                 player.sendMessage("LevelUpwasSuccessfull!Youarenowlevel"player.getLevel()"!");

   [javac]                                                                                ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:95: ';' expected

   [javac]                 player.sendMessage("LevelUpwasSuccessfull!Youarenowlevel"player.getLevel()"!");

   [javac]                                                                                         ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:105: ';' expected

   [javac]         elseif(actualCommand.equalsIgnoreCase("setnobless"))

   [javac]                                                             ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:141: <identifier> expected

   [javac]                 catch(Exceptione)

   [javac]                                 ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:151: <identifier> expected

   [javac]                     catch(Exceptione)

   [javac]                                     ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:155: ')' expected

   [javac]                 System.out.println("FactionEngine:Player"player.getName()"hasgainedNoblessestatus!");

   [javac]                                                          ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:155: illegal start of expression

   [javac]                 System.out.println("FactionEngine:Player"player.getName()"hasgainedNoblessestatus!");

   [javac]                                                                ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:155: ';' expected

   [javac]                 System.out.println("FactionEngine:Player"player.getName()"hasgainedNoblessestatus!");

   [javac]                                                                        ^

   [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:159: ';' expected

   [javac]         elseif(actualCommand.equalsIgnoreCase("sethero"))

   [javac]                                                          ^

10 answers to this question

Recommended Posts

  • 0
Posted
    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:173: ';' expected

    [javac]        elseif(actualCommand.equalsIgnoreCase("learnonline"))

    [javac]                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:177: ')' expected

    [javac]            player.sendMessage(Config.FACTION_TEAM1_NAME""L2World.getInstance().getAllTeam1PlayersCount()"||"Config.FACTION_TEAM2_NAME""L2World.getInstance().getAllTeam2PlayersCount());

    [javac]                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:177: ';' expected

    [javac]            player.sendMessage(Config.FACTION_TEAM1_NAME""L2World.getInstance().getAllTeam1PlayersCount()"||"Config.FACTION_TEAM2_NAME""L2World.getInstance().getAllTeam2PlayersCount());

    [javac]                                                                                                          ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:177: not a statement

    [javac]            player.sendMessage(Config.FACTION_TEAM1_NAME""L2World.getInstance().getAllTeam1PlayersCount()"||"Config.FACTION_TEAM2_NAME""L2World.getInstance().getAllTeam2PlayersCount());

    [javac]                                                                                                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:177: ';' expected

    [javac]            player.sendMessage(Config.FACTION_TEAM1_NAME""L2World.getInstance().getAllTeam1PlayersCount()"||"Config.FACTION_TEAM2_NAME""L2World.getInstance().getAllTeam2PlayersCount());

    [javac]                                                                                                                                      ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:177: ';' expected

    [javac]            player.sendMessage(Config.FACTION_TEAM1_NAME""L2World.getInstance().getAllTeam1PlayersCount()"||"Config.FACTION_TEAM2_NAME""L2World.getInstance().getAllTeam2PlayersCount());

    [javac]                                                                                                                                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:180: ';' expected

    [javac]        elseif(actualCommand.equalsIgnoreCase("info"))

    [javac]                                                      ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:195: ';' expected

    [javac]        elseif(actualCommand.equalsIgnoreCase("setTeam1Member"))

    [javac]                                                                ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:200: ')' expected

    [javac]                player.sendMessage("Youarealreadyfightingfor"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:200: illegal start of expression

    [javac]                player.sendMessage("Youarealreadyfightingfor"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:200: ';' expected

    [javac]                player.sendMessage("Youarealreadyfightingfor"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                                                      ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:238: <identifier> expected

    [javac]                    catch(Exceptione)

    [javac]                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:248: <identifier> expected

    [javac]                        catch(Exceptione)

    [javac]                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:253: ')' expected

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:253: illegal start of expression

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:253: ';' expected

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                                            ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:253: not a statement

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:253: ';' expected

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM1_NAME"faction!");

    [javac]                                                                                                                          ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:257: ')' expected

    [javac]                        player.sendMessage("Youarenowfighitingforthe"Config.FACTION_TEAM1_NAME"faction");

    [javac]                                                                      ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:257: illegal start of expression

    [javac]                        player.sendMessage("Youarenowfighitingforthe"Config.FACTION_TEAM1_NAME"faction");

    [javac]                                                                            ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:257: ';' expected

    [javac]                        player.sendMessage("Youarenowfighitingforthe"Config.FACTION_TEAM1_NAME"faction");

    [javac]                                                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:265: ';' expected

    [javac]        elseif(actualCommand.equalsIgnoreCase("setTeam2Member"))

    [javac]                                                                ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:270: ')' expected

    [javac]                player.sendMessage("Youareallreadyfightingforthe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                  ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:270: illegal start of expression

    [javac]                player.sendMessage("Youareallreadyfightingforthe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:270: ';' expected

    [javac]                player.sendMessage("Youareallreadyfightingforthe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                                          ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:308: <identifier> expected

    [javac]                    catch(Exceptione)

    [javac]                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:318: <identifier> expected

    [javac]                        catch(Exceptione)

    [javac]                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:323: ')' expected

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:323: illegal start of expression

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:323: ';' expected

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                            ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:323: not a statement

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:323: ';' expected

    [javac]                    System.out.println("FactionEngine:Player"player.getName()"haschosentojointhe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                                                                          ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:327: ')' expected

    [javac]                        player.sendMessage("Youarenowfighitingnowforthe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:327: illegal start of expression

    [javac]                        player.sendMessage("Youarenowfighitingnowforthe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:327: ';' expected

    [javac]                        player.sendMessage("Youarenowfighitingnowforthe"Config.FACTION_TEAM2_NAME"faction!");

    [javac]                                                                                                  ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:335: 'else' without 'if'

    [javac]        else

    [javac]        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:342: invalid method declaration; return type required

    [javac]    publicvoidonAction(L2PcInstanceplayer)

    [javac]    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:342: <identifier> expected

    [javac]    publicvoidonAction(L2PcInstanceplayer)

    [javac]                                          ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:350: ';' expected

    [javac]        elseif(isInsideRadius(player,INTERACTION_DISTANCE,false,false))

    [javac]                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:358: 'else' without 'if'

    [javac]        else

    [javac]        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:365: invalid method declaration; return type required

    [javac]    privatevoidshowMessageWindow(L2PcInstanceplayer)

    [javac]    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:365: <identifier> expected

    [javac]    privatevoidshowMessageWindow(L2PcInstanceplayer)

    [javac]                                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:374: invalid method declaration; return type required

    [javac]    privatevoidsendHtmlMessage(L2PcInstanceplayer,NpcHtmlMessagehtml)

    [javac]    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:374: <identifier> expected

    [javac]    privatevoidsendHtmlMessage(L2PcInstanceplayer,NpcHtmlMessagehtml)

    [javac]                                                  ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FactionInstance.java:374: <identifier> expected

    [javac]    privatevoidsendHtmlMessage(L2PcInstanceplayer,NpcHtmlMessagehtml)

    [javac]                                                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:59: ')' expected

    [javac]            _log.fine("SkillList activated on: "  getObjectId());

    [javac]                                                ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:59: illegal start of expression

    [javac]            _log.fine("SkillList activated on: "  getObjectId());

    [javac]                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:59: not a statement

    [javac]            _log.fine("SkillList activated on: "  getObjectId());

    [javac]                                                              ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:59: ';' expected

    [javac]            _log.fine("SkillList activated on: "  getObjectId());

    [javac]                                                                ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:66: ')' expected

    [javac]            sb.append("I cannot teach you. My class list is empty.<br> Ask admin to fix it. Need add my npcid and classes to skill_learn.sql.<br>NpcId:"  npcId  ", Your classId:"  player.getClassId().getId()  "<br>");

    [javac]                                                                                                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:66: not a statement

    [javac]            sb.append("I cannot teach you. My class list is empty.<br> Ask admin to fix it. Need add my npcid and classes to skill_learn.sql.<br>NpcId:"  npcId  ", Your classId:"  player.getClassId().getId()  "<br>");

    [javac]                                                                                                                                                                  ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:66: ';' expected

    [javac]            sb.append("I cannot teach you. My class list is empty.<br> Ask admin to fix it. Need add my npcid and classes to skill_learn.sql.<br>NpcId:"  npcId  ", Your classId:"  player.getClassId().getId()  "<br>");

    [javac]                                                                                                                                                                                  ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:66: ';' expected

    [javac]            sb.append("I cannot teach you. My class list is empty.<br> Ask admin to fix it. Need add my npcid and classes to skill_learn.sql.<br>NpcId:"  npcId  ", Your classId:"  player.getClassId().getId()  "<br>");

    [javac]                                                                                                                                                                                                                ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:92: not a statement

    [javac]            counts;

    [javac]            ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:125: ')' expected

    [javac]            _log.fine("EnchantSkillList activated on: "  getObjectId());

    [javac]                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:125: illegal start of expression

    [javac]            _log.fine("EnchantSkillList activated on: "  getObjectId());

    [javac]                                                                      ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:125: not a statement

    [javac]            _log.fine("EnchantSkillList activated on: "  getObjectId());

    [javac]                                                                    ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:125: ';' expected

    [javac]            _log.fine("EnchantSkillList activated on: "  getObjectId());

    [javac]                                                                      ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:132: ')' expected

    [javac]            sb.append("I cannot teach you. My class list is empty.<br> Ask admin to fix it. Need add my npcid and classes to skill_learn.sql.<br>NpcId:"  npcId  ", Your classId:"  player.getClassId().getId()  "<br>");

    [javac]                                                                                                                                                        ^

    [javac] C:\Users\elias\workspace\L2_GameServer 2.4\java\com\l2jserver\gameserver\model\actor\instance\L2FolkInstance.java:132: not a statement

    [javac]            sb.append("I cannot teach you. My class list is empty.<br> Ask admin to fix it. Need add my npcid and classes to skill_learn.sql.<br>NpcId:"  npcId  ", Your classId:"  player.getClassId().getId()  "<br>");

    [javac]                                                                                                                                                                  ^

    [javac] 100 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: 3 seconds

  • 0
Posted

You obviously erased some parts accidentally, or made other typos.

Eclipse will mark the errors with red lines, try to find these lines and see what's wrong =]

  • 0
Posted

k so i have to make again this 2 files again but L2FactionInstance.java the code was from start i didnt change ther anything :S

 

Oh And this i just Posted the Prob it's Dosent have Any Red Like Everything is Orange!

  • 0
Posted

pff? and what i have to do to leave and the +?

to all files or just to this 2

 

Erase them from the begining of each line, but do not erase them in the whole file.

Well, try something. Make a javaTest folder. Apply the patch there. You will get the files, but without the "+" at the beginning ;]

  • 0
Posted

I guess you are greek.

Make a topic at the greek help section, because at the moment I can't quite understand what you're saying xD

 

Don't worry though, it won't take 2 days, just a few minutes.

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.



  • Posts

    • Get ready for the ultimate Lineage 2 experience! Join thousands of players on L2Blaze Interlude x150, the most balanced and thrilling mid-rate server of decade! X150 WARFIRE INTERLUDE BACK TO SCHOOL SEASON: 2025 SEPTEMBER 20th! Opening time: 14:00 UTC+3 Poland/Norway opening time: 13:00 UTC+2 Lithuania/Greece opening time: 14:00 UTC+3 UK opening time: 12:00 UTC+1 Brazil opening time: 8:00 UTC-3 Bonus #1 First 200 new players after completing third class will receive Premium Coin bonus! Bonus #2 First 3 clans after increasing their clan level to 8 level will receive FREE CLAN SKILLS bonus! Bonus #3 First 2 players who will complete enchanting their Arcana Mace or Draconic Bow to +9 will receive 50 FESTIVAL ADENAS bonus per each! Automatic registration on game login window, unnecessary to register in website! Do you want stability? Lagless and bugless game? Instant support? Daily PVP? Long-Term playing? You are in the right place, time to start! How to connect STEP BY STEP: 1. Install clear Lineage2 Interlude client 2. Download our patch, delete old system folder and add our 3. Delete, turn off anti virus or add our system folder to anti virus exceptions 4. Run l2.exe from Lineage2/system 5. Enter data on login window and enjoy the game! * You have to remove, turn off or use exceptions of antivirus because of our security protection. It is not a virus. * If you have connection issues with Windows 8 or 10, press right mouse button on l2.exe icon, press Properties, choose compatibility and unmark compatibility mode. Hearts of War EVENT! Collect War Hearts from Hot Springs monsters: Yeti, Buffalo, Antelope, Bandersnatch, Atroxspawn, Flava, Nepenthes, Grendel (3%), Atrox with (6%) and Heart Breaker Boss in Hot Springs Stage 2! You can trade it, sell it or spend in shop! Raid Boss Heart Breaker spawn every 4 hours (+4 hours random) Custom Raid Boss drop list: - Raid Boss Horus, Ember and Brakki, Nakondas: 1 VIP COIN (25%) | Korim (70%). - Raid Boss Apepi, Shacram, Atraiban, Korim: 1 BEWS (10%). - Raid Boss Glaki, Olkuth: 1-2 BEAS (40%). - Raid Boss Golkonda, Galaxia: 1-3 BEAS (60%). - Raid Boss Shyeed: 1-3 BEWS (30%) | 1-7 BEAS (40%) | 1-5 TOP LS 76 (50%). - Raid Boss Shuriel: 1-7 TOP LS 76 (50%) | 1-4 BEAS (60%). - Raid Boss Ashakiel: 1-2 BEWS (30%) | 1-7 TOP LS 76 (50%) | 1-4 BEAS (75%). - Raid Boss Antharas Priest Cloe: 1-3 BEWS (30%) | 1-7 TOP LS 76 (70%). ------------------------------------------------ - Hestia: Demon Splinters / Forgotten Blande (30%). - Ember: Arcana Mace / Draconic Bow (30%). - Galaxia: Angel Slayer / Heaven's Divider (30%) Take your friends, clan, alliance, enemys, sharp your sword, clean your armors and meet your destiny at 2025 SEPTEMBER 20th! WEBSITE: http://WWW.L2BLAZE.NET
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
    • We’ve finally prepared the long-awaited client screenshots! Now everyone can see how the game will look on our server. We did our best to keep the atmosphere intact while also adding improvements for players’ comfort. All the images and details are already waiting for you in the new forum post — take a look and share your thoughts!
    • We have updated the information about our current assortment and redesigned the topic — visit us to be the first to see new products and services of our projects! Relevant links: Digital goods store: Click Telegram bot: Click SMM Panel: Click Our project is actively seeking new suppliers and partners! — Snapchat old and new accounts | With snapscores | GEO: Europe/USA | Full access via email/phone number — Reddit old accounts with post and comment karma from 100 to 100,000+ | Full access via email — LinkedIn old accounts with real connections | GEO: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) — Facebook old accounts (2010–2023) | Full access via email (possibly also with connected 2FA password) | With or without friends | GEO: Europe/USA/Asia — Threads accounts | Full access via email (possibly also with connected 2FA password) — TikTok/Facebook/Google ADS agency ad accounts Contact us below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support Telegram channel: https://t.me/accsforyou_shop WhatsApp: https://wa.me/79051904467 WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  Discord: socnet_support  Discord server: https://discord.gg/y9AStFFsrh Email: solomonbog@socnet.store  Also via these contacts you can: — Get consultation about wholesale purchases — Establish a partnership (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store 
  • Topics

×
×
  • 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