<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="includes/rss/rss_20.xsl" ?>

<rss version="2.0" 
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
 xmlns:admin="http://webns.net/mvcb/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

<channel>
<title>BAD SQUAD</title>
<link>http://badsquad.com</link>
<description>An alternative view</description>
<copyright>BAD SQUAD</copyright>
<generator>BAD SQUAD Evo RSS Parser</generator>
<ttl>60</ttl>

<image>
<title>BAD SQUAD</title>
<url>http://badsquad.com/images/evo/minilogo.gif</url>
<link>http://badsquad.com</link>
<width>94</width>
<height>15</height>
<description>BAD Squad Powered Site</description>
</image>
<dc:language>en-us</dc:language>
<dc:creator>admin@badsquad.net</dc:creator>
<dc:date>2010-09-05T16:11:50-06:00</dc:date>

<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2010-09-05T16:11:50-06:00</sy:updateBase>

<item>
<title>New Ventrilo Block v3.0 released</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=747#3890</link>
<description><![CDATA[Most likely your web host has the port blocked and unless they will open them, the block will not work. &#xA0;I have a simple status block somewhere, if you search the forum here you will probably find it. &#xA0;I think v3.0 doesn't need the ports and you can download that from Mac's site.<br />
<br />
Hope this helps.]]></description>
<guid isPermaLink="false">3890@http://badsquad.com</guid>
<dc:subject>New Ventrilo Block v3.0 released</dc:subject>
<dc:date>2010-06-27T14:51:22-06:00</dc:date>
</item>

