<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>The Hidden - Source - Hidden Stats</title>
		<link>http://forum.hidden-source.com/</link>
		<description>Official forum for any discussion on the Hidden Stats. Any problems, comments or ideas concerning the Hidden Stats system should be posted in here.</description>
		<language>en</language>
		<lastBuildDate>Tue, 18 Jun 2013 06:41:43 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forum.hidden-source.com/images/misc/rss.png</url>
			<title>The Hidden - Source - Hidden Stats</title>
			<link>http://forum.hidden-source.com/</link>
		</image>
		<item>
			<title>Stats Revival</title>
			<link>http://forum.hidden-source.com/showthread.php?11610-Stats-Revival&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 11:23:01 GMT</pubDate>
			<description><![CDATA[Hey guys, 
 
I'm looking into reviving the stat tracking that has been lacking/missing for a while now, and am currently looking to see how many would be interested in participating/submitting stats to this project. 
 
As it is, I've got 2 methods of retrieving information; the first being a...]]></description>
			<content:encoded><![CDATA[<div>Hey guys,<br />
<br />
I'm looking into reviving the stat tracking that has been lacking/missing for a while now, and am currently looking to see how many would be interested in participating/submitting stats to this project.<br />
<br />
As it is, I've got 2 methods of retrieving information; the first being a SourceMod plugin, and the other being a log processor (Using either the files or the logaddress_add method). I'm also in the process of refining how I've been collecting/processing the stats from my servers to better handle larger amounts of data per player (Since my old viewer code was starting to get a bit slow from the growing amount of data I've been collecting).<br />
<br />
You can see the web front-end of this project here (There are still parts missing/buggy since I'm still working on adding the functionality needed to view all the data): <br />
<a href="http://bitswit.ch/hidden/stats/" target="_blank">http://bitswit.ch/hidden/stats/</a><br />
<br />
<b>Want to Participate?</b><br />
<br />
Add the following line to your <i>valve.rc</i> file:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">log 1<br />
logaddress_add stats.bitswit.ch:44336</code><hr />
</div>If you have any problems with doing this, or aren't sure what to do, let me know.<br />
<br />
Once added, and your server is restarted; your server should show up in <a href="http://bitswit.ch/hidden/stats/servers" target="_blank">this list</a>. <br />
A country flag won't show up by default, but it'll be added once I go in and make the necessary changes. And a web address can be added upon request.<br />
If it doesn't, don't worry about it yet (There is a slight bug where the listener isn't getting a response to a query it does back to your server from time to time).<br />
<br />
<b>In Game Commands (SourceMod Plugin)</b><br />
<br />
For users, these are the commands that are available on the servers who install my plugin:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">rank - Shows a players ranking. The name is optional, and if left out will show your ranking.<br />
rank [name]<br />
<br />
stats - Shows a players stats (Kills, Deaths, TKs, Suicides). Like rank, the name is optional, and can be left out to show your own stats.<br />
stats [name]<br />
<br />
timeplayed - Shows a players playing time (In hours). Name can be left out to show your own value.<br />
timeplayed [name]</code><hr />
</div>For server admins:<br />
<br />
<div style="margin:5px 20px 20px 20px">
<div class="smallfont" style="margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }"></div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
<br />
<b>Please Note: You'll need to PM me about getting access to the database to pull the stats before the plugin will work.</b><br />
<br />
At the moment, there are 2 ways to install the plugin:<br />
<br />
1. Download the source from <a href="https://bitbucket.org/iammitch/hidden-stats-sourcemod-plugin" target="_blank">here</a>, and compile the plugin yourself.<br />
2. Download the compiled copy of the code from <a href="http://bitswit.ch/hidden/stats/files/plugin/hsm_stats.smx" target="_blank">here</a>.<br />
<br />
There are some Cvars that you can set to change what the plugin does:<br />
<br />
<b>hsm_stats_query_type</b>: Controls the type of query the plugin will perform against the database.<br />
Default Value: 1<br />
Possible Values:<br />
<b>1</b> - Query global stats.<br />
<b>2</b> - Query region stats (Not implemented).<br />
<b>3</b> - Query server stats.<br />
<b>4</b> - Query cluster stats (Not implemented).<br />
<br />
<b>hsm_stats_server_id</b>: Sets the server ID that is used when querying region/server/cluster statss<br />
Default Value: 0<br />
<br />
<b>hsm_stats_block_rank</b>: If set to 1, the plugin cannot show a players rank, only their score.<br />
Default Value: 0<br />
Possible Values: 1 (On), 0 (Off)<br />
<br />
Example:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Enabled: [Rank] Mitch has 10000 points<br />
Disabled: [Rank] Mitch is ranked #9999 (10000 points)</code><hr />
</div><b>hsm_stats_hide_tks</b>: If set to 1, the plugin cannot show a players TK count in game.<br />
Default Value: 0<br />
Possible Values: 1 (On), 0 (Off)<br />
<br />
Example:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Enabled: [Rank] Mitch: 99/99/99 (K/D/S)<br />
Disabled: [Rank] Mitch: 99/99/99/99 (K/D/S/T)</code><hr />
</div>
</div>
</div>
</div><br />
<br />
<br />
If you've got any feedback/ideas you think would make this better. Leave a comment below.</div>

]]></content:encoded>
			<category domain="http://forum.hidden-source.com/forumdisplay.php?15-Hidden-Stats">Hidden Stats</category>
			<dc:creator>iammitch</dc:creator>
			<guid isPermaLink="true">http://forum.hidden-source.com/showthread.php?11610-Stats-Revival</guid>
		</item>
	</channel>
</rss>
