[Guide]Pos na kanete to diko sas Ctf Event
L2Exploiters DevTeam :: Lineage II Development Greek & English Section :: [General] Lineage II Develop [L2J] Greek
Page 1 of 1
[Guide]Pos na kanete to diko sas Ctf Event
go to data/jscript/cron
create a file named ctf.py py is the extension, do not create it on .txt since it wont suit.
open the file you just created and insert this values
Script:
Code:
import sys
from net.sf.l2j.gameserver.model.entity.events import CTF
CTF.loadData()
CTF.autoEvent()
now this is the sql script that you are gonna insert on the data base with an sql file by the "import" button on your navicat
ok here is what you are gonna insert on the sql file
Code:
INSERT INTO `global_tasks` (`id`, `task`, `type`, `last_activation`, `param1`, `param2`, `param3`) VALUES
(998, 'jython', 'TYPE_FIXED_SHEDULED', 1206595935732, '60000', '21600000', 'ctf.py');
param1 is the time since the server restart.
param 2 is the time since the last event ended
well if you want it each 2 hours or 1 hour its
1hour=3600000
2hour=7200000
Credits : Hopzone Apla na sas help
create a file named ctf.py py is the extension, do not create it on .txt since it wont suit.
open the file you just created and insert this values
Script:
Code:
import sys
from net.sf.l2j.gameserver.model.entity.events import CTF
CTF.loadData()
CTF.autoEvent()
now this is the sql script that you are gonna insert on the data base with an sql file by the "import" button on your navicat
ok here is what you are gonna insert on the sql file
Code:
INSERT INTO `global_tasks` (`id`, `task`, `type`, `last_activation`, `param1`, `param2`, `param3`) VALUES
(998, 'jython', 'TYPE_FIXED_SHEDULED', 1206595935732, '60000', '21600000', 'ctf.py');
param1 is the time since the server restart.
param 2 is the time since the last event ended
well if you want it each 2 hours or 1 hour its
1hour=3600000
2hour=7200000
Credits : Hopzone Apla na sas help
Similar topics
» [Guide]What Is PvP
» [GUIDE]Leveling Exp
» [Guide]Ta id apo ola ta class
» [Guide]How to build your own server
» [Guide]Changelog for v6.61b
» [GUIDE]Leveling Exp
» [Guide]Ta id apo ola ta class
» [Guide]How to build your own server
» [Guide]Changelog for v6.61b
L2Exploiters DevTeam :: Lineage II Development Greek & English Section :: [General] Lineage II Develop [L2J] Greek
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|