AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION] Socket (3.0.1) (https://forums.alliedmods.net/showthread.php?t=67640)

KyleS 02-03-2015 23:21

Re: [EXTENSION] Socket (3.0.1)
 
Quote:

Originally Posted by darkid (Post 2258163)

Quote:

PUT

To create new document you can either use a POST operation or a PUT operation. To create/update a named document using the PUT operation, the URL must point to the document's location.
As we found in the other thread, seriously make a thread in the scripting section if you need help deciphering what this means. I'm not a pro either, people genuinely want to help. Being genuinely confused serves no one, and won't get you going any sooner.

darkid 02-04-2015 01:06

Re: [EXTENSION] Socket (3.0.1)
 
Quote:

The POST operation can be used to create a new document with a server generated DocID. To do so, the URL must point to the database's location. To create a named document, use the PUT method instead.

It is recommended that you avoid POST when possible, because proxies and other network intermediaries will occasionally resend POST requests, which can result in duplicate document creation.
I'm creating named documents, and would like to be able to delete as well. I didn't ask for help with the background, I merely wanted to know if I could do these requests with Socket. My post in scripting lead me back here, but if you've got a strong suggestion as to what I could ask about, shoot.

I have a perfectly functional understanding of HTTP requests. I've worked with this database via Curl and with java libraries, it's sourcemod that I'm confused about.

Mathias. 02-04-2015 23:43

Re: [EXTENSION] Socket (3.0.1)
 
Quote:

Originally Posted by darkid (Post 2258189)
I'm creating named documents, and would like to be able to delete as well. I didn't ask for help with the background, I merely wanted to know if I could do these requests with Socket. My post in scripting lead me back here, but if you've got a strong suggestion as to what I could ask about, shoot.

I have a perfectly functional understanding of HTTP requests. I've worked with this database via Curl and with java libraries, it's sourcemod that I'm confused about.

Simple answer: yes

PS: There is a CURL extension here if you prefer.

ZubairAliSahil 02-15-2015 01:37

Re: [EXTENSION] Socket (3.0.1)
 
C'est une extension permettant de faire fonctionner certains scripts sous sourcemod. Certains plugins ont besoin de cette extension pour fonctionner correctement.

Installation

Une fois l'archive téléchargé vous allez avoir le dossier addons.
Ce dossier vous l'uploadez sur votre ftp serveur dans
css/cstrike
Une fois l'upload terminé vous rebootez votre serveur.

StrikerMan780 02-16-2015 01:46

Re: [EXTENSION] Socket (3.0.1)
 
Quote:

Originally Posted by Black-Rabbit (Post 2237715)
we really need a new, fresh, stable socket exts into sourcemod core.

Agreed, this extension is still unstable as fuck for me.

shiinko 02-21-2015 14:35

Re: [EXTENSION] Socket (3.0.1)
 
I'm working on a SourceMod plugin alongside a web-app, and my plugin was working fine last time I tested it (a few days ago), but today I updated my CS:GO server and it's broken. Is it broken for anyone else?
I've tested with NetCat (as a listener), it connects to ncat but OnSocketConnected is never fired. The example is not working either.

asherkin 02-21-2015 14:36

Re: [EXTENSION] Socket (3.0.1)
 
Quote:

Originally Posted by shiinko (Post 2264913)
I'm working on a SourceMod plugin alongside a web-app, and my plugin was working fine last time I tested it (a few days ago), but today I updated my CS:GO server and it's broken. Is it broken for anyone else?
I've tested with NetCat (as a listener), it connects to ncat but OnSocketConnected is never fired. The example is not working either.

Make sure you have players on the server or hibernation is disabled.

shiinko 02-21-2015 14:59

Re: [EXTENSION] Socket (3.0.1)
 
Quote:

Originally Posted by asherkin (Post 2264914)
Make sure you have players on the server or hibernation is disabled.

Uh, oh. Thanks. Really didn't remember that the server was in hibernation.. As soon as I connected to the server the socket message was sent. Life saver.

El Diablo War3Evo 03-07-2015 03:34

Re: [EXTENSION] Socket (3.0.1)
 
404 Not found on this sourcecode: https://player.to/gitweb/index.cgi?p=sm-ext-socket.git

Bara 03-07-2015 11:56

Re: [EXTENSION] Socket (3.0.1)
 
SourceCode is here available: https://forums.alliedmods.net/showth...=67640&page=47 (#466 or #467)


All times are GMT -4. The time now is 09:00.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.