Removed L2 prefix from LoginServer class name.

This commit is contained in:
MobiusDev
2018-04-26 22:42:05 +00:00
parent fee32f388d
commit dad8a4b8c9
53 changed files with 746 additions and 746 deletions

View File

@@ -83,7 +83,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">

View File

@@ -80,7 +80,7 @@ public class LoginServerThread extends Thread
protected static final Logger ACCOUNTING_LOGGER = Logger.getLogger("accounting");
/**
* @see com.l2jmobius.loginserver.L2LoginServer#PROTOCOL_REV
* @see com.l2jmobius.loginserver.LoginServer#PROTOCOL_REV
*/
private static final int REVISION = 0x0106;
private final String _hostname;

View File

@@ -139,8 +139,8 @@ public class GameServerThread extends Thread
_gsi.setDown();
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);
}
}

View File

@@ -36,26 +36,26 @@ import com.l2jmobius.loginserver.network.ClientNetworkManager;
/**
* @author KenM
*/
public final class L2LoginServer
public final 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 = 0x0106;
private static L2LoginServer _instance;
private static LoginServer _instance;
private GameServerListener _gameServerListener;
private Thread _restartLoginServer;
public static void main(String[] args) throws Exception
{
new L2LoginServer();
new LoginServer();
}
public static L2LoginServer getInstance()
public static LoginServer getInstance()
{
return _instance;
}
private L2LoginServer() throws Exception
private LoginServer() throws Exception
{
_instance = this;
Server.serverMode = Server.MODE_LOGINSERVER;

View File

@@ -17,7 +17,7 @@
package com.l2jmobius.loginserver.network.loginserverpackets;
import com.l2jmobius.commons.network.BaseSendablePacket;
import com.l2jmobius.loginserver.L2LoginServer;
import com.l2jmobius.loginserver.LoginServer;
/**
* @author -Wooden-
@@ -33,7 +33,7 @@ public class InitLS extends BaseSendablePacket
public InitLS(byte[] publickey)
{
writeC(0x00);
writeD(L2LoginServer.PROTOCOL_REV);
writeD(LoginServer.PROTOCOL_REV);
writeD(publickey.length);
writeB(publickey);
}

View File

@@ -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_4.0_GrandCrusade/java/com/l2jmobius/loginserver/L2LoginServer.java"/>
<listEntry value="/L2J_Mobius_4.0_GrandCrusade/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_4.0_GrandCrusade"/>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:L2J_Mobius_4.0_GrandCrusade}/dist/login/"/>
</launchConfiguration>