Jump to content

Dulens.

Banned
  • Posts

    3,353
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Dulens.

  1. δεν νομίζω να ισχύει.
  2. o_o romeo you started java? good try +1.
  3. http://maxcheaters.com/forum/index.php?topic=242525.msg2209789#msg2209789
  4. hahahaahahhaa it is so funny
  5. Hello, I am selling my friend's account. Server : EUNE (East) Elo : 1468 Top Elo : 1538 Champions : 85-90 Skins : 50+ Runes : 3 Rune pages for adcarry + 1 Rune page for solo top or ap. Normal Wins : 800-900 Price : 250-300 Euro
  6. xp-dev.com
  7. one question, it needs any database connection to store namer's status?
  8. και μετά τους βρίζεις επειδή σε λένε γύφτο.
  9. Thanks but where I have to add "return;" ?
  10. Hello, I thought to add announcements in my server and I did by this way. I am still newbie in java* so I don't know if works correct. It's really easy, but I do practice. ### Eclipse Workspace Patch 1.0 #P aCis_gameserver Index: java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java =================================================================== --- java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 9) +++ java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (working copy) @@ -23,6 +23,7 @@ import net.sf.l2j.gameserver.datatables.MapRegionTable; import net.sf.l2j.gameserver.datatables.SkillTable; import net.sf.l2j.gameserver.datatables.SkillTable.FrequentSkill; +import net.sf.l2j.gameserver.instancemanager.CastleManager; import net.sf.l2j.gameserver.instancemanager.ClanHallManager; import net.sf.l2j.gameserver.instancemanager.CoupleManager; import net.sf.l2j.gameserver.instancemanager.DimensionalRiftManager; @@ -34,6 +35,7 @@ import net.sf.l2j.gameserver.model.L2World; import net.sf.l2j.gameserver.model.actor.L2Character; 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; import net.sf.l2j.gameserver.model.entity.Siege; @@ -110,6 +112,7 @@ activeChar.sendPacket(new PledgeSkillList(activeChar.getClan())); notifyClanMembers(activeChar); notifySponsorOrApprentice(activeChar); + Announcements(activeChar); // Add message at connexion if clanHall not paid. ClanHall clanHall = ClanHallManager.getInstance().getClanHallByOwner(activeChar.getClan()); @@ -250,6 +253,35 @@ activeChar.teleToLocation(MapRegionTable.TeleportWhereType.Town); } + public static void Announcements(L2PcInstance activeChar) + { + if (activeChar.isHero()) + { + Announcements.announceToAll("Hero "+activeChar.getName()+" has been logged in."); + } + + /** + * + * if (activeChar.isVip()) + * { + * Announcements.announceToAll("VIP "+activeChar.getName()+" has been logged in."); + * } + * + */ + + L2Clan clan = activeChar.getClan(); + + if (clan != null) + { + if (clan.hasCastle()) + { + Castle castle = CastleManager.getInstance().getCastleById(clan.getCastleId()); + if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId())) + Announcements.announceToAll("Lord " + activeChar.getName() + " ruler of " + castle.getName() + " castle is now online!"); + } + } + } + private static void engage(L2PcInstance cha) { int _chaid = cha.getObjectId(); VIP has /** because VIP system is not implemented. This code includes : Hero, VIP, Castle Lord announcements. Coded on aCis, have fun!
  11. Hello, since Tryskell dropped javalution dropped FastMap too. What I have to use instead of FastMap? Thanks in advance.
  12. Zake, Psomas2.
  13. cursingq = Psych_O
  14. Dulens.

    lock

    Yes you need ban.
  15. How I can change the default open of html file? It is with Web Browser and I want to do it with Text Editor. Thanks in advance!
×
×
  • 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