Examples of SessionKey


Examples of l2p.loginserver.SessionKey

  }

  @Override
  public void runImpl()
  {
    SessionKey sk = getClient().getSessionKey();
    if(sk.checkLoginPair(_skey1, _skey2))
    {
      if(LoginController.getInstance().isLoginPossible(getClient(), _serverId))
      {
        getClient().sendPacket(new PlayOk(sk));
      }
View Full Code Here

Examples of lineage2.gameserver.network.loginservercon.SessionKey

   * Method runImpl.
   */
  @Override
  protected void runImpl()
  {
    SessionKey skey = new SessionKey(loginOkId1, loginOkId2, playOkId1, playOkId2);
    GameClient client = LoginServerCommunication.getInstance().removeWaitingClient(account);
    if (client == null)
    {
      return;
    }
View Full Code Here

Examples of lineage2.gameserver.network.loginservercon.SessionKey

   */
  @Override
  protected void runImpl()
  {
    GameClient client = getClient();
    SessionKey key = new SessionKey(_loginKey1, _loginKey2, _playKey1, _playKey2);
    client.setSessionId(key);
    client.setLoginName(_loginName);
    if ((Shutdown.getInstance().getMode() != Shutdown.NONE) && (Shutdown.getInstance().getSeconds() <= 15))
    {
      client.closeNow(false);
View Full Code Here

Examples of lineage2.loginserver.SessionKey

   * Method runImpl.
   */
  @Override
  protected void runImpl()
  {
    SessionKey skey = new SessionKey(loginOkId1, loginOkId2, playOkId1, playOkId2);
    Session session = SessionManager.getInstance().closeSession(skey);
    if ((session == null) || !session.getAccount().getLogin().equals(account))
    {
      sendPacket(new PlayerAuthResponse(account));
      return;
View Full Code Here

Examples of lineage2.loginserver.SessionKey

   */
  @Override
  protected void runImpl()
  {
    L2LoginClient client = getClient();
    SessionKey skey = client.getSessionKey();
    if ((skey == null) || !skey.checkLoginPair(_loginOkID1, _loginOkID2))
    {
      client.close(LoginFailReason.REASON_ACCESS_FAILED);
      return;
    }
    Account account = client.getAccount();
View Full Code Here

Examples of lineage2.loginserver.SessionKey

   */
  @Override
  protected void runImpl()
  {
    L2LoginClient client = getClient();
    SessionKey skey = client.getSessionKey();
    if ((skey == null) || !skey.checkLoginPair(_loginOkID1, _loginOkID2))
    {
      client.close(LoginFailReason.REASON_ACCESS_FAILED);
      return;
    }
    client.sendPacket(new ServerList(client.getAccount()));
View Full Code Here

Examples of lineage2.loginserver.SessionKey

    Account account = session.getAccount();
    login = account.getLogin();
    this.authed = authed;
    if (authed)
    {
      SessionKey skey = session.getSessionKey();
      playOkID1 = skey.playOkID1;
      playOkID2 = skey.playOkID2;
      loginOkID1 = skey.loginOkID1;
      loginOkID2 = skey.loginOkID2;
      bonus = account.getBonus();
View Full Code Here

Examples of net.sf.l2j.gameserver.LoginServerThread.SessionKey

  }

  @Override
  protected void runImpl()
  {
    SessionKey key = new SessionKey(_loginKey1, _loginKey2, _playKey1, _playKey2);
    if (Config.DEBUG)
    {
      _log.info("user:" + _loginName);
      _log.info("key:" + key);
    }
View Full Code Here

Examples of net.sf.l2j.loginserver.SessionKey

  }
 
  @Override
  public void run()
  {
    SessionKey sk = getClient().getSessionKey();

    // If we didn't showed the license we can't check these values
    if (!Config.SHOW_LICENCE || sk.checkLoginPair(_skey1, _skey2))
    {
      if (LoginController.getInstance().isLoginPossible(getClient(), _serverId))
      {
        getClient().setJoinedGS(true);
        getClient().sendPacket(new PlayOk(sk));
View Full Code Here

Examples of net.sf.l2j.loginserver.SessionKey

    _account = readS();
    int playKey1 = readD();
    int playKey2 = readD();
    int loginKey1 = readD();
    int loginKey2 = readD();
    _sessionKey = new SessionKey(loginKey1, loginKey2, playKey1, playKey2);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.