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

Server's Map Information


  • 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 14.03.2015 08:13

<div><div align="center"><font face="Comic Sans MS"><font size="5"><b>Server's Map Information<br /><font size="2">version 1.0.1 by <br />Ulquiorra |aka| Askhanar<br /><br /><br /></font></b></font></font><div align="left"><font face="Comic Sans MS"><u><font size="2"><b>Introduction<br /><br /></b></font></u></font><font face="Comic Sans MS"><font size="2">I saw on a server a plugin that was showing all server's maps ( inside maps folder ) via motd.<br />It was showing information like: mapname, spawns, and a map thumbnail.<br /><br />In the next second i got this idea.<br /><br />This plugin shows you via motd ( using a php script parsing url ) All maps information you need.<br /><br />Information about Current&amp;Next Map:<br />-Current MapName, Current Played Time.<br />-Nextmap MapName, Current TimeLeft.<br /><br />If the cvar amx_nextmap is empty ( &quot;&quot; ), It'll say 'Not voted yet'.<br /><br />Information about Last 10 Played Maps:<br />-Each MapName + preview in thumbnail.<br />-For how long the map was played.<br />-The max players record on specific map ( ex: 15/32 ).<br />-How long ago the map was played. ( kind of useless, but added it to have all corners occupied [ watch preview link ] ).<br /><br /></font></font><br /><font face="Comic Sans MS"><font size="2">You can see a preview by clicking <a href="http://ulqtech.tk/sm...#38;m9_tago=67"target="_blank">Here</a><br /><br /> <u><b>Commands:<br /></b></u></font></font><ul><li><font face="Comic Sans MS"><b><font size="2">/maps, /mapsinfo, /minfo, /mi, /lastmaps </font></b><font size="2">- opensmotd.<br /></font></font></li>
</ul><font face="Comic Sans MS"><br /></font> <font face="Comic Sans MS"><br /></font> <font face="Comic Sans MS"><font size="2"> <u><b>CVars:<br /><br /><br /></b></u></font></font><ul><li><font face="Comic Sans MS"><font size="2"><b> smi_script_url </b></font></font><font face="Comic Sans MS"><font size="2"><b>&quot;</b><a href="http://yourdomain.com/script"target="_blank">http://yourdomain.co.../a><b>&#34;</b> Here you set your script location.<br /> EX: [url="http://mysite.ro/smi/smi.php""]http://mysite.ro/smi/smi.php&quot;<br[/url] /></font></font></li>
</ul><font face="Comic Sans MS"><br /></font> <font face="Comic Sans MS"><br /></font> <font face="Comic Sans MS"><u><b>Required modules:<br /></b></u></font><ul><li><font face="Comic Sans MS">basic</font></li>
</ul><font face="Comic Sans MS"><br /></font> <font face="Comic Sans MS"><u><b>Instalation:</b></u><br /></font> <font face="Comic Sans MS"><font face="Comic Sans MS"><br /></font></font>Instal this plugin just like any other plugin.<br />Put smi.amxx ( after compiling localy ) into plugins folder.<br />Add smi.amxx line to plugins.ini.<br /><br />Upload the files inside the smi_web.rar to your website.<font face="Comic Sans MS"><br /></font> <font face="Comic Sans MS"><br /><br /><b>ChangeLog:</b><br /><br /></font><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">[10.03.2015]<br />1.0.1&nbsp; -&nbsp; Added Curren&amp;Next Map information.<br /><br />[01.03.2015]<br />1.0.0&nbsp; -&nbsp; First stable version of plugin.</code><hr />
</div><font face="Comic Sans MS"><br /><br /><b>Notes:<br /><br /></b>Map's thumbnail is directly token from GameTracker. If the map has no preview the thumbnail is being replaced by a 'NoImage.png' image.<br /></font>No SQL or Sockets required.<br /><br /><br />If anyone can help me improve that 'php script' i'll give him a huge hug. Because i suck at php.<br />After installing the plugin, please change your map 10 times, this way you wont have empty statistics.<br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">Played&nbsp;Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Players&nbsp;Record
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;________________________
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Map&nbsp;Thumbnail&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
<br />Map&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;How&nbsp;long&nbsp;ago&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div></div></div></div>


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








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<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...smi_web.zip</a>(2.2 KB)


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

<a href="http://www.amxmodx.o...90"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1426323052">GetSource</a> (smi.sma - 4.4 KB)

</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




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

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