Jump to content

Vkouk

Legendary Member
  • Posts

    4,676
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Vkouk

  1. i use xp now but my pc FUCKED UP. which windows you suggest me to use?
  2. i know btw which windows should i choose? windows 7 or xp? i will format my pc soon nah i've many fans :PP
  3. no more tits
  4. hai nigga chucky my bitch where are you?come and lick me :P hi guys
  5. « on: April 26, 2009, 08:30:21 AM » + dn exi apantisi kanis toso kero ara paei na pi to problem tou exi lu8i h aplos to ksexase locked
  6. he made an another one,so i junked this one
  7. titles fixed leave it open locked
  8. gr spam topic + eng + ro locked
  9. well,thanks guys i think my problem solved.if i have a problem or something i'll reply here.till then locked
  10. Vkouk

    [Icons]For Xp

    thanks for everyone who helped me to find out a solution. re-locked
  11. Vkouk

    [Icons]For Xp

    Also some questios about icons. How i can change my hard disk icon and my default folders icon?
  12. Vkouk

    [Icons]For Xp

    well i prefer icons like black etc. if someone find something plz post it here.
  13. yes i can't see your help bitch
  14. well,i'll lock this topic until Maxtor and g mods decide who will join in gfx rank. When they will be ready,they unlock this topic and announce the 'winners'
  15. At off-topic i postes a topic go and help me plz
  16. should lean ftw Raule thanks for giving me this awesome song :P
  17. Vkouk

    [Icons]For Xp

    already searched. some of them suck come on guys give me more icons
  18. Vkouk

    [Icons]For Xp

    Hey buddies what's up. I would like someone to give me some cool xp icons to use for my my computer icon,my documents etc Thanks in advance
  19. stfu lick my ass
  20. go and smoke some weed bitch
  21. Index: java/config/l2jmods.properties =================================================================== --- java/config/l2jmods.properties (revision 4117) +++ java/config/l2jmods.properties (working copy) @@ -231,7 +231,11 @@ EnableWarehouseSortingClan = False EnableWarehouseSortingPrivate = False +# Announce Castle Lords +# This script will announce the castle lords name when they log in +AnnounceCastleLords = False + + # --------------------------------------------------------------------------- # Offline trade/craft # --------------------------------------------------------------------------- Index: java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java (revision 4117) +++ java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java (working copy) @@ -50,6 +50,7 @@ import com.l2jserver.gameserver.model.actor.L2Character; import com.l2jserver.gameserver.model.actor.instance.L2ClassMasterInstance; import com.l2jserver.gameserver.model.actor.instance.L2PcInstance; +import com.l2jserver.gameserver.model.entity.Castle; import com.l2jserver.gameserver.model.entity.ClanHall; import com.l2jserver.gameserver.model.entity.Couple; import com.l2jserver.gameserver.model.entity.Fort; @@ -408,6 +409,11 @@ if (serverNews != null) sendPacket(new NpcHtmlMessage(1, serverNews)); } + + if (Config.ANNOUNCE_CASTLE_LORDS) + { + notifyCastleOwner(activeChar); + } if (Config.PETITIONING_ALLOWED) PetitionManager.getInstance().checkPetitionMessages(activeChar); @@ -647,4 +653,19 @@ 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: java/com/l2jserver/Config.java =================================================================== --- java/com/l2jserver/Config.java (revision 4117) +++ java/com/l2jserver/Config.java (working copy) @@ -655,6 +655,7 @@ public static int BANKING_SYSTEM_ADENA; public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_CLAN; public static boolean L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE; + public static boolean ANNOUNCE_CASTLE_LORDS; public static boolean OFFLINE_TRADE_ENABLE; public static boolean OFFLINE_CRAFT_ENABLE; public static boolean OFFLINE_SET_NAME_COLOR; @@ -2035,6 +2036,7 @@ L2JMOD_ENABLE_WAREHOUSESORTING_CLAN = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingClan", "False")); L2JMOD_ENABLE_WAREHOUSESORTING_PRIVATE = Boolean.valueOf(L2JModSettings.getProperty("EnableWarehouseSortingPrivate", "False")); + ANNOUNCE_CASTLE_LORDS = Boolean.parseBoolean(L2JModSettings.getProperty("AnnounceCastleLords", "False")); if (TVT_EVENT_PARTICIPATION_NPC_ID == 0) { Don't tell me that you can't even put it.
×
×
  • 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