Manage probable connection termination.
This commit is contained in:
@@ -606,8 +606,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -606,8 +606,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -507,8 +507,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -408,8 +408,15 @@ public class GameServerThread extends Thread
|
|||||||
_out.write(len & 0xff);
|
_out.write(len & 0xff);
|
||||||
_out.write((len >> 8) & 0xff);
|
_out.write((len >> 8) & 0xff);
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -508,8 +508,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -247,8 +247,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -599,8 +599,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -599,8 +599,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -599,8 +599,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -608,8 +608,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -608,8 +608,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -609,8 +609,15 @@ public class LoginServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// LoginServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -249,8 +249,15 @@ public class GameServerThread extends Thread
|
|||||||
_blowfish.crypt(data, 2, size);
|
_blowfish.crypt(data, 2, size);
|
||||||
|
|
||||||
_out.write(data);
|
_out.write(data);
|
||||||
|
try
|
||||||
|
{
|
||||||
_out.flush();
|
_out.flush();
|
||||||
}
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
// GameServer might have terminated.
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user