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!

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...

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