Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[ANY] Player Analytics


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7177
  • Lokalizacja:AMXX.PL
Offline

Napisano 03.12.2013 03:33

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Impact"><div align="center"><font size="6">[ANY] Player Analytics</font></div></font><br /><div align="center"><font size="2"><i>v1.0.1</i></font></div><br /><b><font size="4">Description:</font></b><br />This plugin logs detailed statistics of all connecting players to a MySQL table. Stats that are logged include:<br /><ul><li>Server IP</li>
<li>Player name</li>
<li>Steam ID</li>
<li>Time of connection (as Unix timestamp)</li>
<li>Date of connection</li>
<li>Connection method (on games that support cl_connectmethod)</li>
<li>Number of players in-game at time of connection</li>
<li>Current map at time of connection</li>
<li>Duration of play session</li>
<li>User admin flags</li>
<li>User IP</li>
<li>Player's city, region, 2-letter country code, and 3-letter country code (requires <a href="https://forums.allie...ad.php?t=132470" title="AlliedModders - Thread 132470">GeoIPCity</a>)</li>
<li>Player's country</li>
<li>Player's F2P/Premium status (TF2 only, requires <a href="https://forums.allie...ad.php?t=170630" title="AlliedModders - Thread 170630">SteamTools</a>)</li>
<li>Player's HTML MOTD preference (enabled/disabled)</li>
<li>Player's operating system</li>
</ul><br />There will be a web interface later with which you can view the stats. In the meantime, you'll have to use something like phpMyAdmin to see the raw logs.<br /><br /><b><font size="4">Cvars:</font></b><ul><li><b>player_analytics_version</b> - plugin version</li>
<li><b>player_analytics_auto_update</b> - enables automatic updating (has no effect if <a href="https://forums.allie...ad.php?t=169095" title="AlliedModders - Thread 169095">Updater</a> is not installed)</li>
</ul><br /><b><font size="4">Requirements:</font></b><br /><i>Both of these extensions are optional dependencies. That is, they are not required for the plugin to operate.</i><ul><li><b><a href="https://forums.allie...ad.php?t=132470" title="AlliedModders - Thread 132470">GeoIPCity</a></b> - Required to look up players' cities, regions, and country codes</li>
<li><b><a href="https://forums.allie...ad.php?t=170630" title="AlliedModders - Thread 170630">SteamTools</a></b> - Required to detect the server's public IP behind a NAT and to look up Premium/F2P status on TF2</li>
</ul><br /><b><font size="4">Installation:</font></b><br />This plugin requires a MySQL database. It will first look for a configuration named &quot;player_analytics&quot;, and will fall back to &quot;default&quot; if one is not found. Example:<br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; &nbsp; &quot;player_analytics&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;driver&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;mysql&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;host&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;example.com&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;database&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;example_database&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;user&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;exampleuser&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;pass&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;examplepassword&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //&quot;timeout&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;0&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;port&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;3306&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->This should go in databases.cfg.<br /><br />Install any optional extension dependencies that you want, and then put player_analytics.smx into /addons/sourcemod/plugins and reboot your server or type &quot;sm plugins load player_analytics&quot; into your console or rcon.<br /><br /><b><font size="4">Auto Update:</font></b><br />Install <a href="https://forums.allie...ad.php?t=169095" title="AlliedModders - Thread 169095">Updater</a>. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.<br /><br /><b><font size="4">Changelog:</font></b><ul><li><b>v1.0.0 (12/2/13)</b><ul><li>Initial release</li>
</ul> </li>
</ul><br /><b><font size="3"><a href="https://bitbucket.or...r_analytics.smx" target="_blank">Download Plugin (player_analytics.smx)</a></font></b><font size="3"><br /><a href="https://bitbucket.org/Doctor_McKay/public-plugins/src/default/scripting/player_analytics.sp" target="_blank">View Source (player_analytics.sp)</a></font><br /><br /><i><font size="1">Requires <a href="https://forums.alliedmods.net/showthread.php?t=169095" title="AlliedModders - Thread 169095">updater.inc</a> and <a href="https://bitbucket.org/Doctor_McKay/public-plugins/src/default/scripting/mckayupdater.sp" target="_blank">mckayupdater.sp</a> to compile.</font></i><br />______________________________<br /><br />I have attached a development preview of the web panel. It's still in development so there are a lot of broken links and placeholder items. Simply set your variables in config_example.php and rename it to config.php<br /><br />Web panel is by <a href="http://steamcommunity.com/id/rannmann" target="_blank">rannmann</a>.</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/zip.gif" alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1386048168">rannmann-player-analytics-preview1.zip</a> (325.4 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych