1

Topic: [Guide]how to make TvT and Ctf automatically

Hello everyone.
I wanna help you with l2jfree you dont know how to automate the events?
here your answer:

you must make 2 new files 1 is tvt.py and second ctf.py

in the codes must only this lines :

TvT.py
Code:

import sys
from com.l2jfree.gameserver.model.entity.events import TvT
TvT.loadData()
TvT.autoEvent()

ctf.py
Code:

import sys
from com.l2jfree.gameserver.model.entity.events import CTF
CTF.loadData()
CTF.autoEvent()

So if you made them correct you must put thise lines in a sql file
Code:

[INSERT INTO `global_tasks` VALUES ('4', 'jython', 'TYPE_FIXED_SHEDULED', '1230423757765', '1200000', '3600000', 'tvt.py');
INSERT INTO `global_tasks` VALUES ('5', 'jython', 'TYPE_FIXED_SHEDULED', '1230425559187', '3000000', '3600000', 'CTF.py');

you can edit the time when he starts after a restart and when comes the next event.
Have fun with that .

2

Re: [Guide]how to make TvT and Ctf automatically

These information given by you is really nice, I really like all these information, and also hope that many people will really like all these information.

Thumbs up Thumbs down

3

Re: [Guide]how to make TvT and Ctf automatically

Thanks .   smile