Raised This Month: $12 Target: $400
 3% 

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 02-03-2015 , 23:21   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #501

Quote:
Originally Posted by darkid View Post
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.
KyleS is offline
darkid
Member
Join Date: Sep 2014
Old 02-04-2015 , 01:06   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #502

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.

Last edited by darkid; 02-04-2015 at 01:10. Reason: Punctuation, typos.
darkid is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 02-04-2015 , 23:43   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #503

Quote:
Originally Posted by darkid View Post
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.
Mathias. is offline
ZubairAliSahil
BANNED
Join Date: Feb 2015
Old 02-15-2015 , 01:37   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #504

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.
ZubairAliSahil is offline
Send a message via Skype™ to ZubairAliSahil
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 02-16-2015 , 01:46   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #505

Quote:
Originally Posted by Black-Rabbit View Post
we really need a new, fresh, stable socket exts into sourcemod core.
Agreed, this extension is still unstable as fuck for me.
StrikerMan780 is offline
shiinko
New Member
Join Date: Jan 2015
Old 02-21-2015 , 14:35   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #506

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.
shiinko is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-21-2015 , 14:36   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #507

Quote:
Originally Posted by shiinko View Post
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.
__________________
asherkin is offline
shiinko
New Member
Join Date: Jan 2015
Old 02-21-2015 , 14:59   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #508

Quote:
Originally Posted by asherkin View Post
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.
shiinko is offline
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
Old 03-07-2015 , 03:34   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #509

404 Not found on this sourcecode: https://player.to/gitweb/index.cgi?p=sm-ext-socket.git
__________________
El Diablo War3Evo is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 03-07-2015 , 11:56   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #510

SourceCode is here available: https://forums.alliedmods.net/showth...=67640&page=47 (#466 or #467)
__________________
Discord (Bara#5006) | My Plugins (GitHub)
You like my work? Support is not a crime.
Bara is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:04.


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