[Help] global_tasks

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
Post Reply
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

[Help] global_tasks

Post by Mage »

Hello,

I use global tasks to start DM Event.

id task type last_activation param1 param2 param3
15 jython TYPE_GLOBAL_TASK 1255602600959 1 12:30:00 dm.py
17 jython TYPE_GLOBAL_TASK 1255624200964 1 18:30:00 dm.py
18 jython TYPE_GLOBAL_TASK 1255635000952 1 21:30:00 dm.py

and in scripts/cron/dm.py

Code: Select all

from net.sf.l2j.gameserver.events import DeathMatch DeathMatch.startEvent()
All event starts and works file. But there is a problem.

First day Start (with last_activation set to 0)
Second day doesn't start
Third day Start (with last_activation set to number xxxxxxxxxxx)
ecc ecc

Where is the problem?

Bye, thank :)
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
Mage
Posts: 277
Joined: Fri Apr 17, 2009 2:29 pm

Re: [Help] global_tasks

Post by Mage »

up ..

First and second day started, third day didn't stat, fourth day restart...
Forum rules: Please do not use or alter the official L2J Avatars/Signatures/Names for your personal use.
Post Reply