Examples of CastleUpdater


Examples of com.l2jfrozen.gameserver.updaters.CastleUpdater

      }

      if(getOwnerId() > 0)
      {
        L2Clan clan = ClanTable.getInstance().getClan(getOwnerId()); // Try to find clan instance
        ThreadPoolManager.getInstance().scheduleGeneral(new CastleUpdater(clan, 1), 3600000); // Schedule owner tasks to start running
        clan = null;
      }

      rs.close();
      statement.close();
View Full Code Here

Examples of com.l2jfrozen.gameserver.updaters.CastleUpdater

        clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(clan));
        clan.broadcastToOnlineMembers(new PlaySound(1, "Siege_Victory", 0, 0, 0, 0, 0));
        // give crowns
        CrownManager.getInstance().checkCrowns(clan);

        ThreadPoolManager.getInstance().scheduleGeneral(new CastleUpdater(clan, 1), 3600000); // Schedule owner tasks to start running
      }
    }
    catch(Exception e)
    {
      e.printStackTrace();
View Full Code Here

Examples of net.sf.l2j.gameserver.CastleUpdater

            }

            if (getOwnerId() > 0)
            {
                L2Clan clan = ClanTable.getInstance().getClan(getOwnerId());                        // Try to find clan instance
                ThreadPoolManager.getInstance().scheduleGeneral(new CastleUpdater(clan, 1), 3600000);     // Schedule owner tasks to start running
            }

            statement.close();
        }
        catch (Exception e)
View Full Code Here

Examples of net.sf.l2j.gameserver.CastleUpdater

            {
            clan.setHasCastle(getCastleId()); // Set has castle flag for new owner
            new Announcements().announceToAll(clan.getName() + " has taken " + getName() + " castle!");
            clan.broadcastToOnlineMembers(new PledgeShowInfoUpdate(clan));

            ThreadPoolManager.getInstance().scheduleGeneral(new CastleUpdater(clan, 1), 3600000)// Schedule owner tasks to start running
            }
        }
        catch (Exception e)
        {
            System.out.println("Exception: updateOwnerInDB(L2Clan clan): " + e.getMessage());
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.