Examples of CharSelectInfo


Examples of com.l2jfrozen.gameserver.network.serverpackets.CharSelectInfo

      client.closeNow();
      return;
    }
   
    // Send char list
    CharSelectInfo cl = new CharSelectInfo(client.getAccountName(), client.getSessionId().playOkID1);
    client.getConnection().sendPacket(cl);
    client.setCharSelection(cl.getCharInfo());

    if(Config.DEBUG)
      _log.fine("DEBUG "+getType()+": Character init end");
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.CharSelectInfo

    {
      getClient().closeNow();
      return;
    }
   
    CharSelectInfo cl = new CharSelectInfo(getClient().getAccountName(), getClient().getSessionId().playOkID1, 0);
    sendPacket(cl);
    getClient().setCharSelection(cl.getCharInfo());
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.CharSelectInfo

                  //before the char selection, check shutdown status
                  if(GameServer.getSelectorThread().isShutdown()){
                    wcToRemove.gameClient.getConnection().sendPacket(new AuthLoginFail(1));
                    wcToRemove.gameClient.closeNow();
                  }else{
                    CharSelectInfo cl = new CharSelectInfo(wcToRemove.account, wcToRemove.gameClient.getSessionId().playOkID1);
                    wcToRemove.gameClient.getConnection().sendPacket(cl);
                    wcToRemove.gameClient.setCharSelection(cl.getCharInfo());
                    cl = null;
                  }
                 
                }
                else
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.CharSelectInfo

   
    // Restart true
    sendPacket(RestartResponse.valueOf(true));
   
    // send char list
    CharSelectInfo cl = new CharSelectInfo(client.getAccountName(), client.getSessionId().playOkID1);
    sendPacket(cl);
    client.setCharSelection(cl.getCharInfo());
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.CharSelectInfo

    {
      getClient().closeNow();
      return;
    }

    CharSelectInfo cl = new CharSelectInfo(getClient().getAccountName(), getClient().getSessionId().playOkID1, 0);
    sendPacket(cl);
    getClient().setCharSelection(cl.getCharInfo());
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.CharSelectInfo

    L2GameClient.saveCharToDisk(newChar);
    newChar.deleteMe(); // release the world of this character and it's inventory

    // send char list

    CharSelectInfo cl =  new CharSelectInfo(client.getAccountName(), client.getSessionId().playOkID1);
    client.getConnection().sendPacket(cl);
        client.setCharSelection(cl.getCharInfo());
        if (Config.DEBUG) _log.fine("Character init end");
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.CharSelectInfo

      {
        sendPacket(new CharDeleteFail(CharDeleteFail.REASON_YOU_MAY_NOT_DELETE_CLAN_MEMBER));
      }
    }

    CharSelectInfo cl = new CharSelectInfo(getClient().getAccountName(), getClient().getSessionId().playOkID1, 0);
    sendPacket(cl);
    getClient().setCharSelection(cl.getCharInfo());
  }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.CharSelectInfo

                if (Config.DEBUG)_log.info("Login accepted player "+wcToRemove.account+" waited("+(GameTimeController.getGameTicks()-wcToRemove.timestamp)+"ms)");
                PlayerInGame pig = new PlayerInGame(par.getAccount());
                sendPacket(pig);
                wcToRemove.gameClient.setState(GameClientState.AUTHED);
                wcToRemove.gameClient.setSessionId(wcToRemove.session);
                CharSelectInfo cl = new CharSelectInfo(wcToRemove.account, wcToRemove.gameClient.getSessionId().playOkID1);
                wcToRemove.gameClient.getConnection().sendPacket(cl);
                wcToRemove.gameClient.setCharSelection(cl.getCharInfo());
              }
              else
              {
                _log.warning("session key is not correct. closing connection");
                wcToRemove.gameClient.getConnection().sendPacket(new AuthLoginFail(1));
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.CharSelectInfo

        RestartResponse response = new RestartResponse();
        sendPacket(response);

        // send char list
        CharSelectInfo cl = new CharSelectInfo(client.getAccountName(),
                             client.getSessionId().playOkID1);
        sendPacket(cl);
        client.setCharSelection(cl.getCharInfo());
    }
View Full Code Here

Examples of net.sf.l2j.gameserver.serverpackets.CharSelectInfo

      }
      catch (Exception e)
      {
       
      }
    CharSelectInfo cl = new CharSelectInfo(getClient().getAccountName(), getClient().getSessionId().playOkID1, 0);
    sendPacket(cl);
    getClient().setCharSelection(cl.getCharInfo());
  }
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.