Always send account logout at login server when kicked.
This commit is contained in:
parent
9b9e718efa
commit
02b2567c78
@ -565,7 +565,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -573,6 +572,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -565,7 +565,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -573,6 +572,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -80,7 +80,9 @@ public class LoginServerThread extends Thread
|
||||
protected static final Logger LOGGER = Logger.getLogger(LoginServerThread.class.getName());
|
||||
protected static final Logger ACCOUNTING_LOGGER = Logger.getLogger("accounting");
|
||||
|
||||
/** @see com.l2jmobius.loginserver.LoginServer#PROTOCOL_REV */
|
||||
/**
|
||||
* @see com.l2jmobius.loginserver.LoginServer#PROTOCOL_REV
|
||||
*/
|
||||
private static final int REVISION = 0x0106;
|
||||
private final String _hostname;
|
||||
private final int _port;
|
||||
@ -565,7 +567,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -573,6 +574,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.ANOTHER_PERSON_HAS_LOGGED_IN_WITH_THE_SAME_ACCOUNT));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -568,7 +568,6 @@ public class LoginServerThread extends Thread
|
||||
{
|
||||
client.getActiveChar().deleteMe();
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -576,6 +575,7 @@ public class LoginServerThread extends Thread
|
||||
}
|
||||
client.close(SystemMessage.getSystemMessage(SystemMessageId.YOU_ARE_LOGGED_IN_TO_TWO_PLACES_IF_YOU_SUSPECT_ACCOUNT_THEFT_WE_RECOMMEND_CHANGING_YOUR_PASSWORD_SCANNING_YOUR_COMPUTER_FOR_VIRUSES_AND_USING_AN_ANTI_VIRUS_SOFTWARE));
|
||||
}
|
||||
sendLogout(account);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user