Skocz do zawartości

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

[CSS] Population Tracker (v2.1)


  • 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:7 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 18.02.2014 01:20

<!-- BEGIN TEMPLATE: postbit_external -->
<div>I made this plugin for my gungame server, however I've added in a lot of features to make it useful for a lot of different game types. I originally had this plugin to log which maps kill server population, but over time have added a lot more features to it.<br /><br /><b><font size="4">Description</font></b><br />This plugin logs player populations, connects/disconnects, player info, available spawns, wins, and total rounds for each map. Some of the original coding came from TwistedPanda's <a href="https://forums.allie...ight=population" target="_blank">Crash Helper</a>, so credit to him for that. I have removed most of the features from his, and added a lot of my own, but it still retains some of the coding structure from his.<br /><br /><b><font size="4">CVars</font></b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><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"><b>populationtracker_a_enabled &quot;1&quot;</b> - enable or disable the whole plugin<br /><br /><b>populationtracker_b_stamp &quot;*m.*d.*y&quot;</b> - log file time stamp, borrowed from TwistedPanda's plugin<br /><br /><b>populationtracker_c_connections &quot;0&quot;</b> - logs player connects/disconnects. The plugin counts them regardless, but this controls whether or not they are put in the logs. They are counted in order to log the maximum player count a map reaches.<br /><br /><b>populationtracker_d_connect_path &quot;logs/populationtrackerv2/&lt;stamp&gt;.log&quot;</b> -&nbsp; Determines which file the plugin will print connect/disconnects to. &lt;stamp&gt; is optional and will be replaced with the result of <i>populationtracker_b_stamp</i>.<br /><br /><b>populationtracker_e_map_path &quot;logs/populationtrackerv2/&lt;stamp&gt;.log&quot;</b> - Map log file path<br /><br /><b>populationtracker_f_pop_path &quot;logs/populationtrackerv2/&lt;stamp&gt;.log&quot;</b> - Population log file path<br /><br /><b>populationtracker_g_enableids &quot;0&quot;</b> - Enables logging of steam IDs and names during population checks. (0 = Disabled, 1 = Enabled) Note: Requires <i>populationtracker_h_enablemidroundpop</i> = 1.<br /><br /><b>populationtracker_h_enablemidroundpop &quot;0&quot;</b> - Enables logging of player population throughout a map every interval set by <i>populationtracker_i_midroundpoptimer</i><br /><br /><b>populationtracker_i_midroundpoptimer &quot;90&quot;</b> - Interval (in seconds) between each population log if <i>populationtracker_h_enablemidroundpop</i> = 1. Population is taken throughout entire map regardless of if <i>populationtracker_h_enablemidroundpop</i> is enabled, but this controls the frequency of the population census.<br /><br /><b>populationtracker_j_enablespawns &quot;1&quot;</b> - Enables logging of available CT/T spawns and total spawns available and outputs an additional file logging maps with less spawns than is set by <i>populationtracker_k_max_t_limit</i> or <i>populationtracker_l_max_ct_limit</i>.<br /><br /><b>populationtracker_k_max_t_limit &quot;18&quot;</b> - Sets number of T spawns required. If a map has let T spawns than this value, an additional file is output, logging that the map has too few Terrorist spawn points<br /><br /><b>populationtracker_l_max_ct_limit &quot;18&quot;</b> - Sets number of CT spawns required. If a map has let CT spawns than this value, an additional file is output, logging that the map has too few Counter-Terrorist spawn points<br /><br /><b>populationtracker_m_spawntimer &quot;15&quot;</b> - This timer begins on map start, and executes after the number of seconds set by this cvar. The timer was added to allow other plugins that edit spawn points to load, before creating a log (else it would log default spawns available, and not any custom ones added).<br /><br /><b>populationtracker_n_enablestartlastpop &quot;1&quot;</b> - Enables output of extra log containing map populations at the start/end of the map. The start population is recorded after the interval set by <i>populationtracker_o_startpoptimer</i>, and the end is recorded as the last population recorded with the repeating timer, having the interval set by <i>populationtracker_i_midroundpoptimer</i>.<br /><br /><b>populationtracker_o_startpoptimer &quot;30&quot;</b> - Amount of time after map start until map start population is taken (be sure to allow time for players to connect, else this will output zero)<br /><br /><b>populationtracker_p_enablerounds &quot;0&quot;</b> - Enables logging of total rounds played each map, and CT/T wins</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
</div>
</div><br /><br /><b><u><font size="3">Sample Logs:</font></u></b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>startlastpops.log - Logs Start, End, Max Players, and Change in players for a map</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><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">-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map: gg_crash_b1, Start Population: 11, Last Player Count: 14, Max Players Connected: 17, Change in players from start to finish: 3<br /><br />-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map: gg_upper_hand, Start Population: 15, Last Player Count: 17, Max Players Connected: 17, Change in players from start to finish: 2<br /><br />-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map: gg_yard_duties, Start Population: 14, Last Player Count: 21, Max Players Connected: 24, Change in players from start to finish: 7<br /><br />-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map: gg_scoutzknivez_hc, Start Population: 19, Last Player Count: 24, Max Players Connected: 26, Change in players from start to finish: 5<br /><br />-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map: gg_japan, Start Population: 24, Last Player Count: 28, Max Players Connected: 29, Change in players from start to finish: 4<br /><br />-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map: gg_lego_arena_x, Start Population: 26, Last Player Count: 20, Max Players Connected: 27, Change in players from start to finish: -6</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
</div>
</div><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>smallmaps.log -logs maps that have too few spawns, as set by cvars, alerts if player count exceeds spawns available</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><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">-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map has too few spawn points! Map: gg_redglock_s<br /><br />Set to log if T/CT spawns are less than: 18/18, T/CT spawns available: 16/16, Total available spawns: 32<br /><br />-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map has too few spawn points! Map: gg_crash_b1<br /><br />Set to log if T/CT spawns are less than: 18/18, T/CT spawns available: 16/16, Total available spawns: 32<br /><br />AVAILABLE SPAWNS EXCEEDED! Max players connected: 34<br /><br />-------------------------------------------------------------------------------------------------------------------------------------------------------------<br />Map has too few spawn points! Map: gg_yard_duties<br /><br />Set to log if T/CT spawns are less than: 18/18, T/CT spawns available: 12/12, Total available spawns: 24</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
</div>
</div><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Main Log - Connections, IDs, Mid Round Population, and Rounds logs disabled (the settings I use)</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><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">L 02/17/2014 - 17:18:24: ===============================================================================<br />L 02/17/2014 - 17:18:24: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Map Start &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;: Map: gg_lego_arena_x, Previous: gg_japan<br />L 02/17/2014 - 17:18:24: ===============================================================================<br />L 02/17/2014 - 17:18:24: <br />L 02/17/2014 - 17:18:40: <br />L 02/17/2014 - 17:18:40: ------- Map Spawns ------- Map: gg_lego_arena_x, T/CT spawns available: 20/20, Total available spawns: 40<br />L 02/17/2014 - 17:18:40: <br />L 02/17/2014 - 17:18:55: Map start population set as 26 players.<br />L 02/17/2014 - 17:23:29: <br />L 02/17/2014 - 17:23:29: ___________________________________________________________________________________________________________________________________<br />L 02/17/2014 - 17:23:29: &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map End &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map: gg_lego_arena_x, Max players connected: 27, Last player count: 20<br />L 02/17/2014 - 17:23:29: ___________________________________________________________________________________________________________________________________<br />L 02/17/2014 - 17:23:29: ===============================================================================<br />L 02/17/2014 - 17:23:29: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Map Start &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;: Map: gg_bad_day, Previous: gg_lego_arena_x<br />L 02/17/2014 - 17:23:29: ===============================================================================<br />L 02/17/2014 - 17:23:29: <br />L 02/17/2014 - 17:23:44: <br />L 02/17/2014 - 17:23:44: ------- Map Spawns ------- Map: gg_bad_day, T/CT spawns available: 20/20, Total available spawns: 40<br />L 02/17/2014 - 17:23:44: <br />L 02/17/2014 - 17:23:59: Map start population set as 16 players.<br />L 02/17/2014 - 17:29:05: <br />L 02/17/2014 - 17:29:05: ___________________________________________________________________________________________________________________________________<br />L 02/17/2014 - 17:29:05: &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map End &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map: gg_bad_day, Max players connected: 21, Last player count: 16<br />L 02/17/2014 - 17:29:05: ___________________________________________________________________________________________________________________________________<br />L 02/17/2014 - 17:29:05: ===============================================================================<br />L 02/17/2014 - 17:29:05: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Map Start &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;: Map: gg_russia, Previous: gg_bad_day<br />L 02/17/2014 - 17:29:05: ===============================================================================<br />L 02/17/2014 - 17:29:05: <br />L 02/17/2014 - 17:29:20: <br />L 02/17/2014 - 17:29:20: ------- Map Spawns ------- Map: gg_russia, T/CT spawns available: 18/18, Total available spawns: 36</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
</div>
</div><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Main Log - Everything enabled (not recommended - can be messy) Note: Steam IDs changed to x's in this example for privacy, and total rounds = 0 because gungame is one round that doesnt end</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><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">L 02/17/2014 - 17:47:52: ===============================================================================<br />L 02/17/2014 - 17:47:52: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Map Start &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;: Map: gg_chilled, Previous: gg_aim_jungle_brick<br />L 02/17/2014 - 17:47:52: ===============================================================================<br />L 02/17/2014 - 17:47:52: <br />L 02/17/2014 - 17:53:33: Player Connected - Steam: STEAM_0:1:, Name: [LDS] tHeLiViNgDeAd<br />L 02/17/2014 - 17:53:33: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: Bagbom<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:0:, Name: ScOoBiE<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:0:, Name: RedBuLL=D<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: ImUnderUrBed<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: ntrlprd<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:0:, Name: Protect Ya Neck<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: Reganomics Lamborghini<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: xhisors<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: StaggeR`<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: Maver!ck<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: awesomeflames3<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:0:, Name: chappo<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:1:, Name: LiimitedEdition<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:0:, Name: That One Homeless Guy<br />L 02/17/2014 - 17:48:01: <br />L 02/17/2014 - 17:48:01: Player Connected - Steam: STEAM_0:0:, Name: bulletdodger<br />L 02/17/2014 - 17:48:07: <br />L 02/17/2014 - 17:48:07: <br />L 02/17/2014 - 17:48:07: ------- Map Spawns ------- Map: gg_chilled, T/CT spawns available: 20/20, Total available spawns: 40<br />L 02/17/2014 - 17:48:07: <br />L 02/17/2014 - 17:48:22: Map start population set as 16 players.<br />L 02/17/2014 - 17:49:52: <br />L 02/17/2014 - 17:50:16: Player Connected - Steam: STEAM_0:1:xxxxxxxxxxx, Name: DR.EVIL<br />L 02/17/2014 - 17:50:16: <br />L 02/17/2014 - 17:50:52: <br />L 02/17/2014 - 17:50:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:50:52: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Server Population &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map: gg_chilled<br />L 02/17/2014 - 17:50:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: StaggeR`<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: LiimitedEdition<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: awesomeflames3<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: chappo<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: xhisors<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: RedBuLL=D<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: That One Homeless Guy<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Bagbom<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Protect Ya Neck<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ScOoBiE<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ImUnderUrBed<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: DR.EVIL<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Maver!ck<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: bulletdodger<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ntrlprd<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: [LDS] tHeLiViNgDeAd<br />L 02/17/2014 - 17:50:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Reganomics Lamborghini<br />L 02/17/2014 - 17:50:52: Total Players: 17<br />L 02/17/2014 - 17:50:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:51:06: Player Connected - Steam: STEAM_0:1:xxxxxxxxxxx, Name: Gunkid9<br />L 02/17/2014 - 17:51:06: <br />L 02/17/2014 - 17:51:52: <br />L 02/17/2014 - 17:51:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:51:52: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Server Population &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map: gg_chilled<br />L 02/17/2014 - 17:51:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: StaggeR`<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: LiimitedEdition<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: awesomeflames3<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: chappo<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: xhisors<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: RedBuLL=D<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: That One Homeless Guy<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Bagbom<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Protect Ya Neck<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ScOoBiE<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ImUnderUrBed<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Gunkid9<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: DR.EVIL<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Maver!ck<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: bulletdodger<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ntrlprd<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: [LDS] tHeLiViNgDeAd<br />L 02/17/2014 - 17:51:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Reganomics Lamborghini<br />L 02/17/2014 - 17:51:52: Total Players: 18<br />L 02/17/2014 - 17:51:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:52:16: Player Connected - Steam: STEAM_0:1:xxxxxxxxxxx, Name: [PG] MonsterWhiteKid<br />L 02/17/2014 - 17:52:16: <br />L 02/17/2014 - 17:52:43: Player Disconnected - Steam: STEAM_0:1:xxxxxxxxxxx, Name: [PG] MonsterWhiteKid<br />L 02/17/2014 - 17:52:43: <br />L 02/17/2014 - 17:52:52: <br />L 02/17/2014 - 17:52:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:52:52: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Server Population &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map: gg_chilled<br />L 02/17/2014 - 17:52:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: StaggeR`<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: LiimitedEdition<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: awesomeflames3<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: chappo<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: xhisors<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: RedBuLL=D<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: That One Homeless Guy<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Bagbom<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Protect Ya Neck<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ScOoBiE<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ImUnderUrBed<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Gunkid9<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: DR.EVIL<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Maver!ck<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: bulletdodger<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: ntrlprd<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: [LDS] tHeLiViNgDeAd<br />L 02/17/2014 - 17:52:52: Steam: STEAM_0:1:xxxxxxxxxxx, Name: Reganomics Lamborghini<br />L 02/17/2014 - 17:52:52: Total Players: 18<br />L 02/17/2014 - 17:52:52: ---------------------------------------------------------------------------------------<br />L 02/17/2014 - 17:53:33: Player Disconnect - STEAM_0:1:xxxxxxxxxxx, Name: Gunkid9<br />L 02/17/2014 - 17:53:33: <br />L 02/17/2014 - 17:53:33: Player Disconnect - STEAM_0:1:xxxxxxxxxxx, Name: DR.EVIL<br />L 02/17/2014 - 17:53:33: <br />L 02/17/2014 - 17:53:33: <br />L 02/17/2014 - 17:53:33: ___________________________________________________________________________________________________________________________________<br />L 02/17/2014 - 17:53:33: &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map End &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; Map: gg_chilled, CT Wins: 0, T Wins: 0, Total Rounds: 0, Max players connected: 19, Last Player Count: 18<br />L 02/17/2014 - 17:53:33: ___________________________________________________________________________________________________________________________________<br />L 02/17/2014 - 17:53:33: ===============================================================================<br />L 02/17/2014 - 17:53:33: &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Map Start &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;: Map: gg_fx_world_source, Previous: gg_chilled<br />L 02/17/2014 - 17:53:33: ===============================================================================<br />L 02/17/2014 - 17:53:33: <br />L 02/17/2014 - 17:53:33: Player Connected - Steam: STEAM_0:1:, Name: [LDS] tHeLiViNgDeAd<br />L 02/17/2014 - 17:53:33: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: Bagbom<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:0:, Name: ScOoBiE<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:0:, Name: RedBuLL=D<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: ImUnderUrBed<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: ntrlprd<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:0:, Name: Protect Ya Neck<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: Reganomics Lamborghini<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: Gunkid9<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: xhisors<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: DR.EVIL<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: StaggeR`<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: Maver!ck<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: awesomeflames3<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:0:, Name: chappo<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:1:, Name: LiimitedEdition<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:0:, Name: That One Homeless Guy<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:34: Player Connected - Steam: STEAM_0:0:, Name: bulletdodger<br />L 02/17/2014 - 17:53:34: <br />L 02/17/2014 - 17:53:48: <br />L 02/17/2014 - 17:53:48: ------- Map Spawns ------- Map: gg_fx_world_source, T/CT spawns available: 20/20, Total available spawns: 40<br />L 02/17/2014 - 17:53:48: <br />L 02/17/2014 - 17:54:03: Map start population set as 17 players.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
</div>
</div><br /><br /><b><font size="4">Changelog</font></b><br /><br />02/17/14 (v2.1)<br /><br />* Initial release.<br /><br /><b><font size="4">Installation</font></b><br />Simply place the .smx in your <i>cstrike/addons/sourcemod/plugins</i> folder, and create a folder for the logs as <i>cstrike/addons/sourcemod/logs/populationtrackerv2/</i>.<br /><br />Alternately, I have provided a simple .zip file with the appropriate files/folders to allow a simple drag/drop into your cstrike folder. If you choose to edit this plugin, you will need sdktools and autoexecconfig to compile it. Autoexecconfig is provided in the .zip.<br /><br /><b><font size="4">Credits</font></b><ul><li>Some of the coding is from TwistedPanda's <a href="https://forums.allie...ight=population" target="_blank">Crash Helper</a></li>
<li>Zacade (Sgt. Zuff) for help with some of the coding (timer handles, and a couple other questions I had)</li>
<li>Powerlord for also answering a bit of questions about timer handles <a href="https://forums.allie...ad.php?t=235601" target="_blank">here</a>, before I talked with zacade</li>
</ul><br />This is my first plugin release, so I'm sure it could be optimized better, etc. <b><i>Constructive </i></b> criticism is fine by me! Else, hope you find this plugin helpful!</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=1392679243">Population Tracker v2_1.zip</a> (25.3 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=130702"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1392679252">Get Source</a> (populationtracker_v2_1.sp - 20.6 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/smx.gif" alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1392679264">populationtracker_v2_1.smx</a> (13.9 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