Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.CharacterSelectionInfo


    {
      getClient().setState(GameClientState.AUTHED);
    }
    activeChar.logout(false, true, false, false);
    // send char list
    CharacterSelectionInfo cl = new CharacterSelectionInfo(getClient().getLoginName(), getClient().getSessionId().playOkID1);
    sendPacket(RestartResponse.OK, cl);
    getClient().setCharSelection(cl.getCharInfo());
  }
View Full Code Here


  }

  @Override
  protected void runImpl()
  {
    CharacterSelectionInfo cl = new CharacterSelectionInfo(getClient().getLoginName(), getClient().getSessionId().playOkID1);
    sendPacket(cl);
  }
View Full Code Here

      client.markRestoredChar(_charSlot);
    }
    catch(Exception e)
    {
    }
    CharacterSelectionInfo cl = new CharacterSelectionInfo(client.getLoginName(), client.getSessionId().playOkID1);
    sendPacket(cl);
    client.setCharSelection(cl.getCharInfo());
  }
View Full Code Here

    catch(Exception e)
    {
      _log.log(Level.SEVERE, "Error:", e);
    }
    sendPacket(new CharacterDeleteSuccess());
    CharacterSelectionInfo cl = new CharacterSelectionInfo(client.getLoginName(), client.getSessionId().playOkID1);
    sendPacket(cl);
    client.setCharSelection(cl.getCharInfo());
  }
View Full Code Here

        client.account_fields = StatsSet.unserialize(account_fields);
        client.setState(L2GameClient.GameClientState.AUTHED);
        client.setBonus(bonus);
        client.setBonusExpire(bonusExpire);
        getLoginServer().getCon().addAccountInGame(client);
        CharacterSelectionInfo csi = new CharacterSelectionInfo(client.getLoginName(), client.getSessionId().playOkID1);
        client.sendPacket(csi);
        client.setCharSelection(csi.getCharInfo());
        sendPacket(new PlayerInGame(client.getLoginName(), Stats.getOnline(true)));
      }
      else
      {
        //log.severe("Cheater? SessionKey invalid! Login: " + client.getLoginName() + ", IP: " + client.getIpAddr());
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.CharacterSelectionInfo

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.