If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:
Hi i need automatic server ShoutDown.
Every Sunday on 5:00 o'clock.
Can you help me ? pls
Automatic shoutdown
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- kimeraweb
- Posts: 55
- Joined: Sat Jul 31, 2010 5:33 pm
- Location: Deutschland
- Contact:
Re: Automatic shoutdown
What you want is not fully developed.
Make a new class extends Task with your preferences, using Calendar (my suggestion).
Add new class to taskmanager/TaskManager.java (where other class are creating new instances).
Now you are available to insert your new task into global_tasks.
Make a new class extends Task with your preferences, using Calendar (my suggestion).
Add new class to taskmanager/TaskManager.java (where other class are creating new instances).
Now you are available to insert your new task into global_tasks.
GS: 4470
DP: 7733
DP: 7733
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: Automatic shoutdown
ofc it is implemented, just search little.
- momo61
- Posts: 1648
- Joined: Fri Jun 06, 2008 2:05 pm
- Location: Europe
Re: Automatic shoutdown
i think you need to add an entry to global_tasks table for it to shut down whenever you want. Try searching a bit like JIV said.
- kimeraweb
- Posts: 55
- Joined: Sat Jul 31, 2010 5:33 pm
- Location: Deutschland
- Contact:
Re: Automatic shoutdown
But it is done for diary, no weekly.JIV wrote:ofc it is implemented, just search little.
If restart are done just one per week, then can use TYPE_FIXED_SHEDULED and calculate in miliseconds the shutdown.
I think easier create a new command for weekly task.
GS: 4470
DP: 7733
DP: 7733
- JIV
- L2j Veteran
- Posts: 1882
- Joined: Sun Jan 06, 2008 8:17 pm
- Location: Slovakia
- Contact:
Re: Automatic shoutdown
1. daily, not diary.
2. weekly is possible as well, if you don't know about something it doesn't mean its not there
2. weekly is possible as well, if you don't know about something it doesn't mean its not there

- kimeraweb
- Posts: 55
- Joined: Sat Jul 31, 2010 5:33 pm
- Location: Deutschland
- Contact:
Re: Automatic shoutdown
Well, uhm... thank you for "diary", I appreciate English support ^^ (really i do)
I was watching with atention, and you're right. It is there, just is not popular
I was watching with atention, and you're right. It is there, just is not popular

GS: 4470
DP: 7733
DP: 7733