Package l2p.gameserver.loginservercon

Examples of l2p.gameserver.loginservercon.Attribute


    {
      getLoginServer().setProtocolVersion(0);
    }
    log.info("Registered on login as Server " + _serverId + " : " + _serverName);
    GArray<Attribute> attributes = new GArray<Attribute>();
    attributes.add(new Attribute(Attribute.SERVER_LIST_SQUARE_BRACKET, Config.SERVER_LIST_BRACKET ? Attribute.ON : Attribute.OFF));
    attributes.add(new Attribute(Attribute.SERVER_LIST_CLOCK, Config.SERVER_LIST_CLOCK ? Attribute.ON : Attribute.OFF));
    attributes.add(new Attribute(Attribute.TEST_SERVER, Config.SERVER_LIST_TESTSERVER ? Attribute.ON : Attribute.OFF));
    attributes.add(new Attribute(Attribute.SERVER_LIST_STATUS, Config.SERVER_GMONLY ? Attribute.STATUS_GM_ONLY : Attribute.STATUS_AUTO));
    getLoginServer().setAuthResponsed(true);
    sendPacket(new ServerStatus(attributes));
    if(L2ObjectsStorage.getAllPlayersCount() > 0)
    {
      GArray<String> playerList = new GArray<String>();
View Full Code Here

TOP

Related Classes of l2p.gameserver.loginservercon.Attribute

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.