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..... Quote
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? Quote
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 Quote
Setekh Posted February 3, 2009 Posted February 3, 2009 copy paste...at least put the creditor's name in the post....EzEraL Quote
symiakos Posted February 17, 2009 Posted February 17, 2009 ok nice share but we need a npc to? :D Quote
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 Quote
Matim Posted February 18, 2009 Posted February 18, 2009 Very good and simple guide , with smart idea , thanx i will use it . :) Quote
djxpaul Posted February 19, 2009 Posted February 19, 2009 Nice ! PS: I like your signature :)))) Quote
ashendor Posted February 19, 2009 Posted February 19, 2009 Very good and simple guide , with smart idea , thanx i will use it Quote
Sortep Posted February 24, 2009 Posted February 24, 2009 thanx for a nice quide, very good share. Quote
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 Quote
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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.