Package marauroa.common.net.message

Examples of marauroa.common.net.message.MessageS2CLoginSendKey


    if (rpMan.checkGameVersion(msgRequest.getGame(), msgRequest.getVersion())) {
      /*
       * If this is correct we send player the server key so it can sign
       * the password.
       */
      MessageS2CLoginSendKey msgLoginSendKey = new MessageS2CLoginSendKey(msg
              .getSocketChannel(), key);
      msgLoginSendKey.setClientID(Message.CLIENTID_INVALID);
      msgLoginSendKey.setProtocolVersion(msg.getProtocolVersion());
      netMan.sendMessage(msgLoginSendKey);
    } else {
      /* Error: Incompatible game version. Update client */
      logger.debug("Client is running an incompatible game version. Client("
              + msg.getAddress().toString() + ") can't login");
View Full Code Here

TOP

Related Classes of marauroa.common.net.message.MessageS2CLoginSendKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.