|
|
@ -32,7 +32,6 @@ public class GameServerIPRequestMsgHandler extends AbstractClientMsgHandler { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException { |
|
|
|
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException { |
|
|
|
|
|
|
|
|
|
|
|
PlayerCharacter playerCharacter = origin.getPlayerCharacter(); |
|
|
|
|
|
|
|
Session session = SessionManager.getSession(origin); |
|
|
|
Session session = SessionManager.getSession(origin); |
|
|
|
|
|
|
|
|
|
|
|
// Member variable declaration
|
|
|
|
// Member variable declaration
|
|
|
@ -43,6 +42,8 @@ public class GameServerIPRequestMsgHandler extends AbstractClientMsgHandler { |
|
|
|
|
|
|
|
|
|
|
|
msg = (GameServerIPRequestMsg) baseMsg; |
|
|
|
msg = (GameServerIPRequestMsg) baseMsg; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PlayerCharacter playerCharacter = PlayerCharacter.getPlayerCharacter(msg.getCharacterUUID()); |
|
|
|
|
|
|
|
|
|
|
|
if (playerCharacter == null) { |
|
|
|
if (playerCharacter == null) { |
|
|
|
Logger.info("Unable to find character ID " + msg.getCharacterUUID()); |
|
|
|
Logger.info("Unable to find character ID " + msg.getCharacterUUID()); |
|
|
|
LoginServer.KickToLogin(MBServerStatics.LOGINERROR_UNABLE_TO_LOGIN, "PlayerCharacter lookup failed in .RequestGameServer().", origin); |
|
|
|
LoginServer.KickToLogin(MBServerStatics.LOGINERROR_UNABLE_TO_LOGIN, "PlayerCharacter lookup failed in .RequestGameServer().", origin); |
|
|
|