Page 1 of 1

[Help] global_tasks

Posted: Fri Oct 16, 2009 7:45 pm
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 :)

Re: [Help] global_tasks

Posted: Sun Oct 18, 2009 4:33 pm
by Mage
up ..

First and second day started, third day didn't stat, fourth day restart...