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

[TF2] LogUpload (v0.1.1, 4/14/2013)


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

Napisano 15.04.2013 01:50

<!-- BEGIN TEMPLATE: postbit_external -->
<div><div align="center"><font size="5">LogUpload</font></div><br /><b><font size="4">Description</font></b><br />Automatically uploads logs to logs.tf via cURL (Socket is planned and written, except it doesn't currently work). This is like <a href="https://forums.allie...ad.php?t=210673" target="_blank">LogUploader</a>, however with a developer API, response parsing and way more options.<br /><br />It works by hooking the game end events and flushing the log with 'log on' which resets logging. It then scans for files edited in the last 5 seconds and finds the one with the lowest 'sub id', which is what it uploads. After uploading, it will show the log url based on the sm_logupload_display cvar.<br /><br /><b><font size="4">Cvars</font></b><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">sm_logupload_version - Shows version<br />sm_logupload_key - Your logs.tf API key<br />sm_logupload_title - Title to use on logs.tf (Use {BLUENAME}, {REDNAME} and {MAP} to customize)<br />sm_logupload_mode - Determines when LogUpload should upload logs (0 = End of ANY Game, 1 = End of TOURNAMENT Game <i>DEFAULT</i>)<br />sm_logupload_display - Determines how LogUpload displays uploaded log urls (0 = Chat <i>DEFAULT</i>, 1 = Hint, 2 = Center Text)</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b><font size="4">Dependencies</font></b><br />Requires the <a href="http://forums.allied...ad.php?t=152216" target="_blank">cURL extension</a> and <a href="http://forums.allied...ead.php?t=96831" target="_blank">colors</a><br /><br /><b><font size="4">Generating a key</font></b><ol style="list-style-type: decimal"><li>Log in to <a href="http://logs.tf" target="_blank">http://logs.tf</a> through steam</li>
<li>Click 'Upload Logs' in the top right (<a href="http://logs.tf/uploader" target="_blank">http://logs.tf/uploader</a>)</li>
<li>Click on &quot;File upload API Key Generation&quot;</li>
<li>If you have a key, copy it. If not, click &quot;Generate new API key&quot;</li>
<li>Follow the instructions below to use it.</li>
</ol><br /><b><font size="4">Installation instructions</font></b><ol style="list-style-type: decimal"><li>Install the <a href="http://forums.allied...ad.php?t=152216" target="_blank">cURL extension</a> or verify it is installed via &quot;sm exts list&quot;</li>
<li>Download the zip file (End of the thread)</li>
<li>Extract it into &lt;server directory&gt;/orangebox/tf/addons/sourcemod</li>
<li>Run 'sm plugins load logupload'</li>
<li>Edit &lt;server directory&gt;/orangebox/tf/cfg/sourcemod/plugin.logupload.cfg and add in your logs.tf api key (See 'Generating a key')</li>
<li>Run 'sm plugins reload logupload' to reload settings</li>
<li>Play a round and try it out! Settings can be customized in &lt;server directory&gt;/orangebox/tf/cfg/sourcemod/plugin.logupload.cfg</li>
</ol><br /><b><font size="4">Developer information</font></b><br />View <a href="https://github.com/n...e/logupload.inc" target="_blank">https://github.com/n..../logupload.inc</a> for functions which may be accessed by other plugins and forwards.<br /><br /><b><font size="4">Changelog</font></b><br /><!-- BEGIN TEMPLATE: bbcode_quote_printable -->
<div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

4/14/2013 (v0.1.1)<br />Initial release.

<hr />
</td>
</tr>
</table>
</div>
<!-- END TEMPLATE: bbcode_quote_printable --><b><font size="4">Plans</font></b><ul><li>Fix the 'Socket' upload method!</li>
<li>Add more replacements for title</li>
<li>Improve Plugin API</li>
</ul><br /><b><font size="4">Current Problems</font></b><ul><li>Socket extension uploading broken due to either code problem or extension problem. If anybody wishes to attempt to fix I suggest redirecting the request to a remote server with &quot;nc -l -p 5000 &gt; req.txt&quot; and looking at what it does, it simply skips blocks.</li>
</ul><br /><b><font size="4">Download</font></b><br />The project is currently hosted on Github.<br />Regular users may wish to download the entire zip file from here: <a href="https://github.com/n...hive/master.zip" target="_blank">https://github.com/n...hive/master.zip</a><br />Developers may wish to view the source of this <a href="https://github.com/nikkiii/logupload" target="_blank">here</a><br /><br />This might be horribly broken in some places, if it is let me know. However, it should work most of the time.</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