<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[HopZones Community - [Guide]how to make TvT and Ctf automatically]]></title>
		<link>http://hopzones.net/forum/topic/119/</link>
		<description><![CDATA[The most recent posts in [Guide]how to make TvT and Ctf automatically.]]></description>
		<lastBuildDate>Wed, 19 Jan 2011 13:34:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/933/#p933</link>
			<description><![CDATA[<div class="quotebox"><cite>nedal wrote:</cite><blockquote><p>Well most of users will know that but i share it because some ppl on my msn spam and ask me how to make an auto tvt in l2jfree</p><p>So i share a simply way for niebies...</p><p>1)Go to your datapack in data/scripts/cron/ directory<br />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)<br />3)Open the file and paste</p><p>import sys<br />from com.l2jfree.gameserver.model.entity.events import TvT<br />TvT.loadData()<br />TvT.autoEvent()</p><p>save and close it.</p><p>4)Finally add in your global tasks the following:<br />INSERT INTO `global_tasks` (`id`, `task`, `type`, `last_activation`, `param1`, `param2`, `param3`) VALUES <br />(996, &#039;jython&#039;, &#039;TYPE_FIXED_SHEDULED&#039;, 1206595935732, &#039;60000&#039;, &#039;14400000&#039;, &#039;tvt.py&#039;);</p><p>&quot;param1&quot; means time since server restart.So in what i share means that event will start 1 minite after restart<br />&quot;param2&quot; means how much time that the event will repeat.In what i share event will start automatic every 4 hours</p><p>You can change it by your needs(for example you may want every 3 hours)</p><p>Have fun.....</p></blockquote></div><p> Very Nice <img src="http://hopzones.net/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Admin-Hz)]]></author>
			<pubDate>Wed, 19 Jan 2011 13:34:41 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/933/#p933</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/932/#p932</link>
			<description><![CDATA[<p>I wanna ask for event vote auto reward event , i mean server for example get 100 votes , and random raidboss spawn in the center of one of the towns. I wanna manage that , if can help me with it</p>]]></description>
			<author><![CDATA[dummy@example.com (buGGhaCK)]]></author>
			<pubDate>Wed, 19 Jan 2011 12:42:38 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/932/#p932</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/572/#p572</link>
			<description><![CDATA[<p>Well most of users will know that but i share it because some ppl on my msn spam and ask me how to make an auto tvt in l2jfree</p><p>So i share a simply way for niebies...</p><p>1)Go to your datapack in data/scripts/cron/ directory<br />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)<br />3)Open the file and paste</p><p>import sys<br />from com.l2jfree.gameserver.model.entity.events import TvT<br />TvT.loadData()<br />TvT.autoEvent()</p><p>save and close it.</p><p>4)Finally add in your global tasks the following:<br />INSERT INTO `global_tasks` (`id`, `task`, `type`, `last_activation`, `param1`, `param2`, `param3`) VALUES <br />(996, &#039;jython&#039;, &#039;TYPE_FIXED_SHEDULED&#039;, 1206595935732, &#039;60000&#039;, &#039;14400000&#039;, &#039;tvt.py&#039;);</p><p>&quot;param1&quot; means time since server restart.So in what i share means that event will start 1 minite after restart<br />&quot;param2&quot; means how much time that the event will repeat.In what i share event will start automatic every 4 hours</p><p>You can change it by your needs(for example you may want every 3 hours)</p><p>Have fun.....</p>]]></description>
			<author><![CDATA[dummy@example.com (nedal)]]></author>
			<pubDate>Tue, 14 Sep 2010 05:25:49 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/572/#p572</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/556/#p556</link>
			<description><![CDATA[<p>These post is really very helpful in all these there are so many things which is really great. These information which you can share is really very wonderful in all these there are so many things which is really great.</p>]]></description>
			<author><![CDATA[dummy@example.com (rogjack)]]></author>
			<pubDate>Wed, 08 Sep 2010 04:15:58 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/556/#p556</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/483/#p483</link>
			<description><![CDATA[<p>I am agree that your post really nice and also very useful. You have given information that is very wonderful.<br />I am sure many people will like these.</p>]]></description>
			<author><![CDATA[dummy@example.com (nicolajoseph1)]]></author>
			<pubDate>Fri, 06 Aug 2010 11:58:20 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/483/#p483</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/372/#p372</link>
			<description><![CDATA[<p>Thanks .&nbsp; &nbsp;<img src="http://hopzones.net/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Admin-Hz)]]></author>
			<pubDate>Tue, 29 Jun 2010 13:31:20 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/372/#p372</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/368/#p368</link>
			<description><![CDATA[<p>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.</p>]]></description>
			<author><![CDATA[dummy@example.com (roystonparera)]]></author>
			<pubDate>Tue, 29 Jun 2010 09:06:24 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/368/#p368</guid>
		</item>
		<item>
			<title><![CDATA[[Guide]how to make TvT and Ctf automatically]]></title>
			<link>http://hopzones.net/forum/post/175/#p175</link>
			<description><![CDATA[<p>Hello everyone.<br />I wanna help you with l2jfree you dont know how to automate the events?<br />here your answer:</p><p>you must make 2 new files 1 is <strong>tvt.py</strong> and second <strong>ctf.py</strong></p><p>in the codes must only this lines :</p><p><strong>TvT.py</strong><br />Code:<br /></p><div class="quotebox"><blockquote><p>import sys<br />from com.l2jfree.gameserver.model.entity.events import TvT<br />TvT.loadData()<br />TvT.autoEvent()</p></blockquote></div><p><strong>ctf.py</strong><br />Code:<br /></p><div class="quotebox"><blockquote><p>import sys<br />from com.l2jfree.gameserver.model.entity.events import CTF<br />CTF.loadData()<br />CTF.autoEvent()</p></blockquote></div><p>So if you made them correct you must put thise lines in a sql file<br />Code:<br /></p><div class="quotebox"><blockquote><p>[INSERT INTO `global_tasks` VALUES (&#039;4&#039;, &#039;jython&#039;, &#039;TYPE_FIXED_SHEDULED&#039;, &#039;1230423757765&#039;, &#039;1200000&#039;, &#039;3600000&#039;, &#039;tvt.py&#039;);<br />INSERT INTO `global_tasks` VALUES (&#039;5&#039;, &#039;jython&#039;, &#039;TYPE_FIXED_SHEDULED&#039;, &#039;1230425559187&#039;, &#039;3000000&#039;, &#039;3600000&#039;, &#039;CTF.py&#039;);</p></blockquote></div><p>you can edit the time when he starts after a restart and when comes the next event.<br />Have fun with that .</p>]]></description>
			<author><![CDATA[dummy@example.com (Admin-Hz)]]></author>
			<pubDate>Fri, 05 Mar 2010 12:14:13 +0000</pubDate>
			<guid>http://hopzones.net/forum/post/175/#p175</guid>
		</item>
	</channel>
</rss>

