Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

[ANY] Webchat through websocket


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
[ANY] Webchat through websocket


910797c17e.png
The title is pretty much enough but I want to add some extra informations. The webscript MAY NOT work on Internet Explorer. Sorry 'bout that. I don't develop the web socket :/.

Also, If you want to know why I didn't usued database, check the thread below :

Original idea :
https://forums.alliedmods.net/showthread.php?t=285246 and https://forums.alliedmods.net/showthread.php?t=289316

944b44999e.png
The list of features, feel free to request anything, it's not finished :
  • Quick connection between website <-> server.
  • Using Steam nickname.
  • Easy to configure
  • WEEEEEEEEEEEEEB IIIIIIIIINTERFACE :3
  • Drag'n'drop installation (at least for the plugin.)

066043be6c.png

>>> BEFORE INSTALLING ANYTHING UPDATE / INSTALL WEBSOCKET
[HERE]

1) Download the SMX file.
2) Put the smx file in the PLUGINS folder and load it by reloading the map or the server.
3) Download the ZIP file wich contains the website.
4) Extract the ZIP file somewhere on your PC.
5) Find the SteamConfig.php file located in the WEBINTERFACE/libraries/steamauth folder.
6) Open it with your favorite text editor and change the content of the API key field.
Code:

$steamauth['apikey'] = "PUT API KEY HERE"; // Your Steam WebAPI-Key found at http://steamcommunity.com/dev/apikey
7) Save and close the file
8) Upload the WEBINTERFACE content somewhere in your website. (You can use XAMPP if needed)
9) You are done !

e894d3eab4.png
No commands D:

55c1dba974.png
No CVARs D:

f0cc0f7c77.png
No bugs :3

5e5ba6f955.png
None found yet.

00e99ea989.png
Demo website :
http://tf2serverofarkarr.ddns.net/websocket/

6e8e51b58d.png
See attached files.

Enjoy !

Logs :
Spoiler

Attached Files
File Type: sp Get Plugin or Get Source (WebsiteChatRelay.sp - 3.3 KB)
File Type: smx WebsiteChatRelay.smx (5.9 KB)
File Type: zip WEBINTERFACE.zip (729.2 KB)

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...