<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Teeworlds Forum — [TOOL] TwRequest.php - a server status script]]></title>
		<link>https://www.teeworlds.com/forum/viewtopic.php?id=9499</link>
		<atom:link href="https://www.teeworlds.com/forum/extern.php?action=feed&amp;tid=9499&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [TOOL] TwRequest.php - a server status script.]]></description>
		<lastBuildDate>Thu, 12 Jul 2012 09:18:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [TOOL] TwRequest.php - a server status script]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=99116#p99116</link>
			<description><![CDATA[<p>I love your approach and after some reasearch I have <a href="http://teeworlds.botans.org/board/viewtopic.php?f=8&amp;t=516">found someone using it</a><br />they seem to keep it up and collect more data over time. Let us see.</p>]]></description>
			<author><![CDATA[null@example.com (traitor)]]></author>
			<pubDate>Thu, 12 Jul 2012 09:18:39 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=99116#p99116</guid>
		</item>
		<item>
			<title><![CDATA[Re: [TOOL] TwRequest.php - a server status script]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97757#p97757</link>
			<description><![CDATA[<p>You don&#039;t see quality code like this often around here, +1</p><p>Kinda reminds me, I should work on my serverlist lib (Python).<br />IIRC I was working on IPv6 support.</p><p>P.S. It&#039;s asynchronous as well.</p>]]></description>
			<author><![CDATA[null@example.com (m!nus)]]></author>
			<pubDate>Fri, 18 May 2012 19:31:49 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97757#p97757</guid>
		</item>
		<item>
			<title><![CDATA[Re: [TOOL] TwRequest.php - a server status script]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97751#p97751</link>
			<description><![CDATA[<p>Great work dude!</p>]]></description>
			<author><![CDATA[null@example.com (DerHase)]]></author>
			<pubDate>Fri, 18 May 2012 14:17:03 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97751#p97751</guid>
		</item>
		<item>
			<title><![CDATA[Re: [TOOL] TwRequest.php - a server status script]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97747#p97747</link>
			<description><![CDATA[<p>@TeePhoenix: <a href="http://test.teevision.eu/test/index.php">http://test.teevision.eu/test/index.php</a></p><p>@Dune: As this library isn&#039;t installed per default it doesn&#039;t make that much sense to require it.</p>]]></description>
			<author><![CDATA[null@example.com (Teelevision)]]></author>
			<pubDate>Fri, 18 May 2012 11:11:02 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97747#p97747</guid>
		</item>
		<item>
			<title><![CDATA[Re: [TOOL] TwRequest.php - a server status script]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97746#p97746</link>
			<description><![CDATA[<p>If you&#039;re working on such a php script, I would really love to see you using <a href="http://php.net/manual/fr/book.geoip.php">this library</a> for localizing the servers. Would be awesome to see which server is hosted where :&gt;</p>]]></description>
			<author><![CDATA[null@example.com (Dune)]]></author>
			<pubDate>Fri, 18 May 2012 09:38:05 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97746#p97746</guid>
		</item>
		<item>
			<title><![CDATA[Re: [TOOL] TwRequest.php - a server status script]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97745#p97745</link>
			<description><![CDATA[<p>Deleted.</p>]]></description>
			<author><![CDATA[null@example.com (TeePhoenix)]]></author>
			<pubDate>Fri, 18 May 2012 09:03:41 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97745#p97745</guid>
		</item>
		<item>
			<title><![CDATA[[TOOL] TwRequest.php - a server status script]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=97743#p97743</link>
			<description><![CDATA[<p>This PHP script can<br /></p><ul><li><p>load the server list from the master servers,</p></li><li><p>request the status of 0.5 and 0.6 servers and</p></li><li><p>even more.</p></li></ul><p>But the best is that it works fast. Requesting the server list and the status of every server in this list takes around 5 seconds. (It can vary. With some fine tuning it is finish within 2 seconds on my virtual server.)</p><p>I&#039;ve seen a some other PHP scripts doing the same, but usually the scripts take a minute or more to fetch the whole list, because they wait for a server&#039;s response before requesting the next. With 1000 servers where 60 of them time out in one second, such a script of course takes more than a minute. So I&#039;ve taken a different approach and did it like the Teeworlds client: parallel requests.</p><p>My script also provides methods to request just the count of servers on a master server and the last version and list of default maps from the version server. Unfortunately the version server is offline, so i couldn&#039;t test the last two methods. Additionally my script contains a list of all countries that Teeworlds 0.6 supports (maybe even more, because I took the whole ISO 3166-1 list), with the short token and the full name.</p><p>For documentation and download, see this site: <a href="http://code.teele.eu/twrequest">http://code.teele.eu/twrequest</a>.</p>]]></description>
			<author><![CDATA[null@example.com (Teelevision)]]></author>
			<pubDate>Thu, 17 May 2012 23:59:32 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=97743#p97743</guid>
		</item>
	</channel>
</rss>
