[HELP] Olympiad.properties
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
[HELP] Olympiad.properties
Hi! I am using the latest GE rev pack. I need help regarding Olympiad hero declaration. I wanted it to be every 2 weeks. I have altered Olympiad.properties and nothing has happened. Do I need to modify stuff on the core for this? I would appreciate any help on this problem. Thank you!
What does this line mean?
# Olympiad Weekly Period, Default 1 week
# Used for adding points to nobles
# Default: 604800000
AltOlyWPeriod = 604800000
Also, in Navicat, in Olympiad_data, there are values there. Does it have any connection with my problem? If so, do I need to change the values in there as well?
What does this line mean?
# Olympiad Weekly Period, Default 1 week
# Used for adding points to nobles
# Default: 604800000
AltOlyWPeriod = 604800000
Also, in Navicat, in Olympiad_data, there are values there. Does it have any connection with my problem? If so, do I need to change the values in there as well?
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: [HELP] Olympiad.properties
l2jserver/gameserver/model/olympiad/Olympiad.java and find this code:
then replace it with:
So every 14 days, it will declare heroes.
Code: Select all
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();
Code: Select all
_olympiadEnd = currentTime.getTimeInMillis() + (1000 * 60 * 60 * 24 * 14);
Last edited by SolidSnake on Tue Sep 07, 2010 2:41 pm, edited 1 time in total.

-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
Re: [HELP] Olympiad.properties
Thanks! This is what I needed
How do I get to l2jserver/gameserver/model/olympiad/Olympiad.java ?
Will I need eclipse for this?

How do I get to l2jserver/gameserver/model/olympiad/Olympiad.java ?
Will I need eclipse for this?
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
Re: [HELP] Olympiad.properties
Thank you very much for your help
Much appreciated!

- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
Re: [HELP] Olympiad.properties
Hi! I am done downloading it. However, I do have a lot of questions that need answering. If you have a yahoo messenger or msn where I could contact you for your help, I would be grateful
Please help me T_T

- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
Re: [HELP] Olympiad.properties
Ok, then one last question then
I have downloaded it, and I have made the necessary changes to it like you said. Do I need to compile the whole server pack and use it as the new one to implement the changes?

- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: [HELP] Olympiad.properties
After compilation, copy l2jserver.jar in 'build' folder and paste it in your 'gameserver' folder
EDIT: Then, if you have time, check if it works.
EDIT: Then, if you have time, check if it works.

-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
Re: [HELP] Olympiad.properties
Well, that's exactly what I did but when I restarted my server, there were numerous problems found in the gameserver console x_X
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
Re: [HELP] Olympiad.properties
Yes, l2jdp version 7580 and and l2jversion 4332. I take it there is an incompatibility?
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
-
- Posts: 27
- Joined: Wed Jul 21, 2010 8:54 am
Re: [HELP] Olympiad.properties
So you're saying I have to upgrade my server pack to the latest version? I will be reinstalling it all again and back up my files on Navicat and all those stuff related to building a new server from scratch?