Помогите с компиляцией

GhostVSUFO333

Путник
Пользователь
Сообщения
12
Розыгрыши
0
Репутация
1
Реакции
1
Баллы
0
Народ выручаем голову ломаю не как не могу понять что к чему)
Поправил ядро и пытаюсь опять изменить в class но ошибка на ошибке

Microsoft Windows [Version 6.1.7601]
(c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.

C:\ss>javac gameserver.java
gameserver.java:165: error: not a statement
java.util.Map.Entry license;
^
gameserver.java:165: error: ';' expected
java.util.Map.Entry license;
^
gameserver.java:165: error: not a statement
java.util.Map.Entry license;
^
gameserver.java:197: error: not a statement
exception3;
^
gameserver.java:206: error: illegal start of expression
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:206: error: not a statement
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:206: error: illegal start of expression
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:206: error: 'else' without 'if'
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:376: error: not a statement
e;
^
gameserver.java:385: error: not a statement
exception2;
^
gameserver.java:407: error: not a statement
e;
^
gameserver.java:416: error: not a statement
exception2;
^
12 errors
 
Народ выручаем голову ломаю не как не могу понять что к чему)
Поправил ядро и пытаюсь опять изменить в class но ошибка на ошибке

Microsoft Windows [Version 6.1.7601]
(c) Корпорация Майкрософт (Microsoft Corp.), 2009. Все права защищены.

C:\ss>javac gameserver.java
gameserver.java:165: error: not a statement
java.util.Map.Entry license;
^
gameserver.java:165: error: ';' expected
java.util.Map.Entry license;
^
gameserver.java:165: error: not a statement
java.util.Map.Entry license;
^
gameserver.java:197: error: not a statement
exception3;
^
gameserver.java:206: error: illegal start of expression
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:206: error: not a statement
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:206: error: illegal start of expression
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:206: error: 'else' without 'if'
if(!licensed) goto _L2; else goto _L1
^
gameserver.java:376: error: not a statement
e;
^
gameserver.java:385: error: not a statement
exception2;
^
gameserver.java:407: error: not a statement
e;
^
gameserver.java:416: error: not a statement
exception2;
^
12 errors
Я решил эти проблемы выскочили следующие )
gameserver.java:40: error: package l2s.gameserver.handler.items does not exist
import l2s.gameserver.handler.items.ItemHandler;
^
gameserver.java:41: error: package l2s.gameserver.handler.onshiftaction does not
exist
import l2s.gameserver.handler.onshiftaction.OnShiftActionHolder;
^
gameserver.java:42: error: package l2s.gameserver.handler.usercommands does not
exist
import l2s.gameserver.handler.usercommands.UserCommandHandler;
^
gameserver.java:43: error: package l2s.gameserver.handler.voicecommands does not
exist
import l2s.gameserver.handler.voicecommands.VoicedCommandHandler;
^
gameserver.java:44: error: package l2s.gameserver.idfactory does not exist
import l2s.gameserver.idfactory.IdFactory;
^
gameserver.java:45: error: package l2s.gameserver.instancemanager does not exist

import l2s.gameserver.instancemanager.BotCheckManager;
^
gameserver.java:46: error: package l2s.gameserver.instancemanager does not exist

import l2s.gameserver.instancemanager.BotReportManager;
^
gameserver.java:47: error: package l2s.gameserver.instancemanager does not exist

import l2s.gameserver.instancemanager.CoupleManager;
^
gameserver.java:48: error: package l2s.gameserver.instancemanager does not exist

import l2s.gameserver.instancemanager.PetitionManager;
^
gameserver.java:49: error: package l2s.gameserver.instancemanager does not exist

import l2s.gameserver.instancemanager.PlayerMessageStack;
^
gameserver.java:50: error: package l2s.gameserver.instancemanager does not exist

import l2s.gameserver.instancemanager.RaidBossSpawnManager;
^
gameserver.java:51: error: package l2s.gameserver.instancemanager does not exist

