LoginServer should also use the Network.ini configuration file.
This commit is contained in:
@@ -1074,8 +1074,8 @@ public class Config
|
||||
public static boolean PACKET_FLOOD_DISCONNECT;
|
||||
public static boolean PACKET_FLOOD_DROP;
|
||||
public static boolean PACKET_FLOOD_LOGGED;
|
||||
public static boolean TCP_NO_DELAY;
|
||||
public static boolean FAILED_DECRYPTION_LOGGED;
|
||||
public static boolean TCP_NO_DELAY;
|
||||
|
||||
public static int IP_UPDATE_TIME;
|
||||
public static boolean SHOW_LICENCE;
|
||||
@@ -1197,8 +1197,8 @@ public class Config
|
||||
PACKET_FLOOD_DISCONNECT = networkConfig.getBoolean("PacketFloodDisconnect", false);
|
||||
PACKET_FLOOD_DROP = networkConfig.getBoolean("PacketFloodDrop", false);
|
||||
PACKET_FLOOD_LOGGED = networkConfig.getBoolean("PacketFloodLogged", true);
|
||||
TCP_NO_DELAY = networkConfig.getBoolean("TcpNoDelay", true);
|
||||
FAILED_DECRYPTION_LOGGED = networkConfig.getBoolean("FailedDecryptionLogged", true);
|
||||
TCP_NO_DELAY = networkConfig.getBoolean("TcpNoDelay", true);
|
||||
}
|
||||
|
||||
public static void loadRatesConfig()
|
||||
|
@@ -464,8 +464,8 @@ public class GameServer
|
||||
server.getNetConfig().setPacketFloodDisconnect(Config.PACKET_FLOOD_DISCONNECT);
|
||||
server.getNetConfig().setPacketFloodDrop(Config.PACKET_FLOOD_DROP);
|
||||
server.getNetConfig().setPacketFloodLogged(Config.PACKET_FLOOD_LOGGED);
|
||||
server.getNetConfig().setTcpNoDelay(Config.TCP_NO_DELAY);
|
||||
server.getNetConfig().setFailedDecryptionLogged(Config.FAILED_DECRYPTION_LOGGED);
|
||||
server.getNetConfig().setTcpNoDelay(Config.TCP_NO_DELAY);
|
||||
server.start();
|
||||
|
||||
LoginServerThread.getInstance().start();
|
||||
|
Reference in New Issue
Block a user