Package com.l2jfrozen.gameserver.network.gameserverpackets

Examples of com.l2jfrozen.gameserver.network.gameserverpackets.ServerStatus.addAttribute()


              Config.saveHexid(_serverID, hexToString(_hexID));
              _log.info("Registered on login as Server " + _serverID + " : " + _serverName);
              ServerStatus st = new ServerStatus();
              if(Config.SERVER_LIST_BRACKET)
              {
                st.addAttribute(ServerStatus.SERVER_LIST_SQUARE_BRACKET, ServerStatus.ON);
              }
              else
              {
                st.addAttribute(ServerStatus.SERVER_LIST_SQUARE_BRACKET, ServerStatus.OFF);
              }
View Full Code Here


              {
                st.addAttribute(ServerStatus.SERVER_LIST_SQUARE_BRACKET, ServerStatus.ON);
              }
              else
              {
                st.addAttribute(ServerStatus.SERVER_LIST_SQUARE_BRACKET, ServerStatus.OFF);
              }
              if(Config.SERVER_LIST_CLOCK)
              {
                st.addAttribute(ServerStatus.SERVER_LIST_CLOCK, ServerStatus.ON);
              }
View Full Code Here

              {
                st.addAttribute(ServerStatus.SERVER_LIST_SQUARE_BRACKET, ServerStatus.OFF);
              }
              if(Config.SERVER_LIST_CLOCK)
              {
                st.addAttribute(ServerStatus.SERVER_LIST_CLOCK, ServerStatus.ON);
              }
              else
              {
                st.addAttribute(ServerStatus.SERVER_LIST_CLOCK, ServerStatus.OFF);
              }
View Full Code Here

              {
                st.addAttribute(ServerStatus.SERVER_LIST_CLOCK, ServerStatus.ON);
              }
              else
              {
                st.addAttribute(ServerStatus.SERVER_LIST_CLOCK, ServerStatus.OFF);
              }
              if(Config.SERVER_LIST_TESTSERVER)
              {
                st.addAttribute(ServerStatus.TEST_SERVER, ServerStatus.ON);
              }
View Full Code Here

              {
                st.addAttribute(ServerStatus.SERVER_LIST_CLOCK, ServerStatus.OFF);
              }
              if(Config.SERVER_LIST_TESTSERVER)
              {
                st.addAttribute(ServerStatus.TEST_SERVER, ServerStatus.ON);
              }
              else
              {
                st.addAttribute(ServerStatus.TEST_SERVER, ServerStatus.OFF);
              }
View Full Code Here

              {
                st.addAttribute(ServerStatus.TEST_SERVER, ServerStatus.ON);
              }
              else
              {
                st.addAttribute(ServerStatus.TEST_SERVER, ServerStatus.OFF);
              }
              if(Config.SERVER_GMONLY)
              {
                st.addAttribute(ServerStatus.SERVER_LIST_STATUS, ServerStatus.STATUS_GM_ONLY);
              }
View Full Code Here

              {
                st.addAttribute(ServerStatus.TEST_SERVER, ServerStatus.OFF);
              }
              if(Config.SERVER_GMONLY)
              {
                st.addAttribute(ServerStatus.SERVER_LIST_STATUS, ServerStatus.STATUS_GM_ONLY);
              }
              else
              {
                st.addAttribute(ServerStatus.SERVER_LIST_STATUS, ServerStatus.STATUS_AUTO);
              }
View Full Code Here

              {
                st.addAttribute(ServerStatus.SERVER_LIST_STATUS, ServerStatus.STATUS_GM_ONLY);
              }
              else
              {
                st.addAttribute(ServerStatus.SERVER_LIST_STATUS, ServerStatus.STATUS_AUTO);
              }
              sendPacket(st);
              if(L2World.getAllPlayersCount() > 0)
              {
                FastList<String> playerList = new FastList<String>();
View Full Code Here

   * @param value
   */
  public void sendServerStatus(int id, int value)
  {
    ServerStatus ss = new ServerStatus();
    ss.addAttribute(id, value);
    try
    {
      sendPacket(ss);
    }
    catch(IOException e)
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.