<item>
<title>sig test</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=660#3886</link>
<description><![CDATA[Some of the sigs are using the alliedwarclans.com domain to call the music file. &#xA0;I no longer have that domain.]]></description>
<guid isPermaLink="false">3886@http://badsquad.com</guid>
<dc:subject>sig test</dc:subject>
<dc:date>2010-03-05T05:20:22-06:00</dc:date>
</item>

<item>
<title>Hey Gang</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=748#3885</link>
<description><![CDATA[lo was i don't see anybody here eather [b][marq=up][font=Arial Black][/font]<span style="font-size: 24px; line-height: normal"></span><span style="color: red"></span>IS ANYBODY HOME /]]></description>
<guid isPermaLink="false">3885@http://badsquad.com</guid>
<dc:subject>Hey Gang</dc:subject>
<dc:date>2010-03-04T23:21:19-06:00</dc:date>
</item>

<item>
<title>wake up</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=746#3880</link>
<description><![CDATA[um ok &#xA0;if you say so your the boss]]></description>
<guid isPermaLink="false">3880@http://badsquad.com</guid>
<dc:subject>wake up</dc:subject>
<dc:date>2009-04-15T19:06:18-06:00</dc:date>
</item>

<item>
<title>BF2 PC Specs help</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=93#3875</link>
<description><![CDATA[wow this is old . lol pecknerhead <img src="http://badsquad.com/modules/Forums/images/smiles/icon_evil.gif" alt="Evil or Very Mad" title="Evil or Very Mad" border="0" /> &#xA0;YANKER &#xA0;if you want you can send it . i have an old 2 gig tower ill send my address to you in pm i need to anyway .<br />
 <br />
 <img src="http://badsquad.com/modules/Forums/images/smiles/icon_exclaim.gif" alt="Exclamation" title="Exclamation" border="0" /> &#xA0;<br />
SMOKIN]]></description>
<guid isPermaLink="false">3875@http://badsquad.com</guid>
<dc:subject>BF2 PC Specs help</dc:subject>
<dc:date>2009-03-08T13:06:17-06:00</dc:date>
</item>

<item>
<title>holy chit</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=744#3874</link>
<description><![CDATA[Hey bro!]]></description>
<guid isPermaLink="false">3874@http://badsquad.com</guid>
<dc:subject>holy chit</dc:subject>
<dc:date>2009-03-06T05:09:01-06:00</dc:date>
</item>

<item>
<title>June 14</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=550#3867</link>
<description><![CDATA[+1]]></description>
<guid isPermaLink="false">3867@http://badsquad.com</guid>
<dc:subject>June 14</dc:subject>
<dc:date>2009-03-05T14:03:25-06:00</dc:date>
</item>

<item>
<title>Nuke-Evo  User Info IP Address [FIX] 2.0.7</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=719#3866</link>
<description><![CDATA[interesting discussion! <img src="http://badsquad.com/modules/Forums/images/smiles/icon_smile.gif" alt="Smile" title="Smile" border="0" />]]></description>
<guid isPermaLink="false">3866@http://badsquad.com</guid>
<dc:subject>Nuke-Evo  User Info IP Address [FIX] 2.0.7</dc:subject>
<dc:date>2009-03-05T14:02:52-06:00</dc:date>
</item>

<item>
<title>Ventrilo Block issues</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=724#3842</link>
<description><![CDATA[Hello there ive got a problem with the Vent. block. i did fallow the &amp;#x22;read me&amp;#x22;<br />
BUT my vent does not display <br />
<br />
Ive downloaded it from clan themes...<br />
<br />
<br />
This is my ventrilo.php<br />
CODE<br />
Please help<br />
<br />
<br />
<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center" class="bodyline"><tr><td><span class="genmed"><strong>Code:</strong></span></td></tr><tr><td class="code"><code> &amp;#x3C;php&amp;#x3E;m_cmdcode	= &amp;#x22;2&amp;#x22;;				// Detail mode. 1=General, 2=Detailed



$stat-&amp;#x3E;m_cmdhost	= &amp;#x22;ventrilo.lowpings.net&amp;#x22;;	// Hostname or IP address of target machine running the Ventrilo server.



$stat-&amp;#x3E;m_cmdport	= &amp;#x22;4230&amp;#x22;;			// Port to be statused.



$stat-&amp;#x3E;m_cmdpass	= &amp;#x22;&amp;#x22;;		// Server password if necessary.



$connectlink = 1;						// 1= Show connection Link, 2 = Do not show connection link.



//***************************************************************************************************************



//***************************************************************************************************************







$rc = $stat-&amp;#x3E;Request&#40;&#41;;



if &#40; $rc &#41;



&#123;



		echo &amp;#x22;&amp;#x3C;table&amp;#x3E;&amp;#x3C;tr&amp;#x3E;&amp;#x3C;td&amp;#x3E;&amp;#x22;;



		echo &amp;#x22;&amp;#x3C;br&amp;#x3E;CVentriloStatus-&amp;#x3E;Request&#40;&#41; failed. &amp;#x3C;strong&amp;#x3E;$stat-&amp;#x3E;m_error&amp;#x3C;/strong&amp;#x3E;&amp;#x3C;br&amp;#x3E;&amp;#x3C;br&amp;#x3E;
&amp;#x22;;



		echo &amp;#x22;&amp;#x3C;/td&amp;#x3E;&amp;#x3C;/tr&amp;#x3E;&amp;#x3C;/table&amp;#x3E;&amp;#x22;;



&#125;





echo &amp;#x22;&amp;#x3C;br&amp;#x3E;
&amp;#x22;;



echo &amp;#x22;&amp;#x3C;center&amp;#x3E;&amp;#x3C;table&amp;#x3E;
&amp;#x22;;



if &#40;!$stat-&amp;#x3E;m_cmdpass&#41; &#123;



$connect = &amp;#x22;ventrilo&#58;//$stat-&amp;#x3E;m_cmdhost&#58;$stat-&amp;#x3E;m_cmdport/servername=$stat-&amp;#x3E;m_name&amp;#x22;;



&#125; else &#123;



$connect = &amp;#x22;ventrilo&#58;//$stat-&amp;#x3E;m_cmdhost&#58;$stat-&amp;#x3E;m_cmdport/servername=$stat-&amp;#x3E;m_name&amp;#x26;serverpassword=$stat-&amp;#x3E;m_cmdpass&amp;#x22;;



&#125;





$name2 = &amp;#x22;$stat-&amp;#x3E;m_name&amp;#x22;;



VentriloDisplayEX3&#40; $stat, $name2, 0, 0 &#41;;



echo &amp;#x22;&amp;#x3C;/table&amp;#x3E;&amp;#x3C;/center&amp;#x3E;
&amp;#x22;;







function VentriloDisplayEX3&#40; &amp;#x26;$stat, $name2, $cid, $bgidx &#41; &#123;



global $module_name;




	$chan = $stat-&amp;#x3E;ChannelFind&#40; $cid &#41;;



	



	if &#40; $bgidx % 2 &#41;



		$bg = &amp;#x22;#666666&amp;#x22;;



	else



		$bg = &amp;#x22;#333333&amp;#x22;;



		



	$isopen = false;



	



	for &#40; $i = 0; $i &amp;#x3C;stat&amp;#x3E;m_channelcount; $i++ &#41;



	&#123;



		if &#40; $stat-&amp;#x3E;m_channellist&#91; $i &#93;-&amp;#x3E;m_pid == $chan-&amp;#x3E;m_cid &#41;



		&#123;



			$isopen = true;



			break;



		&#125;



	&#125;



	



	for &#40; $i = 0; $i &amp;#x3C;stat&amp;#x3E;m_clientcount; $i++ &#41;



	&#123;



		if &#40; $stat-&amp;#x3E;m_clientlist&#91; $i &#93;-&amp;#x3E;m_cid == $chan-&amp;#x3E;m_cid &#41;



		&#123;



			$isopen = true;



			break;



		&#125;



	&#125;



	



	if &#40; $cid == 0 &#41;



	&#123;



		$icon = &amp;#x22;/Ventrilo_Status/venticon_server.png&amp;#x22;;



	&#125;



	else



	&#123;



		if &#40; $chan-&amp;#x3E;m_prot &#41;



			$icon = &#40;$isopen&#41; ? &amp;#x22;/Ventrilo_Status/venticon_chanpassopen.png&amp;#x22; &#58; &amp;#x22;/Ventrilo_Status/venticon_chanpass.png&amp;#x22;;



		else



			$icon = &#40;$isopen&#41; ? &amp;#x22;/Ventrilo_Status/venticon_chanopen.png&amp;#x22; &#58; &amp;#x22;/Ventrilo_Status/venticon_chan.png&amp;#x22;;



	&#125;




	$fg = &amp;#x22;#FFFFFF&amp;#x22;;



	



	if &#40; $chan-&amp;#x3E;m_prot &#41;



	&#123;



		if &#40; $bgidx %2 &#41;



			$bg = &amp;#x22;#660000&amp;#x22;;



		else



			$bg = &amp;#x22;#330000&amp;#x22;;



	&#125;
 &amp;#xA0;



	echo &amp;#x22;&amp;#x3C;tr&amp;#x3E;&amp;#x22;;



	echo &amp;#x22;&amp;#x3C;td&amp;#x3E;&amp;#x22;;



	echo &amp;#x22;&amp;#x3C;div&amp;#x3E;&amp;#x22;;



	echo &amp;#x22;&amp;#x3C;img src=&amp;#x22;$icon\&amp;#x22; align=&amp;#x22;absmiddle\&amp;#x22;&amp;#x3E;&amp;#x3C;/img&amp;#x3E;&amp;#x22;;



	echo &amp;#x22;&amp;#x3C;strong&amp;#x3E;&amp;#x22;;



	echo $name2;



	echo &amp;#x22;&amp;#x3C;/strong&amp;#x3E;&amp;#x22;;



	echo &amp;#x22;&amp;#x3C;/div&amp;#x3E;&amp;#x22;;



	



	echo &amp;#x22;&amp;#x3C;table&amp;#x3E;
&amp;#x22;;



	



	for &#40; $i = 0; $i &amp;#x3C;count&amp;#x3E;m_clientlist &#41;; $i++ &#41;



	&#123;



		$client = $stat-&amp;#x3E;m_clientlist&#91; $i &#93;;



		



		if &#40; $client-&amp;#x3E;m_cid != $cid &#41;



			continue;



		



		echo &amp;#x22;&amp;#x3C;tr&amp;#x3E;&amp;#x22;;





		echo &amp;#x22;&amp;#x3C;td&amp;#x3E;&amp;#x22;;



	

		echo &amp;#x22;&amp;#x3C;div&amp;#x3E;&amp;#x22;;

		



		$icon = &amp;#x22;/Ventrilo_Status/venticon_voiceoff.png&amp;#x22;;



		echo &amp;#x22;&amp;#x3C;img src=&amp;#x22;$icon\&amp;#x22; align=&amp;#x22;absmiddle\&amp;#x22;&amp;#x3E;&amp;#x3C;/img&amp;#x3E;&amp;#x22;;



		



		$flags = &amp;#x22;&amp;#x22;;



		



		if &#40; $client-&amp;#x3E;m_admin &#41;



			$flags .= &amp;#x22;A&amp;#x22;;



			



		if &#40; $client-&amp;#x3E;m_phan &#41;



			$flags .= &amp;#x22;P&amp;#x22;;



			



		if &#40; strlen&#40; $flags &#41; &#41;



			echo &amp;#x22;\&amp;#x22;$flags\&amp;#x22; &amp;#x22;;



			



		echo $client-&amp;#x3E;m_name;



		if &#40; $client-&amp;#x3E;m_comm &#41;



			echo &amp;#x22; &#40;$client-&amp;#x3E;m_comm&#41;&amp;#x22;;



			



		echo &amp;#x22;&amp;#x3C;/div&amp;#x3E;&amp;#x22;;



		echo &amp;#x22;&amp;#x3C;/td&amp;#x3E;&amp;#x22;;



		echo &amp;#x22;&amp;#x3C;/tr&amp;#x3E;
&amp;#x22;;



 &amp;#xA0;&#125;



 &amp;#xA0;



 &amp;#xA0;for &#40; $i = 0; $i &amp;#x3C;count&amp;#x3E;m_channellist &#41;; $i++ &#41;



 &amp;#xA0;&#123;



 &amp;#xA0;		if &#40; $stat-&amp;#x3E;m_channellist&#91; $i &#93;-&amp;#x3E;m_pid == $cid &#41;



		&#123;



			$cn = $stat-&amp;#x3E;m_channellist&#91; $i &#93;-&amp;#x3E;m_name;



			if &#40; strlen&#40; $stat-&amp;#x3E;m_channellist&#91; $i &#93;-&amp;#x3E;m_comm &#41; &#41;



			&#123;



				$cn .= &amp;#x22; &#40;&amp;#x22;;



				$cn .= $stat-&amp;#x3E;m_channellist&#91; $i &#93;-&amp;#x3E;m_comm;



				$cn .= &amp;#x22;&#41;&amp;#x22;;



			&#125;



			



			VentriloDisplayEX3&#40; $stat, $cn, $stat-&amp;#x3E;m_channellist&#91; $i &#93;-&amp;#x3E;m_cid, $bgidx + 1 &#41;;



		&#125;



 &amp;#xA0;&#125;



 &amp;#xA0;



 &amp;#xA0;echo &amp;#x22;&amp;#x3C;/table&amp;#x3E;&amp;#x22;;



 &amp;#xA0;echo &amp;#x22;&amp;#x3C;/td&amp;#x3E;&amp;#x22;;



 &amp;#xA0;echo &amp;#x22;&amp;#x3C;/tr&amp;#x3E;
&amp;#x22;;



&#125;







function StrKey&#40; $src, $key, &amp;#x26;$res &#41;



&#123;



	$key .= &amp;#x22; &amp;#x22;;



	if &#40; strncasecmp&#40; $src, $key, strlen&#40; $key &#41; &#41; &#41;



		return false;



		



	$res = substr&#40; $src, strlen&#40; $key &#41; &#41;;



	return true;



&#125;





function StrSplit&#40; $src, $sep, &amp;#x26;$d1, &amp;#x26;$d2 &#41;



&#123;



	$pos = strpos&#40; $src, $sep &#41;;



	if &#40; $pos === false &#41;



	&#123;



		$d1 = $src;



		return;



	&#125;



	



	$d1 = substr&#40; $src, 0, $pos &#41;;



	$d2 = substr&#40; $src, $pos + 1 &#41;;



&#125;





function StrDecode&#40; &amp;#x26;$src &#41;



&#123;



	$res = &amp;#x22;&amp;#x22;;



	



	for &#40; $i = 0; $i &amp;#x3C; strlen&#40; $src &#41;; &#41;



	&#123;



		if &#40; $src&#91; $i &#93; == '%' &#41;



		&#123;



			$res .= sprintf&#40; &amp;#x22;%c&amp;#x22;, intval&#40; substr&#40; $src, $i + 1, 2 &#41;, 16 &#41; &#41;;



			$i += 3;



			continue;



		&#125;



		



		$res .= $src&#91; $i &#93;;



		$i += 1;



	&#125;



	



	return&#40; $res &#41;;



&#125;





class CVentriloClient



&#123;



	var	$m_uid;			// User ID.



	var	$m_admin;		// Admin flag.



	var $m_phan;		// Phantom flag.



	var $m_cid;			// Channel ID.



	var $m_ping;		// Ping.



	var	$m_sec;			// Connect time in seconds.



	var	$m_name;		// Login name.



	var	$m_comm;		// Comment.



	



	function Parse&#40; $str &#41;



	&#123;



		$ary = explode&#40; &amp;#x22;,&amp;#x22;, $str &#41;;



		



		for &#40; $i = 0; $i &amp;#x3C;count&amp;#x3E;m_uid = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;ADMIN&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_admin = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;CID&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_cid = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;PHAN&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_phan = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;PING&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_ping = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;SEC&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_sec = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;NAME&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_name = StrDecode&#40; $val &#41;;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;COMM&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_comm = StrDecode&#40; $val &#41;;



				continue;



			&#125;



		&#125;



	&#125;



&#125;







class CVentriloChannel



&#123;



	var	$m_cid;		// Channel ID.



	var	$m_pid;		// Parent channel ID.



	var	$m_prot;	// Password protected flag.



	var	$m_name;	// Channel name.



	var	$m_comm;	// Channel comment.



	



	function Parse&#40; $str &#41;



	&#123;



		$ary = explode&#40; &amp;#x22;,&amp;#x22;, $str &#41;;



		



		for &#40; $i = 0; $i &amp;#x3C;count&amp;#x3E;m_cid = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;PID&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_pid = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;PROT&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_prot = $val;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;NAME&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_name = StrDecode&#40; $val &#41;;



				continue;



			&#125;



			



			if &#40; strcasecmp&#40; $field, &amp;#x22;COMM&amp;#x22; &#41; == 0 &#41;



			&#123;



				$this-&amp;#x3E;m_comm = StrDecode&#40; $val &#41;;



				continue;



			&#125;



		&#125;



	&#125;



&#125;




class CVentriloStatus



&#123;



	var	$m_cmdcode;				// Specific status request code. 1=General, 2=Detail.



	var	$m_cmdhost;				// Hostname or IP address to perform status of.



	var	$m_cmdport;				// Port number of server to status.



	var	$m_cmdpass;				// Remote status password. Not used any more but included for legacy reference.



	var	$m_connTimeout;			// Integer timeout value in seconds when trying to connect to the status server.



	var	$m_streamTimeout;		// Integer timeout value in seconds when waiting for the reply from status server.





	var	$m_error;				// If the ERROR&#58; keyword is found then this is the reason following it.



	var	$m_statserver;			// Name of the status server that we connected to.



	



	var	$m_name;				// Server name.



	var	$m_phonetic;			// Phonetic spelling of server name.



	var	$m_comment;				// Server comment.



	var	$m_maxclients;			// Maximum number of clients.



	var	$m_voicecodec_code;		// Voice codec code.



	var $m_voicecodec_desc;		// Voice codec description.



	var	$m_voiceformat_code;	// Voice format code.



	var	$m_voiceformat_desc;	// Voice format description.



	var	$m_uptime;				// Server uptime in seconds.



	var	$m_platform;			// Platform description.



	var	$m_version;				// Version string.



	



	var	$m_channelcount;		// Number of channels as specified by the server.



	var	$m_channelfields;		// Channel field names.



	var	$m_channellist;			// Array of CVentriloChannel's.



	



	var	$m_clientcount;			// Number of clients as specified by the server.



	var	$m_clientfields;		// Client field names.



	var $m_clientlist;			// Array of CVentriloClient's.



	



	function Parse&#40; $str, &amp;#x26;$fndend &#41;



	&#123;



				



		$pos = strpos&#40; $str, &amp;#x22;
&amp;#x22; &#41;;



		if &#40; $pos === false &#41;



		&#123;



		&#125;



		else



		&#123;



			$str = substr&#40; $str, 0, $pos &#41;;



		&#125;






		if &#40; StrKey&#40; $str, &amp;#x22;END&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$fndend = true;



			return 0;



		&#125;



		



		if &#40; StrKey&#40; $str, &amp;#x22;ERROR&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$this-&amp;#x3E;m_error = $val;



			return -100;



		&#125;







		if &#40; StrKey&#40; $str, &amp;#x22;NAME&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$this-&amp;#x3E;m_name = StrDecode&#40; $val &#41;;



			return 0;



		&#125;



		



		if &#40; StrKey&#40; $str, &amp;#x22;PHONETIC&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$this-&amp;#x3E;m_phonetic = StrDecode&#40; $val &#41;;



			return 0;



		&#125;



		



		if &#40; StrKey&#40; $str, &amp;#x22;COMMENT&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$this-&amp;#x3E;m_comment = StrDecode&#40; $val &#41;;



			return 0;



		&#125;



		



		if &#40; StrKey&#40; $str, &amp;#x22;AUTH&#58;&amp;#x22;, $this-&amp;#x3E;m_auth &#41; &#41;



			return 0;



		



		if &#40; StrKey&#40; $str, &amp;#x22;MAXCLIENTS&#58;&amp;#x22;, $this-&amp;#x3E;m_maxclients &#41; &#41;



			return 0;



		



		if &#40; StrKey&#40; $str, &amp;#x22;VOICECODEC&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			StrSplit&#40; $val, &amp;#x22;,&amp;#x22;, $this-&amp;#x3E;m_voicecodec_code, $desc &#41;;



			$this-&amp;#x3E;m_voicecodec_desc = StrDecode&#40; $desc &#41;;



			return 0;



		&#125;



		



		if &#40; StrKey&#40; $str, &amp;#x22;VOICEFORMAT&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			StrSplit&#40; $val, &amp;#x22;,&amp;#x22;, $this-&amp;#x3E;m_voiceformat_code, $desc &#41;;



			$this-&amp;#x3E;m_voiceformat_desc = StrDecode&#40; $desc &#41;;



			return 0;



		&#125;



		



		if &#40; StrKey&#40; $str, &amp;#x22;UPTIME&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$this-&amp;#x3E;m_uptime = $val;



			return 0;



		&#125;



		



		if &#40; StrKey&#40; $str, &amp;#x22;PLATFORM&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$this-&amp;#x3E;m_platform = StrDecode&#40; $val &#41;;



			return 0;



		&#125;



			



		if &#40; StrKey&#40; $str, &amp;#x22;VERSION&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$this-&amp;#x3E;m_version = StrDecode&#40; $val &#41;;



			return 0;



		&#125;



			



		if &#40; StrKey&#40; $str, &amp;#x22;CHANNELCOUNT&#58;&amp;#x22;, $this-&amp;#x3E;m_channelcount &#41; &#41;



			return 0;



			



		if &#40; StrKey&#40; $str, &amp;#x22;CHANNELFIELDS&#58;&amp;#x22;, $this-&amp;#x3E;m_channelfields &#41; &#41;



			return 0;



			



		if &#40; StrKey&#40; $str, &amp;#x22;CHANNEL&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$chan = new CVentriloChannel;



			$chan-&amp;#x3E;Parse&#40; $val &#41;;



			



			$this-&amp;#x3E;m_channellist&#91; count&#40; $this-&amp;#x3E;m_channellist &#41; &#93; = $chan;



			return 0;



		&#125;



			



		if &#40; StrKey&#40; $str, &amp;#x22;CLIENTCOUNT&#58;&amp;#x22;, $this-&amp;#x3E;m_clientcount &#41; &#41;



			return 0;



			



		if &#40; StrKey&#40; $str, &amp;#x22;CLIENTFIELDS&#58;&amp;#x22;, $this-&amp;#x3E;m_clientfields &#41; &#41;



			return 0;



			



		if &#40; StrKey&#40; $str, &amp;#x22;CLIENT&#58;&amp;#x22;, $val &#41; &#41;



		&#123;



			$client = new CVentriloClient;



			$client-&amp;#x3E;Parse&#40; $val &#41;;



			



			$this-&amp;#x3E;m_clientlist&#91; count&#40; $this-&amp;#x3E;m_clientlist &#41; &#93; = $client;



			return 0;



		&#125;

				



		return 1;



	&#125;



	



	function ChannelFind&#40; $cid &#41;



	&#123;



		for &#40; $i = 0; $i &amp;#x3C;count&amp;#x3E;m_channellist &#41;; $i++ &#41;



			if &#40; $this-&amp;#x3E;m_channellist&#91; $i &#93;-&amp;#x3E;m_cid == $cid &#41;



				return&#40; $this-&amp;#x3E;m_channellist&#91; $i &#93; &#41;;



				



		return NULL;



	&#125;



	



	function ChannelPathName&#40; $idx &#41;



	&#123;



		$chan = $this-&amp;#x3E;m_channellist&#91; $idx &#93;;



		$pathname = $chan-&amp;#x3E;m_name;



		



		for&#40;;;&#41;



		&#123;



			$chan = $this-&amp;#x3E;ChannelFind&#40; $chan-&amp;#x3E;m_pid &#41;;



			if &#40; $chan == NULL &#41;



				break;



				



			$pathname = $chan-&amp;#x3E;m_name . &amp;#x22;/&amp;#x22; . $pathname;



		&#125;



		



		return&#40; $pathname &#41;;



	&#125;



	



	function Request&#40;&#41;



	&#123;



		if &#40; $this-&amp;#x3E;m_connTimeout == 0 &#41;



			$this-&amp;#x3E;m_connTimeout = 10;



			



		if &#40; $this-&amp;#x3E;m_streamTimeout == 0 &#41;



			$this-&amp;#x3E;m_streamTimeout = 30;



			



		for &#40; $srv = 0; $srv &amp;#x3C;3&amp;#x3E;m_connTimeout &#41;;



			if &#40; !$pipe &#41;



			&#123;



				if &#40; $errno&#91; $srv &#93; == 0 &#41;



				&#123;



									



					$errstr&#91; $srv &#93; = &amp;#x22;Could not resolve the status server name.&amp;#x22;;



				&#125;



			&#125;



			else



			&#123;



				$this-&amp;#x3E;m_statserver = $srvname;



				break;



			&#125;



		&#125;



		



		if &#40; !$pipe &#41;



		&#123;



				$this-&amp;#x3E;m_error = &amp;#x22;PHP&#58; Unable to connect to a Ventrilo Status server.&amp;#x22;;



				



				for &#40; $srv = 0; $srv &amp;#x3C;3&amp;#x3E;m_error .= $temp;



					$this-&amp;#x3E;m_error .= $errstr&#91; $srv &#93;;



				&#125;



				



				return -2;



		&#125;



		



		$req = sprintf&#40; &amp;#x22;Code=%s,Host=%s,Port=%s,Pass=%s
&amp;#x22;, $this-&amp;#x3E;m_cmdcode, $this-&amp;#x3E;m_cmdhost, $this-&amp;#x3E;m_cmdport, $this-&amp;#x3E;m_cmdpass &#41;;







		if &#40; fwrite&#40; $pipe, $req &#41; == FALSE &#41;



		&#123;



			fclose&#40; $pipe &#41;;



			



			$this-&amp;#x3E;m_error = &amp;#x22;PHP&#58; Failed sending request to Ventrilo Status server.&amp;#x22;;



			return -3;



		&#125;
			



		$cnt = 0;



		$fndend = false;



		



		while&#40; !feof&#40; $pipe &#41; &#41;



		&#123;



			stream_set_timeout&#40; $pipe, $this-&amp;#x3E;m_streamTimeout &#41;;



		



			$s = fgets&#40; $pipe, 1024 &#41;;



		



			$info = stream_get_meta_data&#40; $pipe &#41;;



			if &#40; $info&#91; 'timed_out' &#93; &#41;



			&#123;



				fclose&#40; $pipe &#41;;



				



				$this-&amp;#x3E;m_error = &amp;#x22;PHP&#58; Status server stream timed out.&amp;#x22;;



				return -4;



			&#125;







			if &#40; strlen&#40; $s &#41; == 0 &#41;



				continue;



				



			$rc = $this-&amp;#x3E;Parse&#40; $s, $fndend &#41;;



			if &#40; $rc &amp;#x3C;0&amp;#x3E;m_error = &amp;#x22;PHP&#58; Incomplete data from Ventrilo Status server.&amp;#x22;;



			return -5;



		&#125;



		



		if &#40; $cnt == 0 &#41;



		&#123;



					



			$this-&amp;#x3E;m_error = &amp;#x22;PHP&#58; Nothing received from Ventrilo Status server.&amp;#x22;;



			return -6;



		&#125;
	



		return 0;

		


	&#125;



&#125;;



?&amp;#x3E; 
</code></td></tr></table>]]></description>
<guid isPermaLink="false">3842@http://badsquad.com</guid>
<dc:subject>Ventrilo Block issues</dc:subject>
<dc:date>2009-01-19T11:34:48-06:00</dc:date>
</item>

<item>
<title>BF2palyer 64 man scrim</title>
<link>http://badsquad.com/modules.php?name=Forums&amp;file=viewtopic&amp;t=725#3838</link>
<description><![CDATA[Hi, I haven't been around in a while, to make a long story short I left VGF on bad terms, but that's not important. <br />
<br />
Now I'm with )BiT( Best In Tactics and we are organizing a 32 vs32 player scrim on the 5th of October, if you guys are interested in this event let me know, I'll give you some more details, its a battlefield 2 scrim with vehicles, it will be between the BF2player community and the BF2 Stats community.]]></description>
<guid isPermaLink="false">3838@http://badsquad.com</guid>
<dc:subject>BF2palyer 64 man scrim</dc:subject>
<dc:date>2008-09-21T17:39:43-06:00</dc:date>
</item>

</channel>

</rss>
