Skip to content

help olympiad..!!

Featured Replies

Olympiad Properties
CurrentCycle=2
NextWeeklyChange=1272013210459
OlympiadEnd=1272704400886
Period=0
ValdationEnd=1270198803511

 

 

ayto mou exei mesa sto olympiad properties..

 

8elw na to kanw na vgeno0n ka8e 15 meres ta hero pos 8a to alaxw???

aaa kai aytos o code pu exw twra ka8e pote ina gia ta hero?? help me thanks

Olympiad.java

 

 

Announcements.getInstance().announceToAll(sm);

     

      Calendar currentTime = Calendar.getInstance();

-      currentTime.add(Calendar.MONTH, 1);

-      currentTime.set(Calendar.DAY_OF_MONTH, 1);

+      //currentTime.add(Calendar.MONTH, 1);

+      currentTime.add(Calendar.HOUR, 360);

+      //currentTime.set(Calendar.DAY_OF_MONTH, 1);

+      currentTime.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);

      currentTime.set(Calendar.AM_PM, Calendar.AM);

      currentTime.set(Calendar.HOUR, 12);

      currentTime.set(Calendar.MINUTE, 0);

 

 

Tha bgenoun ana 15 meres , kathe deutera stis 12:00 to mesimeri.

  • Author

kai pou ine ayto to olympiad.java?

/java/net/sf/l2j/gameserver/model/olympiad/Olympiad.java

  • Author

na ta alaxw xwrsi java pws ginete?

na ta alaxw xwrsi java pws ginete?

 

Den ginetai.

 

PS: Stamata ta preconfigured packs , den aksizoun.

Αυτο που σου εδωσε ο Commodus ειναι Java Code.

Αν το Pack σου δεν εινια compile δεν μπορεις να το φτιαξεις εκτος και αν υπαρχει σε καποια Team στα Config.

Olympiad.java

 

Tha bgenoun ana 15 meres , kathe deutera stis 12:00 to mesimeri.

eisai sigouros oti mafto 8a vgenoun ka8e 15? epd leei 360 hours :x

EDIT: aa swstos eisai eida afto tr You can change the Period (currentTime.add(Calendar.HOUR, 336); = 14 days x 24 hours (336hours)) :)))

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.