Jump to content
  • 0

[Help]Olympiad.


Question

Posted

Hello i need help for olympiad i want new hero every 2 week but i dont know what i must change here :

 

Announcements.getInstance().announceToAll(sm);

 

Calendar currentTime = Calendar.getInstance();

currentTime.add(Calendar.MONTH, 1);

currentTime.set(Calendar.DAY_OF_MONTH, 1);

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

currentTime.set(Calendar.HOUR, 12);

currentTime.set(Calendar.MINUTE, 0);

currentTime.set(Calendar.SECOND, 0);

_olympiadEnd = currentTime.getTimeInMillis();

 

have request who can give me allready changed for new hero every 2 week and i will be happy :(

4 answers to this question

Recommended Posts

  • 0
Posted
  Quote

thanks for replay but one more what u mean here 604800000 * 2 ? i think u mean 604800000 x 2 in calculator? :P

 

i dont must change new hero every 2 week on olympiad.java? only from config?

 

# Olympiad Weekly Period, Default 1 week

AltOlyWPeriod = 604800000

 

i dont have it only i have this

 

#Olympiad Properties

#Mon Apr 12 14:00:02 CEST 2010

CurrentCycle=1

NextWeeklyChange=1271427542876

OlympiadEnd=1272708000876

Period=0

ValdationEnd=0

 

i use l2j-infinity pack.

 

 

 

 

Don't be lazy and search in your files (gameserver/config)

  • 0
Posted

ok i find it i search for bad folders sorry i am tired :(

 

sorry for double post.

 

Thx for help xAddytzu

 

Topic Closed.

Guest
This topic is now closed to further replies.


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