Page 1 of 1
Olympiad Set days
Posted: Wed Jun 28, 2017 12:27 pm
by puchuperro
Hi every one i use marter branch
i will like to set olympiad only friday and saturday and give hero every week
is that posible ??
sorry i am new , but leaning , ty all
Re: Olympiad Set days
Posted: Thu Jun 29, 2017 7:38 am
by JMD
puchuperro wrote: ↑Wed Jun 28, 2017 12:27 pm
Hi every one i use marter branch
i will like to set olympiad only friday and saturday and give hero every week
is that posible ??
sorry i am new , but leaning , ty all
This should get you 50% of the way.
Re: Olympiad Set days
Posted: Thu Jun 29, 2017 2:34 pm
by puchuperro
I tryed , but when i copile give me error
\git\l2j_server\src\main\java\com\l2jserver\gameserver\model\olympiad\Olympiad.java:610: error: cannot find symbol
Announcements.getInstance().announceToAll(sm);
^
symbol: variable Announcements
location: class Olympiad
> Building 5% > :compileJava
there is not somethig more simple???
Re: Olympiad Set days
Posted: Sat Jul 01, 2017 1:59 pm
by JMD
puchuperro wrote: ↑Thu Jun 29, 2017 2:34 pm
I tryed , but when i copile give me error
\git\l2j_server\src\main\java\com\l2jserver\gameserver\model\olympiad\Olympiad.java:610: error: cannot find symbol
Announcements.getInstance().announceToAll(sm);
^
symbol: variable Announcements
location: class Olympiad
> Building 5% > :compileJava
there is not somethig more simple???
there are no simple solutions with l2j, try adding the patch manually (copy - paste then remove the +)
or look where the Announcements.java has been moved and fix the import path.
Re: Olympiad Set days
Posted: Tue Jul 04, 2017 1:15 pm
by puchuperro
Thx for all
No posible to add somethig like this???
Calendar now = Calendar.getInstance();
int day = now.get(Calendar.DAY_OF_WEEK);
if (day >= Calendar.MONDAY && day <= Calendar.FRIDAY)
// do something
Re: Olympiad Set days
Posted: Tue Jul 04, 2017 4:16 pm
by Zoey76
I've requested a developer to check it and evaluate if we can add it to the source as a configurable setting.
Re: Olympiad Set days
Posted: Thu Jul 20, 2017 10:35 am
by puchuperro
Thx Zoey76 that will be helpfull for all noobs like me
Re: Olympiad Set days
Posted: Sun Dec 10, 2017 5:59 am
by puchuperro
puchuperro wrote: ↑Thu Jul 20, 2017 10:35 am
Thx Zoey76 that will be helpfull for all noobs like me
Any news ???