import l2s.gameserver.instancemanager.SpawnManager;
^
gameserver.java:52: error: package l2s.gameserver.instancemanager.clansearch doe
s not exist
import l2s.gameserver.instancemanager.clansearch.ClanSearchManager;
^
gameserver.java:53: error: package l2s.gameserver.instancemanager.games does not
exist
import l2s.gameserver.instancemanager.games.MiniGameScoreManager;
^
gameserver.java:54: error: package l2s.gameserver.listener does not exist
import l2s.gameserver.listener.GameListener;
^
gameserver.java:55: error: package l2s.gameserver.model does not exist
import l2s.gameserver.model.Player;
^
gameserver.java:56: error: package l2s.gameserver.model does not exist
import l2s.gameserver.model.World;
^
gameserver.java:57: error: package l2s.gameserver.model.entity does not exist
import l2s.gameserver.model.entity.Hero;
^
gameserver.java:58: error: package l2s.gameserver.model.entity does not exist
import l2s.gameserver.model.entity.MonsterRace;
^
gameserver.java:59: error: package l2s.gameserver.model.entity.olympiad does not
exist
import l2s.gameserver.model.entity.olympiad.Olympiad;
^
gameserver.java:60: error: package l2s.gameserver.network.authcomm does not exis
t
import l2s.gameserver.network.authcomm.AuthServerCommunication;
^
gameserver.java:61: error: package l2s.gameserver.network.l2 does not exist
import l2s.gameserver.network.l2.GamePacketHandler;
^
gameserver.java:62: error: package l2s.gameserver.network.telnet does not exist
import l2s.gameserver.network.telnet.TelnetServer;
^
gameserver.java:63: error: package l2s.gameserver.scripts does not exist
import l2s.gameserver.scripts.Scripts;
^
gameserver.java:64: error: package l2s.gameserver.security does not exist
import l2s.gameserver.security.HWIDBan;
^
gameserver.java:65: error: package l2s.gameserver.tables does not exist
import l2s.gameserver.tables.ClanTable;
^
gameserver.java:66: error: package l2s.gameserver.tables does not exist
import l2s.gameserver.tables.EnchantHPBonusTable;
^
gameserver.java:67: error: package l2s.gameserver.tables does not exist
import l2s.gameserver.tables.FakePlayersTable;
^
gameserver.java:68: error: package l2s.gameserver.taskmanager does not exist
import l2s.gameserver.taskmanager.AutomaticTasks;
^
gameserver.java:69: error: package l2s.gameserver.taskmanager does not exist
import l2s.gameserver.taskmanager.ItemsAutoDestroy;
^
gameserver.java:70: error: package l2s.gameserver.utils does not exist
import l2s.gameserver.utils.OnlineTxtGenerator;
^
gameserver.java:71: error: package l2s.gameserver.utils does not exist
import l2s.gameserver.utils.Strings;
^
gameserver.java:72: error: package l2s.gameserver.utils does not exist
import l2s.gameserver.utils.TradeHelper;
^
gameserver.java:73: error: package l2s.gameserver.utils.velocity does not exist
import l2s.gameserver.utils.velocity.VelocityUtils;
^
gameserver.java:74: error: package net.sf.ehcache does not exist
import net.sf.ehcache.CacheManager;
^
gameserver.java:75: error: package org.slf4j does not exist
import org.slf4j.Logger;
^
gameserver.java:76: error: package org.slf4j does not exist
import org.slf4j.LoggerFactory;
^
gameserver.java:93: error: cannot find symbol
public SelectorStats getSelectorStats()
^
symbol: class SelectorStats
location: class GameServer
gameserver.java:335: error: cannot find symbol
public boolean addListener(GameListener listener)
^
symbol: class GameListener
location: class GameServer
gameserver.java:340: error: cannot find symbol
public boolean removeListener(GameListener listener)
^
symbol: class GameListener
location: class GameServer
gameserver.java:426: error: cannot find symbol
private void registerSelectorThreads(TIntSet ports)
^
symbol: class TIntSet
location: class GameServer
gameserver.java:439: error: cannot find symbol
private void registerSelectorThread(GamePacketHandler gph, String ip, int po
rt)
^
symbol: class GamePacketHandler
location: class GameServer
gameserver.java:466: error: cannot find symbol
public Version getVersion()
^
symbol: class Version
location: class GameServer
gameserver.java:471: error: cannot find symbol
public TelnetServer getStatusServer()
^
symbol: class TelnetServer
location: class GameServer
gameserver.java:480: error: cannot find symbol
private static final Logger _log = LoggerFactory.getLogger(l2s/gameserver/Ga
meServer);
^
symbol: class Logger
location: class GameServer
gameserver.java:483: error: cannot find symbol
private final SelectorStats _selectorStats;
^
symbol: class SelectorStats
location: class GameServer
gameserver.java:484: error: cannot find symbol
private Version version;
^
symbol: class Version
location: class GameServer
gameserver.java:485: error: cannot find symbol
private TelnetServer statusServer;
^
symbol: class TelnetServer
location: class GameServer
gameserver.java:116: error: cannot find symbol
TIntSet ports;
^
symbol: class TIntSet
location: class GameServer
gameserver.java:123: error: cannot find symbol
_selectorStats = new SelectorStats();
^
symbol: class SelectorStats
location: class GameServer
gameserver.java:128: error: cannot find symbol
version = new Version(l2s/gameserver/GameServer);
^
symbol: class Version
location: class GameServer
gameserver.java:128: error: cannot find symbol
version = new Version(l2s/gameserver/GameServer);
^
symbol: variable l2s
location: class GameServer
gameserver.java:128: error: cannot find symbol
version = new Version(l2s/gameserver/GameServer);
^
symbol: variable gameserver
location: class GameServer
gameserver.java:128: error: cannot find symbol
version = new Version(l2s/gameserver/GameServer);
^
symbol: variable GameServer
location: class GameServer
gameserver.java:136: error: cannot find symbol
ConfigParsers.parseAll();
^
symbol: variable ConfigParsers
location: class GameServer
gameserver.java:137: error: cannot find symbol
Config.load();
^
symbol: variable Config
location: class GameServer
gameserver.java:138: error: cannot find symbol
VelocityUtils.init();
^
symbol: variable VelocityUtils
location: class GameServer
gameserver.java:139: error: cannot find symbol
HostInfo hosts[] = HostsConfigHolder.getInstance().getGameServerHosts();

