Ошибки при компиляции исходников Lindvior
Добрый вечер!
Прошу помощи в решении проблемы с компиляцией исходников Lindvior. В ходе компиляции выдал вот такой список ошибок: Ошибки:Свернуть ↑
init:
Свернуть ↑Развернуть ↓
compile-guard: [delete] Deleting directory H:\LindSorces\build\classes [mkdir] Created dir: H:\LindSorces\build\classes [javac] Compiling 21 source files to H:\LindSorces\build\classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] H:\LindSorces\Src\l2next\gameguard\Guard.java:8: error: package l2next.gameserver.handler.admincommands does not exist [javac] import l2next.gameserver.handler.admincommands.AdminComma ndHandler; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:4: error: package l2next.gameserver.handler.admincommands does not exist [javac] import l2next.gameserver.handler.admincommands.IAdminComm andHandler; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:5: error: package l2next.gameserver.model does not exist [javac] import l2next.gameserver.model.GameObject; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:6: error: package l2next.gameserver.model does not exist [javac] import l2next.gameserver.model.Player; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:8: error: cannot find symbol [javac] public class HWIDAdminBan implements IAdminCommandHandler [javac] ^ [javac] symbol: class IAdminCommandHandler [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:16: error: cannot find symbol [javac] public boolean useAdminCommand(@SuppressWarnings("rawtypes") Enum comm, String[] wordList, String fullString, Player player) [javac] ^ [javac] symbol: class Player [javac] location: class HWIDAdminBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:3: error: package l2next.commons.dbutils does not exist [javac] import l2next.commons.dbutils.DbUtils; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:4: error: package l2next.gameserver.database does not exist [javac] import l2next.gameserver.database.DatabaseFactory; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:5: error: package l2next.gameserver.network does not exist [javac] import l2next.gameserver.network.GameClient; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:70: error: cannot find symbol [javac] public boolean checkFullHWIDBanned(GameClient client) [javac] ^ [javac] symbol: class GameClient [javac] location: class HWIDBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:91: error: cannot find symbol [javac] public static void addHWIDBan(GameClient client) [javac] ^ [javac] symbol: class GameClient [javac] location: class HWIDBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:3: error: package l2next.commons.dbutils does not exist [javac] import l2next.commons.dbutils.DbUtils; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:4: error: package l2next.gameserver.database does not exist [javac] import l2next.gameserver.database.DatabaseFactory; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:5: error: package l2next.gameserver.network does not exist [javac] import l2next.gameserver.network.GameClient; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:73: error: cannot find symbol [javac] public static void updateHWIDInfo(GameClient client) [javac] ^ [javac] symbol: class GameClient [javac] location: class HWIDManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:3: error: package l2next.commons.threading does not exist [javac] import l2next.commons.threading.RunnableImpl; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:9: error: package l2next.gameserver does not exist [javac] import l2next.gameserver.GameTimeController; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:10: error: package l2next.gameserver does not exist [javac] import l2next.gameserver.ThreadPoolManager; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:11: error: package l2next.gameserver.model does not exist [javac] import l2next.gameserver.model.GameObjectsStorage; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:12: error: package l2next.gameserver.model does not exist [javac] import l2next.gameserver.model.Player; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:13: error: package l2next.gameserver.network does not exist [javac] import l2next.gameserver.network.GameClient; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:14: error: package l2next.gameserver.network.serverpackets does not exist [javac] import l2next.gameserver.network.serverpackets.ServerClos e; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:22: error: cannot find symbol [javac] public static void SendSpecialSting(GameClient client) [javac] ^ [javac] symbol: class GameClient [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:48: error: cannot find symbol [javac] public static void sendToClient(Player client) [javac] ^ [javac] symbol: class Player [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:94: error: cannot find symbol [javac] public static void OffMessage(Player client) [javac] ^ [javac] symbol: class Player [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:108: error: cannot find symbol [javac] public static void scheduleSendPacketToClient(long time, final Player client) [javac] ^ [javac] symbol: class Player [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:126: error: cannot find symbol [javac] public static void sendGGReply(GameClient client) [javac] ^ [javac] symbol: class GameClient [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:138: error: cannot find symbol [javac] public static void scheduleSendGG(long time, final GameClient client) [javac] ^ [javac] symbol: class GameClient [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:3: error: package l2next.gameserver.network does not exist [javac] import l2next.gameserver.network.GameClient; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:4: error: package l2next.gameserver.network.clientpackets does not exist [javac] import l2next.gameserver.network.clientpackets.L2GameClie ntPacket; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:6: error: cannot find symbol [javac] public class GameGuardReply extends L2GameClientPacket [javac] ^ [javac] symbol: class L2GameClientPacket [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:3: error: package l2next.gameserver.network.serverpackets does not exist [javac] import l2next.gameserver.network.serverpackets.L2GameServ erPacket; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:5: error: cannot find symbol [javac] public final class GameGuardQuery extends L2GameServerPacket [javac] ^ [javac] symbol: class L2GameServerPacket [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:3: error: package l2next.gameserver.network.serverpackets does not exist [javac] import l2next.gameserver.network.serverpackets.L2GameServ erPacket; [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:5: error: cannot find symbol [javac] public final class SpecialString extends L2GameServerPacket [javac] ^ [javac] symbol: class L2GameServerPacket [javac] H:\LindSorces\Src\l2next\gameguard\Guard.java:30: error: cannot find symbol [javac] AdminCommandHandler.getInstance().registerAdminCom mandHandler(new HWIDAdminBan()); [javac] ^ [javac] symbol: variable AdminCommandHandler [javac] location: class Guard [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:34: error: cannot find symbol [javac] GameObject playerTarger = player.getTarget(); [javac] ^ [javac] symbol: class GameObject [javac] location: class HWIDAdminBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:35: error: cannot find symbol [javac] if(playerTarger == null && !(playerTarger instanceof Player)) [javac] ^ [javac] symbol: class Player [javac] location: class HWIDAdminBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:40: error: cannot find symbol [javac] Player target = (Player) playerTarger; [javac] ^ [javac] symbol: class Player [javac] location: class HWIDAdminBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DAdminBan.java:40: error: cannot find symbol [javac] Player target = (Player) playerTarger; [javac] ^ [javac] symbol: class Player [javac] location: class HWIDAdminBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:48: error: cannot find symbol [javac] con = DatabaseFactory.getInstance().getConnection(); [javac] ^ [javac] symbol: variable DatabaseFactory [javac] location: class HWIDBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:66: error: cannot find symbol [javac] DbUtils.closeQuietly(con, statement, rset); [javac] ^ [javac] symbol: variable DbUtils [javac] location: class HWIDBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:98: error: cannot find symbol [javac] con = DatabaseFactory.getInstance().getConnection(); [javac] ^ [javac] symbol: variable DatabaseFactory [javac] location: class HWIDBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DBan.java:108: error: cannot find symbol [javac] DbUtils.closeQuietly(con, statement); [javac] ^ [javac] symbol: variable DbUtils [javac] location: class HWIDBan [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:50: error: cannot find symbol [javac] con = DatabaseFactory.getInstance().getConnection(); [javac] ^ [javac] symbol: variable DatabaseFactory [javac] location: class HWIDManager [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:69: error: cannot find symbol [javac] DbUtils.closeQuietly(con, statement, rset); [javac] ^ [javac] symbol: variable DbUtils [javac] location: class HWIDManager [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:96: error: cannot find symbol [javac] con = DatabaseFactory.getInstance().getConnection(); [javac] ^ [javac] symbol: variable DatabaseFactory [javac] location: class HWIDManager [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:108: error: cannot find symbol [javac] DbUtils.closeQuietly(con, statement); [javac] ^ [javac] symbol: variable DbUtils [javac] location: class HWIDManager [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:115: error: cannot find symbol [javac] con = DatabaseFactory.getInstance().getConnection(); [javac] ^ [javac] symbol: variable DatabaseFactory [javac] location: class HWIDManager [javac] H:\LindSorces\Src\l2next\gameguard\hwidmanager\HWI DManager.java:127: error: cannot find symbol [javac] DbUtils.closeQuietly(con, statement); [javac] ^ [javac] symbol: variable DbUtils [javac] location: class HWIDManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:53: error: cannot find symbol [javac] client.sendPacket(new SpecialString(2, true, -1, GuardConfig.PositionXOnlineInClient, GuardConfig.PositionYOnlineInClient, GuardConfig.ColorOnlineInClient, (client.isLangRus() ? "\u0414\u0435\u043D\u044C. " : "Online: ") + GameObjectsStorage.getAllPlayersCount())); [javac] ^ [javac] symbol: variable GameObjectsStorage [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:58: error: cannot find symbol [javac] int h = GameTimeController.getInstance().getGameHour(); [javac] ^ [javac] symbol: variable GameTimeController [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:59: error: cannot find symbol [javac] int m = GameTimeController.getInstance().getGameMin(); [javac] ^ [javac] symbol: variable GameTimeController [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:61: error: cannot find symbol [javac] if(GameTimeController.getInstance().isNowNight()) [javac] ^ [javac] symbol: variable GameTimeController [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:116: error: cannot find symbol [javac] ThreadPoolManager.getInstance().schedule(new RunnableImpl() [javac] ^ [javac] symbol: class RunnableImpl [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:116: error: cannot find symbol [javac] ThreadPoolManager.getInstance().schedule(new RunnableImpl() [javac] ^ [javac] symbol: variable ThreadPoolManager [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:145: error: cannot find symbol [javac] ThreadPoolManager.getInstance().schedule(new RunnableImpl() [javac] ^ [javac] symbol: class RunnableImpl [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\GuardMa nager.java:145: error: cannot find symbol [javac] ThreadPoolManager.getInstance().schedule(new RunnableImpl() [javac] ^ [javac] symbol: variable ThreadPoolManager [javac] location: class GuardManager [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:13: error: cannot find symbol [javac] _dx = readC(); [javac] ^ [javac] symbol: method readC() [javac] location: class GameGuardReply [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:10: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:19: error: cannot find symbol [javac] GameClient client = getClient(); [javac] ^ [javac] symbol: class GameClient [javac] location: class GameGuardReply [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:19: error: cannot find symbol [javac] GameClient client = getClient(); [javac] ^ [javac] symbol: method getClient() [javac] location: class GameGuardReply [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:16: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\clientp ackets\GameGuardReply.java:31: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:10: error: cannot find symbol [javac] writeC(0x74); [javac] ^ [javac] symbol: method writeC(int) [javac] location: class GameGuardQuery [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:11: error: cannot find symbol [javac] writeD(0x27533DD9); [javac] ^ [javac] symbol: method writeD(int) [javac] location: class GameGuardQuery [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:12: error: cannot find symbol [javac] writeD(0x2E72A51D); [javac] ^ [javac] symbol: method writeD(int) [javac] location: class GameGuardQuery [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:13: error: cannot find symbol [javac] writeD(0x2017038B); [javac] ^ [javac] symbol: method writeD(int) [javac] location: class GameGuardQuery [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:14: error: cannot find symbol [javac] writeD(0xC35B1EA3); [javac] ^ [javac] symbol: method writeD(int) [javac] location: class GameGuardQuery [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:7: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\GameGuardQuery.java:17: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:24: error: cannot find symbol [javac] writeC(0xB0); // packet ID [javac] ^ [javac] symbol: method writeC(int) [javac] location: class SpecialString [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:25: error: cannot find symbol [javac] writeC(_strId); // string ID [javac] ^ [javac] symbol: method writeC(int) [javac] location: class SpecialString [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:26: error: cannot find symbol [javac] writeC(_isDraw ? 1 : 0);// 1 - draw / 0 - hide [javac] ^ [javac] symbol: method writeC(int) [javac] location: class SpecialString [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:27: error: cannot find symbol [javac] writeC(_fontSize); // -1 to 3 (font size) [javac] ^ [javac] symbol: method writeC(int) [javac] location: class SpecialString [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:28: error: cannot find symbol [javac] writeD(_x); // ClientRight - x [javac] ^ [javac] symbol: method writeD(int) [javac] location: class SpecialString [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:29: error: cannot find symbol [javac] writeD(_y); // ClientTop + y [javac] ^ [javac] symbol: method writeD(int) [javac] location: class SpecialString [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:30: error: cannot find symbol [javac] writeD(_color); // AARRGGBB [javac] ^ [javac] symbol: method writeD(int) [javac] location: class SpecialString [javac] H:\LindSorces\Src\l2next\gameguard\network\serverp ackets\SpecialString.java:31: error: cannot find symbol [javac] writeS(_text); // wide string max len = 63 [javac] ^ [javac] symbol: method writeS(String) [javac] location: class SpecialString [javac] 79 errors [javac] 1 warning BUILD FAILED H:\LindSorces\build-guard.xml:48: Compile failed; see the compiler error output for details. Total time: 0 seconds |
Re: Ошибки при компиляции исходников Lindvior
а что перевести трудно?
[javac] H:\LindSorces\Src\l2next\gameguard\Guard.java:8: error: package l2next.gameserver.handler.admincommands does not exist |
Re: Ошибки при компиляции исходников Lindvior
Значит не хватает l2next.gameserver?
|
Re: Ошибки при компиляции исходников Lindvior
не верный импорт l2next.gameserver.handler.admincommands
|
Re: Ошибки при компиляции исходников Lindvior
Как же его верным сделать то
Добавлено через 8 минут Сам AdminCommandHandler.java я по пути нашел, но что с ним сделать, что бы импортировался он ровно. |
Re: Ошибки при компиляции исходников Lindvior
Попробуйте вырезать защиту и скомпилить.
|
Re: Ошибки при компиляции исходников Lindvior
sullen.nv, Используй тег [CODE] в будущем.
Что касается проблемы. Зачем ты компилишь GG? Я сам в данный момент работаю с этой сборкой и там GG не надо компилить. Без него чистый клиент спокойно к серверу подключается. |
Текущее время: 10:04. Часовой пояс GMT +3. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot