Page 1 of 4
[HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 6:21 am
by giligan11
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?
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 8:39 am
by SolidSnake
l2jserver/gameserver/model/olympiad/Olympiad.java and find this code:
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();
then replace it with:
Code: Select all
_olympiadEnd = currentTime.getTimeInMillis() + (1000 * 60 * 60 * 24 * 14);
So every 14 days, it will declare heroes.
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 8:59 am
by giligan11
Thanks! This is what I needed
How do I get to l2jserver/gameserver/model/olympiad/Olympiad.java ?
Will I need eclipse for this?
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 9:04 am
by SolidSnake
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 9:07 am
by giligan11
Thank you very much for your help

Much appreciated!
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 9:14 am
by SolidSnake
no problem, good luck

Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 10:04 am
by giligan11
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
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 10:29 am
by SolidSnake
Sorry I have short time

I give and ask help only on the forum
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 10:47 am
by giligan11
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?
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 10:54 am
by SolidSnake
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.
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 11:12 am
by giligan11
Well, that's exactly what I did but when I restarted my server, there were numerous problems found in the gameserver console x_X
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 11:16 am
by SolidSnake
Your server is Epilogue?
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 11:24 am
by giligan11
Yes, l2jdp version 7580 and and l2jversion 4332. I take it there is an incompatibility?
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 11:29 am
by SolidSnake
You must use server with last version
Re: [HELP] Olympiad.properties
Posted: Wed Aug 18, 2010 11:47 am
by giligan11
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?