Jump to content
  • 0

Question

Posted

Kalispera sas .

 

Gnorizo pos mporo na alakso tin proti imera tou siege.

Thelo omos to Giran Siege na ginete kathe treis imeres kai i epilogi oras apo tous Owner na ginete mesa se ena euros oron (14:00 eos 22:00) .

 

Iparxei kapoios tropos na to epitixo auto ?

 

Euxaristo

 

3 answers to this question

Recommended Posts

  • 0
Posted

To vrika se ena allo site kai to metafero .

Den einai diko mou .

 

   1. Index: java/com/l2jserver/gameserver/model/entity/Siege.java
   2. ===================================================================
   3. --- java/com/l2jserver/gameserver/model/entity/Siege.java   (revision 3770)
   4. +++ java/com/l2jserver/gameserver/model/entity/Siege.java   (working copy)
   5. @@ -26,7 +26,6 @@
   6. import com.l2jserver.Config;
   7. import com.l2jserver.L2DatabaseFactory;
   8. import com.l2jserver.gameserver.Announcements;
   9. -import com.l2jserver.gameserver.SevenSigns;
  10. import com.l2jserver.gameserver.ThreadPoolManager;
  11. import com.l2jserver.gameserver.datatables.ClanTable;
  12. import com.l2jserver.gameserver.datatables.MapRegionTable;
  13. @@ -1113,14 +1112,6 @@
  14.          setNextSiegeDate();
  15.       }
  16.  
  17. -      if (!SevenSigns.getInstance().isDateInSealValidPeriod(getCastle().getSiegeDate()))
  18. -      {
  19. -         // no sieges in Quest period! reschedule it to the next SealValidationPeriod
  20. -         // This is usually caused by server being down
  21. -         corrected = true;
  22. -         setNextSiegeDate();
  23. -      }
  24. -
  25.       if (corrected)
  26.          saveSiegeDate();
  27.    }
  28. @@ -1406,19 +1397,9 @@
  29.    {
  30.       while (getCastle().getSiegeDate().getTimeInMillis() < Calendar.getInstance().getTimeInMillis())
  31.       {
  32. -         if (getCastle().getSiegeDate().get(Calendar.DAY_OF_WEEK) != Calendar.SATURDAY && getCastle().getSiegeDate().get(Calendar.DAY_OF_WEEK) != Calendar.SUNDAY)
  33. -            getCastle().getSiegeDate().set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY);
  34. -         // from CT2.3 Castle sieges are on Sunday, but if server admins allow to set day of the siege
  35. -         // than sieges can occur on Saturdays as well
  36. -         if (getCastle().getSiegeDate().get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY && !Config.CL_SET_SIEGE_TIME_LIST.contains("day"))
  37. -            getCastle().getSiegeDate().set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);
  38. -         // set the next siege day to the next weekend
  39. -         getCastle().getSiegeDate().add(Calendar.DAY_OF_MONTH, 7);
  40. +         getCastle().getSiegeDate().setTimeInMillis(getCastle().getSiegeDate().getTimeInMillis() + 604800000L);
  41.       }
  42.  
  43. -      if (!SevenSigns.getInstance().isDateInSealValidPeriod(getCastle().getSiegeDate()))
  44. -         getCastle().getSiegeDate().add(Calendar.DAY_OF_MONTH, 7);
  45. -
  46.       SystemMessage sm = new SystemMessage(SystemMessageId.S1_ANNOUNCED_SIEGE_TIME);
  47.       sm.addString(getCastle().getName());
  48.       Announcements.getInstance().announceToAll(sm);

 

Parakalo opos metakinithei to topic an einai se lathos section .

Aplos prospatho na kliso ta topic pou anoiksa

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..