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.



×
×
  • Create New...