^
symbol: class HostInfo
location: class GameServer
gameserver.java:139: error: cannot find symbol
HostInfo hosts[] = HostsConfigHolder.getInstance().getGameServerHosts();

^
symbol: variable HostsConfigHolder
location: class GameServer
gameserver.java:142: error: cannot find symbol
ports = new TIntHashSet();
^
symbol: class TIntHashSet
location: class GameServer
gameserver.java:147: error: cannot find symbol
HostInfo host = portsArray[j];
^
symbol: class HostInfo
location: class GameServer
gameserver.java:159: error: undefined label: MISSING_BLOCK_LABEL_739
break MISSING_BLOCK_LABEL_739;
^
gameserver.java:161: error: cannot find symbol
if(Player.CLIENTS_HASHCODE != Player.CLIENTS.hashCode())
^
symbol: variable Player
location: class GameServer
gameserver.java:161: error: package Player does not exist
if(Player.CLIENTS_HASHCODE != Player.CLIENTS.hashCode())
^
gameserver.java:162: error: undefined label: MISSING_BLOCK_LABEL_721
break MISSING_BLOCK_LABEL_721;
^
gameserver.java:163: error: package Player does not exist
iterator = Player.CLIENTS.entrySet().iterator();
^
gameserver.java:165: error: cannot find symbol
java.util.Map.Entry() ; license();
^
symbol: method Entry()
location: interface Map
gameserver.java:165: error: cannot find symbol
java.util.Map.Entry() ; license();
^
symbol: method license()
location: class GameServer
gameserver.java:168: error: undefined label: MISSING_BLOCK_LABEL_721
break MISSING_BLOCK_LABEL_721;
^
gameserver.java:169: error: cannot find symbol
license = (java.util.Map.Entry)iterator.next();
^
symbol: variable license
location: class GameServer
gameserver.java:170: error: cannot find symbol
if(checkOpenPort((String)license.getKey(), portsArray[0]))
^
symbol: variable license
location: class GameServer
gameserver.java:171: error: continue outside of loop
continue; /* Loop/switch isn't completed */
^
gameserver.java:179: error: cannot find symbol
if(checkOpenPort((String)license.getKey(), portsArray[0]))
^
symbol: variable license
location: class GameServer
100 errors

C:\ss>
 
Ты там че, декомпил скриптов собираешь?)
 
  • Мне нравится
Реакции: GhostVSUFO333

    VoDela

    Баллов: 1
    За эпический ответ
Назад
Сверху Снизу