Jump to content

Celestine

Administrators
  • Posts

    5,146
  • Credits

  • Joined

  • Days Won

    280
  • Feedback

    100%

Everything posted by Celestine

  1. if i get any more infos i will update the topic
  2. Index: aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java b/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java --- a/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java (revision 33bdb515614e31c09ae565ef3c2bec0cd9c1fb08) +++ b/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java (date 1623023055776) @@ -3,15 +3,7 @@ import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import java.util.Comparator; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Optional; -import java.util.Set; +import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentSkipListMap; import java.util.concurrent.Future; @@ -6122,7 +6114,47 @@ { return _subclassLock.isLocked(); } - + + + /** + * Send siege info for this player after logging in into the world. + */ + private void sendSiegeInfo(){ + for (Castle castle : CastleManager.getInstance().getCastles()) { + sendMessage(String.format("Castle : %s will have its siege on: %s", getCastleName(castle.getCastleId()), castle.getSiegeDate().getTime())); + } + } + + /** + * Get Name for castle id + * @param id id of the castle + * @return return the right name for the requested name + */ + private String getCastleName(int id){ + switch(id){ + case 1: + return "Gludio"; + case 2: + return "Dion"; + case 3: + return "Giran"; + case 4: + return "Oren"; + case 5: + return "Aden"; + case 6: + return "Innadril"; + case 7: + return "Goddard"; + case 8: + return "Rune"; + case 9: + return "Schuttgart"; + default: return "Not found"; + } + } + + public void onPlayerEnter() { if (isCursedWeaponEquipped()) @@ -6182,6 +6214,8 @@ whItem.scheduleLifeTimeTask(); } } + //Send siege info + sendSiegeInfo(); } public long getLastAccess() Something like this will do, Edit where needed
  3. please check ur messages
  4. also that totally true that what im saying now days none of the members search enough good the forums to find shared content and after they buy and make mistake they call sellers "Scammers"
  5. fact is not about scamming someone but things are crystal clear when a code is shared for free somewhere and someone is, trying to sell it others will call this a scam because you are trying to fool people who have no idea about java coding...
  6. Classic Updater Description: Public utility for client updates, but with modifications. What has been done: At the moment, the calculation of the hash sum has been replaced with xHash instead of crc32 and the excess has been removed. PS: Generate your own test signature in the project settings. Download
  7. Topic Updated & New Features added.
  8. It's L2Font.utx / Zonename-e.dat / Localization.ini which u need
  9. no it's not wrong file on youtube Description theres a link tho it's the same
  10. im on vacations until 25 june so i have no softwares there.
  11. this code seems not obufuscated :D they just copy pasted from other interface and replaced.
  12. Description: Golden Armor Assassin for High Five. Chronicles: High Five Size: 5.81 MB Download
  13. Link has been updated :)
  14. could you show me? the author that made that interface has no any programs to obufuscate his share.
  15. There u can find the updated links.
  16. можешь показать мне критическую ошибку?
  17. у этого сервера есть защита вот почему какая у них защита?
  18. @Frank This guy is trully amazing person he can decrypt anything u want he knows his way not many people will do this but he will +1 for his amazing services!
  19. Hello, you have this lag because of pro-managed ddos protection of server you are not the only one with this issue since the author solved the issue Locked.
  20. One of the best servers that is coming soon this guy has great ideas worth to give a try you wont regret it.
  21. Pony didnt answered any messages Banned Permamently. Locked.
  22. Irrelevant
  23. whats your problem with my flag? no im not ashamed
  24. Those servers wont last even two weeks all h5 servers are mid low rates which worth to play now days there was l2aeron which was pvp svr and population was low after so many years of l2aeron anyway on topic i guess x5 x15 rates are the best
×
×
  • Create New...