Sr.Set Posted November 22, 2008 Posted November 22, 2008 So i share a simply way for niebies... 1)Go to your datapack in data/scripts/cron/ directory 2)Create a file and name it tvt.py(py is the extension so if you create a txt file and rename it,remove the txt and add py) 3)Open the file and paste import sys from com.l2jfree.gameserver.model.entity.events import TvT TvT.loadData() TvT.autoEvent() save and close it. 4)Finally add in your global tasks the following: INSERT INTO `global_tasks` (`id`, `task`, `type`, `last_activation`, `param1`, `param2`, `param3`) VALUES (996, 'jython', 'TYPE_FIXED_SHEDULED', 1206595935732, '60000', '14400000', 'tvt.py'); "param1" means time since server restart.So in what i share means that event will start 1 minite after restart "param2" means how much time that the event will repeat.In what i share event will start automatic every 4 hours You can change it by your needs(for example you may want every 3 hours) Have fun.....
Philipe Posted November 22, 2008 Posted November 22, 2008 This is have one configuration to add one gift for team that wins? How I configure it? Can you post somes screen shot?
taz1821 Posted February 1, 2009 Posted February 1, 2009 it works perffect gj man!! Tip: "...com.l2jfree.gameserver..." at l2jfree put the server pack that you use l2emu / l2archid
Setekh Posted February 3, 2009 Posted February 3, 2009 copy paste...at least put the creditor's name in the post....EzEraL
daemoneyre Posted February 18, 2009 Posted February 18, 2009 This is have one configuration to add one gift for team that wins? How I configure it? Can you post somes screen shot? U need to configure all that In-Game with //tvt yes how u add , awards ??? Same... //tvt ok nice share but we need a npc to? :D LOL //tvt too
Matim Posted February 18, 2009 Posted February 18, 2009 Very good and simple guide , with smart idea , thanx i will use it . :)
ashendor Posted February 19, 2009 Posted February 19, 2009 Very good and simple guide , with smart idea , thanx i will use it
rubix123 Posted April 13, 2009 Posted April 13, 2009 how to add deathmatch auto event? import sys from com.l2jfree.gameserver.model.entity.events import DM DM.loadData() DM.autoEvent() does not work :S
Matim Posted April 13, 2009 Posted April 13, 2009 I think DM cant be auto started...why ? Becouse You must manualy start registration , event starting and event finishing
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now