Jump to content
  • 0

Olympiad Period (L2J Acis)


Question

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

Hi guys can any help me to set olympiad period to 2 weeks? Thank you!

http://www.maxcheaters.com/topic/204629-olympiad-everyweek-for-acis/

if you want make it with configs...

where is numbers create a config like 

config.java
public static int OLYMPIAD_PERIOD_WEEK;
 
OLYMPIAD_PERIOD_WEEK = events.getProperty("OlympiadPeriodWeek", 2);
 
events.properties
 
+#Weeks To End The Olympiad Period for one Week put 1 for two weeks put 2..
+OlympiadPeriodWeek = 2
 

And change this 

 

 

currentTime.add(Calendar.WEEK_OF_MONTH, 1);
to
currentTime.add(Calendar.WEEK_OF_MONTH, Config.OLYMPIAD_PERIOD_WEEK);
Edited by Reborn12
  • Like 1
  • 0
Posted

 

http://www.maxcheaters.com/topic/204629-olympiad-everyweek-for-acis/

if you want make it with configs...

where is numbers create a config like 

config.java
public static int OLYMPIAD_PERIOD_WEEK;
 
OLYMPIAD_PERIOD_WEEK = events.getProperty("OlympiadPeriodWeek", 2);
 
events.properties
 
+#Weeks To End The Olympiad Period for one Week put 1 for two weeks put 2..
+OlympiadPeriodWeek = 2
 

And change this 

currentTime.add(Calendar.WEEK_OF_MONTH, 1);
to
currentTime.add(Calendar.WEEK_OF_MONTH, Config.OLYMPIAD_PERIOD_WEEK);

Thank you, Reborn12 i will test it. I tell you a question, do you have a link with functional vote reward system?

  • 0
Posted

Hi guys can any help me to set olympiad period to 2 weeks? Thank you!

search on shares and files section there is a ton of them take what you want and fix it...:D

  • 0
Posted
On 8/17/2016 at 7:07 PM, Reborn12 said:

http://www.maxcheaters.com/topic/204629-olympiad-everyweek-for-acis/

if you want make it with configs...

where is numbers create a config like 

config.java
public static int OLYMPIAD_PERIOD_WEEK;
 
OLYMPIAD_PERIOD_WEEK = events.getProperty("OlympiadPeriodWeek", 2);
 
events.properties
 
+#Weeks To End The Olympiad Period for one Week put 1 for two weeks put 2..
+OlympiadPeriodWeek = 2
 

And change this 

 

 

currentTime.add(Calendar.WEEK_OF_MONTH, 1);
to
currentTime.add(Calendar.WEEK_OF_MONTH, Config.OLYMPIAD_PERIOD_WEEK);

Thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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