Jump to content

Vkouk

Legendary Member
  • Posts

    4,676
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Vkouk

  1. he is Emo Queen
  2. morning trele
  3. at 7.30 at morning grisom watching my profile :P
  4. locked.oti alo exi sxesi me to l2mxc na to post sto forum tou edo eine mxc sketo
  5. Index: /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java =================================================================== --- /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java (revision 331) +++ /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java (revision 332) @@ -307,4 +307,5 @@ public static boolean ENABLE_PMREFUSAL_COMMAND; public static boolean ANNOUNCE_RAID_RESPAWN; + public static boolean ANNOUNCE_CASTLE_LORDS; /** Event Settings Parameters */ @@ -1706,4 +1707,5 @@ BLOW_BACK_RATE = Integer.parseInt(Modifications.getProperty("BackBlow", "70")); ANNOUNCE_RAID_RESPAWN = Boolean.parseBoolean(Modifications.getProperty("AnnounceRaidRespawn", "False")); + ANNOUNCE_CASTLE_LORDS = Boolean.parseBoolean(Modifications.getProperty("AnnounceCastleLords", "False")); } catch (Exception e) Index: /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 294) +++ /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 332) @@ -34,4 +34,5 @@ import net.sf.l2j.gameserver.datatables.MapRegionTable; import net.sf.l2j.gameserver.handler.AdminCommandHandler; +import net.sf.l2j.gameserver.instancemanager.CastleManager; import net.sf.l2j.gameserver.instancemanager.ClanHallManager; import net.sf.l2j.gameserver.instancemanager.CoupleManager; @@ -46,4 +47,5 @@ import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance; +import net.sf.l2j.gameserver.model.entity.Castle; import net.sf.l2j.gameserver.model.entity.ClanHall; import net.sf.l2j.gameserver.model.entity.Couple; @@ -254,4 +256,9 @@ sendPacket(new NpcHtmlMessage(1, serverNews)); } + + if (Config.ANNOUNCE_CASTLE_LORDS) + { + notifyCastleOwner(activeChar); + } /** @@ -521,3 +528,18 @@ activeChar.setPledgeClass(pledgeClass); } + + private void notifyCastleOwner(L2PcInstance activeChar) + { + L2Clan clan = activeChar.getClan(); + + if (clan != null) + { + if (clan.getHasCastle() > 0) + { + Castle castle = CastleManager.getInstance().getCastleById(clan.getHasCastle()); + if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId())) + Announcements.getInstance().announceToAll("Player: " + activeChar.getName() + " Lord of: " + castle.getName() + " Castle is Now Online!"); + } + } + } } Index: /Server/Ventic's_IL_GS/Settings/Modifications.properties =================================================================== --- /Server/Ventic's_IL_GS/Settings/Modifications.properties (revision 331) +++ /Server/Ventic's_IL_GS/Settings/Modifications.properties (revision 332) @@ -208,4 +208,8 @@ ClanTitle = False +# Announce Castle Lords +# This script will announce the castle lords name when they log in +AnnounceCastleLords = False +
  6. « on: January 14, 2006, 11:44:03 AM » locked
  7. Posts: 0 (0 per day)
  8. aren't you?
  9. MaxHackers.com Users Logged In Today Ventic, nextlive, dhmhtrhs1984, ExTrEmEDwarf, aasi888, dimco, Coy0te Even l2 forums,are more populated than our warez forum :P
  10. come on maxtor,mxc before 2 days had 430+ members online. we are da top ;d
  11. you spam too :P
  12. you just spam spam spam
  13. Spam Topics 1821 Report Section 800 [Request] Dev Help [L2J] Gr 641 [share] Lineage II Client Mods 568 Maxcheaters Staff 513 Off-Topics 317 [General] Lineage II Develop [L2J] Greek 294 Junkyard Posts 281 [Request] Client Mods Help 175 [Photoshop] Misc 163
  14. locked.whenever you want pm me to unlock it
  15. plus i am bored to start spamming ;P
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock