Package com.l2jfrozen.gameserver.cache

Examples of com.l2jfrozen.gameserver.cache.CrestCache$BmpFilter


      {
        activeChar.sendMessage("Only a clan that owns a clan hall or a castle can get their emblem displayed on clan related items"); //there is a system message for that but didnt found the id
        return;
      }

      CrestCache crestCache = CrestCache.getInstance();

      int newId = IdFactory.getInstance().getNextId();

      if(!crestCache.savePledgeCrestLarge(newId, _data))
      {
        _log.log(Level.INFO, "Error loading large crest of clan:" + clan.getName());
        return;
      }

      if(clan.hasCrestLarge())
      {
        crestCache.removePledgeCrestLarge(clan.getCrestLargeId());
      }

      Connection con = null;

      try
View Full Code Here


      {
        activeChar.sendPacket(new SystemMessage(SystemMessageId.CLAN_LVL_3_NEEDED_TO_SET_CREST));
        return;
      }

      CrestCache crestCache = CrestCache.getInstance();

      int newId = IdFactory.getInstance().getNextId();

      if(clan.hasCrest())
      {
        crestCache.removePledgeCrest(newId);
      }

      if(!crestCache.savePledgeCrest(newId, _data))
      {
        _log.log(Level.INFO, "Error loading crest of clan:" + clan.getName());
        return;
      }
View Full Code Here

      L2Clan leaderclan = ClanTable.getInstance().getClan(activeChar.getAllyId());

      if(activeChar.getClanId() != leaderclan.getClanId() || !activeChar.isClanLeader())
        return;

      CrestCache crestCache = CrestCache.getInstance();

      int newId = IdFactory.getInstance().getNextId();

      if(!crestCache.saveAllyCrest(newId, _data))
      {
        _log.log(Level.INFO, "Error loading crest of ally:" + leaderclan.getAllyName());
        return;
      }

      if(leaderclan.getAllyCrestId() != 0)
      {
        crestCache.removeAllyCrest(leaderclan.getAllyCrestId());
      }

      Connection con = null;

      try
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.cache.CrestCache$BmpFilter

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.