Removed L2 prefix from LoginServer class name.
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
<attribute name="Built-Date" value="${time.stamp}" />
|
||||
<attribute name="Implementation-URL" value="http://www.l2jmobius.com/" />
|
||||
<attribute name="Class-Path" value="${manifest.libs}" />
|
||||
<attribute name="Main-Class" value="com.l2jmobius.loginserver.L2LoginServer" />
|
||||
<attribute name="Main-Class" value="com.l2jmobius.loginserver.LoginServer" />
|
||||
</manifest>
|
||||
</jar>
|
||||
<jar destfile="${build.dist.game}/GameServer.jar" level="9">
|
||||
|
@@ -3,7 +3,7 @@
|
||||
err=1
|
||||
until [ $err == 0 ];
|
||||
do
|
||||
java -Dfile.encoding=UTF-8 -Djava.util.logging.config.file=config/others/log.cfg -Xms128m -Xmx128m -cp lib/*:LoginServer.jar com.l2jmobius.loginserver.L2LoginServer > log/stdout.log 2>&1
|
||||
java -Dfile.encoding=UTF-8 -Djava.util.logging.config.file=config/others/log.cfg -Xms128m -Xmx128m -cp lib/*:LoginServer.jar com.l2jmobius.loginserver.LoginServer > log/stdout.log 2>&1
|
||||
err=$?
|
||||
# /etc/init.d/mysql restart
|
||||
sleep 10;
|
||||
|
@@ -5,7 +5,7 @@ title L2J Mobius - Login Server Console
|
||||
echo Starting Login Server.
|
||||
echo.
|
||||
|
||||
java -version:1.8 -server -Dfile.encoding=UTF-8 -Djava.util.logging.config.file=config/others/log.cfg -Xms128m -Xmx256m -cp ./lib/*;LoginServer.jar com.l2jmobius.loginserver.L2LoginServer
|
||||
java -version:1.8 -server -Dfile.encoding=UTF-8 -Djava.util.logging.config.file=config/others/log.cfg -Xms128m -Xmx256m -cp ./lib/*;LoginServer.jar com.l2jmobius.loginserver.LoginServer
|
||||
|
||||
if ERRORLEVEL 2 goto restart
|
||||
if ERRORLEVEL 1 goto error
|
||||
|
@@ -219,8 +219,8 @@ public class GameServerThread extends Thread
|
||||
LOGGER.info("Server [" + getServerId() + "] " + GameServerTable.getInstance().getServerNameById(getServerId()) + " is now set as disconnected");
|
||||
}
|
||||
|
||||
L2LoginServer.getInstance().getGameServerListener().removeGameServer(this);
|
||||
L2LoginServer.getInstance().getGameServerListener().removeFloodProtection(_connectionIp);
|
||||
LoginServer.getInstance().getGameServerListener().removeGameServer(this);
|
||||
LoginServer.getInstance().getGameServerListener().removeFloodProtection(_connectionIp);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -35,13 +35,13 @@ import com.l2jmobius.commons.mmocore.SelectorThread;
|
||||
import com.l2jmobius.commons.util.Util;
|
||||
import com.l2jmobius.status.Status;
|
||||
|
||||
public class L2LoginServer
|
||||
public class LoginServer
|
||||
{
|
||||
private final Logger LOGGER = Logger.getLogger(L2LoginServer.class.getName());
|
||||
private final Logger LOGGER = Logger.getLogger(LoginServer.class.getName());
|
||||
|
||||
public static final int PROTOCOL_REV = 0x0102;
|
||||
|
||||
private static L2LoginServer _instance;
|
||||
private static LoginServer _instance;
|
||||
|
||||
private GameServerListener _gameServerListener;
|
||||
private SelectorThread<L2LoginClient> _selectorThread;
|
||||
@@ -49,15 +49,15 @@ public class L2LoginServer
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
_instance = new L2LoginServer();
|
||||
_instance = new LoginServer();
|
||||
}
|
||||
|
||||
public static L2LoginServer getInstance()
|
||||
public static LoginServer getInstance()
|
||||
{
|
||||
return _instance;
|
||||
}
|
||||
|
||||
public L2LoginServer()
|
||||
public LoginServer()
|
||||
{
|
||||
_instance = this;
|
||||
Server.serverMode = Server.MODE_LOGINSERVER;
|
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
package com.l2jmobius.loginserver.network.loginserverpackets;
|
||||
|
||||
import com.l2jmobius.loginserver.L2LoginServer;
|
||||
import com.l2jmobius.loginserver.LoginServer;
|
||||
import com.l2jmobius.loginserver.network.serverpackets.ServerBasePacket;
|
||||
|
||||
/**
|
||||
@@ -33,7 +33,7 @@ public class InitLS extends ServerBasePacket
|
||||
public InitLS(byte[] publickey)
|
||||
{
|
||||
writeC(0x00);
|
||||
writeD(L2LoginServer.PROTOCOL_REV);
|
||||
writeD(LoginServer.PROTOCOL_REV);
|
||||
writeD(publickey.length);
|
||||
writeB(publickey);
|
||||
}
|
||||
|
@@ -30,7 +30,7 @@ import java.util.logging.Logger;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.loginserver.GameServerTable;
|
||||
import com.l2jmobius.loginserver.L2LoginServer;
|
||||
import com.l2jmobius.loginserver.LoginServer;
|
||||
import com.l2jmobius.loginserver.LoginController;
|
||||
|
||||
public class LoginStatusThread extends Thread
|
||||
@@ -243,14 +243,14 @@ public class LoginStatusThread extends Thread
|
||||
}
|
||||
else if (_usrCommand.startsWith("shutdown"))
|
||||
{
|
||||
L2LoginServer.getInstance().shutdown(false);
|
||||
LoginServer.getInstance().shutdown(false);
|
||||
_print.println("Bye Bye!");
|
||||
_print.flush();
|
||||
_cSocket.close();
|
||||
}
|
||||
else if (_usrCommand.startsWith("restart"))
|
||||
{
|
||||
L2LoginServer.getInstance().shutdown(true);
|
||||
LoginServer.getInstance().shutdown(true);
|
||||
_print.println("Bye Bye!");
|
||||
_print.flush();
|
||||
_cSocket.close();
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/L2J_Mobius_C6_Interlude/java/com/l2jmobius/loginserver/L2LoginServer.java"/>
|
||||
<listEntry value="/L2J_Mobius_C6_Interlude/java/com/l2jmobius/loginserver/LoginServer.java"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="1"/>
|
||||
@@ -13,7 +13,7 @@
|
||||
</listAttribute>
|
||||
<booleanAttribute key="org.eclipse.jdt.debug.ui.INCLUDE_EXTERNAL_JARS" value="true"/>
|
||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.l2jmobius.loginserver.L2LoginServer"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.l2jmobius.loginserver.LoginServer"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="L2J_Mobius_C6_Interlude"/>
|
||||
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:L2J_Mobius_C6_Interlude}/dist/login/"/>
|
||||
</launchConfiguration>
|
||||
|
Reference in New Issue
Block a user