[HELP] Olympiad.properties

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

[HELP] Olympiad.properties

Post 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?
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: [HELP] Olympiad.properties

Post 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.
Last edited by SolidSnake on Tue Sep 07, 2010 2:41 pm, edited 1 time in total.
Image
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

Re: [HELP] Olympiad.properties

Post by giligan11 »

Thanks! This is what I needed :D

How do I get to l2jserver/gameserver/model/olympiad/Olympiad.java ?
Will I need eclipse for this?
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: [HELP] Olympiad.properties

Post by SolidSnake »

Yes, download this with eclipse:

http://l2jserver.com/svn/trunk/L2_GameServer/
Image
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

Re: [HELP] Olympiad.properties

Post by giligan11 »

Thank you very much for your help :D Much appreciated!
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: [HELP] Olympiad.properties

Post by SolidSnake »

no problem, good luck :)
Image
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

Re: [HELP] Olympiad.properties

Post 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 :D Please help me T_T
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: [HELP] Olympiad.properties

Post by SolidSnake »

Sorry I have short time :? I give and ask help only on the forum
Image
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

Re: [HELP] Olympiad.properties

Post by giligan11 »

Ok, then one last question then :D 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?
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: [HELP] Olympiad.properties

Post 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.
Image
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

Re: [HELP] Olympiad.properties

Post 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
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: [HELP] Olympiad.properties

Post by SolidSnake »

Your server is Epilogue?
Image
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

Re: [HELP] Olympiad.properties

Post by giligan11 »

Yes, l2jdp version 7580 and and l2jversion 4332. I take it there is an incompatibility?
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: [HELP] Olympiad.properties

Post by SolidSnake »

You must use server with last version
Image
giligan11
Posts: 27
Joined: Wed Jul 21, 2010 8:54 am

Re: [HELP] Olympiad.properties

Post 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?
Post Reply