<div><font size="7"><div align="center"><font face="Book Antiqua">[ANY] Webchat through websocket</font></div></font><br /><br /><img src="https://puu.sh/rooCC/910797c17e.png"border="0" alt="" /><br />The title is pretty much enough but I want to add some extra informations. The webscript <b><u><font color="Red">MAY NOT</font></u></b> work on <b>Internet Explorer</b>. Sorry 'bout that. I don't develop the web socket :/.<br /><br />Also, If you want to know why I didn't usued database, check the thread below :<br /><br />Original idea :<br /><a href="https://forums.alliedmods.net/showthread.php?t=285246" target="_blank">https://forums.allie...hp?t=285246</a> and <a href="https://forums.alliedmods.net/showthread.php?t=289316" target="_blank">https://forums.allie...t=289316</a><br /><br /><img src="https://puu.sh/rooCG/944b44999e.png" border="0" alt="" /><br />The list of features, feel free to request anything, it's not finished :<ul><li>Quick connection between website <-> server.</li>
<li>Using Steam nickname.</li>
<li>Easy to configure</li>
<li>WEEEEEEEEEEEEEB IIIIIIIIINTERFACE :3</li>
<li>Drag'n'drop installation (at least for the plugin.)</li>
</ul><br /><img src="https://puu.sh/rooCK/066043be6c.png"border="0" alt="" /><br /><br />>>> BEFORE INSTALLING ANYTHING UPDATE / INSTALL WEBSOCKET<br /><b><font color="red"><a href="https://forums.alliedmods.net/showthread.php?t=182615" target="_blank">[HERE]</a></font></b><br /><br />1) Download the SMX file.<br />2) Put the smx file in the <b>PLUGINS</b> folder and load it by reloading the map or the server.<br />3) Download the ZIP file wich contains the website.<br />4) Extract the ZIP file somewhere on your PC.<br />5) Find the <b>SteamConfig.php</b> file located in the <b>WEBINTERFACE/libraries/steamauth</b> folder.<br />6) Open it with your favorite text editor and change the content of the API key field.<br /><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">$steamauth['apikey'] = "PUT API KEY HERE"; // Your Steam WebAPI-Key found at http://steamcommunit...pikey</code><hr/>
</div>7) Save and close the file<br />8) Upload the WEBINTERFACE content somewhere in your website. (You can use XAMPP if needed)<br />9) You are done !<br /><br /><img src="https://puu.sh/rooCt/e894d3eab4.png"border="0" alt="" /><br />No commands D:<br /><br /><img src="https://puu.sh/rooAd/55c1dba974.png" border="0" alt="" /><br />No CVARs D:<br /><br /><img src="https://puu.sh/rooCU/f0cc0f7c77.png" border="0" alt="" /><br />No bugs :3<br /><br /><img src="https://puu.sh/rooCk/5e5ba6f955.png" border="0" alt="" /><br />None found yet.<br /><br /><img src="https://puu.sh/rooCN/00e99ea989.png" border="0" alt="" /><br />Demo website :<br /><a href="http://tf2serverofarkarr.ddns.net/websocket/" target="_blank">http://tf2serverofar...bsocket/</a><br /><br /><img src="http://puu.sh/rNitX/6e8e51b58d.png" border="0" alt="" /><br />See attached files.<br /><br />Enjoy !<br /><br /><u><i>Logs :</i></u><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 /><font size="6"><br />1.0 - First public release<br /></font><br /></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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="http://www.sourcemod...10"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1477588905">GetSource</a> (WebsiteChatRelay.sp - 3.3 KB)
</td>
</tr><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...atRelay.smx</a>(5.9 KB)
</td>
</tr><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...TERFACE.zip</a>(729.2 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

[ANY] Webchat through websocket
Temat rozp. Adminek AMXX.PL, 27.10.2016 18:13
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych